Function at 0x5df130
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66c440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 7]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x4c], ecx
push edi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x34], dl
call fcn.005df920
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, ecx
mov dword [esp + 0x60], edx
mov ecx, edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x6c], edx
mov ecx, edx
mov dl, byte [esp + 0x13]
mov dword [esp + 0x80], edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov byte [esp + 0x38], dl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x80], 1
lea edi, [esp + 0x58]
mov ebx, 3
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
mov ecx, esi
call fcn.005df560
add edi, 8
dec ebx
jne 0x5df1f1
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x7c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.005df560
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 8]
add eax, ebx
mov ecx, dword [esi + 4]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esi + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
mov dword [esp + 0x14], ecx
mov edx, eax
mov eax, dword [esp + 0x40]
sar ebx, 1
sar edx, 1
cmp ecx, eax
mov dword [esp + 0x18], edx
je 0x5df310
jmp 0x5df276
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edi, ebx
sub edx, eax
sub edi, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x30]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x48], eax
fild dword [esp + 0x1c]
fpatan
fstp qword [esp + 0x50]
mov edi, dword [ecx]
cmp edi, ecx
je 0x5df2e1
lea eax, [edi + 8]
mov edx, dword [edi + 8]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
fld qword [esp + 0x60]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 1
jne 0x5df402
mov edi, dword [edi]
cmp edi, ecx
jne 0x5df2a9
lea eax, [esp + 0x48]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
call fcn.005df800
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x5df272
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
fld qword [ecx + 0x10]
mov dword [esp + 0x24], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
sub ebx, edi
sub edx, eax
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fpatan
fst qword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
fstp st(0)
je 0x5df4c6
fld qword [esp + 0x1c]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
jne 0x5df4c6
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x24], edx
je 0x5df3bf
lea edx, [ecx + 8]
mov eax, edx
fld qword [esp + 0x1c]
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x60], ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x5df437
mov ecx, dword [ecx]
mov eax, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
jne 0x5df382
mov eax, dword [esp + 0x3c]
push eax
call fcn.006247dc
xor eax, eax
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x80], 0xffffffff
call fcn.005df7b0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [edi + 4]
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.005df920
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x48]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.005dfc50
mov eax, dword [esp + 0x3c]
add esp, 8
inc eax
mov dword [esp + 0x34], eax
jmp 0x5df2f5
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edi
mov edx, dword [eax]
mov dword [esi + 0x18], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x1c], eax
mov edx, dword [ecx]
mov dword [esi + 0x20], edx
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
push ecx
call fcn.006247dc
mov esi, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov eax, dword [esi]
add esp, 4
cmp eax, esi
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x18], eax
je 0x5df4bf
lea edx, [esp + 0x24]
push edi
push edx
lea ecx, [esp + 0x20]
call fcn.005df870
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.005df950
cmp dword [esp + 0x18], esi
jne 0x5df499
mov edx, dword [esp + 0x30]
push edx
jmp 0x5df540
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [ecx], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 4], edx
mov edx, dword [eax]
mov dword [esi + 0x18], edx
mov eax, dword [eax + 4]
mov dword [esi + 0x1c], eax
mov edx, dword [ecx]
mov dword [esi + 0x20], edx
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
push ecx
call fcn.006247dc
xor eax, eax
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push eax
lea edx, [esp + 0x18]
mov ecx, dword [eax]
mov dword [esp + 0x84], 0xffffffff
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.005df8d0
mov eax, dword [esp + 0x30]
push eax
call fcn.006247dc
mov ecx, dword [esp + 0x7c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10