joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f241
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
mov esi, ecx
call fcn.0040d7d7
test eax, eax
je 0x40f34f
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
jne 0x40f2c0
and byte [ebp - 0x120], bl
mov eax, dword [0x42f3c8]
lea ecx, [ebp - 0x120]
test ecx, ecx
je 0x40f2ab
cmp eax, ebx
jne 0x40f293
mov eax, dword [0x42f194]
cmp eax, ebx
je 0x40f2ab
lea ecx, [ebp - 0x120]
push 0xff
push ecx
push 0xed
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
add esi, 0x84
push ebx
lea eax, [ebp - 0x120]
push esi
push eax
push ebx
jmp 0x40f39d
lea ebx, [esi + 0x84]
push 0x10020
push ebx
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40f329
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
and byte [ebp - 0x120], 0
mov eax, dword [0x42f3c8]
lea ecx, [ebp - 0x120]
test ecx, ecx
je 0x40f31e
test eax, eax
jne 0x40f306
mov eax, dword [0x42f194]
test eax, eax
je 0x40f31e
lea ecx, [ebp - 0x120]
push 0xff
push ecx
push 0xef
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
push ebx
lea eax, [ebp - 0x120]
jmp 0x40f39a
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
test ebx, ebx
je 0x40f354
push 1
pop eax
jmp 0x40f3a5
and byte [ebp - 0x220], 0
mov eax, dword [0x42f3c8]
lea ecx, [ebp - 0x220]
test ecx, ecx
je 0x40f38f
test eax, eax
jne 0x40f377
mov eax, dword [0x42f194]
test eax, eax
je 0x40f38f
lea ecx, [ebp - 0x220]
push 0xff
push ecx
push 0xf0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea eax, [ebp - 0x220]
push dword [ebp - 4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4140ff
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
je 0x414114
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x414146
lea esi, [edi + 4]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4142ec
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
dec dword [ebp + 0xc]
jne 0x414121
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea esi, [ecx + eax]
cmp dword [edi + 4], esi
jge 0x41415b
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41414c
pop edi
pop esi
leave
ret 8
Function at 0x414f8c
Capabilities:
Get common file path

Disassembly:
mov eax, 0x423b40
call fcn.00417f9c
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x42c03c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x42c020
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp + 0xc]
test eax, eax
push dword [ebp + 8]
je 0x414fd5
call eax
mov esi, eax
cmp esi, 2
jae 0x414fdd
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x415001
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x401935
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call fcn.00401d90
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x401851
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateThread
sub esp, 0x18
mov dword [esp], 0xffffffff
call sub.KERNEL32.dll_Sleep
sub esp, 4
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401aa6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401b3a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401af5
cmp eax, 0x40
je 0x401af5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401a99
cmp eax, 0x40
je 0x401a99
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401a99
mov dword [esp + 8], 0x34
mov dword [esp + 4], 0x404054
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x11b64c5
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x11b64f5
lea esp, [esp + 4]
neg edi
mov dx, di
jmp 0x11b64d6
mov cx, 0xb431
mov edx, ebp
lea ecx, [ebp*4]
xchg edx, eax
jmp 0x11b64fb
dec ax
jns 0x11b64c7
js 0x11b64c7
xchg cx, ax
lea ecx, [esp + ebp]
rdtsc
rdtsc
jmp 0x11b658a
mov ecx, 0x260ae87e
jmp 0x11b6565
pop ax
rol edi, 0
js 0x11b6526
mov ecx, 0x260ae87e
lea eax, [ebx*4]
jmp 0x11b656c
lea eax, [ebx*4]
ror edi, 0
bswap eax
mov edx, esp
jmp 0x11b65ad
dec edi
mov al, 0x20
mov eax, dword [esp]
push di
lea esp, [esp]
jmp 0x11b653c
sub esp, 0x1a
jno 0x11b65be
lea esp, [esp + 2]
jmp 0x11b661e
rdtsc
mov ecx, dword [esp]
rdtsc
xor edi, 0x4f42229d
mov dl, cl
jmp 0x11b6597
lea esp, [esp + 2]
jmp 0x11b661e
add edi, dword [ebp]
bswap ecx

Function at 0x11bc994
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
sets ah
inc edx
jmp 0x11bc94a

Function at 0x11c4211
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, dword [esp + 0x24]
lea esp, [esp + 0x28]
jmp 0x11aa36f
Function at 0x401cf0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov ebx, 1
push 2
mov dword [ebp - 0x710], esi
call dword [0x41d070]
mov edi, eax
test edi, edi
jne 0x401d36
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409818
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x708]
mov dword [ebp - 0x708], 0x22c
push eax
push edi
call dword [0x41d0e0]
test eax, eax
je 0x401d23
lea eax, [ebp - 0x70c]
push eax
push 0xf01ff
call dword [0x41d078]
push eax
call dword [0x41d008]
test eax, eax
je 0x401de0
lea eax, [ebp - 0x718]
push eax
push str.SeDebugPrivilege
push 0
call dword [0x41d004]
test eax, eax
je 0x401dca
mov eax, dword [ebp - 0x718]
push 0
push 0
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x714]
push 0
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x70c]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x214], 2
call dword [section..rdata]
push dword [ebp - 0x70c]
call dword [0x41d0c4]
jmp 0x401de0
push 0x2b4
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.0040bd20
add esp, 0xc
lea eax, [ebp - 0x4d8]
push 0x101
push 0x2b4
push eax
push 0
lea eax, [ebp - 0x6e4]
push eax
call dword [0x41d1ac]
lea eax, [ebp - 0x6e4]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [0x41d034]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [0x41d030]
test eax, eax
jne 0x401e6d
push dword [ebp - 0x700]
push eax
push 0x1fffff
call dword [0x41d07c]
push 0
mov esi, eax
call dword [0x41d080]
push 0
push esi
call dword [0x41d084]
mov esi, dword [ebp - 0x710]
neg eax
sbb eax, eax
and ebx, eax
lea eax, [ebp - 0x708]
push eax
push edi
call dword [0x41d088]
test eax, eax
jne 0x401de0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409818
mov esp, ebp
pop ebp
ret
Function at 0x404ac0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x404acb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x404b95
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
dec edi
jne 0x404ae0
pop edi
test esi, esi
je 0x404bba
lea esp, [esp]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x422c30]
dec esi
jne 0x404ba0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x406cd0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x406e1f
push ebx
mov bl, byte [ebp + 0xa]
push esi
push edi
xor edi, edi
xor esi, esi
jmp 0x406cf0
mov dl, byte [esi + str.aWtsaXQ]
cmp dl, 0x2b
jne 0x406cff
mov dl, 0x3e
jmp 0x406d2d
cmp dl, 0x2f
jne 0x406d08
mov dl, 0x3f
jmp 0x406d2d
cmp dl, 0x39
jg 0x406d12
add dl, 4
jmp 0x406d2d
cmp dl, 0x3d
je 0x406d2b
cmp dl, 0x5a
jg 0x406d21
sub dl, 0x41
jmp 0x406d2d
cmp dl, 0x7a
jg 0x406d2b
sub dl, 0x47
jmp 0x406d2d
mov dl, 0x40
mov cl, byte [esi + 0x4228a5]
cmp cl, 0x2b
jne 0x406d3c
mov cl, 0x3e
jmp 0x406d6a
cmp cl, 0x2f
jne 0x406d45
mov cl, 0x3f
jmp 0x406d6a
cmp cl, 0x39
jg 0x406d4f
add cl, 4
jmp 0x406d6a
cmp cl, 0x3d
je 0x406d68
cmp cl, 0x5a
jg 0x406d5e
sub cl, 0x41
jmp 0x406d6a
cmp cl, 0x7a
jg 0x406d68
sub cl, 0x47
jmp 0x406d6a
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228a6]
cmp al, 0x3d
je 0x406dc7
mov bl, al
cmp bl, 0x2b
jne 0x406d90
mov bl, 0x3e
jmp 0x406db9
cmp bl, 0x2f
jne 0x406d99
mov bl, 0x3f
jmp 0x406db9
cmp bl, 0x39
jg 0x406da3
add bl, 4
jmp 0x406db9
cmp bl, 0x5a
jg 0x406dad
sub bl, 0x41
jmp 0x406db9
cmp bl, 0x7a
jg 0x406db7
sub bl, 0x47
jmp 0x406db9
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [edi + edx], al
inc edi
mov al, byte [esi + 0x4228a7]
cmp al, 0x3d
je 0x406e06
cmp al, 0x2b
jne 0x406dd9
mov al, 0x3e
jmp 0x406dfb
cmp al, 0x2f
jne 0x406de1
mov al, 0x3f
jmp 0x406dfb
cmp al, 0x39
jg 0x406de9
add al, 4
jmp 0x406dfb
cmp al, 0x5a
jg 0x406df1
sub al, 0x41
jmp 0x406dfb
cmp al, 0x7a
jg 0x406df9
sub al, 0x47
jmp 0x406dfb
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [edi + edx], cl
inc edi
add esi, 4
cmp esi, 8
jb 0x406cf0
mov byte [edi + edx], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x406e30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x406f47
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x406f47
mov ebx, dword [ebp + 0x10]
cmp ebx, 1
jb 0x406f47
push esi
xor eax, eax
xor esi, esi
mov dword [ebp + 8], eax
test ebx, ebx
je 0x406f3c
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 3
shr cl, 2
movzx ecx, cl
shl dl, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi], cl
cmp esi, ebx
jae 0x406f25
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
inc esi
mov cl, bl
and bl, 0xf
shr cl, 4
add dl, cl
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
cmp esi, dword [ebp + 0x10]
jae 0x406f02
mov ecx, dword [ebp + 0xc]
shl bl, 2
mov dl, byte [esi + ecx]
inc esi
mov cl, dl
and dl, 0x3f
shr cl, 6
add bl, cl
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
movzx ecx, dl
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 3], cl
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 3
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov ecx, dword [ebp + 0xc]
jb 0x406e67
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
shl bl, 2
movzx ecx, bl
pop esi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 2], cl
mov byte [eax + edi + 3], 0x3d
add eax, 4
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
movzx ecx, dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + edi + 1], cl
mov word [eax + edi + 2], 0x3d3d
add eax, 4
pop esi
mov byte [eax + edi], 0
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x407c50
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x407c5b
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x407c62
sub edi, ecx
inc edi
push edi
call fcn.00409827
push edi
mov esi, eax
push 0
push esi
call fcn.0040bd20
push ebx
push edi
push esi
call fcn.0040a8d4
xor eax, eax
add esp, 0x1c
cmp byte [esi], al
je 0x407c9a
mov edi, edi
xor byte [esi], 0x20
inc eax
inc esi
cmp byte [esi], 0
jne 0x407c90
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x408d30
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
mov dword [0x5bedf4], 1
mov byte [0x5bedc8], 0
call fcn.00409827
add esp, 4
mov dword [0x5bedec], eax
test eax, eax
je 0x408d8c
mov ecx, esi
mov dword [0x5bedf0], eax
mov dword [0x5bee00], 0x67452301
mov dword [0x5bee04], 0xefcdab89
mov dword [0x5bee08], 0x98badcfe
mov dword [0x5bee0c], 0x10325476
pop esi
jmp fcn.004095e0
pop esi
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x475008], 0x8088405
inc edx
mov dword [ebx + 0x475008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
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 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4589f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4589f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x459d6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x47773c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x47773c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x476538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459d72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret