joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441150
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a07b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00433770
xor edi, edi
lea ecx, [esi + 0x50]
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.cWindow.0
call fcn.00432a40
mov ebx, 1
lea ecx, [esi + 0x194]
mov byte [esp + 0x1c], bl
call fcn.0042f0f0
fldz
fst dword [esi + 0x1e4]
xor eax, eax
fstp dword [esi + 0x1e8]
mov ecx, ebx
fld1
xor edx, edx
fst dword [esi + 0x1f0]
mov word [esi + 0x1c], ax
fstp dword [esi + 0x1f4]
mov dword [esi + 8], edi
mov word [esi + 0xc], cx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
mov dword [esi + 0x1ec], edx
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x1b8], 0xffffff
mov dword [esi + 0x1bc], 0xff
mov dword [esi + 0x1c0], 0x64
mov dword [esi + 0x18], 0x441140
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44ac20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0afb
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0042f0f0
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6f42b0
mov dword [esp + 0xe4], 0
call fcn.004346c0
push 0x166
mov ecx, 0x6d6290
call fcn.00433d80
lea edx, [esp + 0x4c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44ac97
mov ecx, dword [0x6f633c]
imul ecx, ecx, 0x290
add ecx, 0x6f58bc
push ecx
mov ecx, dword [0x6e7348]
lea edx, [esp + 0x30]
push edx
call fcn.004ce030
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push str._s__s_
push edx
call edi
add esp, 0x10
push 0x33517d
lea eax, [esp + 0x10]
push eax
push 0xffffff
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x21c]
call fcn.004414e0
push 0x168
mov ecx, 0x6d6290
call fcn.00433d80
lea edx, [esp + 0x4c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44ad15
mov eax, dword [0x6f633c]
mov ecx, dword [0x6e7348]
imul eax, eax, 0x290
add eax, 0x6f590c
push eax
lea edx, [esp + 0x30]
push edx
call fcn.004ce030
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, ecx
push str._s__s_
push edx
call edi
add esp, 0x10
push 0x33517d
lea eax, [esp + 0x10]
push eax
push 0xffffff
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esi + 0x224]
call fcn.004414e0
lea ecx, [esp + 0xc]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0042f100
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.005825b3
add esp, 0xd0
ret
Function at 0x44c760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a0cf3
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
movzx esi, word [esp + 0x128]
mov eax, 0x74
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, 0x62
mov edi, ecx
xor ebp, ebp
mov ebx, 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], 2
mov dword [esp + 0x9c], 3
mov dword [esp + 0xa0], 4
mov dword [esp + 0xa4], 5
mov dword [esp + 0xa8], 6
mov dword [esp + 0xac], 7
mov dword [esp + 0xb0], 8
mov dword [esp + 0xb4], 9
mov dword [esp + 0xb8], 0xa
mov dword [esp + 0xbc], 0xb
mov dword [esp + 0xc0], 0xc
mov dword [esp + 0xc4], 0xd
mov dword [esp + 0xc8], 0xe
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xd0], 0x10
mov dword [esp + 0xd4], 0x11
mov dword [esp + 0xd8], 0x12
mov dword [esp + 0xdc], 0x13
mov dword [esp + 0xe0], 0x14
mov dword [esp + 0xe4], 0x15
mov dword [esp + 0xe8], 0x16
mov dword [esp + 0xec], 0x17
mov dword [esp + 0xf0], 0x18
mov dword [esp + 0xf4], 0x19
mov dword [esp + 0xf8], 0x1a
mov dword [esp + 0xfc], 0x1b
mov dword [esp + 0x100], 0x1c
mov dword [esp + 0x104], 0x1d
mov dword [esp + 0x108], 0x4d
mov dword [esp + 0x10c], 0x4e
mov dword [esp + 0x110], 0x4f
call fcn.0042f0f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x120], ebp
call fcn.0042f0f0
lea ecx, [esp + 0x58]
mov byte [esp + 0x120], bl
call fcn.0042f0f0
mov eax, esi
lea esi, [eax + eax*2]
add esi, esi
push ebp
lea eax, [esp + 0x1c]
add esi, esi
mov ecx, dword [esp + esi + 0x7c]
push eax
push ecx
mov ecx, 0x6f42b0
mov byte [esp + 0x12c], 2
call fcn.004346c0
mov eax, dword [esp + esi + 0x7c]
push ebp
lea edx, [esp + 0x5c]
push edx
push eax
mov ecx, 0x6f42b0
call fcn.004346c0
mov edx, dword [esp + esi + 0x80]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x6f42b0
call fcn.004346c0
push 0x3d8
call fcn.00582660
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x120], 3
cmp eax, ebp
je 0x44c9e1
mov ecx, eax
call fcn.004487a0
mov esi, eax
jmp 0x44c9e3
xor esi, esi
mov ebp, dword [esi]
lea ecx, [edi + 0x284]
mov byte [esp + 0x120], 2
call fcn.0057d8a0
push eax
push 0
lea eax, [esp + 0x60]
push eax
movzx eax, word [edi + 0x23e]
lea ecx, [esp + 0x24]
push ecx
movzx ecx, word [edi + 0x23c]
lea edx, [esp + 0x48]
push edx
mov edx, dword [ebp + 0x40]
push eax
push ecx
push 0
push 0
mov ecx, esi
call edx
lea ecx, [esp + 0x58]
mov dword [esi + 0x24], ebx
mov byte [esp + 0x120], bl
call fcn.0042f100
lea ecx, [esp + 0x18]
mov byte [esp + 0x120], 0
call fcn.0042f100
lea ecx, [esp + 0x38]
mov dword [esp + 0x120], 0xffffffff
call fcn.0042f100
mov eax, esi
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.005825b3
add esp, 0x110
ret 4
Function at 0x463520
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a1abb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004296f0
xor ebx, ebx
lea ecx, [esi + 0x218]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CBigMapDlg.0
call fcn.00466240
mov dword [esi + 0x290], ebx
mov dword [esi + 0x294], ebx
mov dword [esi + 0x298], ebx
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + method.CMemoryPoolTempl_class_CMiniMapIcon_.virtual_0], vtable.CMemoryPoolTempl_class_CMiniMapIcon_.0
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
mov byte [esi + 0x2c4], bl
push 0x4663c0
push 0x536930
push 0x14
push 0xc
lea eax, [esi + 0x444]
push eax
mov byte [esp + 0x30], 3
call fcn.0058428c
lea ecx, [esi + 0x538]
mov byte [esp + 0x1c], 4
call fcn.0044af30
lea ecx, [esi + 0x55c]
mov byte [esp + 0x1c], 5
call fcn.0042f0f0
lea ecx, [esi + 0x57c]
mov byte [esp + 0x1c], 6
call fcn.004663e0
push fcn.0042f100
push fcn.0042f0f0
push 6
push 0x20
lea ecx, [esi + 0x60c]
push ecx
mov byte [esp + 0x30], 7
call fcn.0058428c
push 0x40
lea ecx, [esi + 0x290]
mov byte [esp + 0x20], 8
call fcn.0053d720
push 0x80
lea edx, [esi + 0x2c4]
push 0x5b7d38
push edx
call fcn.00583ef0
lea edi, [esi + 0x2b8]
add esp, 0xc
mov dword [esi + 0x2c0], 0xa
cmp dword [edi], ebx
jne 0x463666
push 0x64
push edi
call fcn.00463cc0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 0x2bc], eax
fldz
mov dword [esi + 0x1b8], 0x78ffffff
fst dword [esi + 0x5f4]
mov dword [esi + 0x5e8], 1
fstp dword [esi + 0x5f8]
mov dword [esi + 0x5ec], ebx
mov dword [esi + 0x5f0], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x465a20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a1c9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004296f0
xor ebx, ebx
lea ecx, [esi + 0x228]
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CMiniMapDlg.0
call fcn.00466240
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], ebx
mov dword [esi + method.CMemoryPoolTempl_class_CMiniMapIcon_.virtual_0], vtable.CMemoryPoolTempl_class_CMiniMapIcon_.0
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2cc], ebx
mov byte [esi + 0x2d4], bl
push 0x4663c0
push 0x536930
push 0x11
push 0xc
lea eax, [esi + 0x454]
push eax
mov byte [esp + 0x30], 3
call fcn.0058428c
push 0x463ed0
push 0x463ec0
push 2
push 0x28
lea ecx, [esi + 0x524]
push ecx
mov byte [esp + 0x30], 4
call fcn.0058428c
lea ecx, [esi + 0x574]
mov byte [esp + 0x1c], 5
call fcn.0042f0f0
mov byte [esp + 0x1c], 6
lea eax, [esi + 0x5b4]
lea ecx, [ebx + 0xa]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
add eax, 0xc
dec ecx
jns 0x465b02
mov eax, 0x63
lea ecx, [esi + 0x740]
mov dword [esi + 0x69c], eax
mov dword [esi + 0x6a0], ebx
mov byte [esi + 0x6a4], bl
mov dword [esi + 0x6a8], eax
mov dword [esi + 0x6ac], ebx
mov byte [esi + 0x6b0], bl
mov dword [esi + 0x6b4], eax
mov dword [esi + 0x6b8], ebx
mov byte [esi + 0x6bc], bl
mov dword [esi + 0x6c0], eax
mov dword [esi + 0x6c4], ebx
mov byte [esi + 0x6c8], bl
mov dword [esi + 0x6cc], eax
mov dword [esi + 0x6d0], ebx
mov byte [esi + 0x6d4], bl
mov dword [esi + 0x6d8], eax
mov dword [esi + 0x6dc], ebx
mov byte [esi + 0x6e0], bl
mov dword [esi + 0x6e4], eax
mov dword [esi + 0x6e8], ebx
mov byte [esi + 0x6ec], bl
mov dword [esi + 0x6f0], eax
mov dword [esi + 0x6f4], ebx
mov byte [esi + 0x6f8], bl
mov dword [esi + 0x6fc], eax
mov dword [esi + 0x700], ebx
mov byte [esi + 0x704], bl
call fcn.004663e0
push fcn.0042f100
push fcn.0042f0f0
push 6
push 0x20
lea edx, [esi + 0x7ac]
push edx
mov byte [esp + 0x30], 7
call fcn.0058428c
push 0x40
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x20], 8
mov dword [esi + 0x218], ebx
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
call fcn.0053d720
fld dword [0x5b7df8]
fstp dword [esi + 0x5ac]
push 0x80
fld dword [0x5b7df4]
lea eax, [esi + 0x2d4]
fstp dword [esi + 0x5b0]
push 0x5b7d38
fldz
push eax
fst dword [esi + 0x5a4]
fstp dword [esi + 0x5a8]
mov dword [esi + 0x548], ebx
mov dword [esi + 0x544], ebx
mov dword [esi + 0x570], ebx
mov dword [esi + 0x56c], ebx
call fcn.00583ef0
lea edi, [esi + 0x2c8]
add esp, 0xc
mov dword [esi + 0x2d0], 0xa
cmp dword [edi], ebx
jne 0x465c83
push 0x64
push edi
call fcn.00463cc0
mov ecx, dword [edi]
add esp, 8
mov dword [esi + 0x2cc], ecx
fldz
mov dword [esi + 0x720], ebx
fst dword [esi + 0x728]
mov dword [esi + 0x724], ebx
fstp dword [esi + 0x72c]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x470bb0
Capabilities:
Get number of processors

Disassembly:
mov ecx, dword [ecx + 0x228]
jmp 0x470bb0
push 0xffffffffffffffff
push 0x5a25b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x470d6a
cmp dword [ebx + 0x40], 0
lea ecx, [ebp + 0x2e4]
jne 0x470ce4
call fcn.0057d5b0
mov dword [esp + 0x30], eax
test eax, eax
je 0x470c35
jmp 0x470c10
lea eax, [esp + 0x30]
push eax
lea ecx, [ebp + 0x2e4]
call fcn.0057d610
mov esi, dword [eax]
test esi, esi
je 0x470c35
mov eax, dword [ebx + 0x3c]
cmp dword [esi + 8], eax
je 0x470c42
cmp dword [esp + 0x30], 0
jne 0x470c10
push ebx
mov ecx, ebp
call fcn.0046f940
jmp 0x470d63
lea ecx, [esi + 0x10]
call fcn.0057d5b0
mov dword [esp + 0x18], eax
test eax, eax
je 0x470c72
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
call fcn.0057d610
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x470d6a
cmp dword [esp + 0x18], 0
jne 0x470c52
mov ebp, 1
push ebx
lea ecx, [esi + 0x10]
mov dword [esi], ebp
call fcn.0057cfd0
add dword [esi + 4], ebp
push 0x48
call fcn.00582660
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x470ca8
mov ecx, eax
call fcn.004f9690
jmp 0x470caa
xor eax, eax
mov edx, dword [ebx + 0x3c]
mov ecx, edx
imul ecx, ecx, 0x64
add ecx, 0x63
mov dword [eax + 0x44], ecx
push eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], 0x63
call fcn.0057d060
mov eax, dword [esp + 0x14]
add dword [esi + 4], ebp
add dword [eax + 0x2e0], ebp
mov ebp, eax
jmp 0x470d63
call fcn.0057d5b0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x470d5b
lea edx, [esp + 0x1c]
push edx
lea ecx, [ebp + 0x2e4]
call fcn.0057d610
mov esi, dword [eax]
test esi, esi
je 0x470d5b
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x3c]
je 0x470d18
cmp dword [esp + 0x1c], 0
jne 0x470cf1
jmp 0x470d5b
lea ecx, [esi + 0x10]
call fcn.0057d5e0
mov ebp, eax
test ebp, ebp
je 0x470d57
lea ecx, [esi + 0x10]
call fcn.0057d560
mov eax, dword [eax]
cmp dword [eax + 0x40], 0x63
push ebx
lea ecx, [esi + 0x10]
jne 0x470d49
push ebp
call fcn.0057d230
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x470d63
call fcn.0057d060
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x470d63
mov ebp, dword [esp + 0x14]
push ebx
mov ecx, ebp
call fcn.0046fa40
mov ecx, ebp
call fcn.00470750
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov ecx, dword [0x6e744c]
jmp 0x46f480
Function at 0x477270
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov ebx, ecx
test eax, eax
jne 0x477290
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
ret 4
push esi
push eax
mov ecx, 0x6f54b8
call fcn.004ac4c0
mov esi, eax
test esi, esi
je 0x4772af
mov ax, word [edi + 6]
mov word [esi + 0x28e], ax
jmp 0x4772dd
push str.CItemShopGridDialog::AddItem
push edi
mov ecx, 0x6f54b8
call fcn.004af6d0
mov esi, eax
test esi, esi
jne 0x4772cb
pop esi
pop edi
pop ebx
ret 4
push esi
mov ecx, 0x6f54b8
mov dword [esi + 0x24], 1
call fcn.004b9360
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx eax, ax
lea eax, [eax - 0xf0]
cdq
mov ecx, 0x1e
idiv ecx
push esi
mov ecx, ebx
push edx
call fcn.0042ecf0
pop esi
pop edi
pop ebx
ret 4

Function at 0x479740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a2a3e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
push 0x3e
mov ebx, ecx
lea ecx, [esp + 0x32]
mov eax, 0x20
push 0
push ecx
mov word [esp + 0x38], ax
call fcn.005825d0
add esp, 0xc
push edi
lea ecx, [ebx + 0x234]
call fcn.0047a550
push 0x11
lea esi, [edi + 4]
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0052b8b0
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4797c0
sub eax, edx
cmp eax, 0x10
jge 0x4797e5
mov edx, 0x10
sub edx, eax
push edx
lea ecx, [esp + eax + 0x1c]
push 0x20
push ecx
call fcn.005825d0
add esp, 0xc
test byte [0x6e6f08], 1
jne 0x47981c
or dword [0x6e6f08], 1
mov ecx, 0x6e6d80
mov dword [esp + 0x78], 0
call fcn.00501830
push 0x5af190
call fcn.0058287c
add esp, 4
mov dword [esp + 0x78], 0xffffffff
movzx eax, byte [edi + 0x17]
push 7
push eax
mov ecx, 0x6e6d80
call fcn.005031f0
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0052b8b0
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x479842
sub eax, edx
cmp eax, 6
jge 0x479867
mov edx, 6
sub edx, eax
push edx
lea ecx, [esp + eax + 0x14]
push 0x20
push ecx
call fcn.005825d0
add esp, 0xc
movzx eax, word [edi + 0x15]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push str._s__10s__4d
push eax
call fcn.00582c5f
mov ecx, dword [ebx + 0x230]
add esp, 0x14
cmp dword [edi + 0x18], 1
push 0
push 0
push 0xffffffffffffffff
jne 0x4798aa
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
call edx
jmp 0x4798bb
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
push 0xffacb6c7
lea edx, [esp + 0x3c]
push edx
call eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.005825b3
add esp, 0x6c
ret 4
Function at 0x48f2d5
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x48f317
mov eax, dword [0x6f5768]
add eax, 0x1d4c0
push edi
mov dword [esi + 0x238], eax
call fcn.0044af40
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.0044af70
pop edi
push ebx
mov ecx, esi
call fcn.00429cf0
pop esi
pop ebx
ret 4
call fcn.0044af40
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00429cf0
pop esi
pop ebx
ret 4

Function at 0x48f340
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x48f38d
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [0x6f5768]
push edi
mov dword [esi + 0x238], eax
call fcn.0044af40
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.0044af70
pop edi
push ebx
mov ecx, esi
call fcn.00429cf0
pop esi
pop ebx
ret 8
call fcn.0044af40
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00429cf0
pop esi
pop ebx
ret 8

Function at 0x490fd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a397b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x6e50b4]
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.0057cc80
sub edi, 0xffffff80
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.0057d5b0
mov dword [esp + 0xc], eax
test eax, eax
je 0x491089
lea esp, [esp]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.0057d610
mov esi, dword [eax]
test esi, esi
je 0x491082
fld dword [esi + 0x28c]
push ecx
fstp dword [esp + 0x14]
lea ecx, [esi + 0x284]
fld dword [esp + 0x14]
fcom qword [0x5bb4a8]
fnstsw ax
test ah, 1
jne 0x49106c
fstp st(0)
fld1
fstp dword [esp]
call fcn.0054ab30
push esi
lea ecx, [esp + 0x18]
call fcn.0057d060
jmp 0x491082
fadd qword [0x5bb4a0]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0054ab30
cmp dword [esp + 0xc], 0
jne 0x491020
lea ecx, [esp + 0x14]
call fcn.0057d5b0
mov dword [esp + 0xc], eax
test eax, eax
je 0x4910c3
lea ebx, [ebx]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.0057d610
mov eax, dword [eax]
test eax, eax
je 0x4910bc
push eax
mov ecx, edi
call fcn.0057d710
cmp dword [esp + 0xc], 0
jne 0x4910a0
lea ecx, [esp + 0x14]
call fcn.0057cd60
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0057cde0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x496460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a3f9c
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x6e50b4]
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 0x49650f
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov dword [ebx + 0x38], edx
test ecx, ecx
je 0x49650f
mov ecx, dword [ecx + 0x538]
test ecx, ecx
je 0x4964fb
test byte [0x6e67f8], 1
movzx esi, word [ecx + 0x3b]
jne 0x4964eb
or dword [0x6e67f8], 1
mov ecx, 0x6e6688
mov dword [esp + 0x14], 0
call fcn.0053be90
push 0x5af180
call fcn.0058287c
add esp, 4
mov dword [esp + 0x14], 0xffffffff
push esi
mov ecx, 0x6e6688
call fcn.0053a710
cmp eax, 1
jne 0x496490
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 0x4a0a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a45d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
cmp dword [ecx + 0x120], 1
je 0x4a0a76
push 0
push 0x23e
push str.Object.cpp
call fcn.0052b690
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.0057cc80
mov dword [esp + 0x30], 0
lea ebx, [ebx]
cmp dword [esi + 0x18], 0
je 0x4a0ad1
mov ecx, dword [esi + 0x20]
lea esp, [esp]
mov eax, dword [esi + 0x18]
cmp dword [eax], ecx
je 0x4a0b2f
mov edx, dword [eax + 0xc]
mov dword [esi + 0x18], edx
test edx, edx
jne 0x4a0ac0
lea ecx, [esp + 0xc]
call fcn.0057d5b0
mov dword [esp + 0x38], eax
test eax, eax
je 0x4a0b01
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x10]
call fcn.0057d610
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.0043eb00
cmp dword [esp + 0x38], 0
jne 0x4a0ae2
lea ecx, [esp + 0xc]
call fcn.0057cd60
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0057cde0
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 0x4a0ad1
push eax
mov ecx, 0x719ca0
call fcn.0055eb90
cmp eax, 1
jne 0x4a0ab0
push ebx
lea ecx, [esp + 0x10]
call fcn.0057d060
jmp 0x4a0ab0