joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465d10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5c5bec]
cmp dword [eax + 0x30], 0
je 0x465dba
cmp dword [ebx + 0x94], 0
jne 0x465db4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x465ca0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x465db4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x465d7a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x465db4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041f0bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x465d89
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46691c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x466951
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a4c
jmp 0x46695e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049b0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467a68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467aa9
mov eax, esi
call fcn.0044dffc
test al, al
je 0x467aa9
mov eax, dword [ebx + 0x84]
call fcn.0044dcf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467aa9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044dcf8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x497a2c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x497a7d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x497a64
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x497a54
jmp 0x497a7d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x497a65
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8154
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a8182
mov eax, ebx
call fcn.004a8c08
cmp dword [ebx + 0x40], 0
je 0x4a817b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a81f3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a81e5
cmp dword [ebx + 8], 0
je 0x4a81a4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a81b6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a81e5
cmp dword [ebx + 8], 0
je 0x4a8197
cmp eax, 3
je 0x4a81c9
dec eax
jne 0x4a8197
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a8197
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a8197
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a8211
cmp dword [ebx + 0x14], 0xcc
je 0x4a8211
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a821c
pop ebx
ret

Function at 0x4b93e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4b940a
cmp dword [ebx + 0x64], 0
jne 0x4b940a
cmp dword [ebx + 0x6c], 0
jne 0x4b940a
mov edi, esi
jmp 0x4b9491
cmp edi, 0xffffffff
jne 0x4b9412
dec edi
jmp 0x4b9491
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x4b9491
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004b87dc
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b945f
mov cx, word [esp]
sub cx, si
jmp 0x4b9461
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b9448
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4b9487
mov cx, word [esp]
sub cx, si
jmp 0x4b9489
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4b9470
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4b94ee
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.004b917c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4b94d9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4b94ee
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4b93ea
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bf744
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5c5cec
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4bf766
shr eax, 1
xor eax, 0xedb88320
jmp 0x4bf768
shr eax, 1
dec edx
jne 0x4bf754
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4bf74d
mov byte [0x5c60ec], 1
pop esi
pop ebx
ret

Function at 0x4bf784
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5c60ec], 0
jne 0x4bf79b
call fcn.004bf744
mov eax, edi
dec eax
test eax, eax
jl 0x4bf7c4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5c5cec]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4bf7a5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4c1d60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4c1d91
dec al
je 0x4c1dcd
dec al
je 0x4c1e11
dec al
je 0x4c1e7c
jmp 0x4c1f06
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4c1f06
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4c1da1
jmp 0x4c1f06
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c1f06
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4c1ddd
jmp 0x4c1f06
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c1f06
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4c1e3f
xor ebp, ebp
jmp 0x4c1e50
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4c1e59
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c1e21
jmp 0x4c1f06
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c1f06
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4c1ed4
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004bf7cc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c1e90
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d239f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x5bed7e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4d23f7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x5bed9f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4d23ed
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4d23fb
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4e0fa0
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x4e0fb9
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x4e0fc9
mov bl, 1
jmp 0x4e10b6
mov eax, dword [0x5c4100]
cmp dword [eax], 2
jne 0x4e0fdd
mov eax, dword [0x5c3818]
cmp dword [eax], 4
jg 0x4e1011
mov eax, dword [0x5c4100]
cmp dword [eax], 1
jne 0x4e10a0
mov eax, dword [0x5c3818]
cmp dword [eax], 4
jg 0x4e1011
mov eax, dword [0x5c3818]
cmp dword [eax], 4
jne 0x4e10a0
mov eax, dword [0x5c3db8]
cmp dword [eax], 0
jle 0x4e10a0
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4e1058
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x4e10ac
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x4e10ac
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e5034
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e1c
xor eax, eax
push ebp
push 0x4e50ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403294
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 0x41
test bl, bl
je 0x4e507f
mov word [ebp - 0x18], 1
jmp 0x4e5085
mov word [ebp - 0x18], 7
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404e2c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4e50b2
mov ebx, dword [ebp - 0x58]
jmp 0x4e50b4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e50d1
lea eax, [ebp - 4]
call fcn.0040495c
ret

Function at 0x4e5c90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e1c
xor eax, eax
push ebp
push 0x4e5d5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
call fcn.00404e2c
push eax
push 0xa
lea eax, [ebp - 0x13]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.00409ee4
mov eax, dword [ebp - 0x18]
call fcn.00404e2c
push eax
mov eax, dword [ebp - 4]
call fcn.00404e2c
push eax
push 0x4e5d6c
call sub.kernel32.dll_GetPrivateProfileStringA
xor eax, eax
push ebp
push 0x4e5d2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x13]
mov ecx, 0xb
call fcn.00404bdc
mov eax, dword [ebp - 0x1c]
call fcn.0040a020
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e5d38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5d62
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404980
lea eax, [ebp - 4]
call fcn.0040495c
ret
Function at 0x4e9814
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4e9931
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, 0x4e9948
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004e89d0
mov esi, dword [ebx + 4]
mov eax, dword [ebx + 0x54]
push eax
call sub.kernel32.dll_SetEvent
test eax, eax
jne 0x4e989e
push 0
push 0x4e9980
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x10]
call fcn.00409fd0
push dword [ebp - 0x10]
push 0x4e9994
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cec
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004e89d0
push 0x2710
push esi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x4e9916
push 0
mov eax, 0x4e99d8
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004e89d0
push 0
push esi
call sub.kernel32.dll_TerminateThread
test eax, eax
jne 0x4e9916
push 0
push 0x4e9980
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409fd0
push dword [ebp - 0x18]
push 0x4e9a10
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404cec
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004e89d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9938
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404980
ret

Function at 0x4e9a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
test dl, dl
je 0x4e9a65
add esp, 0xfffffff0
call fcn.00403dac
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e9b1a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403a50
mov byte [esi + 0x1c], 0
xor eax, eax
mov dword [esi + 0x1cc], eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402ca4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040a790
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004e9db0
or edx, 0xffffffff
mov eax, esi
call fcn.004e9e9c
or edx, 0xffffffff
mov eax, esi
call fcn.004e9eb8
mov dword [esi + 0x10], 0xa
mov edx, 0xa
mov eax, esi
call fcn.004e9ecc
push 0
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 4]
push 0
push 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
lea eax, [esi + 0x38]
xor ecx, ecx
mov edx, 0x194
call fcn.00403294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9b21
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404980
ret
Function at 0x4f1e28
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x5bf348], 0
mov eax, dword [0x5c4100]
cmp dword [eax], 2
jne 0x4f2001
mov eax, dword [0x5c3818]
cmp dword [eax], 5
jl 0x4f2001
call fcn.004eefc4
test al, al
jne 0x4f1e59
call fcn.004eefd0
call fcn.004eefbc
mov dword [0x5bf350], eax
push 0x4f2004
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf314], eax
cmp dword [0x5bf314], 0
jne 0x4f1eb4
mov edx, 0x8000
mov eax, 0x4f2018
call fcn.0041054c
mov dword [0x5bf34c], eax
mov eax, dword [0x5bf34c]
mov dword [0x5bf350], eax
push 0x4f2004
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf314], eax
cmp dword [0x5bf314], 0
je 0x4f1ffc
push 0x4f2024
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf318], eax
cmp dword [0x5bf318], 0
je 0x4f1ffc
push 0x4f2030
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf31c], eax
cmp dword [0x5bf31c], 0
je 0x4f1ffc
mov byte [0x5bf348], 1
push 0x4f2040
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf320], eax
push 0x4f204c
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf324], eax
push 0x4f2058
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf328], eax
push 0x4f2068
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf32c], eax
push 0x4f2078
mov eax, dword [0x5bf350]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf330], eax
mov edx, 0x8000
mov eax, 0x4f2090
call fcn.0041054c
mov dword [0x5bf354], eax
cmp dword [0x5bf354], 0
je 0x4f2001
push 0x4f20a0
mov eax, dword [0x5bf354]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf334], eax
push 0x4f20bc
mov eax, dword [0x5bf354]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf338], eax
push 0x4f20dc
mov eax, dword [0x5bf354]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf33c], eax
push 0x4f20f8
mov eax, dword [0x5bf354]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf340], eax
push 0x4f2110
mov eax, dword [0x5bf354]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5bf344], eax
ret
call fcn.004f1da8
ret
Function at 0x4fe424
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, ecx
xor eax, eax
push ebp
push 0x4fe63d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dl, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004ecbf0
mov eax, dword [ebp - 8]
call fcn.00404c2c
test eax, eax
jle 0x4fe4fc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x4fb780]
call fcn.004fb884
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe4ea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4fe4d4
push 4
push 0x10
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004fb820
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004ec580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe4f1
lea eax, [ebp - 4]
call fcn.00410480
ret
mov eax, dword [0x5c3f6c]
mov eax, dword [eax]
mov edx, ebx
call fcn.004f5034
test al, al
je 0x4fe57e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x4fb780]
call fcn.004fb884
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fe56c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4fe556
push 4
push 4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004fb820
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004ec580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe573
lea eax, [ebp - 4]
call fcn.00410480
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov eax, ebx
call fcn.00404c2c
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, ebx
call fcn.00404c2c
test eax, eax
jle 0x4fe5d1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00404c2c
push eax
lea ecx, [ebp - 0x14]
mov dl, 1
mov eax, ebx
call fcn.004ee0cc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004ec580
mov eax, ebx
call fcn.00404c2c
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x5c3f6c]
mov eax, dword [eax]
mov dx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004ee28c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.004ec580
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe644
lea eax, [ebp - 0x18]
mov edx, dword [0x4ebd44]
mov ecx, 4
call fcn.00405724
lea eax, [ebp - 8]
call fcn.0040495c
ret