joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7e74
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.004c80a8
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.004c80a8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4c7ee8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4c7f0d
inc esi
mov eax, edi
call fcn.004c7ecc
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004c7e74
inc ebx
dec esi
jne 0x4c7ef7
pop edi
pop esi
pop ebx
ret

Function at 0x4c7f9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4c8011
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004c7f14
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004c7ecc
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004c7e74
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4c7fdc
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8018
lea eax, [ebp - 4]
call fcn.00404878
ret
Function at 0x4c8bd4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c8db8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4c8d74
mov eax, dword [ebp - 4]
call fcn.004ca524
cmp ebx, eax
jge 0x4c8d74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004bf49c
mov edx, dword [0x4c0824]
call fcn.00403c54
mov esi, eax
mov eax, esi
call fcn.004c16d8
test al, al
je 0x4c8d6a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4c8d5e
xor eax, eax
push ebp
push 0x4c8d57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c918c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c540
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404ec4
mov eax, dword [ebp - 8]
call fcn.00404d90
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c8f50
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8da2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4c8d56
mov eax, dword [ebp - 4]
call fcn.004c9210
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a0e4
jmp 0x4c8da2
mov eax, dword [ebp - 8]
call fcn.00404878
jmp 0x4c8da2
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040966c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x4174dc]
call fcn.0040d8d8
call fcn.00404230
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8dbf
lea eax, [ebp - 0x54]
call fcn.00404878
ret
Function at 0x4d06c8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d0736
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4d070e
lea eax, [ebp - 4]
lea edx, [ebp - 0x19]
mov ecx, 0x11
call fcn.00404ae8
jmp 0x4d0716
lea eax, [ebp - 4]
call fcn.00404878
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004048cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d073d
lea eax, [ebp - 4]
call fcn.00404878
ret

Function at 0x4d0a1c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404878
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4d0a76
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x4d0a6a
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.0040a0e4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x4d0a5b
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d0ba8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x4d0bbf
jne 0x4d0bc6
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 1
jne 0x4d0bd5
mov dl, 1
cmp dword [ebp - 4], 1
jne 0x4d0bdd
xor edx, edx
mov eax, edx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4d26ac
Capabilities:
Check internet connectivity via wininet

Disassembly:
push 0
push 1
push 0x4d26c4
call sub.wininet.dll_InternetCheckConnectionA
cmp eax, 1
sbb eax, eax
inc eax
ret

Function at 0x4d33e4
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
xor eax, eax
push ebp
push 0x4d3455
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x1505
mov eax, dword [ebp - 4]
call fcn.00404b38
test eax, eax
jle 0x4d3431
mov edx, 1
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx - 1]
mov edi, ebx
shl edi, 5
add ecx, edi
add ebx, ecx
inc edx
dec eax
jne 0x4d341c
mov edx, esi
mov eax, ebx
and eax, 0x7fffffff
call fcn.004091e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d345c
lea eax, [ebp - 4]
call fcn.00404878
ret
Function at 0x4078f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x4078ff
pop dword [ebp - 0x28]
mov eax, 0x1e6f3c29
sub eax, 0x1e2ec32a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa1751494
add dword [ebp - 0x38], 0xacdd30b7
mov dword [ebp - 0x34], 0xaa6945cd
add dword [ebp - 0x34], 0x87ca0678
mov dword [ebp - 0x30], 0x555c6d5b
sub dword [ebp - 0x30], 0x910292d
mov dword [ebp - 0x2c], 0xb727d847
sub dword [ebp - 0x2c], 0xb727d847
lea eax, [ebp - 0x38]
push eax
mov eax, 0x8d6b4ca4
add eax, 0x72d6e3d0
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xa57ef46f
sub dword [ebp - 0x38], 0x310c8b19
mov dword [ebp - 0x34], 0xf01826c
add dword [ebp - 0x34], 0x326adf09
mov dword [ebp - 0x30], 0x2162c249
add dword [ebp - 0x30], 0x420caa23
mov dword [ebp - 0x2c], 0xe7978b51
add dword [ebp - 0x2c], 0x186874af
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x5574aa95
sub eax, 0x55327971
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3a8d2
push 0
call eax
mov ecx, 0x3b77
mov edx, eax
mov ebx, 0x6dd1f12c
add ebx, 0x927152d4
add ebx, dword [ebp - 0x28]
mov edi, 0x47e8b3a4
sub edi, 0x2f0e723d
sub dword [ebp - 8], 0x8e335b05
mov esi, dword [ebx]
add esi, edi
xor dword [ebp - 0x1c], edi
mov dword [edx], esi
add dword [ebp - 0x14], 0x98a10a42
add edx, 0xd87d665
add edx, 0xf278299f
add ebx, 0x363da629
sub ebx, 0x363da625
loop 0x407a1b
add eax, 0x317045c4
sub eax, 0x316f6515
xor ebx, ebx
add ebx, eax
add eax, 0x6723aea4
add eax, 0x98dc5161
mov ecx, 0xb4b635fd
sub ecx, 0xb47635fd
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x4f8873f2
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4f88d064]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.4f8866f9
push 0x4f881758
lea ecx, [esp + 0x1c]
call fcn.4f88661e
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4f887472
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4f8874a8
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc0
call fcn.4f8870f3
mov edi, eax
jmp 0x4f8874a8
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.4f896c99
mov ebx, eax
test ebx, ebx
jns 0x4f88749a
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xc6
call fcn.4f8870d4
mov edi, ebx
jmp 0x4f8874a8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4f8874b2
push esi
call fcn.4f887173
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.4f88bbb0
mov esp, ebp
pop ebp
ret 8

Function at 0x4f88bd30
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 0x4f88bd6e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4f88bd66
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4f88bd70
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4f88bd56
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4f88be40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4f88be71
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4f88be71
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4f88be71
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4f8911d3
Capabilities:
Encode data using xor

Disassembly:
call 0x4f89114c
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 0x4f89117c
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 0x4f891198
xor edx, 0
jmp 0x4f8911a3
xor edx, edx
jmp 0x4f8911ba
jmp 0x4f8911c6
xor eax, eax
push 0x8427d7c0
call 0x4f8911d3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4f89120f
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 0x4f8911e8
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 0x4f891226
add eax, 0
jno 0x4f89122b
add esi, 0
ret 0x10

Function at 0x4f891f94
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 0x4f891fb6
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 0x4f892158
cmp edi, dword [ebp + 0x10]
jb 0x4f892158
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.4f891a80
inc edi
jmp 0x4f89203f
jmp 0x4f89204c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891a80
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.4f891a80
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 0x4f8920a0
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 0x4f892084
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4f8920ce
add dword [eax], 0x39
jle 0x4f8920aa
sub al, 0xf5
mov ch, al
call fcn.4f8920e3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4f893dbb
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 0x4f893dd1
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 0x4f893de2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.4f893e23
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 0x4f89618f
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 0x4f8960d8
add ebx, 0
push ecx
call 0x4f8960ed
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, 0x72f17144
sub ebx, dword [0x72f36983]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x72f36973
call fcn.4f891bb7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.4f8910c5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x4f89624b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x4f89624b
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 0x4f896202
mov eax, 1
lock xchg dword [0x72f3697f], eax
push 0x3dd1fc71
call 0x4f89618f
push esi
add esp, 8
cmp eax, 0
jne 0x4f896178
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4f89619e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4f8961b3
cmp ecx, edx
cmp eax, 0
je 0x4f8961d8
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 0x4f8961c2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.4f8961f1
dec eax
loope 0x4f8961f4
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x72f3697f], 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 0x4f896228
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4f89623d
jmp 0x4f896248
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x4f896136
Function at 0x4f89d2b0
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 0x4f89d586
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x72f235f7
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x72f1a5bd
push 0xffffffffffffffff
call fcn.4f8944b0
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 0x4f89d31a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4f89d332
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 0x4f89d57a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4f89d54e
Function at 0x4f8acd80
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 0x4f8acda2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acda2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acda2
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acda2
test word [ebx + 0x16], 2
je 0x4f8acda2
test word [ebx + 0x16], 0x100
je 0x4f8acda2
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acda2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acda2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ace2e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acdc2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893d0d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acda2
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 0x4f8ace2e
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 0x4f8acda2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4f8acda2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4f8acda2
ret
cmp word [ebx + 4], 0x14c
jne 0x4f8acda2
test word [ebx + 0x16], 2
je 0x4f8acda2
test word [ebx + 0x16], 0x100
je 0x4f8acda2
cmp word [ebx + 0x18], 0x10b
jne 0x4f8acda2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4f8acda2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4f8ace2e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4f8acdc2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.4f893d0d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4f8acda2
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 0x4f8acee5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f8acf3e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f8acee5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f8acef4
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 0x4fcb2b97
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 0x4f8acf45
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.4f893dbb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f8acfe4
add edi, 4
add eax, 2
dec ecx
jne 0x4f8acf2a
call 0x4f8acf91
loope 0x4f8acf87
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f8acfe1
mov dh, 0xe8
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 0x4f8acff2
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 0x4f8acfa5
cmp eax, ecx
ja 0x4f8acfa5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f8ad02f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f8ad025
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4f89429a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4f8acef4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4f8acf3e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4f8acee5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4f8acef4
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 0x4fcb2b97
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 0x4f8acf45
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.4f893dbb
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4f8acfe4
add edi, 4
add eax, 2
dec ecx
jne 0x4f8acf2a
call 0x4f8acf91
loope 0x4f8acf87
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4f8acfe1
mov dh, 0xe8
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 0x4f8acff2
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 0x4f8acfa5
cmp eax, ecx
ja 0x4f8acfa5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4f8ad02f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4f8ad025
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4f89429a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]