joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [edi]
mov dword [esi], eax
mov cx, word [edi + 4]
mov word [esi + 4], cx
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx eax, word [edi + 8]
mov word [esi + 8], ax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
push 0xffffffffffffffff
mov dword [esi + 0x38], edx
movzx eax, word [edi + 0x3c]
push 0
lea ecx, [edi + 0x40]
push ecx
lea ecx, [esi + 0x40]
mov word [esi + 0x3c], ax
call fcn.0040a0c9
push 0xffffffffffffffff
push 0
lea edx, [edi + 0x5c]
push edx
lea ecx, [esi + 0x5c]
call fcn.0040a0c9
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x78]
push eax
lea ecx, [esi + 0x78]
call fcn.0040a0c9
mov ecx, dword [edi + 0x94]
lea edx, [edi + 0x98]
push edx
lea eax, [esi + 0x98]
mov dword [esi + 0x94], ecx
call fcn.004219d5
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xa8]
push eax
lea ecx, [esi + 0xa8]
call fcn.00401ebc
mov ecx, dword [edi + 0xc4]
mov dword [esi + 0xc4], ecx
mov edx, dword [edi + 0xc8]
mov dword [esi + 0xc8], edx
mov eax, dword [edi + 0xcc]
mov dword [esi + 0xcc], eax
mov eax, esi
pop ecx
ret
Function at 0x4926b1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72dd59
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
and dword [esp + 8], 0
lea ecx, [esp + 0xc]
call fcn.00407bee
mov ecx, dword [ebp + 0xc]
and dword [esp + 0x38], 0
lea eax, [esp + 8]
push eax
push esi
push dword [ebp + 0x10]
call fcn.0049274e
test al, al
je 0x492723
lea ecx, [esp + 8]
mov edx, ebx
call fcn.00492a1d
test al, al
jne 0x492723
or dword [esi], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.00407277
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 0xc

Function at 0x498570
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x71b8e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esp + 0x14], ebx
mov word [esi + 0x1c], bx
call fcn.004998e0
mov dword [esi + 0x24], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24]
mov dword [eax], eax
mov eax, dword [esi + 0x24]
mov dword [eax + 8], eax
mov dword [esi + 0x28], ebx
mov byte [esp + 0x14], 1
call fcn.004998e0
mov dword [esi + 0x30], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x30]
mov dword [eax], eax
mov eax, dword [esi + 0x30]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x49b410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x729838
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x8b6068
mov byte [esp + 0x20], 0
call fcn.0040d4f7
xor eax, eax
mov dword [esp + 0x38], eax
lea esi, [edi + 0xc]
mov dword [edi + 8], eax
call fcn.00430342
mov eax, dword [edi + 0x3c]
mov ebx, dword [eax + 0x30]
lea esi, [eax + 0x2c]
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.0049bc80
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x49b48f
cmp eax, esi
je 0x49b494
call fcn.0054b876
cmp dword [ebp + 4], ebx
je 0x49b4b3
mov ecx, dword [edi + 0x3c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
add ecx, 0x20
push ecx
mov dword [esp + 0x20], edi
call fcn.0049a3c0
mov dword [esp + 0x38], 0xffffffff
cmp byte [esp + 0x1c], 0
je 0x49b503
mov eax, dword [esp + 0x18]
add dword [eax], 0xffffffff
jne 0x49b503
xor edx, edx
lea ecx, [eax + 4]
xchg dword [ecx], edx
lea ecx, [eax + 8]
mov eax, SysReAllocStringLen
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x49b503
cmp eax, 0x80000000
jle 0x49b503
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x49b503
call fcn.0040dff8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x71a350
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
sub esp, 8
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x58]
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], ecx
push 0xffffffffffffffff
lea ecx, [eax + 4]
push ebx
lea edx, [esp + 0x84]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.00401ebc
push ecx
mov ecx, dword [esp + 0x78]
mov eax, esp
lea esi, [esp + 0x3c]
mov dword [esp + 0x38], esp
mov dword [eax], ecx
call fcn.0049d3a0
mov esi, eax
mov byte [esp + 0x44], 1
mov dword [edi], 0x49cf50
mov edx, dword [esi]
mov dword [edi + 4], edx
mov eax, dword [esi + 4]
mov dword [edi + 8], eax
push 0xffffffffffffffff
lea ecx, [edi + 0xc]
lea eax, [esi + 8]
push ebx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], bx
call fcn.00401ebc
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x28], ecx
mov edx, dword [esi + 0x28]
mov esi, 8
cmp dword [esp + 0x30], esi
mov dword [edi + 0x2c], edx
jb 0x49d1e4
mov eax, dword [esp + 0x1c]
push eax
call fcn.005416e5
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x49d208
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005416e5
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x49f2c3
Capabilities:
Get file size

Disassembly:
push 0x40
mov eax, 0x724910
call fcn.0054dcb7
mov esi, dword [0x8b682c]
xor edi, edi
cmp esi, edi
je 0x49f2e0
call fcn.004a1790
or dword [ebp - 0x30], 0xffffffff
mov byte [ebp - 0x15], 1
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x28], edi
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 4], edi
push edi
add eax, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00477d9b
mov eax, dword [ebp + 0x18]
cdq
mov ebx, eax
add ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
mov edi, edx
adc edi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x49f339
lea esi, [ebp - 0x24]
call fcn.00477fc3
mov ecx, edx
jmp 0x49f33c
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
ja 0x49f352
jb 0x49f346
cmp eax, ebx
jae 0x49f352
lea esi, [ebp - 0x30]
call fcn.00477e46
xor al, al
jmp 0x49f3bb
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x49f396
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x49f396
push str.file_t::seek
lea ecx, [ebp - 0x4c]
call fcn.0040182d
mov byte [ebp - 4], 2
call fcn.00477cbc
cmp dword [ebp + 0x18], 0
je 0x49f3ab
push dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push dword [ebp + 0xc]
push eax
call fcn.00477e58
lea esi, [ebp - 0x30]
call fcn.00477e46
call fcn.00477e46
mov al, byte [ebp - 0x15]
call fcn.0054dd5c
ret 0x14
Function at 0x49f3df
Capabilities:
Get file size

Disassembly:
push 0x40
mov eax, 0x7248e5
call fcn.0054dcb7
mov eax, dword [ebp + 0x18]
cdq
mov edi, eax
add edi, dword [ebp + 0x10]
mov ebx, edx
adc ebx, dword [ebp + 0x14]
or dword [ebp - 0x30], 0xffffffff
and dword [ebp - 0x28], 0
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 0
and dword [ebp - 4], 0
mov esi, dword [0x8b682c]
test esi, esi
je 0x49f41c
call fcn.004a180a
mov eax, dword [ebp + 8]
push 0
push 0
add eax, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00477d9b
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x49f455
lea esi, [ebp - 0x24]
call fcn.00477fc3
mov ecx, eax
mov eax, edx
jmp 0x49f45a
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, ebx
ja 0x49f46e
jb 0x49f464
cmp ecx, edi
jae 0x49f46e
push ebx
push edi
lea esi, [ebp - 0x30]
call fcn.00477f35
and dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 3
push 0
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x49f4ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x49f4ba
push str.file_t::seek
lea ecx, [ebp - 0x4c]
call fcn.0040182d
mov byte [ebp - 4], 4
call fcn.00477cbc
push dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push dword [ebp + 0xc]
push eax
call fcn.00477ea4
lea esi, [ebp - 0x30]
call fcn.00477e46
call fcn.00477e46
mov al, 1
jmp 0x49f524
call fcn.0054dd5c
ret 0x14
Function at 0x4a15ed
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x724861
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], 0
call fcn.0040d4f7
and dword [esp + 0x30], 0
mov ebx, dword [esi + 0x18]
add esi, 0x10
cmp dword [esi + 4], ebx
jbe 0x4a1643
call fcn.0054b876
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x4a1650
call fcn.0054b876
mov dword [esp + 0x20], edi
jmp 0x4a1660
mov eax, dword [edi]
cmp eax, dword [ebp + 8]
je 0x4a1664
add edi, 4
cmp edi, ebx
jne 0x4a1656
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
jbe 0x4a1671
call fcn.0054b876
mov eax, esi
test eax, eax
je 0x4a167b
cmp eax, esi
je 0x4a1680
call fcn.0054b876
cmp edi, ebx
jne 0x4a168d
lea eax, [ebp + 8]
push eax
call fcn.00506d00
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x14]
call fcn.0040d1d9
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a7836
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71d24a
mov eax, dword fs:[0]
push eax
mov eax, 0x1238
call fcn.0054f130
mov eax, dword [0x820ac4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push 0xffe
mov dword [ebp - 0x1224], eax
lea eax, [ebp - 0x121a]
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x1220], edi
mov word [ebp - 0x121c], di
call fcn.0054b920
add esp, 0xc
push 0x206
lea eax, [ebp - 0x21a]
push edi
push eax
mov word [ebp - 0x21c], di
call fcn.0054b920
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x4a78be
mov esi, dword [esi + 4]
jmp 0x4a78c1
add esi, 4
push esi
mov esi, 0x800
push esi
lea eax, [ebp - 0x121c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor eax, eax
cmp word [ebp + eax*2 - 0x121c], di
jne 0x4a78eb
cmp word [ebp + eax*2 - 0x121a], di
je 0x4a78f0
inc eax
cmp eax, esi
jl 0x4a78d7
lea ebx, [eax + 1]
mov eax, dword [ebp - 0x1224]
call fcn.0041cb8d
xor esi, esi
cmp ebx, edi
jle 0x4a797e
movzx eax, word [ebp + esi*2 - 0x121c]
mov ecx, dword [ebp - 0x1220]
inc dword [ebp - 0x1220]
cmp ax, di
mov word [ebp + ecx*2 - 0x21c], ax
jne 0x4a7979
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x1240]
call fcn.0040182d
lea eax, [ebp - 0x1240]
push eax
mov eax, dword [ebp - 0x1224]
mov dword [ebp - 4], edi
call fcn.0041c810
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x1240]
call fcn.00401f4f
push 0x104
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.0054b920
add esp, 0xc
mov dword [ebp - 0x1220], edi
inc esi
cmp esi, ebx
jl 0x4a7904
mov eax, dword [ebp - 0x1224]
call fcn.00456825
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054ae61
leave
ret
Function at 0x4b7246
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7245ce
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x34]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24], 0
call fcn.0040d4f7
and dword [esp + 0x38], 0
lea ecx, [ebp + 0xc]
lea eax, [esi + 0x28]
push ecx
push eax
call fcn.004b7739
push dword [eax + 4]
mov edi, eax
lea esi, [esp + 0x18]
call fcn.0042dad8
mov ebx, dword [esp + 0x18]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.004b7739
push dword [eax + 8]
mov edi, eax
lea esi, [esp + 0x28]
call fcn.0042dad8
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4b72db
cmp edi, dword [esp + 0x24]
je 0x4b72e0
call fcn.0054b876
cmp ebx, dword [esp + 0x28]
je 0x4b7346
lea esi, [esp + 0x14]
call fcn.004b0a79
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
je 0x4b7312
test edi, edi
jne 0x4b72ff
call fcn.0054b876
cmp ebx, dword [edi + 8]
jb 0x4b7309
call fcn.0054b876
add ebx, 4
mov dword [esp + 0x18], ebx
jmp 0x4b72af
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.004b7739
mov esi, eax
mov eax, dword [esi + 8]
lea ecx, [ebx + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jle 0x4b7342
shl eax, 2
push eax
push ecx
push eax
push ebx
call fcn.0054b1b6
add esp, 0x10
add dword [esi + 8], 0xfffffffc
mov esi, dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
lea edi, [esi + 0xc]
push edi
call fcn.004b75eb
push eax
lea eax, [esi + 0x18]
call fcn.0042687f
lea eax, [ebp + 0x10]
push eax
push edi
call fcn.004b75eb
push esi
mov edx, eax
call fcn.004b7551
push edi
lea edx, [ebp + 0x10]
call fcn.004b766e
or dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.0040d1d9
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c27ed
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x736789
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
lea eax, [esp + 0x4c]
push eax
mov edi, ecx
call fcn.004a19fc
lea eax, [edi + 0x18]
push eax
lea eax, [esp + 0x50]
xor ebx, ebx
push eax
mov dword [esp + 0x2a0], ebx
call fcn.0041becc
lea eax, [edi + 0x34]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0041becc
or esi, 0xffffffff
push esi
push ebx
lea eax, [edi + 0x50]
push eax
lea ecx, [esp + 0x138]
call fcn.0040a0c9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 0x10]
add eax, esi
push esi
adc ecx, esi
mov dword [esp + 0x158], eax
push ebx
lea eax, [edi + 0x88]
mov dword [esp + 0x160], ecx
push eax
lea ecx, [esp + 0x90]
call fcn.0040a0c9
push esi
push ebx
lea eax, [edi + 0xa4]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a0c9
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 0xc4]
mov byte [esp + 0x15d], al
mov eax, dword [edi + 0x180]
push esi
mov dword [esp + 0x1b8], eax
push ebx
lea eax, [edi + 0xc0]
push eax
lea ecx, [esp + 0x16c]
call fcn.0040a0c9
mov eax, dword [0x8b6838]
mov byte [esp + 0x1b9], 3
cmp dword [eax + 0x24], ebx
je 0x4c2924
push esi
add eax, 0x10
push ebx
push eax
lea ecx, [esp + 0x11c]
call fcn.0040a0c9
lea esi, [esp + 0x1bc]
call fcn.0044a85c
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0x29c], 1
call fcn.0046544b
cmp dword [esp + 0x22c], 0x10
mov eax, dword [esp + 0x218]
pop ecx
jae 0x4c295d
lea eax, [esp + 0x214]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0044e788
pop ecx
pop ecx
push 0x7b9080
lea ecx, [esp + 0x34]
mov byte [esp + 0x29c], 2
call fcn.00406f86
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0044e92a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a4], 3
call fcn.00406fa3
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 2
call fcn.00401f4f
push 0x7c3158
lea ecx, [esp + 0x18]
call fcn.0040182d
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x2a0], 4
mov eax, dword [edi + 8]
push 3
push dword [edi + 0xc]
add eax, 0x1fc
push eax
call fcn.004b6b17
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 2
call fcn.00401f4f
mov eax, dword [esp + 0x14c]
push dword [edi + 0x14]
mov dword [edi + 0x170], eax
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x50]
mov dword [edi + 0x174], eax
call fcn.004a4644
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00401f4f
lea esi, [esp + 0x1bc]
call fcn.00449716
lea esi, [esp + 0x4c]
call fcn.004a1c02
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c2d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72bd82
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea esi, [esp + 0x4c]
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
call fcn.0044a85c
lea esi, [edi + 0x18]
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x12c], ebx
call fcn.0046544b
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
pop ecx
jae 0x4c2d96
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0044e788
pop ecx
pop ecx
push 0x7b9080
lea ecx, [esp + 0x34]
mov byte [esp + 0x12c], 1
call fcn.00406f86
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0044e92a
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x134], 2
call fcn.00406fa3
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call fcn.00401f4f
push 0x7c3158
lea ecx, [esp + 0x18]
call fcn.0040182d
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x130], 3
mov eax, dword [edi + 8]
push 3
push dword [edi + 0xc]
add eax, 0x1fc
push eax
call fcn.004b6b17
push ebx
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call fcn.00401f4f
push esi
push dword [edi + 0x14]
call fcn.00492452
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.00401f4f
lea esi, [esp + 0x4c]
call fcn.00449716
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret
Function at 0x4c2e7f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72bd82
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [ebp + 0xc]
sub edx, eax
mov dword [edi + 0x70], eax
mov eax, dword [ebp + 0x14]
sbb eax, ecx
lea esi, [esp + 0x4c]
mov dword [edi + 0x74], ecx
mov dword [edi + 0x78], edx
mov dword [edi + 0x7c], eax
call fcn.0044a85c
lea ebx, [edi + 0x18]
xor esi, esi
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x12c], esi
call fcn.0046544b
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
pop ecx
jae 0x4c2f15
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0044e788
pop ecx
pop ecx
push 0x7b9080
lea ecx, [esp + 0x34]
mov byte [esp + 0x12c], 1
call fcn.00406f86
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0044e92a
pop ecx
pop ecx
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x134], 2
call fcn.00406fa3
push esi
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call fcn.00401f4f
push 0x7c3158
lea ecx, [esp + 0x18]
call fcn.0040182d
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x130], 3
mov eax, dword [edi + 8]
push 3
push dword [edi + 0xc]
add eax, 0x1fc
push eax
call fcn.004b6b17
push esi
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 1
call fcn.00401f4f
push ebx
push dword [edi + 0x14]
call fcn.00492452
push esi
push 1
lea ecx, [esp + 0x38]
call fcn.00401f4f
lea esi, [esp + 0x4c]
call fcn.00449716
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 0x10