joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443828
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4874b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b104
mov dword [esi + 0x7c], 0x48b0fc
mov dword [edi], 0x48b0f4
lea ecx, [esi + 0x16c]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00440620
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.00457e50
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00406480
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4439a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4874e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004063f0
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00458200
lea ecx, [esi + 0x16c]
mov byte [esp + 0x14], 1
mov dword [esi], 0x48b104
mov dword [esi + 0x7c], 0x48b0fc
mov dword [edi], 0x48b0f4
call fcn.0041da40
push 0xe
push str.CViewerNumList
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.004042c0
push 0x1e
push str.CViewerNumList::
lea ecx, [esi + 0x14]
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], fcn.00440620
mov dword [esi + 0x34], fcn.00440620
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x444550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487554
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004063f0
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x18], 0
call fcn.00458200
lea ecx, [esi + 0x16c]
mov byte [esp + 0x18], 1
mov dword [esi], 0x48b14c
mov dword [esi + 0x7c], 0x48b144
mov dword [edi], 0x48b13c
call fcn.0041da40
push 0xd
push str.CViewerScript
lea ecx, [esi + 0x80]
mov byte [esp + 0x20], 2
call fcn.004042c0
push 0x23
push str.CViewerScript::
lea ecx, [esi + 0x14]
call fcn.004042c0
lea ebx, [esi + 0x170]
xor eax, eax
mov dword [esi + 0x30], fcn.00440620
mov dword [esi + 0x34], fcn.00440620
mov ecx, 0x89
mov edi, ebx
push 0x61a80
rep stosd dword es:[edi], eax
call fcn.004664e1
add esp, 4
mov edi, eax
mov dword [ebx], edi
xor eax, eax
mov ecx, 0x186a0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x444620
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x487591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b2c0
mov dword [esi + 0x7c], 0x48b2b8
mov dword [edi], 0x48b2b0
lea ecx, [esi + 0x4370]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00438d60
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.00457e50
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00406480
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x487591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc0]
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b2c0
mov dword [esi + 0x7c], 0x48b2b8
mov dword [edi], 0x48b2b0
lea ecx, [esi + 0x4370]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00438d60
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.00457e50
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00406480
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x444840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4875c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004063f0
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00458200
lea ecx, [esi + 0x4370]
mov byte [esp + 0x14], 1
mov dword [esi], 0x48b2c0
mov dword [esi + 0x7c], 0x48b2b8
mov dword [edi], 0x48b2b0
call fcn.00439880
push 0xc
push str.CViewerSound
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.004042c0
push 0x20
push str.CViewerSound::
lea ecx, [esi + 0x14]
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0x444730
mov dword [esi + 0x34], fcn.00440620
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4450d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487644
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004063f0
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00458200
lea ecx, [esi + 0x6a2c]
mov byte [esp + 0x14], 1
mov dword [esi], 0x48b30c
mov dword [esi + 0x7c], 0x48b304
mov dword [edi], 0x48b2fc
call fcn.00454000
push 0xb
push str.CViewerSurf
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.004042c0
push 0x23
push str.CViewerSurf::
lea ecx, [esi + 0x14]
call fcn.004042c0
mov dword [esi + 0x30], fcn.00440620
mov dword [esi + 0x34], fcn.00440620
xor eax, eax
lea edi, [esi + 0x174]
mov ecx, 0x65
rep stosd dword es:[edi], eax
lea edi, [esi + 0x308]
mov ecx, 0x19c9
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x445b40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4876a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004063f0
lea edi, [esi + 0xc0]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00458200
push 0xb
push str.CViewerTask
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 1
mov dword [esi], 0x48b3cc
mov dword [esi + 0x7c], 0x48b3c4
mov dword [edi], 0x48b3bc
call fcn.004042c0
push 0x1d
push str.CViewerTask::
lea ecx, [esi + 0x14]
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], 0x445ac0
mov dword [esi + 0x34], fcn.00440620
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4876d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b450
mov dword [esi + 0x7c], 0x48b448
lea edi, [esi + 0xd8]
mov ecx, edi
mov dword [esp + 0x18], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00453f20
lea ebp, [esi + 0x314]
mov ecx, ebp
call fcn.00453f20
mov ecx, ebp
mov byte [esp + 0x18], 1
call fcn.004537c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.004537c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00406480
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4876d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48b450
mov dword [esi + 0x7c], 0x48b448
lea edi, [esi + 0xd8]
mov ecx, edi
mov dword [esp + 0x18], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.00453f20
lea ebp, [esi + 0x314]
mov ecx, ebp
call fcn.00453f20
mov ecx, ebp
mov byte [esp + 0x18], 1
call fcn.004537c0
mov ecx, edi
mov byte [esp + 0x18], 0
call fcn.004537c0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00406480
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4579d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487a0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045db80
lea edi, [esi + 0x7c]
mov ecx, edi
mov dword [esp + 0x14], 0
call fcn.00457de0
lea ecx, [esi + 0xd0]
mov byte [esp + 0x14], 1
mov dword [esi], 0x48b81c
mov dword [edi], 0x48b814
call fcn.004613f0
lea ecx, [esi + 0x26c]
mov byte [esp + 0x14], 2
call fcn.00454000
lea ecx, [esi + 0x4a8]
mov byte [esp + 0x14], 3
call fcn.00454000
lea ecx, [esi + 0x6e4]
mov byte [esp + 0x14], 4
call fcn.0045d450
push 5
push str.CDraw
lea ecx, [esi + 0x80]
mov byte [esp + 0x1c], 5
call fcn.004042c0
push 0xb
push str.CDraw::Flip
lea ecx, [esi + 0x14]
mov dword [esi + 0x30], fcn.004575c0
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xcc], 0
mov dword [esi + 0xc8], 0
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x457de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045da70
push 0xc
xor edi, edi
push str.CDisplayMode
lea ecx, [esi + 4]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x48bafc
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x487a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045da70
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], edi
mov dword [esi], 0x48bb28
call fcn.0045ddf0
push 0xa
push str.CRPMWindow
lea ecx, [esi + 4]
mov byte [esp + 0x1c], 1
call fcn.004042c0
mov dword [esi + 0xa0], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], edi
xor eax, eax
lea ecx, [esi + 0x70]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x459796
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045da70
push 0x12
xor edi, edi
push str.CDirectDrawManager
lea ecx, [esi + 4]
mov dword [esp + 0x1c], edi
mov dword [esi], 0x48bb7c
call fcn.004042c0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [0x49d5fc], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x487be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
test eax, eax
push ebp
push esi
push edi
mov dword [esp + 0x14], ebx
je 0x459ebf
push str.check_surface_lost
push 0x4cd670
call fcn.00460b30
mov eax, dword [0x49d604]
mov edi, dword [eax]
add esp, 8
cmp edi, eax
je 0x459ebf
jmp 0x459d94
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 8]
mov ecx, esi
call fcn.00446760
test eax, eax
je 0x459ea9
mov eax, dword [edi]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00446f60
test eax, eax
je 0x459dcb
mov ecx, esi
call fcn.00453f20
push esi
mov ecx, ebx
call fcn.004598f0
jmp 0x459eaf
mov eax, dword [esi + 0x228]
test eax, eax
jne 0x459dda
mov ebx, dword [esi + 0x78]
jmp 0x459de0
mov ebx, dword [esi + 0x1c0]
test eax, eax
jne 0x459de9
mov ebp, dword [esi + 0x7c]
jmp 0x459def
mov ebp, dword [esi + 0x1bc]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00453f80
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.00446f80
mov ecx, esi
mov edi, eax
call fcn.00453f20
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x459e40
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x40]
push edx
push edi
push ebp
push ebx
push eax
mov ecx, esi
call fcn.0044f170
test eax, eax
jne 0x459e72
push esi
call fcn.00459890
add esp, 4
jmp 0x459e72
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x44]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00404160
mov ecx, esi
call fcn.00453e10
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x40], 0xffffffff
jb 0x459e8e
mov eax, dword [esp + 0x20]
push eax
call fcn.0046683d
add esp, 4
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jmp 0x459eaf
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
cmp edx, dword [0x49d604]
jne 0x459d90
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret
Function at 0x45ad20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x68]
push ebx
mov ebx, ecx
mov ecx, dword [eax + 0x30]
push ebp
mov ebp, dword [ebx + 0x30]
test ebp, ebp
mov dword [esp + 8], ecx
jne 0x45ad46
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret 0x1c
test ecx, ecx
jne 0x45ad57
pop ebp
mov eax, 2
pop ebx
add esp, 0x54
ret 0x1c
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
push esi
mov esi, dword [ebx + 0x78]
push edi
mov edi, dword [ebx + 0x7c]
mov dword [esp + 0x20], edi
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x14]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], edx
call fcn.004469b0
test eax, eax
jne 0x45add7
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x54
ret 0x1c
imul edi, dword [esp + 0x38]
imul esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add edi, edx
mov edx, dword [esp + 0x10]
add esi, eax
lea eax, [edi + edx]
mov edx, dword [esp + 0x78]
lea ecx, [esi + ebp]
lea ebp, [eax + edi*2]
mov eax, dword [edx + 0x74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x3c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x40]
test eax, eax
lea esi, [ecx + esi*2]
mov ecx, dword [ebx + 0x74]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
jle 0x45aeff
mov dword [esp + 0x68], eax
lea ebx, [ebx]
xor ecx, ecx
test edx, edx
jle 0x45aee4
mov eax, ebp
sub eax, esi
mov dword [esp + 0x78], eax
lea edi, [ecx + esi]
cmp byte [eax + edi], 0
jne 0x45ae5a
cmp byte [ecx + ebp + 1], 0xff
jne 0x45ae5a
mov bl, byte [ecx + ebp + 2]
test bl, bl
je 0x45aed9
mov bl, byte [edi]
movzx edx, bl
mov eax, 0xff
sub eax, edx
mov edx, dword [esp + 0x78]
movzx edx, byte [edx + edi]
imul eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov bl, byte [ecx + esi + 1]
mov byte [edi], al
movzx edx, bl
mov eax, 0xff
sub eax, edx
movzx edx, byte [ecx + ebp + 2]
imul eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add al, bl
mov bl, byte [ecx + esi + 2]
mov byte [ecx + esi + 1], al
movzx edx, bl
mov eax, 0xff
sub eax, edx
movzx edx, byte [ecx + ebp + 2]
imul eax, edx
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 8
add al, bl
mov byte [ecx + esi + 2], al
mov eax, dword [esp + 0x78]
add ecx, 3
cmp ecx, edx
jl 0x45ae42
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
add esi, edi
add ebp, ecx
dec eax
mov dword [esp + 0x68], eax
jne 0x45ae30
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x1c
Function at 0x45c180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x68]
push ebp
mov ebp, ecx
cmp ebp, ebx
je 0x45c2cb
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x74]
lea eax, [esp + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x50], edx
call fcn.004469b0
test eax, eax
je 0x45c2cb
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [ebp + 0x74]
imul esi, dword [esp + 0x28]
push edi
mov edi, dword [ebx + 0x74]
imul edi, dword [esp + 0x34]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x30]
add esi, ecx
mov ecx, dword [ebp + 0x30]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x3c]
add esi, ecx
mov ecx, dword [ebx + 0x30]
add edi, edx
add edi, ecx
xor ebx, ebx
test eax, eax
jle 0x45c2c9
nop
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x74]
mov eax, dword [ebp + 0x74]
imul ecx, ebx
mov edx, dword [esp + 0x38]
imul eax, ebx
add ecx, edi
add eax, esi
test edx, edx
jle 0x45c2bc
mov dword [esp + 0x64], edx
mov dl, byte [ecx]
test dl, dl
jne 0x45c271
cmp byte [ecx + 1], 0xff
jne 0x45c271
cmp byte [ecx + 2], dl
je 0x45c2ab
cmp dl, 0xff
jne 0x45c29d
cmp byte [ecx + 1], 0
jne 0x45c29d
cmp byte [ecx + 2], dl
jne 0x45c29d
mov dl, byte [esp + 0x88]
mov byte [eax], dl
mov dl, byte [esp + 0x84]
mov byte [eax + 1], dl
mov dl, byte [esp + 0x80]
jmp 0x45c2a8
mov byte [eax], dl
mov dl, byte [ecx + 1]
mov byte [eax + 1], dl
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
mov edx, dword [esp + 0x64]
add eax, 3
add ecx, 3
dec edx
mov dword [esp + 0x64], edx
jne 0x45c260
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x45c240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x28
Function at 0x45c720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push esi
push edi
mov edi, dword [esp + 0x6c]
mov esi, ecx
cmp esi, edi
je 0x45c8f4
mov edx, dword [esi + 0x78]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x7c]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
push ebx
mov ebx, dword [esi + 0x30]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x6c]
push ebp
mov ebp, dword [edi + 0x30]
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x58], edx
call fcn.004469b0
test eax, eax
je 0x45c8f2
cmp dword [esp + 0x80], 2
jne 0x45c7e5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push edi
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0045bd50
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x50
ret 0x20
mov edx, dword [esi + 0x74]
mov eax, dword [esp + 0x28]
mov ecx, edx
imul ecx, dword [esp + 0x2c]
lea ebx, [ebx + eax*2]
add ebx, eax
mov eax, dword [esp + 0x30]
add ebx, ecx
mov dword [esp + 0x64], ebx
mov ebx, dword [edi + 0x74]
mov ecx, ebx
imul ecx, dword [esp + 0x34]
lea ebp, [ebp + eax*2]
add ebp, eax
mov eax, dword [esp + 0x80]
add ebp, ecx
test eax, eax
mov dword [esp + 0x74], ebp
jne 0x45c882
mov eax, dword [esp + 0x38]
lea eax, [eax + eax*2]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x45c8f2
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov esi, ebp
mov ebp, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x74]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x80]
add ebp, ebx
add eax, edx
dec ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], ecx
jne 0x45c845
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x50
ret 0x20
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x45c8f2
lea esp, [esp]
mov ecx, dword [esi + 0x74]
mov eax, dword [edi + 0x74]
imul ecx, ebx
mov edx, dword [esp + 0x64]
imul eax, ebx
add ecx, edx
mov edx, dword [esp + 0x38]
add eax, ebp
test edx, edx
jle 0x45c8e9
mov dword [esp + 0x80], edx
mov dl, byte [eax]
test dl, dl
jne 0x45c8c4
cmp byte [eax + 1], 0xff
jne 0x45c8c4
cmp byte [eax + 2], dl
je 0x45c8d2
mov byte [ecx], dl
mov dl, byte [eax + 1]
mov byte [ecx + 1], dl
mov dl, byte [eax + 2]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x80]
add ecx, 3
add eax, 3
dec edx
mov dword [esp + 0x80], edx
jne 0x45c8b3
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x45c890
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x50
ret 0x20