Function at 0x449770
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4663b7
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
mov edx, dword [esp + 0x20]
mov esi, ecx
mov ecx, dword [esp + 0x1c]
push edi
lea eax, [esi + 0x36c]
mov dword [esi], 0x467d48
xor ebx, ebx
or edi, 0xffffffff
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
push 0x24
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov byte [esi + 0x360], bl
mov dword [esi + 0x2cc], edi
mov dword [esi + 0x2c8], ebx
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x320], ebx
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x44981a
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44981c
xor eax, eax
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0x308], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 1
je 0x44984b
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44984d
xor eax, eax
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0x30c], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 2
je 0x44987c
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44987e
xor eax, eax
push 0x300
mov dword [esp + 0x1c], edi
mov dword [esi + 0x314], eax
call fcn.00401ae0
mov ebp, eax
mov eax, edi
mov ecx, 0xc0
mov edi, ebp
rep stosd dword es:[edi], eax
push 0x24
call fcn.00401ae0
add esp, 8
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 3
je 0x4498cd
push 1
push 6
push 0x100
push ebx
push ebp
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_unsigned_char___int__int__int_
jmp 0x4498cf
xor eax, eax
or edi, 0xffffffff
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0x318], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 4
je 0x44990a
push 1
push 6
push 0x100
push ebx
push ebp
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_unsigned_char___int__int__int_
jmp 0x44990c
xor eax, eax
push ebp
mov dword [esp + 0x1c], edi
mov dword [esi + 0x310], eax
call fcn.00401af0
add esp, 4
call fcn.0045bccd
cdq
mov ecx, 0xae7
idiv ecx
mov dword [esi + 0x2d4], edx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 4], ebx
cmp dword [esi + 0x374], ebx
je 0x449950
push str.TimeToLive_Arcade
jmp 0x449955
push str.TimeToLive_TV
mov ecx, esi
call fcn.0044c8e0
lea ecx, [eax + eax*4]
mov eax, 0x88888889
lea ecx, [ecx + ecx*4]
shl ecx, 1
imul ecx
add edx, ecx
mov dword [esi + 0x158], ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x15c], edx
mov dword [esi + 0x194], edi
call fcn.0045bccd
add eax, dword [esi + 0x2d4]
and eax, 0x80000003
jns 0x4499a0
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x4499a5
jmp dword [eax*4 + 0x44a078]
mov dword [0x47dd54], 0x4764dc
jmp case.default.0x4499a5
mov dword [0x47dd54], 0x47656c
jmp case.default.0x4499a5
mov dword [0x47dd54], 0x4765fc
jmp case.default.0x4499a5
mov dword [0x47dd54], 0x47668c
mov dword [esi + 0x138], ebx
mov dword [esi + 0x13c], ebx
xor eax, eax
mov ecx, dword [0x47dd54]
cmp dword [eax + ecx], ebx
jne 0x4499f9
inc dword [esi + 0x138]
add eax, 4
cmp eax, 0x90
jl 0x4499e8
mov dword [esi + 0x64], ebx
call fcn.0045bccd
mov ebp, dword [esi + 0x2d4]
mov ecx, 6
add eax, ebp
cdq
idiv ecx
mov dword [esi + 0x68], edx
call fcn.0045bccd
mov edx, dword [esi + 0x2d4]
mov ecx, dword [esi + 0x68]
add eax, edx
add eax, ecx
and eax, 0x80000001
jns 0x449a3c
dec eax
or eax, 0xfffffffe
inc eax
add eax, 4
mov dword [esi + 0x6c], eax
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x68]
lea ecx, [eax + edx*2]
mov edx, dword [0x47dd54]
cmp dword [edx + ecx*4], ebx
je 0x449a06
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov eax, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ebx
mov ecx, dword [0x47dd50]
mov edx, dword [ecx + 0x108]
mov dword [esi + 0x80], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 5
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], 0xffffffda
mov dword [esi + 0x34], ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov eax, 0x50
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], edi
mov dword [esi + 0x178], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], edi
mov dword [esi + 0x18c], eax
mov dword [esi + 0x190], eax
mov eax, dword [0x47dd50]
mov ecx, dword [eax + 0x94]
mov dword [0x4757f8], ecx
mov edx, dword [eax + 0x98]
mov dword [0x475858], edx
mov ecx, dword [eax + 0xe0]
mov dword [0x4758b8], ecx
mov edx, dword [eax + 0xe0]
mov dword [0x4758e0], edx
mov ecx, dword [eax + 0xdc]
mov dword [0x475904], ecx
mov edx, dword [eax + 0xdc]
mov dword [0x47592c], edx
mov ecx, dword [eax + 0x10c]
mov dword [0x475950], ecx
mov edx, dword [eax + 0x110]
mov dword [0x475998], edx
mov ecx, dword [eax + 0x9c]
mov dword [0x4759b4], ecx
mov edx, dword [eax + 0xa0]
mov dword [0x475a14], edx
mov ecx, dword [eax + 0xe8]
mov dword [0x475a74], ecx
mov edx, dword [eax + 0xe8]
mov dword [0x475a9c], edx
mov ecx, dword [eax + 0xe4]
mov dword [0x475ac0], ecx
mov edx, dword [eax + 0xe4]
mov dword [0x475ae8], edx
mov ecx, dword [eax + 0x110]
mov dword [0x475b0c], ecx
mov edx, dword [eax + 0x120]
mov dword [0x475b54], edx
mov ecx, dword [eax + 0x114]
mov dword [0x475b9c], ecx
mov edx, dword [eax + 0xdc]
mov dword [0x475bb8], edx
mov ecx, dword [eax + 0xa4]
mov dword [0x475bd4], ecx
mov edx, dword [eax + 0xa8]
mov dword [0x475c34], edx
mov ecx, dword [eax + 0xf0]
mov dword [0x475c94], ecx
mov edx, dword [eax + 0xf0]
mov dword [0x475cbc], edx
mov ecx, dword [eax + 0xec]
mov dword [0x475ce0], ecx
mov edx, dword [eax + 0xec]
mov dword [0x475d08], edx
mov ecx, dword [eax + 0x114]
mov dword [0x475d2c], ecx
mov edx, dword [eax + 0x124]
mov dword [0x475d74], edx
mov ecx, dword [eax + 0x118]
mov dword [0x475dbc], ecx
mov edx, dword [eax + 0x120]
mov dword [0x475dd8], edx
mov ecx, dword [eax + 0xac]
mov dword [0x475df4], ecx
mov edx, dword [eax + 0xb0]
mov dword [0x475e54], edx
mov ecx, dword [eax + 0xf8]
mov dword [0x475eb4], ecx
mov edx, dword [eax + 0xf8]
mov dword [0x475edc], edx
mov ecx, dword [eax + 0xf4]
mov dword [0x475f00], ecx
mov edx, dword [eax + 0xf4]
mov dword [0x475f28], edx
mov ecx, dword [eax + 0x118]
mov dword [0x475f4c], ecx
mov edx, dword [eax + 0x128]
mov dword [0x475f94], edx
mov ecx, dword [eax + 0x11c]
mov dword [0x475fdc], ecx
mov edx, dword [eax + 0x124]
mov dword [0x475ff8], edx
mov ecx, dword [eax + 0xb4]
mov dword [0x476014], ecx
mov edx, dword [eax + 0xb8]
mov dword [0x476074], edx
mov ecx, dword [eax + 0x100]
mov dword [0x4760d4], ecx
mov edx, dword [eax + 0x100]
mov dword [0x4760fc], edx
mov ecx, dword [eax + 0xfc]
mov dword [0x476120], ecx
mov edx, dword [eax + 0xfc]
mov dword [0x476148], edx
mov ecx, dword [eax + 0x11c]
mov dword [0x47616c], ecx
mov edx, dword [eax + 0x12c]
mov dword [0x4761b4], edx
mov ecx, dword [eax + 0x104]
mov dword [0x4761fc], ecx
mov edx, dword [eax + 0x128]
mov dword [0x476218], edx
mov ecx, dword [eax + 0xbc]
mov dword [0x476234], ecx
mov edx, dword [eax + 0xc0]
mov dword [0x476294], edx
mov ecx, dword [eax + 0x108]
mov dword [0x4762f4], ecx
mov edx, dword [eax + 0x108]
mov dword [0x47631c], edx
mov ecx, dword [eax + 0x104]
mov dword [0x476340], ecx
mov edx, dword [eax + 0x104]
mov dword [0x476368], edx
mov ecx, dword [eax + 0x130]
mov dword [0x47638c], ecx
mov edx, dword [eax + 0x12c]
lea edi, [esi + 0xa8]
mov dword [0x4763d4], edx
mov dword [esi + 0x1b8], 0x474c24
mov dword [esi + 0x1bc], 0x474c78
mov dword [esi + 0x1c0], 0x474ccc
mov dword [esi + 0x1c4], 0x474d20
mov dword [esi + 0x1c8], 0x474d74
mov dword [esi + 0x1cc], 0x474dc8
mov dword [esi + 0x1d0], 0x474a2c
mov dword [esi + 0x1d4], 0x474a80
mov dword [esi + 0x1d8], 0x474ad4
mov dword [esi + 0x1dc], 0x474b28
mov dword [esi + 0x1e0], 0x474b7c
mov dword [esi + 0x1e4], 0x474bd0
mov dword [esi + 0x1e8], 0x474834
mov dword [esi + 0x1ec], 0x474888
mov dword [esi + 0x1f0], 0x4748dc
mov dword [esi + 0x1f4], 0x474930
mov dword [esi + 0x1f8], 0x474984
mov dword [esi + 0x1fc], 0x4749d8
mov dword [esi + 0x200], 0x47463c
mov dword [esi + 0x204], 0x474690
mov dword [esi + 0x208], 0x4746e4
mov dword [esi + 0x20c], 0x474738
mov dword [esi + 0x210], 0x47478c
mov dword [esi + 0x214], 0x4747e0
mov dword [esi + 0x218], 0x474444
mov dword [esi + 0x21c], 0x474498
mov dword [esi + 0x220], 0x4744ec
mov dword [esi + 0x224], 0x474540
mov dword [esi + 0x228], 0x474594
mov dword [esi + 0x22c], 0x4745e8
mov dword [esi + 0x230], 0x4755fc
mov dword [esi + 0x234], 0x475650
mov dword [esi + 0x238], 0x4756a4
mov dword [esi + 0x23c], 0x4756f8
mov dword [esi + 0x240], 0x47574c
mov dword [esi + 0x244], 0x4757a0
mov dword [esi + 0x248], 0x475404
mov dword [esi + 0x24c], 0x475458
mov dword [esi + 0x250], 0x4754ac
mov dword [esi + 0x254], 0x475500
mov dword [esi + 0x258], 0x475554
mov dword [esi + 0x25c], 0x4755a8
mov dword [esi + 0x260], 0x47520c
mov dword [esi + 0x264], 0x475260
mov dword [esi + 0x268], 0x4752b4
mov dword [esi + 0x26c], 0x475308
mov dword [esi + 0x270], 0x47535c
mov dword [esi + 0x274], 0x4753b0
mov dword [esi + 0x278], 0x475014
mov dword [esi + 0x27c], 0x475068
mov dword [esi + 0x280], 0x4750bc
mov dword [esi + 0x284], 0x475110
mov dword [esi + 0x288], 0x475164
mov dword [esi + 0x28c], 0x4751b8
mov dword [esi + 0x290], 0x474e1c
mov dword [esi + 0x294], 0x474e70
mov dword [esi + 0x298], 0x474ec4
mov dword [esi + 0x29c], 0x474f18
mov dword [esi + 0x2a0], 0x474f6c
mov ecx, 0x24
xor eax, eax
mov dword [esi + 0x2a4], 0x474fc0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10