Function at 0x580ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x19c
mov eax, dword [esp + 0x1f8]
fld qword [esp + 0x1b0]
lea esi, [esp + 0x17c]
lea ebp, [esp + 0x104]
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x210]
fstp qword [esp + 0xd0]
fld qword [esp + 0x1c4]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x21c]
mov dword [esp + 0x16c], edx
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x1b8]
fstp qword [esp + 0xb8]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x1d0]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x1dc]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1e4]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x1e8]
mov dword [esp + 0x14c], edx
mov edx, dword [esp + 0x1ec]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x1f0]
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x218]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x224]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x114], edx
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x204]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x208]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x20c]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x214]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x228]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x22c]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x230]
mov dword [esp + 8], esi
mov edx, dword [esp + 0x248]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x234]
mov dword [esp + 0xf4], edx
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x238]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x23c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x244]
mov dword [esp + 0xf0], eax
mov eax, dword [0xd3b044]
mov dword [esp + 0x18c], eax
xor eax, eax
lea eax, [esp + 0x173]
mov dword [esp + 4], eax
lea eax, [esp + 0x174]
mov dword [esp], eax
call fcn.005021c0
mov eax, dword [esp + 0x104]
mov eax, dword [eax + 0x6af7c]
test eax, eax
je 0x5819fd
lea edi, [esp + 0x178]
mov dword [esp + 0xc8], edi
cmp eax, 2
ja 0x58131d
lea esi, [esi]
lea esi, [esi]
mov eax, dword [esp + 0xc8]
mov dword [esp + 8], esi
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00502370
mov dword [esp], esi
call fcn.00502420
mov ebx, dword [esp + 0x104]
mov edx, dword [esp + 0x174]
mov eax, dword [ebx + 0x6af70]
test edx, edx
je 0x5812d0
cmp eax, dword [ebx + 0x6af84]
jae 0x5812d0
mov ecx, dword [ebx + 0x6af74]
sub ecx, edx
cmp ecx, 0x7efa
ja 0x5812d0
mov eax, dword [ebx + 0x6af8c]
cmp dword [ebx + 0x6af7c], eax
jb 0x5819f0
lea eax, [esp + 0x180]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x174]
mov dword [esp + 0x58], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x128]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x12c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x148]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x150]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x154]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x158]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x15c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x160]
mov dword [esp + 8], eax
lea eax, [esp + 0x164]
mov dword [esp + 4], eax
lea eax, [esp + 0x168]
mov dword [esp], eax
call fcn.00502490
lea eax, [esp + 0x180]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.005024d0
mov ebx, dword [esp + 0x104]
mov eax, dword [esp + 0x17c]
cmp dword [ebx + 0x6af7c], eax
jb 0x5819d8
cmp eax, 3
je 0x5819b0
mov eax, dword [ebx + 0x6af70]
nop
cmp eax, 2
jbe 0x5812e2
cmp eax, dword [esp + 0x17c]
jae 0x581550
cmp byte [esp + 0x173], 0
mov eax, dword [ebx + 0x6af74]
jne 0x581350
mov byte [esp + 0x173], 1
add eax, 1
mov dword [ebx + 0x6af74], eax
mov eax, dword [ebx + 0x6af7c]
sub eax, 1
mov dword [ebx + 0x6af7c], eax
cmp eax, 0x105
jbe 0x581820
lea eax, [esp + 0x174]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.005022b0
lea eax, [esp + 0x174]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00502310
jmp 0x581120
movzx eax, byte [ebx + eax + 0x1af63]
mov edx, ebx
call fcn.00580ae0
test al, al
jne 0x581378
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx + 0x6af74]
jmp 0x5812fa
mov eax, dword [esp + 0x104]
mov edi, dword [esp + 0x100]
xor ebx, ebx
vmovsd xmm0, qword [esp + 0xb8]
fld qword [esp + 0x110]
mov edx, dword [eax + 0x6af68]
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0x10c]
fld qword [esp + 0x118]
vmovsd qword [esp + 0xa8], xmm0
lea ecx, [eax + edx + 0x1af64]
test edx, edx
mov dword [esp + 4], edx
vmovsd xmm3, qword [esp + 0xf0]
cmovs ecx, ebx
mov ebx, dword [esp + 0x158]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0xcc]
fstp qword [esp + 0xc0]
vmovsd xmm1, qword [esp + 0xc0]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x100]
fst qword [esp + 0x9c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ecx
vmovsd qword [esp + 0x94], xmm3
fstp qword [esp + 0x8c]
vmovsd qword [esp + 0x70], xmm1
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov ecx, dword [esp + 0xe0]
vmovsd xmm2, qword [esp + 0xd0]
mov dword [esp + 0x44], ebx
vmovsd xmm4, qword [esp + 0x148]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x38], ecx
vmovsd xmm1, qword [esp + 0xc0]
mov dword [esp + 0x10], ecx
vmovsd xmm0, qword [esp + 0xb8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x3c], ebx
vmovsd qword [esp + 0x54], xmm4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x164]
vmovsd qword [esp + 0x48], xmm2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x124]
vmovsd qword [esp + 0x28], xmm1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x15c]
vmovsd qword [esp + 0x20], xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x138]
vmovsd qword [esp + 0x18], xmm2
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x30], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x160]
mov edi, dword [esp + 0xcc]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.005821b0
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x581958
mov eax, dword [ebx + 0x6af74]
mov dword [ebx + 0x6af68], eax
jmp 0x5812fa
lea eax, [esp + 0x184]
mov dword [esp], ebp
mov dword [esp + 0x10], eax
lea eax, [esp + 0x180]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x172]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 4], eax
call fcn.005025d0
mov dword [esp], ebp
call fcn.005026e0
mov dword [esp], ebp
call fcn.00502720
mov ebx, dword [esp + 0x104]
lea esi, [esi]
nop
mov dword [esp], ebp
call fcn.00502750
mov eax, dword [ebx + 0x6af74]
cmp dword [esp + 0x184], eax
jae 0x581980
mov dword [esp], ebp
call fcn.00502810
mov eax, dword [ebx + 0x6af70]
test eax, eax
jne 0x5815a0
lea eax, [esp + 0x173]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00502840
mov dword [esp], esi
call fcn.00502880
cmp byte [esp + 0x172], 0
je 0x581808
mov eax, dword [ebx + 0x6af68]
xor edx, edx
fld qword [esp + 0xf0]
vmovsd xmm5, qword [esp + 0x118]
mov edi, dword [esp + 0x128]
lea ecx, [ebx + eax + 0x1af64]
test eax, eax
vmovsd xmm7, qword [esp + 0x110]
vmovsd xmm6, qword [esp + 0xb8]
cmovns edx, ecx
mov ecx, dword [esp + 0x138]
fstp qword [esp + 0xc0]
vmovsd qword [esp + 0xa8], xmm5
vmovsd xmm5, qword [esp + 0xd0]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x164]
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x154]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0xe8]
vmovsd qword [esp + 0x8c], xmm7
vmovsd xmm7, qword [esp + 0xc0]
mov dword [esp + 0x7c], edx
vmovsd qword [esp + 0x9c], xmm5
vmovsd qword [esp + 0x94], xmm6
vmovsd qword [esp + 0x70], xmm7
mov dword [esp + 0x78], edi
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x6af74]
mov dword [esp], eax
call fcn.004026d0
mov ebx, dword [esp + 0xe4]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x38], edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x130]
vmovsd xmm6, qword [esp + 0xb8]
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0x40], ebx
vmovsd xmm3, qword [esp + 0x168]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x158]
vmovsd qword [esp + 0x54], xmm6
vmovsd xmm7, qword [esp + 0xc0]
vmovsd xmm6, qword [esp + 0x140]
mov dword [esp + 0x3c], edx
vmovsd xmm5, qword [esp + 0xd0]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x14], ecx
vmovsd qword [esp + 0x48], xmm6
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x134]
vmovsd qword [esp + 0x28], xmm3
vmovsd qword [esp + 0x20], xmm7
vmovsd qword [esp + 0x18], xmm5
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x15c]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.005821b0
mov ebx, dword [esp + 0x104]
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
test edi, edi
jne 0x581958
mov eax, dword [ebx + 0x6af74]
mov dword [ebx + 0x6af68], eax
mov eax, dword [ebx + 0x6af7c]
cmp eax, 0x105
ja 0x58131d
lea esi, [esi]
mov edi, dword [esp + 0x120]
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x70], ebx
mov edx, dword [esp + 0x108]
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x80], edi
mov edi, dword [esp + 0x124]
mov dword [esp + 0x74], ecx
fld qword [esp + 0x110]
vmovsd xmm4, qword [esp + 0xd0]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0xd8]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x150]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xcc]
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edi
vmovsd qword [esp + 0x88], xmm4
vmovsd qword [esp + 0x3c], xmm4
mov edi, dword [esp + 0x180]
mov ecx, dword [esp + 0x15c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x160]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x154]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x38], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], edi
mov dword [esp + 8], edi
fst qword [esp + 0x28]
vmovsd qword [esp + 0x14], xmm4
fstp qword [esp]
call fcn.00581cd0
mov eax, dword [esp + 0x104]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x5810f1
lea esi, [esi]
mov eax, dword [esp + 0x18c]
sub eax, dword [0xd3b044]
jne 0x581afc
add esp, 0x19c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x174]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00502780
mov dword [esp], ebp
call fcn.00502810
mov eax, dword [ebx + 0x6af70]
test eax, eax
jne 0x5815a0
jmp 0x5815cd
mov eax, dword [ebx + 0x6af74]
sub eax, dword [ebx + 0x6af78]
cmp eax, 0x1000
jbe 0x5812c8
mov dword [esp], esi
call fcn.005025a0
jmp 0x5812c8
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.00502560
mov eax, dword [esp + 0x17c]
jmp 0x5812bf
mov dword [esp], ebp
call fcn.00502450
jmp 0x58118d
lea eax, [esp + 0x188]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x58], eax
lea eax, [esp + 0x180]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x173]
mov dword [esp + 0x50], eax
lea eax, [esp + 0xf0]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x100]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x108]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x120]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x110]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x118]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x124]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x130]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x134]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x138]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x13c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x140]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x150]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x154]
mov dword [esp + 8], eax
lea eax, [esp + 0x158]
mov dword [esp + 4], eax
lea eax, [esp + 0x168]
mov dword [esp], eax
call fcn.00501e70
jmp 0x581958
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov ecx, dword [0xd3b044]
mov dword [esp + 0xc], ecx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
sub ecx, dword [0xd3b044]
jne 0x581b44
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp dword [sym.imp.msvcrt.dll_difftime]
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop