Function at 0x41d670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e5ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 4]
mov byte [eax + 0x14c], 0xa
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x270]
mov edx, dword [ecx]
push eax
call dword [edx + 0xe4]
mov eax, dword [esi + 4]
mov ebx, dword [eax + 0x40]
mov ecx, dword [ebx + 0x58]
add ebx, 0x8c
mov dword [eax + 0xec8], ecx
mov edx, dword [ebx - 0x30]
mov dword [eax + 0xecc], edx
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.00444c20
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov dword [ecx + 0xed0], edx
mov eax, dword [eax + 4]
mov dword [ecx + 0xed4], eax
mov ecx, ebx
call fcn.00444570
mov ecx, dword [esi + 4]
lea edx, [esp + 0x5c]
push edx
mov dword [ecx + 0xed8], eax
mov ecx, ebx
call fcn.00444590
mov edi, dword [esp + 0x84]
mov ecx, ebx
sub edi, 0x82
mov dword [esp + 0x264], 0
neg edi
sbb edi, edi
and edi, 0xfffffffb
add edi, 6
call fcn.00444570
mov ecx, dword [esi + 4]
mov dword [ecx + 0xeac], eax
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xb98]
mov dword [eax + 0xe9c], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xb9c]
mov dword [eax + 0xea4], ecx
mov eax, dword [esi + 4]
mov edx, dword [eax + 0xba0]
mov dword [eax + 0xea0], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xba4]
mov dword [eax + 0xea8], ecx
mov edx, dword [esi + 4]
lea ecx, [esp + 0x20]
mov eax, dword [edx + 0x40]
push ecx
lea ecx, [eax + 0x8c]
call fcn.00444c20
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x10], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x14], eax
mov ebp, dword [edx + 8]
mov dword [esp + 0x18], ebp
mov edx, dword [edx + 0xc]
add eax, edx
mov dword [esp + 0x1c], edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
lea eax, [ecx + ebp]
cdq
sub eax, edx
mov ebp, eax
mov eax, ebx
sar ebp, 1
neg eax
mov ecx, ebp
push eax
neg ecx
lea eax, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
fild dword [esp + 0x10]
fmul qword [0x4f5830]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x14]
mov dword [esp + 0x10], eax
fmul qword [0x4f5830]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x18]
mov dword [esp + 0x14], eax
fmul qword [0x4f5830]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x1c]
mov dword [esp + 0x18], eax
fmul qword [0x4f5830]
call sub.MSVCRT.dll__ftol
push ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
call fcn.004e1520
xor ecx, ecx
xor eax, eax
push ecx
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004e1cc0
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push edx
push 1
call fcn.004a2a30
xor ecx, ecx
xor eax, eax
push ecx
mov ecx, dword [esi + 4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004e1cc0
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push edx
push 2
call fcn.004a2a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x18]
add eax, edx
cdq
sar ecx, 1
sub eax, edx
sar eax, 1
push ecx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, dword [esi + 4]
call fcn.004e1cc0
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
push edx
mov eax, dword [eax]
push eax
push 3
call fcn.004a2a30
mov ecx, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx + 0x40]
lea ecx, [eax + 0x8c]
call fcn.00444d00
mov ecx, eax
mov eax, dword [esi + 4]
mov esi, dword [esi + 4]
mov byte [esp + 0x264], 1
mov edx, dword [eax + 0x40]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, edx
cdq
sub eax, edx
lea edx, [esp + 0x4c]
mov ebp, eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edi
push edx
lea ecx, [eax + 0x8c]
sar ebx, 1
sar ebp, 1
call fcn.00444c20
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
push ebx
push ebp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x290]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0xba8]
push ecx
push edx
lea ecx, [esi + 0x270]
call fcn.004cbac0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x30], 0x4f582c
mov dword [esp + 0x264], 0xffffffff
call fcn.00441510
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x258
ret 4