joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d429
Capabilities:
Parse url

Disassembly:
push 0x4c
mov eax, 0x47ca6a
call fcn.0043cb52
mov esi, dword [ebp + 0xc]
push 0x3c
pop edi
push edi
push 0
push esi
call sub.MSVCR100.dll_memset
mov dword [esi], edi
mov edi, dword [ebp + 8]
xor ebx, ebx
inc ebx
add esp, 0xc
mov ecx, edi
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
call fcn.0040827c
mov eax, dword [edi + 4]
mov ecx, edi
mov dword [ebp + 0xc], eax
call fcn.0040827c
push esi
xor esi, esi
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x45d4cc
push esi
push 0xffffffffffffffff
push str.Unable_to_crack_url
lea ecx, [ebp - 0x24]
call fcn.00408f1a
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], esi
call fcn.004039d5
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
mov dword [ebp - 0x58], vtable.RSException.0
call fcn.00403996
push 0x490a04
lea eax, [ebp - 0x58]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.0043cc2a
ret

Function at 0x45d6ed
Capabilities:
Connect to http server

Disassembly:
push 0x50
mov eax, 0x47cb08
call fcn.0043cb52
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45d818
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x45d818
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.004105d1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040827c
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x45d753
push 0x80004005
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x1c]
call fcn.00403632
lea ecx, [ebp - 0x24]
call fcn.00403632
jmp 0x45d823
mov eax, dword [esi + 0x24]
test eax, eax
je 0x45d77d
push dword [esi + 0x28]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004105d1
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 1
call fcn.0040827c
mov dword [ebp + 8], eax
jmp 0x45d781
and dword [ebp + 8], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d7a8
push dword [esi + 0x20]
lea ecx, [ebp - 0x44]
push eax
call fcn.004105d1
or dword [ebp - 0x10], 2
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.0040827c
jmp 0x45d7aa
xor eax, eax
movzx ecx, word [esi + 0x18]
test cx, cx
jne 0x45d7b5
xor ecx, ecx
push 0
push 0x400a00
push 3
push dword [ebp + 8]
push eax
push ecx
push dword [ebp - 0x14]
push dword [0x4aa3e0]
call dword [sym.imp.WININET.dll_InternetConnectA]
test byte [ebp - 0x10], 2
mov esi, eax
je 0x45d7ee
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x34]
call fcn.00403632
lea ecx, [ebp - 0x3c]
call fcn.00403632
test byte [ebp - 0x10], 1
je 0x45d804
lea ecx, [ebp - 0x4c]
call fcn.00403632
lea ecx, [ebp - 0x54]
call fcn.00403632
lea ecx, [ebp - 0x1c]
call fcn.00403632
lea ecx, [ebp - 0x24]
call fcn.00403632
mov eax, esi
jmp 0x45d825
push 0x80004005
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
call fcn.0043cc2a
ret
Function at 0x45e5f3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x878
mov eax, 0x47cebd
call fcn.0043cbbb
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x854], ebx
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x848], ebx
mov dword [ebp - 0x844], ebx
mov dword [ebp - 0x840], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x818], ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x854]
cmp dword [ebp + 0xc], ebx
je 0x45e64e
push str.SoftwareAdobeAcrobat_Reader11.0AVGeneralcRecentFilesc
jmp 0x45e653
push str.SoftwareAdobeAdobe_Acrobat11.0AVGeneralcRecentFilesc
call fcn.00408c07
xor eax, eax
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x83c], ebx
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], ebx
mov dword [ebp - 0x830], ebx
mov dword [ebp - 0x82c], ebx
mov dword [ebp - 0x828], ebx
lea esi, [eax + 1]
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x81c], esp
push ebx
push 0xffffffffffffffff
push 0x483488
mov byte [ebp - 4], 1
call fcn.00408f1a
lea eax, [ebp - 0x83c]
push eax
call fcn.0040b4b9
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x854]
push eax
lea eax, [ebp - 0x884]
push eax
call fcn.004039d5
add esp, 0x2c
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 2
call fcn.0040830e
lea ecx, [ebp - 0x814]
push ecx
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x45e7b0
cmp dword [ebp - 0x814], ebx
je 0x45e7c4
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x820]
push eax
push ebx
push str.tDIText
push dword [ebp - 0x814]
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x81c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x45e7b0
cmp dword [ebp - 0x820], 1
jne 0x45e7b0
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x86c]
call fcn.004087ca
push ebx
push ebx
push dword [ebp - 0x824]
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 3
call fcn.0040945e
test ax, ax
je 0x45e800
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 2
call fcn.00403632
lea ecx, [ebp - 0x864]
call fcn.00403632
cmp dword [ebp - 0x814], ebx
je 0x45e7c4
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x874]
call fcn.00403632
lea ecx, [ebp - 0x87c]
call fcn.00403632
lea ecx, [ebp - 0x82c]
mov byte [ebp - 4], bl
call fcn.00403632
lea ecx, [ebp - 0x834]
call fcn.00403632
mov eax, esi
cmp eax, 0x32
jl 0x45e65a
jmp 0x45e858
push dword [ebp - 0x814]
mov dword [ebp - 0x818], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x85c]
call fcn.00403632
lea ecx, [ebp - 0x864]
call fcn.00403632
lea ecx, [ebp - 0x874]
call fcn.00403632
lea ecx, [ebp - 0x87c]
call fcn.00403632
lea ecx, [ebp - 0x82c]
call fcn.00403632
lea ecx, [ebp - 0x834]
call fcn.00403632
lea ecx, [ebp - 0x844]
call fcn.00403632
lea ecx, [ebp - 0x84c]
call fcn.00403632
mov eax, dword [ebp - 0x818]
call fcn.0043cc3e
ret
Function at 0x463740
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x463862
mov ecx, dword [esp + 4]
push ebx
push edi
push ecx
call fcn.00461eee
mov edi, eax
add esp, 4
test edi, edi
jne 0x463781
lea ebx, [eax + 0x10]
jmp 0x463844
mov eax, dword [esi + 0x30]
cmp eax, dword [esp + 0xc]
jbe 0x4637f6
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
mov eax, dword [esi + 0x2c]
push eax
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x463844
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
push ebp
push 0x40
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x463844
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
push ecx
push edi
push edx
call fcn.00461eae
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
sub ecx, eax
push ecx
add edx, eax
push ebx
push edx
call fcn.00461e9d
mov eax, dword [esp + 0x28]
add esp, 0x18
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0xc]
push ecx
push 0x36
push edi
call fcn.00461e9d
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x30], eax
jbe 0x463821
lea ecx, [ecx]
mov edx, dword [esi + 0x2c]
mov cl, byte [eax + edx]
xor byte [eax + edi], cl
add eax, 1
cmp eax, dword [esi + 0x30]
jb 0x463810
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
push edi
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x463844
mov dword [esi + 0x34], 1
test edi, edi
je 0x46385e
mov eax, dword [esp + 0xc]
push eax
push 0
push edi
call fcn.00461e9d
push edi
call fcn.00461ef8
add esp, 0x10
pop edi
mov eax, ebx
pop ebx
pop ebp
add esp, 8
ret
Function at 0x464960
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], fcn.00463fb0
ret

Function at 0x4649b0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
call fcn.00464870
mov ecx, dword [ebx]
mov esi, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [esi], al
mov edx, ecx
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 8
lea eax, [esi + 1]
mov byte [eax + 1], dl
add eax, 1
mov byte [eax + 1], cl
mov ecx, dword [ebx + 4]
add eax, 1
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax - 1], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 8]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 0xc]
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x10]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
mov edx, ecx
add eax, 1
shr edx, 8
mov byte [eax], dl
add eax, 1
mov byte [eax], cl
mov ecx, dword [ebx + 0x14]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax - 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax - 1], dl
mov byte [eax], cl
mov ecx, dword [ebx + 0x18]
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
mov ecx, dword [ebx + 0x1c]
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x18
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
mov edx, ecx
shr edx, 8
mov byte [eax], dl
mov byte [eax + 1], cl
xor eax, eax
pop esi
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], fcn.00463fb0
pop ebx
ret
Function at 0x40a5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
dec ebx
pop ebp
test ebx, ebx
push edi
inc ecx
inc ebp
pushfd
add byte [eax], al
add byte [eax], al
jge 0x40a5f9
mov eax, dword [ebp + 0xc]
xchg bl, bl
xor dword [ebx], 0
sti
or dword [esi + 0x52], eax
cwde
add al, 0x43
mov ecx, 0x8df775c9
add al, 0x9d
add al, 0xd1
add byte [eax], al
lea eax, [ebx*4 + 0xd104]
push esi
in eax, dx
bound esp, qword [edi]
pop esp
rol dword [eax], 0x83
les eax, [ebx + ecx*4]
clc
insb byte es:[edi], dx
fisttp dword [ecx + 0x367ef47d]
mov eax, dword [ebp + 0xc]
mov esi, edi
sub edi, dword [ebx - 0x7607a277]
inc ebp
adc bl, ch
add ecx, dword [ebx + 0x488b1003]
xor byte [ebx - 0x3ef3ea01], bl
inc eax
add byte [ebx - 0x76bffb14], al
push es
pop ecx
push ebp
cld
add edx, eax
or eax, 0xe5839ce9
cmovs ecx, dword [ecx + 0x452cfc55]
clc
jne 0x40a5f9
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2 + 0x55]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
invalid
Function at 0x40257c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], edx
push esi
push edi
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
xor edi, eax
mov dword [ebp - 0xc], eax
mov eax, edi
mov ecx, edi
and eax, 0xfffffffc
mov esi, edi
add eax, 4
and cl, 3
cmovne esi, eax
mov ecx, esi
call fcn.00402e8e
mov dword [ebp - 4], eax
test eax, eax
je 0x4025f6
shr esi, 2
lea edx, [ebx + 8]
xor ebx, ebx
and dword [ebp - 8], ebx
lea ecx, [edx + esi*4]
mov esi, ecx
sub esi, edx
add esi, 3
shr esi, 2
cmp edx, ecx
cmova esi, dword [ebp - 8]
test esi, esi
je 0x4025ea
mov ecx, eax
sub ecx, edx
mov eax, dword [edx]
xor eax, dword [ebp - 0xc]
inc ebx
mov dword [ecx + edx], eax
lea edx, [edx + 4]
cmp ebx, esi
jb 0x4025da
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4025f3
mov dword [eax], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402602
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
xor ebx, ecx
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 1]
mov eax, esi
mov edx, esi
and eax, 0xfffffffc
add eax, 4
and dl, 3
cmovne esi, eax
lea ecx, [esi + esi]
call fcn.00402e8e
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x4026ad
mov eax, dword [ebp - 4]
and dword [ebp - 4], 0
add eax, 8
shr esi, 2
lea ecx, [eax + esi*4]
mov esi, edi
mov edx, ecx
sub edx, eax
add edx, 3
shr edx, 2
cmp eax, ecx
cmova edx, dword [ebp - 4]
test edx, edx
je 0x4026a7
mov ebx, eax
xor edi, edi
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, dword [ebp - 0xc]
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc edi
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp edi, edx
jb 0x40266b
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov word [edi + ebx*2], ax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4026b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
xor eax, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
lea edi, [eax + 1]
mov eax, edi
mov edx, edi
and eax, 0xfffffffc
add eax, 4
and dl, 3
cmovne edi, eax
mov ecx, edi
call fcn.00402e8e
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x402748
and dword [ebp - 4], 0
add ebx, 8
shr edi, 2
xor eax, eax
mov edx, esi
lea ecx, [ebx + edi*4]
mov edi, ecx
sub edi, ebx
add edi, 3
shr edi, 2
cmp ebx, ecx
cmova edi, eax
test edi, edi
je 0x402741
mov esi, dword [ebp - 4]
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
xor ecx, dword [ebp - 8]
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc esi
mov byte [edx - 1], cl
cmp esi, edi
jb 0x402718
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov byte [esi + eax], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402a79
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0xe53b15ad
xor eax, eax
mov dword [ebp - 0x1c], 0x95f44dc9
xor edx, edx
mov dword [ebp - 0x18], 0x692b97cb
push ebx
push edi
lea edi, [ebp - 0x14]
mov ebx, ecx
stosd dword es:[edi], eax
push 0x56
pop ecx
push 0x5e
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], 0x26da
imul eax, dword [ebp - 4], 0x59
mov dword [ebp - 4], eax
add dword [ebp - 4], 0x4c70
add dword [ebp - 4], 0xffff93e5
or dword [ebp - 4], 0xbd554561
xor dword [ebp - 4], 0xeb6f11a6
mov eax, dword [ebp - 4]
div ecx
xor edx, edx
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffff3366
xor dword [ebp - 4], 0xffc99e
mov dword [ebp - 8], 0xc1ef
shl dword [ebp - 8], 5
xor dword [ebp - 8], 0x183de6
mov dword [ebp - 8], 0x6c27
shr dword [ebp - 8], 0xc
mov eax, dword [ebp - 8]
pop ecx
div ecx
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0x10
cmp byte [ebx], 0
je 0x402b70
push esi
mov edi, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], 0xc1ef
shl dword [ebp - 8], 5
xor dword [ebp - 8], 0x183de6
mov cl, byte [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0x6c27
shr dword [ebp - 8], 0xc
mov eax, dword [ebp - 8]
shl esi, cl
push 0x5e
pop ecx
div ecx
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0x10
mov cl, byte [ebp - 8]
mov edx, dword [ebp - 4]
movsx eax, byte [ebx]
mov dword [ebp - 4], eax
add dword [ebp - 4], esi
shl edx, cl
add dword [ebp - 4], edx
sub dword [ebp - 4], edi
inc ebx
cmp byte [ebx], 0
jne 0x402b19
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [ebp - 0x14], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, esi
cmp dword [edi + 0x18], esi
jbe 0x402d0c
mov ecx, dword [ecx + eax*4]
add ecx, ebx
call fcn.00402a79
xor eax, 0x5851bad6
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
je 0x402ce3
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x18]
jb 0x402cbe
jmp 0x402d0c
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x402d0c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x402d0c
mov ecx, esi
call fcn.00402d4c
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402d15
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov ebx, ecx
add edi, 0xc
mov esi, dword [edi]
jmp 0x402d3d
mov ecx, dword [esi + 0x30]
call fcn.00402b79
xor eax, 0x4c0e75b4
cmp eax, ebx
je 0x402d47
mov esi, dword [esi]
cmp esi, edi
jne 0x402d2a
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x18]
jmp 0x402d43

Function at 0x402eec
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push edi
mov dword [ebp - 4], eax
call fcn.00402fe3
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x402fde
push esi
push 0x40
push 0x3000
push dword [edi + 0x50]
mov edx, 0x61801c9c
mov ecx, 0xc37093c6
push 0
push 0x1cd
call fcn.00402dd5
pop ecx
call eax
mov esi, eax
test esi, esi
je 0x402fdb
movzx ecx, word [edi + 0x14]
lea eax, [edi + 0x18]
mov edx, dword [ebp - 4]
add eax, ecx
movzx ecx, word [edi + 6]
push ebx
push dword [edi + 0x54]
imul ebx, ecx, 0x28
mov ecx, esi
mov dword [ebp - 8], eax
add ebx, eax
call fcn.00402e6a
pop ecx
mov ecx, dword [ebp - 8]
cmp ecx, ebx
jae 0x402fa4
sub ebx, ecx
mov edi, dword [ebp - 4]
lea eax, [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
push 0x28
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0xc]
pop ecx
div ecx
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebx]
cmp dword [ebx - 8], ecx
mov edx, dword [ebx + 4]
cmovb ecx, dword [ebx - 8]
add edx, edi
push ecx
mov ecx, dword [ebx - 4]
add ecx, esi
call fcn.00402e6a
dec dword [ebp - 8]
lea ebx, [ebx + 0x28]
pop ecx
jne 0x402f7f
mov edi, dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
call fcn.004030bf
mov edx, edi
mov ecx, esi
call fcn.00403011
pop ebx
test eax, eax
jne 0x402fdb
push 0x8000
push eax
push esi
push 0x1c7
mov edx, 0xa2a36581
mov ecx, 0xc37093c6
call fcn.00402dd5
pop ecx
call eax
xor esi, esi
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402fe3
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x40
jae 0x402feb
xor eax, eax
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402fe8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402fe8
mov edx, 0x10b
xor ecx, ecx
cmp word [eax + 0x18], dx
cmovne eax, ecx
ret
Function at 0x4029aa
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push 4
push ebx
push ebx
push 0x43cbc8
call fcn.00412d92
mov dword [esi + 0xc], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 0xc]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, ebx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4029e4
cmp dword [eax + 0x20], ebx
jne 0x4029f4
cmp edi, 0x14
jge 0x4029f4
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4029d8
mov ecx, eax
pop edi
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x14], eax
pop esi
pop ebx
ret

Function at 0x402c90
Capabilities:
Get file version info

Disassembly:
push 0x40
mov eax, 0x4392ab
call fcn.00421953
mov dword [ebp - 0x3c], ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
push esi
call fcn.0040b4d6
pop ecx
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x30]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x402d01
push dword [ebp + 0xc]
push str.Unable_to_get__s_file_version._n
push 0x453994
call fcn.004014f0
add esp, 0xc
mov ecx, 0x4538c8
call fcn.0040a75f
push ebx
call fcn.0040b4d1
pop ecx
jmp 0x402dda
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
push eax
push 0x43cf30
push ebx
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x28]
push ebx
movzx eax, word [ecx + 0xa]
mov dword [ebp - 0x4c], eax
movzx eax, word [ecx + 8]
mov dword [ebp - 0x48], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x44], eax
movzx eax, word [ecx + 0xc]
mov dword [ebp - 0x40], eax
call fcn.0040b4d1
pop ecx
lea eax, [ebp - 0x2c]
mov edi, 0x43d290
push eax
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.0040327b
mov ebx, 0x43c650
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x24]
call fcn.004027ad
test eax, eax
je 0x402db7
lea esi, [ebp - 0x20]
push dword [ebp - 0x24]
call fcn.00421825
pop ecx
mov dword [esi], eax
lea ecx, [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.0040327b
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040132a
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00401856
push ebx
lea ecx, [ebp - 0x24]
lea esi, [esi + 4]
call fcn.004027ad
test eax, eax
jne 0x402d6f
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004027d1
mov ecx, dword [ebp - 0x24]
mov edi, eax
neg edi
sbb edi, edi
lea ecx, [ecx - 0x10]
neg edi
call fcn.00401856
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401856
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401856
mov eax, edi
call fcn.00421902
ret 8