joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485d90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x485dd3
mov eax, dword [0x6f4834]
add eax, 0x1d4c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f210
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f240
jmp 0x485dec
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f210
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041fd50
mov esp, ebp
pop ebp
ret 4

Function at 0x485e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 1
jne 0x485e48
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x6f4834]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x238], eax
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f210
push str.ANRaster.tga
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f240
jmp 0x485e61
mov ecx, dword [ebp - 4]
add ecx, 0x284
call fcn.0043f210
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041fd50
mov esp, ebp
pop ebp
ret 8

Function at 0x487f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5adedb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push 0xa
lea ecx, [esp + 0x18]
call fcn.00587ef0
sub edi, 0xffffff80
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.00588820
mov dword [esp + 0xc], eax
test eax, eax
je 0x488049
lea esp, [esp]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00588880
mov esi, dword [eax]
test esi, esi
je 0x488042
fld dword [esi + 0x28c]
push ecx
fstp dword [esp + 0x14]
lea ecx, [esi + 0x284]
fld dword [esp + 0x14]
fcom qword [0x5c3370]
fnstsw ax
test ah, 1
jne 0x48802c
fstp st(0)
fld1
fstp dword [esp]
call fcn.00557dd0
push esi
lea ecx, [esp + 0x18]
call fcn.005882d0
jmp 0x488042
fadd qword [0x5c3368]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.00557dd0
cmp dword [esp + 0xc], 0
jne 0x487fe0
lea ecx, [esp + 0x14]
call fcn.00588820
mov dword [esp + 0xc], eax
test eax, eax
je 0x488083
lea ebx, [ebx]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00588880
mov eax, dword [eax]
test eax, eax
je 0x48807c
push eax
mov ecx, edi
call fcn.00588980
cmp dword [esp + 0xc], 0
jne 0x488060
lea ecx, [esp + 0x14]
call fcn.00587fd0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00588050
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x48d030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae4ec
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x38], eax
lea ebx, [ebx]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x48d0df
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov dword [ebx + 0x38], edx
test ecx, ecx
je 0x48d0df
mov ecx, dword [ecx + 0x538]
test ecx, ecx
je 0x48d0cb
test byte [0x6e5808], 1
movzx esi, word [ecx + 0x3b]
jne 0x48d0bb
or dword [0x6e5808], 1
mov ecx, 0x6e5698
mov dword [esp + 0x14], 0
call fcn.00549ae0
push 0x5b8010
call fcn.0058e534
add esp, 4
mov dword [esp + 0x14], 0xffffffff
push esi
mov ecx, 0x6e5698
call fcn.00548570
cmp eax, 1
jne 0x48d060
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x4968d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aeae0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
cmp dword [ecx + 0x120], 1
je 0x496926
push 0
push 0x23e
push str.Object.cpp
call fcn.00533d80
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
mov ebx, dword [esp + 0x38]
lea esi, [ecx + 0x18]
xor edx, edx
mov eax, ebx
div dword [esi + 4]
mov eax, dword [esi + 8]
push 0xa
mov ecx, dword [eax + edx*4]
mov dword [esi + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
call fcn.00587ef0
mov dword [esp + 0x30], 0
lea ebx, [ebx]
cmp dword [esi + 0x18], 0
je 0x496981
mov ecx, dword [esi + 0x20]
lea esp, [esp]
mov eax, dword [esi + 0x18]
cmp dword [eax], ecx
je 0x4969df
mov edx, dword [eax + 0xc]
mov dword [esi + 0x18], edx
test edx, edx
jne 0x496970
lea ecx, [esp + 0xc]
call fcn.00588820
mov dword [esp + 0x38], eax
test eax, eax
je 0x4969b1
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x10]
call fcn.00588880
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00500040
cmp dword [esp + 0x38], 0
jne 0x496992
lea ecx, [esp + 0xc]
call fcn.00587fd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00588050
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret 4
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 4]
test eax, eax
je 0x496981
push eax
mov ecx, 0x722630
call fcn.00564e20
cmp eax, 1
jne 0x496960
push ebx
lea ecx, [esp + 0x10]
call fcn.005882d0
jmp 0x496960
Function at 0x4a4f30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5af02d
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x18c]
movzx esi, word [ebx + 4]
mov ebp, dword [esp + 0x190]
push esi
mov edi, ecx
call fcn.004a2410
test eax, eax
jne 0x4a4fc5
mov ecx, dword [0x6f3908]
push ebp
push esi
push ecx
lea edx, [esp + 0x84]
push str.NoItemInfo__d____d____s
push edx
call fcn.0058dd5f
lea eax, [esp + 0x8c]
push eax
push 0x166
push str.ItemManager.cpp
call fcn.00533d80
add esp, 0x20
xor eax, eax
jmp 0x4a50da
mov ebp, dword [ebx]
test ebp, ebp
je 0x4a4fbe
push ebp
call fcn.004a1f10
mov esi, eax
test esi, esi
jne 0x4a50b1
push 0x3b8
call fcn.0058e54b
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x184], esi
cmp eax, esi
je 0x4a5001
push ebx
mov ecx, eax
call fcn.0049f200
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
mov ecx, esi
mov dword [esp + 0x184], 0xffffffff
call eax
push eax
push esi
lea ecx, [edi + 0x18]
call fcn.00451ec0
lea ecx, [esp + 0x18]
call fcn.00424f10
mov ebx, dword [esi]
lea ecx, [edi + 0x260]
mov dword [esp + 0x184], 1
call fcn.00588b10
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x78]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.004a4f00
mov edx, dword [ebx + 0x10]
push eax
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
mov ecx, esi
mov dword [esi + 0x21c], 1
call edx
movzx eax, ax
mov dword [esi + 0x220], eax
xor eax, eax
mov word [esi + 0x2a8], ax
mov ecx, dword [0x6f3028]
push esi
call fcn.005882d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call fcn.00424f20
jmp 0x4a50d8
push ebp
lea ecx, [esp + 0x3c]
push str.__DBIndex:__d
push ecx
call fcn.0058dd5f
lea edx, [esp + 0x44]
push edx
push 0x18e
push str.ItemManager.cpp
call fcn.00533d80
add esp, 0x18
mov eax, esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x174
ret 8
Function at 0x4a9a90
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4a9abf
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4a9b9b
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4a9af5
test eax, eax
je 0x4a9af2
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4a9ae6
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4a9b9a
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4a9b8b
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x5b967c
push eax
call fcn.0058dd5f
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004a4d00
test eax, eax
je 0x4a9b7c
mov ecx, 0x705050
call fcn.00532710
push 0x230
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
push 1
push 0x179e
push 0x6f3010
call fcn.0043b800
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4a9b21
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebx
xor ecx, esp
call fcn.0058d3fe
add esp, 0x1ac
ret
Function at 0x4bba00
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x6dea7d], 0
push esi
mov esi, ecx
je 0x4bba23
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x6f4848], eax
mov byte [0x6dea7d], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x6f4848], eax
cmp eax, ecx
jae 0x4bba3a
dec edx
mov dword [0x6f4830], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x6f4830]
add dword [0x6f4834], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4bba64
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret
Function at 0x4c4140
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c416f
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x500
lea edx, [edi + 0x504]
push edx
push esi
call ebx
test eax, eax
jne 0x4c419f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xc0
add edi, 0xac4
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4c4191
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x4c6e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5afbd8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 2
mov esi, ecx
call fcn.004357e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push 0x35e
call eax
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00424f10
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x3f
mov ecx, 0x6f2ea0
mov dword [esp + 0x44], 0
call fcn.0042a2f0
push 0x33517d
lea edx, [esp + 0x10]
push edx
push 0xffffffffffffffff
push 0x44a
mov ecx, 0x6f58c8
call fcn.004c9d30
push eax
mov ecx, edi
call fcn.00436ef0
push 8
mov ecx, esi
call fcn.004357e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x60]
push 0x376
call eax
mov ecx, 0x6f4518
mov esi, eax
call fcn.004a0cc0
mov edi, eax
test esi, esi
je 0x4c6f40
test edi, edi
je 0x4c6f40
push 1
mov ecx, esi
call fcn.004270f0
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], ecx
lea esp, [esp]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4c6f40
mov edx, dword [eax + 8]
mov ecx, dword [edx + 4]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
test ecx, ecx
je 0x4c6f40
movzx ecx, word [ecx + 4]
push ecx
mov ecx, 0x6f4518
call fcn.004a2410
test eax, eax
je 0x4c6f00
mov edx, dword [esi]
push 0
push 0
push 0xffffffffffffffff
add eax, 2
push 0xffffffffffffffff
push eax
mov eax, dword [edx + 0x6c]
mov ecx, esi
call eax
jmp 0x4c6f00
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00424f20
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x30
ret

Function at 0x4c8090
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c80c3
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x4c8108
cmp dword [esp + 0x10], 0x61208
jne 0x4c8108
push 0
lea edx, [esp + 0x10]
push edx
push 0xa8
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4c8118
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esp + 0xc], 0xa8
push esi
ja 0x4c8109
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x4c8140
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c81a6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xa8
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4d36e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0228
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
mov esi, ecx
mov cx, word [esp + 0x60]
mov word [esi + 0x28a], cx
mov ecx, dword [esp + 0x56]
push eax
mov word [esi + 0x288], ax
mov dword [esi + 0x28c], edx
mov dword [esi + 0x290], ecx
call fcn.00533430
movzx eax, ax
add eax, 0xfffff7ff
mov edx, 0x7fe
add esp, 4
cmp ax, dx
ja 0x4d376e
movzx eax, word [esi + 0x288]
push eax
mov ecx, 0x6f4518
call fcn.004a25a0
test eax, eax
je 0x4d3773
mov eax, 1
lea ecx, [esp + 0xc]
mov dword [esi + 0x294], eax
call fcn.00424f10
mov edx, dword [esp + 0x44]
mov edi, dword [esi]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, 0x6f4518
mov dword [esp + 0x44], 0
call fcn.004a4f00
push eax
mov eax, dword [edi + 0x10]
push 0x28
push 0x28
push 0
push 0
mov ecx, esi
call eax
movzx ecx, word [esp + 0x44]
mov edx, dword [esi]
mov eax, dword [esp + 0x5c]
mov edx, dword [edx + 0x78]
mov dword [esi + 0x220], ecx
push eax
mov ecx, esi
mov dword [esi + 0x21c], 3
call edx
push 0
push 0
push 0
push 0
push 0
push esi
mov ecx, 0x6f4518
call fcn.004ad500
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00424f20
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x30
ret 0x28
Function at 0x4e46b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b0af3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xbc]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4e4710
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00421ae0
mov dword [esp + 0xac], ebx
cmp dword [esp + 0x3c], ebx
jbe 0x4e48ae
mov ebp, dword [esp + 0xb8]
xor esi, esi
cmp esi, dword [esp + 0x3c]
jae 0x4e48ae
push 1
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x20], 0x7c
call fcn.004210e0
mov esi, eax
cmp esi, ebx
jl 0x4e48ae
push 2
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call fcn.00421bd0
push esi
push ebx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 1
call fcn.00421bd0
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
mov byte [esp + 0xac], 2
jae 0x4e47ab
lea eax, [esp + 0x64]
push eax
call fcn.0058e95a
mov edi, eax
add esp, 4
cmp edi, 0x37
ja 0x4e4861
lea ecx, [esp + 0x80]
call fcn.00424f10
fld1
mov eax, dword [esp + 0x58]
fst dword [esp + 0x20]
lea ecx, [ebp - 2]
fstp dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xb4]
lea ecx, [eax + edx*2 + 1]
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x28]
fild dword [esp + 0x18]
mov byte [esp + 0xac], 3
test ecx, ecx
jns 0x4e4810
fadd dword [0x5b9d60]
push ebx
fstp dword [esp + 0x28]
lea edx, [esp + 0x84]
push edx
add edi, 0x94
push edi
mov ecx, 0x6f2ea0
call fcn.0042a2f0
fldz
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
push ecx
fstp dword [esp]
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x94]
call fcn.00424f30
lea ecx, [esp + 0x80]
mov byte [esp + 0xac], 2
call fcn.00424f20
mov edi, 0x10
add esi, 2
cmp dword [esp + 0x5c], edi
jb 0x4e487c
mov edx, dword [esp + 0x48]
push edx
call fcn.0058e0a5
add esp, 4
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0xac], bl
cmp dword [esp + 0x78], edi
jb 0x4e48a6
mov eax, dword [esp + 0x64]
push eax
call fcn.0058e0a5
add esp, 4
cmp esi, ebx
jge 0x4e473e
cmp dword [esp + 0x40], 0x10
jb 0x4e48c2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0058e0a5
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x9c
ret 0xc
Function at 0x4e4c10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5b0b6b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x3d
lea eax, [esi + 0x4c]
push ebx
push eax
mov dword [esi], vtable.COBalloonName.0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0x90], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0058dfb0
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov byte [esi + 0xa4], al
mov dword [esi + 0xa5], eax
mov dword [esi + 0xa9], eax
mov dword [esi + 0xad], eax
mov dword [esi + 0xb1], eax
mov dword [esi + 0xb5], eax
mov dword [esi + 0xb9], eax
mov dword [esi + 0xbd], eax
mov dword [esi + 0xc1], eax
mov byte [esi + 0xc5], al
mov dword [esi + 0xc6], eax
mov dword [esi + 0xca], eax
mov dword [esi + 0xce], eax
mov dword [esi + 0xd2], eax
mov dword [esi + 0xd6], eax
mov dword [esi + 0xda], eax
mov dword [esi + 0xde], eax
mov dword [esi + 0xe2], eax
mov byte [esi + 0xe6], al
mov dword [esi + 0xe7], eax
mov dword [esi + 0xeb], eax
mov dword [esi + 0xef], eax
mov dword [esi + 0xf3], eax
mov dword [esi + 0xf7], eax
mov dword [esi + 0xfb], eax
mov dword [esi + 0xff], eax
mov dword [esi + 0x103], eax
mov byte [esi + 0x107], al
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov byte [esi + 0x128], al
mov dword [esi + 0x129], eax
mov dword [esi + 0x12d], eax
mov dword [esi + 0x131], eax
mov dword [esi + 0x135], eax
push 0x144
mov byte [esi + 0x139], al
call fcn.0058e54b
add esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x4e4dd9
mov ecx, eax
call fcn.00428750
jmp 0x4e4ddb
xor eax, eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x150], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x13c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4e5b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00424f10
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4e5b83
dec eax
je 0x4e5b7e
dec eax
jne 0x4e5b83
mov edi, 0xf83232
jmp 0x4e5b83
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6f2ea0
call fcn.0042a2f0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00429380
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00428820
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00424f20
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4e617f
jmp 0x4e5b20
ret 8

Function at 0x4e6170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b0bc6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6e2f0c]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6e2f0c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.00424f10
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4e5b83
dec eax
je 0x4e5b7e
dec eax
jne 0x4e5b83
mov edi, 0xf83232
jmp 0x4e5b83
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6f2ea0
call fcn.0042a2f0
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00429380
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00428820
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.00424f20
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0058d3fe
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4e617f
jmp 0x4e5b20
ret 8