joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4437f0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
mov ecx, esi
mov dword [esp + 8], 0x104
call fcn.00401f60
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
mov word [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44386b
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.Personal
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esp + 0x10], 0
je 0x4438dc
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443880
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0xe], 0x5c
je 0x4438b4
push edi
lea edi, [esp + 0x14]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4438a0
mov eax, dword [0x5d869c]
mov dword [edi], eax
pop edi
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x4438c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4438c0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00402270
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
call fcn.005aac48
add esp, 0x218
ret

Function at 0x443dd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov ax, word [0x61d420]
test ax, ax
jne 0x443e5a
lea eax, [esp]
push eax
push 1
push 0
push str.Control_PanelInternational
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443e45
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
push eax
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x10]
push str.sTime
push eax
mov dword [esp + 0x1c], 0x14
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [esp + 8]
mov word [0x61d420], ax
jmp 0x443e4b
mov ax, word [0x61d420]
test ax, ax
jne 0x443e5a
mov ax, 0x3a
mov word [0x61d420], ax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005aac48
add esp, 0x20
ret
Function at 0x444140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0387
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CVariable.0
push 0xffffffffffffffff
lea edi, [esi + 0x30]
push 0
mov ecx, edi
mov dword [esp + 0x24], 4
call fcn.0057f911
push 0xffffffffffffffff
lea ebx, [esi + 0x44]
push 0
mov ecx, ebx
call fcn.00596040
mov ecx, ebx
mov byte [esp + 0x1c], 3
call fcn.0058054b
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0057fb1a
mov eax, dword [esi + 0x10]
sub eax, 0x10
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4441d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xc]
sub eax, 0x10
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4441f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esi + 8]
sub esi, 0x10
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44421b
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x444450
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5d0429
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
call fcn.0057e772
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x44449b
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ebp, dword [esp + 0x30]
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], 1
call fcn.00443dd0
mov ecx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
push 0x3c
push ecx
push esi
movzx ebx, ax
call fcn.005ae560
push 0
mov edi, eax
mov eax, dword [esp + 0x3c]
push 0xe10
movzx edx, bx
push eax
push esi
mov dword [esp + 0x28], edx
call fcn.005ae560
mov ecx, dword [esp + 0x38]
push 0
push 0x15180
push ecx
push esi
mov ebx, eax
call fcn.005ae560
mov eax, dword [esp + 0x18]
mov edx, edi
shl edx, 4
sub edx, edi
mov ecx, ebx
shl ecx, 4
add edx, edx
sub ecx, ebx
add edx, edx
sub esi, edx
push esi
push eax
add ecx, ecx
add ecx, ecx
sub edi, ecx
push edi
push eax
push ebx
push 0x5e0044
push ebp
call fcn.00403ad0
add esp, 0x1c
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44de90
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5d0eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
cmp word [esi], 0xfeff
jne 0x44dedd
mov ecx, dword [esp + 0x30]
add esi, 2
push esi
call fcn.0058a6e6
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
lea ecx, [esp + 8]
call fcn.00442960
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.00442bc0
lea ecx, [esp + 8]
call fcn.00442dc0
mov ecx, dword [esp + 0x30]
push eax
call fcn.0058a6e6
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00442b40
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret

Function at 0x44e630
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5d0f88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 0x58]
push eax
call fcn.0044e200
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x58]
add esp, 4
test eax, eax
je 0x44e7bc
cmp eax, 0xffffffff
je 0x44e7bc
xor edi, edi
cmp dword [eax + 0x18], edi
je 0x44e699
push eax
call fcn.00431e60
mov ecx, dword [esi + 0x58]
mov edx, dword [ecx + 0x24]
mov edi, eax
mov byte [edi + edx], 0
jmp 0x44e700
mov eax, dword [eax + 0x10]
push 0x5da6e8
push eax
call fcn.005ac643
mov esi, eax
add esp, 8
test esi, esi
je 0x44e7bc
push 2
push 0
push esi
call fcn.005ad4e7
push esi
call fcn.005ad3f2
push 0
push 0
push esi
mov ebp, eax
call fcn.005ad4e7
add esp, 0x1c
test ebp, ebp
jle 0x44e6fa
push 4
push 0x1000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push 1
mov edi, eax
push ebp
push edi
call fcn.005ad23f
add esp, 0x10
mov byte [edi + ebp], 0
push esi
call fcn.005ac46d
add esp, 4
test edi, edi
je 0x44e7bc
cmp dword [esp + 0x50], 0
je 0x44e7a0
lea ecx, [esp + 0x28]
call fcn.00442960
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x4c], 0
call fcn.0044e450
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x44e742
mov eax, dword [0x60f8d4]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call fcn.00442560
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x14]
push 2
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x20]
push 0x449
push ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x44dd30
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], 0xffffffff
call fcn.00442b40
jmp 0x44e7ae
mov edx, dword [esp + 0x4c]
push edx
push edi
call fcn.0044de90
add esp, 8
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret
Function at 0x474830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 0xce4
call fcn.00475c60
mov esi, eax
add esp, 4
test esi, esi
jne 0x474848
pop esi
ret 0x18
mov ecx, dword [esp + 0x14]
push ebp
shr eax, 0x10
push 0xce4
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
movzx edx, si
push 0
push esi
mov dword [eax], edx
call fcn.005abb20
mov ebp, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
je 0x474879
mov ecx, dword [ebp]
mov dword [esi + 4], ecx
push 0xc
mov dword [esi + 8], 0
mov dword [esi], 0x2000
call fcn.00475c60
add esp, 4
test eax, eax
mov dword [esi + 0xca4], eax
jne 0x4748ad
push esi
call fcn.00475cc0
add esp, 4
pop ebp
mov eax, 1
pop esi
ret 0x18
push edi
push 0xc
push 0
push eax
call fcn.00475d50
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x4748df
pop edi
pop ebp
mov eax, 3
pop esi
ret 0x18
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4748f6
lea eax, [edi + 1]
pop edi
pop ebp
pop esi
ret 0x18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x474940
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [esi + 0xca4]
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xca4]
mov eax, dword [edx + 8]
push eax
call fcn.00475c60
mov ecx, dword [esi + 0xca4]
mov dword [ecx], eax
mov eax, dword [esi + 0xca4]
add esp, 4
cmp dword [eax], 0
jne 0x47494c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
ret 0x18
mov edx, dword [eax + 8]
mov eax, dword [eax]
push edx
push ebx
push eax
call fcn.00475db0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0xca4]
mov ecx, dword [eax]
push esi
mov dword [eax + 4], ecx
call fcn.00472ec0
mov edi, eax
add esp, 4
cmp edi, 0x44
je 0x47498d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
push eax
call sym.LectoraViewer.exe__SerialImageCleanup_8
test ebp, ebp
je 0x474997
mov ecx, dword [esi + 4]
mov dword [ebp], ecx
pop ebx
mov eax, edi
pop edi
pop ebp
pop esi
ret 0x18
Function at 0x475ea0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
cmp dword [esp + 0x3c], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
je 0x475ebe
test esi, esi
je 0x475ebe
mov ebp, dword [esp + 0x4c]
mov ebx, esi
jmp 0x475f07
mov edi, dword [esp + 0x48]
lea eax, [esp + 0x14]
push eax
push edi
call fcn.005afad5
add esp, 8
test eax, eax
jne 0x475f24
mov ecx, dword [esp + 0x54]
push ecx
push edi
call fcn.005ac643
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x475f24
push 2
push 0
push ebp
call fcn.005ad4e7
push ebp
call fcn.005ad3f2
push 0
push 0
push ebp
mov ebx, eax
call fcn.005ad4e7
add esp, 0x1c
push 0xc
call fcn.00475c60
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x10], edi
jne 0x475f2e
push ebp
call fcn.005ac46d
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
push ebx
mov dword [edi + 8], ebx
call fcn.00475c60
add esp, 4
test eax, eax
mov dword [edi], eax
jne 0x475f59
push edi
call fcn.00475cc0
push ebp
call fcn.005ac46d
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov dword [edi + 4], eax
je 0x475f7d
test esi, esi
je 0x475f7d
push esi
push ecx
push eax
call fcn.005ab7b0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
cmp ebx, 0xffff
mov esi, eax
jle 0x475fc6
lea edx, [ebx - 0x10000]
mov eax, 0x80008001
mul edx
mov edi, edx
shr edi, 0xf
add edi, 1
mov eax, edi
imul eax, eax, 0xffff0001
add ebx, eax
push ebp
push 0xffff
push 1
push esi
call fcn.005ad23f
add esp, 0x10
add esi, 0xffff
sub edi, 1
jne 0x475fa6
mov edi, dword [esp + 0x10]
test ebx, ebx
jle 0x475fda
movzx ecx, bx
push ebp
push ecx
push 1
push esi
call fcn.005ad23f
add esp, 0x10
push ebp
call fcn.005ac46d
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret

Function at 0x4798f0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esi + 4]
mov edx, ecx
and ecx, 7
shl eax, cl
sar edx, 3
lea edx, [edx + esi + 0xc]
add edx, 1
or byte [edx - 1], al
mov ecx, eax
sar ecx, 8
mov byte [edx], cl
sar eax, 0x10
mov byte [edx + 1], al
mov edx, dword [esi + 8]
add dword [esi + 4], edx
cmp dword [esi + 4], 0x7f8
push edi
jl 0x479989
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0xf]
push 1
push ecx
mov byte [esp + 0x17], 0xff
call fcn.005acf21
add esp, 0x10
cmp eax, 1
je 0x479948
xor al, al
pop edi
pop ecx
ret
mov edx, dword [esi]
push edx
push 0xff
lea edi, [esi + 0xc]
push 1
push edi
call fcn.005acf21
add esp, 0x10
cmp eax, 0xff
jne 0x479943
mov ax, word [esi + 0x10b]
push 0xff
lea ecx, [esi + 0xe]
push 0
push ecx
mov word [edi], ax
call fcn.005abb20
add esp, 0xc
add dword [esi + 4], 0xfffff808
mov al, 1
pop edi
pop ecx
ret
Function at 0x479990
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esi + 4]
add eax, 7
sar eax, 3
test al, al
mov byte [esp + 3], al
je 0x4799df
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0xb]
push 1
push ecx
call fcn.005acf21
add esp, 0x10
cmp eax, 1
je 0x4799bf
xor al, al
pop ecx
ret
mov edx, dword [esi]
movzx eax, byte [esp + 3]
push edx
push eax
lea ecx, [esi + 0xc]
push 1
push ecx
call fcn.005acf21
movzx edx, byte [esp + 0x13]
add esp, 0x10
cmp eax, edx
jne 0x4799bb
mov eax, dword [esi]
push eax
push 1
lea ecx, [esp + 0xb]
push 1
push ecx
mov byte [esp + 0x13], 0
call fcn.005acf21
sub eax, 1
add esp, 0x10
neg eax
sbb eax, eax
add eax, 1
pop ecx
ret
Function at 0x49a4c0
Capabilities:
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
call fcn.004df880
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x49a4de
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [esi + 0x5e4]
mov ecx, dword [esi + 0x138]
add eax, 0xffffffff
mov dword [esi + 0x4b48], 2
mov dword [esi + 0x4b4c], edi
mov dword [esi + 0x4b3c], edi
mov dword [esi + 0x4b40], eax
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0xc]
push edi
push 0xe122
push esi
mov dword [esi + 0x4b50], eax
call fcn.004d08e0
mov ecx, dword [esi + 0x2c08]
add esp, 0xc
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 2
push esi
call fcn.005330a0
add esp, 0xc
mov dword [esi + 0x4b48], edi
mov dword [esi + 0x4b4c], edi
mov dword [esi + 0x4b3c], edi
mov dword [esi + 0x4b50], edi
mov dword [esi + 0x4b40], edi
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x49b220
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
call fcn.004df880
mov esi, eax
add esp, 4
test esi, esi
jne 0x49b238
pop esi
ret 8
cmp dword [esp + 0xc], 0
je 0x49b273
cmp dword [esi + 0xac10], 0
jne 0x49b264
mov ecx, dword [0x622d98]
push 0
push ecx
push 0x497e80
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 0xac10], eax
xor eax, eax
cmp dword [esi + 0xac10], eax
pop esi
setne al
ret 8
mov eax, dword [esi + 0xac10]
test eax, eax
je 0x49b284
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 0xac10], 0
mov eax, 1
pop esi
ret 8
Function at 0x4abfb0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
sub esp, 0x2c
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
test eax, eax
push esi
mov esi, dword [esp + 0x34]
push edi
jne 0x4abfd3
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx edi, ax
push 6
mov dword [esi + 0x99e4], eax
lea eax, [esp + 0x2c]
push eax
push 0x1004
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea ecx, [esp + 0x28]
push ecx
call fcn.005af4d2
add esp, 4
push 2
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esi + 0x99dc], eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
mov dword [esi + 0x99e0], edi
je 0x4ac024
mov al, byte [esp + 8]
mov byte [esi + 0x99d9], al
mov ecx, dword [esp + 0x30]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.005aac48
add esp, 0x2c
ret

Function at 0x4acf30
Capabilities:
Get keyboard layout

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4acf3f
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push esi
mov esi, dword [esp + 8]
cmp eax, dword [esi + 0x99e4]
je 0x4acf56
push eax
push esi
call fcn.004abfb0
add esp, 8
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x3434]
mov ecx, eax
imul ecx, ecx, 0x170
add ecx, edx
mov dl, byte [ecx + 0x29]
cmp dl, 2
je 0x4ad03a
push edi
mov edi, 0x409
cmp dword [esi + 0xa9d4], edi
jne 0x4acfac
cmp dword [esi + 0x99e0], edi
jne 0x4acfac
cmp byte [esi + 0x99d9], 0
jne 0x4acfac
cmp dl, 1
jne 0x4acfac
mov edx, dword [ecx + 0x48]
test edx, edx
je 0x4acfa5
cmp edx, edi
jne 0x4acfac
mov byte [esi + 0x99d9], 1
mov dl, byte [esi + 0x99d9]
cmp byte [ecx + 0x29], dl
jne 0x4acfc2
mov edi, dword [ecx + 0x48]
cmp edi, dword [esi + 0x99e0]
je 0x4ad039
mov edi, dword [ecx + 0x58]
push edi
mov edi, dword [ecx + 0x150]
push edi
push edx
movzx edx, word [ecx + 0x160]
push edx
mov edx, dword [ecx + 0x4c]
push edx
mov edx, dword [ecx + 0x54]
push edx
mov edx, dword [esi + 0x99e0]
push edx
mov edx, dword [ecx + 0x138]
push edx
mov edx, dword [ecx + 0x44]
push edx
mov edx, dword [ecx + 0x40]
push edx
mov edx, dword [ecx + 0x3c]
push edx
mov edx, dword [ecx + 0x14c]
push edx
mov edx, dword [ecx + 0x148]
push edx
mov edx, dword [ecx + 0x144]
push edx
mov edx, dword [ecx + 0x38]
push edx
mov edx, dword [ecx + 0x34]
push edx
mov edx, dword [ecx + 0x30]
push edx
mov edx, dword [ecx + 0x134]
push edx
mov edx, dword [ecx + 0x2c]
push edx
add ecx, 8
push ecx
push eax
mov eax, dword [esi + 0x3a0]
push eax
push esi
call fcn.004a9100
add esp, 0x5c
pop edi
pop esi
ret
Function at 0x4af210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov al, byte [esp + 0xc]
cmp al, 0x11
push ebx
push esi
je 0x4af223
cmp al, 0x19
je 0x4af223
xor ebx, ebx
jmp 0x4af228
mov ebx, 1
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x5e4]
add eax, 3
push eax
push esi
call fcn.004e2e50
add esp, 8
test eax, eax
jne 0x4af247
pop esi
pop ebx
pop ecx
ret
mov ecx, dword [esi + 0x5d8]
push ebp
push edi
push ecx
push esi
call fcn.004aea30
mov edi, dword [esp + 0x28]
mov edx, dword [esi + 0x39c0]
imul edi, edi, 0x98
mov ebp, dword [edx + edi + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2b38]
mov ecx, dword [eax + 0x18]
add esp, 8
test ebx, ebx
je 0x4af28c
and ecx, 0xffffdfff
or ecx, 0x1000
jmp 0x4af298
and ecx, 0xffffefff
or ecx, 0x2000
mov edx, dword [eax + 0x48]
push ecx
mov ecx, dword [eax + 0x50]
push ecx
mov ecx, dword [eax + 0x44]
push edx
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, dword [eax + 0x38]
push edx
mov edx, dword [eax + 0x34]
push ecx
mov ecx, dword [eax + 0x30]
push edx
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x40]
push edx
mov edx, dword [eax + 0x3c]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
push 0
push esi
call fcn.004c2d90
push 0x42
push 3
push ebp
push esi
mov dword [esp + 0x78], eax
call fcn.004f2400
mov ecx, dword [esi + 0x39c0]
lea eax, [ebp + 3]
add esp, 0x60
cmp ebp, eax
mov dword [ecx + edi + 0x1c], ebp
mov edi, ebp
jge 0x4af388
lea ebx, [ebx]
push 1
push 0
push edi
push esi
call fcn.00494d30
mov edx, dword [esi + 0x138]
mov eax, dword [edx + edi*4]
mov ebx, dword [eax]
push edi
push esi
call fcn.004ad140
mov cl, byte [esp + 0x34]
mov byte [ebx], cl
lea ecx, [ebp + 1]
add esp, 0x18
cmp edi, ecx
jne 0x4af345
mov dl, byte [esi + 0xb50]
mov byte [ebx], dl
push edi
push esi
mov word [eax], 0
call fcn.004ad1d0
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
mov edx, dword [esp + 0x20]
add esp, 8
cmp edi, ebp
mov dword [ecx + 0x14], edx
je 0x4af36f
lea eax, [ebp + 2]
cmp edi, eax
jne 0x4af37e
mov ecx, dword [esp + 0x1c]
push ecx
push edi
push esi
call fcn.004e0c90
add esp, 0xc
add edi, 1
lea eax, [ebp + 3]
cmp edi, eax
jl 0x4af310
cmp byte [esp + 0x1c], 0x11
jne 0x4af3a7
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x20], edx
jne 0x4af3a7
cmp dword [esi + 0x5b4c], 0
jne 0x4af3a7
lea eax, [ebp + 1]
jmp 0x4af3b4
mov eax, dword [esi + 0x5d8]
cmp eax, ebp
jl 0x4af3ba
add eax, 3
mov dword [esi + 0x5d8], eax
mov eax, dword [esi + 0x4b3c]
cmp ebp, eax
jge 0x4af3cd
add eax, 3
mov dword [esi + 0x4b3c], eax
mov eax, dword [esi + 0x4b40]
pop edi
cmp ebp, eax
pop ebp
jge 0x4af3e2
add eax, 3
mov dword [esi + 0x4b40], eax
mov eax, 1
add dword [esi + 0x114], eax
pop esi
pop ebx
pop ecx
ret
Function at 0x4c6850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
push eax
call fcn.004df880
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x4c6870
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
cmp dword [esi + 0x14], edi
je 0x4c6868
cmp dword [esi + 0x39b0], edi
je 0x4c69c0
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + edx + 0x78], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x7c], edi
mov edx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul edx, edx, 0x10c
mov dword [edx + eax + 0x80], edi
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + edx + 0x84], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0xac], edi
mov edx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul edx, edx, 0x10c
mov dword [edx + eax + 0x88], edi
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + edx + 0x8c], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x90], edi
mov edx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul edx, edx, 0x10c
mov dword [edx + eax + 0x94], edi
mov ecx, dword [esi + 0x39a4]
mov edx, dword [esi + 0x3894]
imul ecx, ecx, 0x10c
mov dword [ecx + edx + 0xa0], edi
mov eax, dword [esi + 0x39a4]
mov ecx, dword [esi + 0x3894]
imul eax, eax, 0x10c
mov dword [eax + ecx + 0x98], edi
mov edx, dword [esi + 0x39a4]
mov eax, dword [esi + 0x3894]
imul edx, edx, 0x10c
push edi
push esi
mov dword [edx + eax + 0xb4], 0xffffff
call fcn.005119e0
add esp, 8
pop edi
mov eax, 1
pop esi
pop ecx
ret 8
push ebx
push ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
call fcn.004c0980
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
push 0x50
push edi
push ebx
push edi
push ebp
push esi
call fcn.004fa650
add esp, 0x24
cmp ebp, ebx
mov edi, ebp
jg 0x4c6a6e
push edi
push esi
call fcn.004f5090
add esp, 8
test eax, eax
je 0x4c6a67
mov eax, dword [esi + 0x138]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esi + 0x2b38]
mov eax, edx
imul eax, eax, 0x58
add ecx, eax
mov eax, dword [ecx + 0x18]
and eax, 0xffff37f0
or eax, 0x400
push eax
push 0
mov eax, dword [ecx + 0x40]
push 0x14
mov ecx, dword [ecx + 0x3c]
push 0xffffff
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push edx
push esi
call fcn.004c2d90
mov edx, dword [esi + 0x138]
mov ecx, dword [edx + edi*4]
add esp, 0x50
mov dword [ecx + 0x14], eax
add edi, 1
cmp edi, ebx
jle 0x4c69f3
add dword [esi + 0x114], 1
cmp dword [esi + 0x39b0], 0
jne 0x4c6a8c
cmp ebp, dword [esi + 0x3a00]
jge 0x4c6a8c
mov dword [esi + 0x3a00], ebp
cmp dword [esp + 0x1c], 0
je 0x4c6aa9
push esi
call fcn.004de3e0
add esp, 4
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret 8
sub ebx, ebp
add ebx, 0xa
push ebx
push ebp
push esi
call fcn.00520c30
add esp, 0xc
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret 8