joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62a17270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
add eax, 0x6c
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xac]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov dword [esp + 0x44], 0
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x18], 7
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call sym.__ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE24_M_extract_wday_or_monthES3_S3_RiPPKcjRSt8ios_baseRSt12_Ios_I
sub esp, 0x24
mov ecx, eax
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x62a173e8
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], edx
cmp ebx, 0xffffffff
sete dl
test ecx, ecx
setne al
and al, dl
mov byte [esp + 0x38], al
jne 0x62a173f8
cmp esi, 0xffffffff
sete al
test edi, edi
je 0x62a173a0
test al, al
jne 0x62a173c0
cmp dl, al
jne 0x62a173ae
mov eax, dword [esp + 0xb4]
or dword [eax], 2
add esp, 0x8c
mov eax, ebp
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov esi, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], esi
jb 0x62a173a0
mov eax, dword [edi]
mov byte [esp + 0x38], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x62a173a0
mov eax, dword [esp + 0xb4]
or dword [eax], 4
jmp 0x62a1737f
mov eax, dword [ecx + 0xc]
xor edx, edx
cmp dword [ecx + 8], eax
jb 0x62a17392
mov eax, dword [ecx]
mov dword [esp + 0x3c], ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 0x3c]
cmp eax, 0xffffffff
setne dl
sub edx, 1
and dl, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
movzx eax, al
sub eax, 1
and ecx, eax
mov ebp, ecx
jmp 0x62a17392
Function at 0x62a1a380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x6c]
mov edi, dword [esp + 0xb8]
mov dword [esp], eax
call method.std::__timepunct_wchar_t__const_std::use_facet_std.__timepunct_wchar_t____std::locale_const_
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x88], ecx
mov ecx, ebp
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x18], 7
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call sym.__ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE24_M_extract_wday_or_monthES3_S3_RiPPKwjRSt8ios_baseRSt12_Ios_I
sub esp, 0x24
mov ecx, eax
movzx esi, dx
mov eax, edx
mov dword [esp + 0x4c], edx
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov ebp, ecx
mov dword [esp + 0x48], ecx
or edx, esi
test ebx, ebx
jne 0x62a1a4f0
mov ebx, dword [esp + 0xc8]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x18], esi
cmp ax, 0xffff
sete bl
test ecx, ecx
setne al
and al, bl
mov esi, eax
jne 0x62a1a518
cmp word [esp + 0x3c], 0xffff
sete al
mov ecx, eax
test edi, edi
je 0x62a1a4d2
test al, al
jne 0x62a1a500
cmp cl, bl
jne 0x62a1a4e0
mov eax, dword [esp + 0xc4]
or dword [eax], 2
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov esi, dword [esp + 0xc4]
or dword [esi], 4
jmp 0x62a1a4ad
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x62a1a548
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x62a1a4d2
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x62a1a560
movzx eax, word [eax]
cmp ax, 0xffff
setne bl
sub ebx, 1
and ebx, esi
cmp ax, 0xffff
sete al
movzx eax, al
sub eax, 1
and ecx, eax
mov ebp, ecx
jmp 0x62a1a4bf
mov eax, dword [edi]
mov dword [esp + 0x3c], edx
mov ecx, edi
call dword [eax + 0x24]
mov edx, dword [esp + 0x3c]
jmp 0x62a1a50b
mov eax, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
call dword [eax + 0x24]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x62a1a523
Function at 0x62a32b70
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x1c
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
jmp 0x62a32b92
call sym.__errno
cmp dword [eax], 4
jne 0x62a32bae
mov eax, dword [esi]
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sym._read
mov ebx, eax
cmp eax, 0xffffffff
je 0x62a32b88
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x62a44b80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x24
mov esi, dword [esp + 0x30]
mov dword [esp], str.mt19937
mov ecx, esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.compare_char_const__const
mov ecx, 0x1571
sub esp, 4
test eax, eax
jne 0x62a44be3
mov dword [ebx], ecx
mov edx, 1
jmp 0x62a44bb4
mov ecx, dword [ebx + edx*4 - 4]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ebx + edx*4], eax
add edx, 1
cmp edx, 0x270
jne 0x62a44bb0
mov dword [ebx + 0x9c0], 0x270
add esp, 0x24
pop ebx
pop esi
ret 4
mov esi, dword [esi]
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sym._strtoul
cmp byte [esi], 0
mov ecx, eax
je 0x62a44c0d
mov eax, dword [esp + 0x1c]
cmp byte [eax], 0
je 0x62a44ba5
mov dword [esp], str.random_device::_M_strtoul_const_std::string_
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
Function at 0x62a912b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
not eax
mov ecx, edi
lea esi, [edi + ebx]
mov edx, esi
sub edx, ecx
cmp edx, 3
jbe 0x62a9131b
mov edx, eax
xor al, byte [ecx]
movzx eax, al
shr edx, 8
add ecx, 4
xor edx, dword [eax*4 + 0x62b3d580]
mov eax, edx
xor dl, byte [ecx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x62b3d580]
mov edx, eax
xor al, byte [ecx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x62b3d580]
mov eax, edx
xor dl, byte [ecx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x62b3d580]
jmp 0x62a912c6
mov edx, ebx
mov ecx, ebx
shr edx, 2
and ecx, 0xfffffffc
imul edx, edx, 0xfffffffc
add edi, ecx
add ebx, edx
add ebx, edi
cmp edi, ebx
je 0x62a91348
mov edx, eax
xor al, byte [edi]
movzx eax, al
shr edx, 8
inc edi
xor edx, dword [eax*4 + 0x62b3d580]
mov eax, edx
jmp 0x62a9132e
pop ebx
pop esi
pop edi
not eax
pop ebp
ret
Function at 0x62a93b9c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push esi
push ebx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x62a93bca
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x62a93bca
cmp edx, dword [eax + 0x10]
jae 0x62a93bc8
mov esi, dword [ecx + 0x10]
mov esi, dword [esi + edx*4]
add esi, dword [ecx]
mov ecx, esi
jmp 0x62a93bca
xor ecx, ecx
mov dword [ebp + 8], ebx
pop ebx
pop esi
mov dword [ebp + 0xc], 0
pop ebp
jmp sym._mz_zip_file_stat_internal
Function at 0xc2e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00c2e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc2e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e06a
add dl, dl
jne 0xc2e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e0dc
xor eax, eax
add dl, dl
jne 0xc2e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc2e17d
add dl, dl
jne 0xc2e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc2e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc2e075
mov eax, 1
add dl, dl
jne 0xc2e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc2e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e0e1
sub eax, ebx
mov ebx, 1
jne 0xc2e128
mov ecx, 1
add dl, dl
jne 0xc2e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc2e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc2e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc2e136
cmp eax, 0x7d00
jae 0xc2e16d
cmp eax, 0x500
jb 0xc2e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
cmp eax, 0x7f
ja 0xc2e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc2e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc2e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc2e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0xb67058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb671a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb6707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb6706a
add dl, dl
jne 0xb67089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb670dc
xor eax, eax
add dl, dl
jne 0xb67096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb6717d
add dl, dl
jne 0xb670a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb670b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb670bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb670c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb670d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb67075
mov eax, 1
add dl, dl
jne 0xb670ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb670f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb670e1
sub eax, ebx
mov ebx, 1
jne 0xb67128
mov ecx, 1
add dl, dl
jne 0xb6710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb67119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb67105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb67075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb6713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb6714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb67136
cmp eax, 0x7d00
jae 0xb6716d
cmp eax, 0x500
jb 0xb67168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb67075
cmp eax, 0x7f
ja 0xb67170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb67075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb6719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb67075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10003130
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031718
push 0x1001873c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.10018fc0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b2cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x1000b2dc
pop dword [ebp - 4]
mov eax, 0xa9cecdb4
sub eax, 0x99ce1ad8
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x454bec4d
add dword [ebp - 0x14], 0x90658fe
mov dword [ebp - 0x10], 0x314603d8
add dword [ebp - 0x10], 0xed486d
mov dword [ebp - 0xc], 0xc4690226
add dword [ebp - 0xc], 0x87e34208
mov dword [ebp - 8], 0x3fd7da24
sub dword [ebp - 8], 0x3fd7da24
lea eax, [ebp - 0x14]
push eax
mov eax, 0x831ba17f
add eax, 0x8ce46ed9
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xc7717a12
sub dword [ebp - 0x14], 0x52ff10bc
mov dword [ebp - 0x10], 0x1642d02a
sub dword [ebp - 0x10], 0xd4d66eb5
mov dword [ebp - 0xc], 0x6d474d78
sub dword [ebp - 0xc], 0x9d7e10c
mov dword [ebp - 8], 0x109143fc
add dword [ebp - 8], 0xef6ebc04
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x2b393516
sub eax, 0x1b39250e
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa38
push 0
call eax
mov ecx, 0x9de8b1ba
add ecx, 0x62179e2c
mov edi, eax
mov ebx, 0x85e10c25
sub ebx, 0x75deea25
add ebx, dword [ebp - 4]
mov esi, 0xd69dee5e
add esi, 0x8e1d5bd8
mov edx, dword [ebx]
xor edx, esi
mov dword [edi], edx
add edi, 4
add ebx, 4
loop 0x1000b3fe
add eax, 0x1326b
mov ebx, eax
add eax, 0xb35eb0a
sub eax, 0xb35eb05
mov ecx, 0xf7955804
sub ecx, 0xe7955804
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x1000cdef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100024d0]
jne 0x1000d4b4
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10011e48], eax
mov dword [0x10011e44], ecx
mov dword [0x10011e40], edx
mov dword [0x10011e3c], ebx
mov dword [0x10011e38], esi
mov dword [0x10011e34], edi
mov word [0x10011e60], ss
mov word [0x10011e54], cs
mov word [0x10011e30], ds
mov word [0x10011e2c], es
mov word [0x10011e28], fs
mov word [0x10011e24], gs
pushfd
pop dword [0x10011e58]
mov eax, dword [ebp]
mov dword [0x10011e4c], eax
mov eax, dword [ebp + 4]
mov dword [0x10011e50], eax
lea eax, [ebp + 8]
mov dword [0x10011e5c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10011d98], 0x10001
mov eax, dword [0x10011e50]
mov dword [0x10011d4c], eax
mov dword [0x10011d40], 0xc0000409
mov dword [0x10011d44], 1
mov eax, dword [0x100024d0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10011c40]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10011d90], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100024e0
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10011d90], 0
jne 0x1000d5a0
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x4e1baf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4e1bfb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4e1bf5
mov ecx, dword [0x513328]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4e1be9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4e1bce
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x4e1bf7
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4e320b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4e3277
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4e32c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004fc5e0
add esp, 8
test eax, eax
jne 0x4e32be
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4e32c2
jmp 0x4e326e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4ebe68
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.004e58f3
add esp, 4
and eax, 0xff
test eax, eax
je 0x4ebef1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.004f6d90
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4ebeef
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x4ebeef
jmp 0x4ebef1
jmp 0x4ebe71
mov esp, ebp
pop ebp
ret

Function at 0x4ec363
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x513ab4]
test eax, eax
jne 0x4ec377
call fcn.004ec294
xor ecx, ecx
mov cl, byte [0x513ab1]
test ecx, ecx
jne 0x4ec3fe
xor edx, edx
mov dl, byte [0x513ab0]
test edx, edx
jne 0x4ec3fe
cmp dword [0x513cbc], 0
je 0x4ec3d9
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x513cbc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x513cbc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x513cbc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4ec3fe
push 0x10001
push 0x513ab4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4ec3fe
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret