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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d90c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 0x5f0828
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], 0x5e2984
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 1
mov byte [esp + 0x58], 1
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.004e5b10
fld qword [esp + 0x14]
mov edx, dword [esp + 0x38]
fstp qword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], eax
call fcn.0040c860
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 8]
cmp eax, ebx
jle 0x53ab07
mov edx, dword [ecx + 4]
mov esi, dword [edx + ebx*4]
mov eax, dword [esi + 0x10]
mov byte [eax + 0x25], 1
mov ecx, dword [esi + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov al, byte [esi + 0x20]
test al, al
je 0x53aaf4
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebx*4]
push eax
push ebx
push edi
call fcn.0053a8b0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x38]
mov byte [ecx + 0x25], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x1c]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
push edi
mov cl, byte [eax + 0x25]
push ecx
mov ecx, dword [esp + 0x28]
push 1
call fcn.0053aba0
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, eax
fstp st(0)
je 0x53aaee
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
mov ebx, dword [ecx + 8]
lea edx, [ebx + 1]
push edx
call fcn.0046d900
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax + 4]
mov dword [ecx + ebx*4], esi
mov ecx, dword [esp + 0x14]
call fcn.00532a50
mov eax, dword [esi + 0x10]
fstp qword [eax]
mov eax, dword [esp + 0x28]
fld qword [0x5e2798]
test eax, eax
jle 0x53aad8
mov ecx, dword [esp + 0x24]
mov edx, eax
add ecx, 0x48
fld qword [ecx]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x53aad2
fstp st(0)
fld qword [ecx]
add ecx, 0x60
dec edx
jne 0x53aac1
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
fld st(0)
fsub qword [edi]
fdivr qword [eax]
fstp qword [eax]
fsub qword [edi]
fstp qword [esi + 0x30]
jmp 0x53aaf4
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov ecx, dword [ebp + 0xc]
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, dword [ecx + 8]
jl 0x53aa09
xor ebx, ebx
mov edx, dword [ebp + 0x14]
push 0x50b750
push edx
call fcn.0050b780
add esp, 8
mov dword [esp + 0x34], 0x5e2984
mov eax, dword [esp + 0x38]
mov byte [esp + 0x50], 2
cmp eax, ebx
je 0x53ab36
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x34], 0x5e262c
mov dword [esp + 0x20], 0x5f0828
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], 3
cmp eax, ebx
je 0x53ab7d
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x53ab74
lea esi, [eax + 0x38]
lea edi, [ecx]
mov ecx, esi
call fcn.0042bd50
add esi, 0x60
dec edi
jne 0x53ab63
mov eax, dword [esp + 0x24]
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10