joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f848
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x49f8ac
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404474
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f8b3
lea eax, [ebp - 0xc]
call fcn.00404204
ret

Function at 0x4a0250
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a0306
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004046c4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4a02f0
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404850
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.004046c4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a02f0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a0318
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a02f0
cmp dword [ebp - 8], 0x34
jne 0x4a02f0
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a030d
lea eax, [ebp - 0x10]
call fcn.00404204
ret

Function at 0x4a1228
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4a123d
add esp, 0xfffffff0
call fcn.00403738
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.004033a4
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00404258
mov eax, esi
call fcn.004046c4
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA_1
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x4a1292
mov ecx, dword [0x4eedc0]
mov dl, 1
mov eax, dword [0x4a100c]
call fcn.0049b2a0
call fcn.00403ba0
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a12b9
call fcn.00403790
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4a65f8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4a6718
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404204
mov eax, esi
call fcn.004b0730
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a66ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4a6730
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4a67a4
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 8]
call fcn.004894cc
jmp 0x4a66cc
mov edx, 0x4a67b8
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x10]
call fcn.004882cc
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0xc]
pop edx
call fcn.00490cd0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004044cc
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
jne 0x4a66cc
mov eax, ebx
mov edx, 0x4a67d0
call fcn.004044cc
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4a6678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a66f5
mov eax, dword [ebp - 8]
call fcn.004033d4
ret
Function at 0x4a9f70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
call fcn.004046b4
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x4aa16e
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
call fcn.004b0730
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4aa137
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x4aa026
cmp byte [ebp - 0x11], 1
jne 0x4a9ffa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4aa184
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.00489c18
mov edx, 0x4aa248
call fcn.00488b04
mov edx, dword [ebp - 0x10]
call fcn.0048827c
jmp 0x4aa036
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4aa25c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.00489c18
mov edx, 0x4aa2c4
call fcn.00488b04
mov edx, dword [ebp - 0x10]
call fcn.0048827c
jmp 0x4aa036
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
mov edx, 0x4aa2d8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
call fcn.004894cc
jmp 0x4aa111
mov edx, 0x4aa32c
mov eax, dword [ebp - 4]
call fcn.00489734
lea edx, [ebp - 0xc]
call fcn.004882cc
mov edx, dword [ebp - 0xc]
mov eax, 0x4aa344
call fcn.00404808
dec eax
jne 0x4aa093
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jae 0x4aa093
mov edx, 0x4aa354
mov eax, dword [ebp - 4]
call fcn.00489734
call fcn.00486590
dec eax
je 0x4aa093
mov eax, dword [ebp - 4]
call fcn.00489894
jmp 0x4aa111
test bl, bl
je 0x4aa0a8
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4aa36c
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00490cd0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x4aa390
call fcn.00409858
push dword [ebp - 0x18]
push ebp
lea eax, [ebp - 0x28]
call fcn.004a9670
pop ecx
push dword [ebp - 0x28]
push 0x4aa3b0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404584
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.00489894
mov eax, dword [ebp - 4]
call fcn.00489720
test al, al
je 0x4aa043
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa13e
mov eax, dword [ebp - 4]
call fcn.004033d4
ret
Function at 0x4aa6a4
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4aa8c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, esi
call fcn.004b0730
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4aa881
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4aa70a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4aa8d8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4aa734
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4aa918
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4aa980
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 8]
call fcn.004894cc
jmp 0x4aa85b
test bl, bl
je 0x4aa768
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4aa998
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov edx, 0x4aa9c0
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x28]
call fcn.004882cc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov edx, 0x4aa9dc
mov eax, dword [ebp - 8]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov edx, 0x4aa9f8
mov eax, dword [ebp - 8]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x24]
mov ecx, 2
mov eax, 0x4aaa14
call fcn.00409858
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x4c], 9
mov byte [ebp - 0x48], 2
mov edx, 0x4aaa4c
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x50]
call fcn.004882cc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov edx, 0x4aaa64
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0x54]
call fcn.004882cc
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov byte [ebp - 0x34], 0x3b
mov byte [ebp - 0x30], 2
lea edx, [ebp - 0x4c]
mov ecx, 3
mov eax, 0x4aaa7c
call fcn.00409858
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4aa741
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa888
mov eax, dword [ebp - 8]
call fcn.004033d4
ret
Function at 0x4ac73c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4ac8d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004b0730
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ac8a5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4ac799
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac8ec
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4ac7c3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac978
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4aca2c
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 8]
call fcn.004894cc
mov eax, dword [ebx + 0x38]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4ac87f
mov edx, 0x4aca44
mov eax, dword [ebp - 8]
call fcn.00489734
lea edx, [ebp - 0xc]
call fcn.004882cc
mov edx, dword [ebp - 0xc]
mov eax, 0x4aca60
call fcn.00404808
dec eax
jne 0x4ac80b
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jb 0x4ac827
mov edx, dword [ebp - 0xc]
mov eax, 0x4aca70
call fcn.00404808
dec eax
jne 0x4ac831
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
add al, 0xd0
sub al, 0xa
jae 0x4ac831
mov eax, dword [ebp - 8]
call fcn.00489894
jmp 0x4ac87f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00490cd0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0xb
mov byte [ebp - 0x18], 0x3b
mov byte [ebp - 0x14], 2
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4aca80
call fcn.00409858
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4ac7da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac8ac
mov eax, dword [ebp - 8]
call fcn.004033d4
ret
Function at 0x4af008
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4af1f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004b0730
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4af1af
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], 0xd
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], 8
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4af208
call fcn.00409858
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004894cc
jmp 0x4af189
mov edx, 0x4af2d4
mov eax, dword [ebp - 0x10]
call fcn.00489734
lea edx, [ebp - 0x28]
call fcn.004882cc
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0xc]
call fcn.00408838
mov edx, 0x4af2e8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486dec
test al, al
jne 0x4af0fa
mov edx, 0x4af2e8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4af0fa
lea eax, [ebp - 8]
mov edx, 0x4af304
call fcn.0040429c
jmp 0x4af102
lea eax, [ebp - 8]
call fcn.00404204
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x4af320
mov eax, dword [ebp - 0x10]
call fcn.00489734
lea edx, [ebp - 0x5c]
call fcn.004882cc
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x58]
pop edx
call fcn.00490cd0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, 0x4af33c
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
lea edx, [ebp - 0x54]
mov ecx, 4
mov eax, 0x4af348
call fcn.00409858
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00489894
mov eax, dword [ebp - 0x10]
call fcn.00489720
test al, al
je 0x4af0a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af1b6
mov eax, dword [ebp - 0x10]
call fcn.004033d4
ret
Function at 0x4afa24
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
call fcn.004046b4
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x4afc22
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
call fcn.004b0730
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4afc00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov edx, 0x4afc38
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4afd28
call fcn.00488b04
mov edx, dword [ebp - 0x10]
call fcn.0048827c
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4afd3c
call fcn.00488b04
xor edx, edx
call fcn.004876fc
mov eax, dword [ebp - 8]
call fcn.004894cc
jmp 0x4afb15
test bl, bl
je 0x4afad2
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4afd4c
mov ecx, dword [eax]
call dword [ecx + 0x38]
push ebp
lea eax, [ebp - 0x18]
call fcn.004af360
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.0040429c
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
jne 0x4afb08
lea eax, [ebp - 0x14]
mov edx, 0x4afd58
call fcn.004044cc
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4afabd
test bl, bl
jne 0x4afb34
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4afd64
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.00489464
mov eax, dword [ebp - 8]
call fcn.00489c18
mov edx, 0x4afd3c
call fcn.00488b04
mov edx, 1
call fcn.004876fc
mov eax, dword [ebp - 8]
call fcn.004894cc
jmp 0x4afbbc
test bl, bl
je 0x4afb79
xor ebx, ebx
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4afd70
mov ecx, dword [eax]
call dword [ecx + 0x38]
push ebp
lea eax, [ebp - 0x1c]
call fcn.004af360
pop ecx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.0040429c
mov eax, dword [ebp - 8]
call fcn.00489894
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
jne 0x4afbaf
lea eax, [ebp - 0x14]
mov edx, 0x4afd58
call fcn.004044cc
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
call fcn.00489720
test al, al
je 0x4afb64
test bl, bl
jne 0x4afbdb
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4afd64
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
mov edx, 0x4afd84
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afc07
mov eax, dword [ebp - 8]
call fcn.004033d4
ret
Function at 0x4b3658
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4b3686
mov eax, ebx
call fcn.004b410c
cmp dword [ebx + 0x40], 0
je 0x4b367f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4b36f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4b36e9
cmp dword [ebx + 8], 0
je 0x4b36a8
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 0x4b36ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b36e9
cmp dword [ebx + 8], 0
je 0x4b369b
cmp eax, 3
je 0x4b36cd
dec eax
jne 0x4b369b
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 0x4b369b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4b369b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4b3715
cmp dword [ebx + 0x14], 0xcc
je 0x4b3715
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.004b3720
pop ebx
ret

Function at 0x4c3db0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004c3d6c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c3e24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4f1bf4], eax
mov ebx, 0x4c3cf8
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4c3e24
xor eax, eax
push ebp
push 0x4c3e1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3e24
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c3e2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.004c3d6c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4c3e97
mov ebx, dword [0x4f1bf4]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4c3e97
xor eax, eax
push ebp
push 0x4c3e90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3e97
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cbfcc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42746c]
call fcn.0042d198
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4cc19f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4cc17e
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0042e5bc
mov eax, dword [ebp - 8]
call fcn.0042d760
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00428be4
cmp byte [ebp + 8], 0
je 0x4cc066
xor edx, edx
mov eax, ebx
call fcn.004caff4
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004caff4
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004caf24
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4cc0a2
xor edx, edx
mov eax, ebx
call fcn.004caff4
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004caf24
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004caff4
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041ad1c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0042d760
pop edx
call fcn.00428f88
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004caf24
dec eax
test eax, eax
jl 0x4cc156
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004caec8
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004cb020
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004cb020
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041acf4
mov eax, dword [ebp - 8]
call fcn.0042d760
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4cc0ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004caec8
cmp byte [ebp + 0xc], 0
je 0x4cc17e
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042f738
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ca6b8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc1a6
mov eax, dword [ebp - 8]
call fcn.004033d4
ret