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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4664c7
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 + 0x150]
mov dword [esi], 0x467d70
push 0x24
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x44e035
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44e037
xor eax, eax
or edi, 0xffffffff
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0xf0], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 1
je 0x44e069
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44e06b
xor eax, eax
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0xf4], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 2
je 0x44e09a
push 1
mov ecx, eax
call sub.CoreW32DLL.dll_public:_void___thiscall_CPalette::constructor_void_
jmp 0x44e09c
xor eax, eax
push 0x300
mov dword [esp + 0x1c], edi
mov dword [esi + 0xfc], 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 0x44e0eb
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 0x44e0ed
xor eax, eax
or edi, 0xffffffff
push 0x24
mov dword [esp + 0x1c], edi
mov dword [esi + 0xf8], eax
call fcn.00401ae0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x18], 4
je 0x44e128
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 0x44e12a
xor eax, eax
push ebp
mov dword [esi + 0x100], eax
call fcn.00401af0
mov edx, 1
add esp, 4
mov dword [esi + 0x108], edx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 2
mov dword [esi + 0x84], 4
mov dword [esi + 0x88], 6
mov dword [esi + 0x8c], 8
mov dword [esi + 0x90], 0xa
mov dword [esi + 0x94], 0xc
mov dword [esi + 0x98], 0xe
xor eax, eax
lea ecx, [esi + 0x9c]
mov dword [ecx], eax
add eax, 2
add ecx, 4
cmp eax, 0x10
jl 0x44e1b3
xor eax, eax
mov dword [esi + 0xc8], 0x3e8
mov dword [esi + 0xcc], ebx
mov dword [esi + 0x74], edi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], edx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x60], 0x477048
mov dword [esi + 0x64], 0x47720c
mov dword [esi + 0x68], 0x4773f0
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
call fcn.0045bccd
cdq
mov ecx, 9
idiv ecx
mov dword [esi + 0x50], edx
call fcn.0045bccd
cdq
mov ecx, 3
mov edi, dword [esi + 0x50]
idiv ecx
lea eax, [edi + 3]
mov ecx, 9
mov ebp, 9
mov dword [esp + 0x20], edx
mov dword [esi + 0x54], edx
cdq
idiv ecx
mov ecx, edx
mov dword [esi + 0x58], ecx
lea eax, [ecx + 2]
cdq
idiv ebp
mov eax, dword [esp + 0x20]
sub eax, ebx
mov dword [esi + 0x5c], edx
je 0x44e2ba
dec eax
je 0x44e29d
dec eax
jne 0x44e2e7
mov eax, dword [0x47df70]
mov ecx, dword [eax + ecx*4 + 0x84]
mov dword [esi + 0x44], ecx
mov eax, dword [0x47df70]
mov ecx, dword [eax + edx*4 + 0x84]
mov dword [esi + 0x48], ecx
mov edx, dword [0x47df70]
mov eax, dword [edx + edi*4 + 0x84]
mov dword [esi + 0x4c], eax
jmp 0x44e2e7
mov eax, dword [0x47df70]
mov ecx, dword [eax + ecx*4 + 0x84]
mov dword [esi + 0x44], ecx
mov eax, dword [0x47df70]
mov ecx, dword [eax + edi*4 + 0x84]
jmp 0x44e2d5
mov eax, dword [0x47df70]
mov eax, dword [eax + edi*4 + 0x84]
mov dword [esi + 0x44], eax
mov eax, dword [0x47df70]
mov ecx, dword [eax + ecx*4 + 0x84]
mov dword [esi + 0x48], ecx
mov eax, dword [0x47df70]
mov ecx, dword [eax + edx*4 + 0x84]
mov dword [esi + 0x4c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x15c], ebx
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x10