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

Disassembly:
push 0xffffffffffffffff
push 0x64ac2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4bc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x8c]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x14], esi
call fcn.0059c9c0
mov ecx, dword [esi + 0x1df4c]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x1f5dc], eax
mov dword [esp + 0x24], ecx
je 0x5d3c23
mov eax, dword [esi + 0x1f648]
cmp eax, ebx
je 0x5d34b0
push eax
call fcn.00616a81
add esp, 4
mov dword [esi + 0x1f648], ebx
cmp dword [esi + 0x1f648], ebx
jne 0x5d34d7
mov edx, dword [esi + 0x1f5dc]
mov eax, dword [edx + 0x40]
cmp eax, ebx
jle 0x5d34d7
shl eax, 2
push eax
call fcn.00614c96
add esp, 4
mov dword [esi + 0x1f648], eax
mov ecx, dword [esi + 0x1f5dc]
mov dword [esi + 0x1f64c], ebx
cmp dword [ecx + 0x40], ebx
mov dword [esp + 0x14], ebx
jle 0x5d3bcf
mov dword [esp + 0x18], 0
push ebp
lea esp, [esp]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1f5dc]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
mov esi, dword [ecx + edx*4]
mov ecx, dword [eax + 0x30]
cmp edx, dword [esp + 0x28]
mov edi, dword [ecx + edx*4]
mov ecx, dword [eax + 0x48]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edx*4]
lea ebp, [edx*4]
mov edx, dword [ebx + 0xb0]
push edx
lea edx, [esp + 0x1b]
push edx
push ecx
push eax
push edi
mov dword [esp + 0x38], ecx
mov ecx, dword [0xb1a23c]
mov dword [esp + 0x40], eax
push esi
jl 0x5d3867
call fcn.0059fe30
push 0x4bc
mov dword [esp + 0x24], eax
call fcn.00614bf2
add esp, 4
mov dword [esp + 0x88], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x4d4], ebx
je 0x5d3588
mov ecx, eax
call fcn.0060e830
mov ebx, eax
lea edx, [ebx + 0x2b8]
mov dword [esp + 0x4d4], 0xffffffff
mov eax, esi
sub edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5d35a0
mov ecx, ebx
sub ecx, edi
mov eax, edi
lea edx, [ecx + 0x1b8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5d35b6
mov eax, dword [esp + 0x2c]
mov edx, ebx
sub edx, eax
add edx, 0xb8
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5d35d0
mov eax, dword [esp + 0x24]
mov ecx, ebx
sub ecx, eax
lea edx, [ecx + 0x3b8]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5d35e8
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x1f5dc]
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + ebp]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0xb0], edx
mov edx, dword [esp + 0x20]
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xb4], edx
mov eax, dword [eax + 0x1f5dc]
mov esi, dword [eax + 4]
lea ebp, [ebx + 0x1c]
add esi, edi
mov ecx, 0x10
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 4]
lea ecx, [ebx + 0x10]
push eax
push ecx
mov ecx, edx
call fcn.005c1490
mov ecx, ebx
call fcn.005dea30
mov ecx, 0x10
mov esi, ebp
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x74], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x64], eax
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004f7ca2
fild dword [0x68d1ec]
fdivr dword [0x64fe64]
fld dword [esp + 0x30]
fmul st(1)
call fcn.0061672c
fmul dword [esp + 0x38]
mov esi, eax
call fcn.0061672c
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x44]
mov edi, eax
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004f7ca2
fild dword [0x68d1ec]
fdivr dword [0x64fe64]
fld dword [esp + 0x30]
fmul st(1)
call fcn.0061672c
cmp esi, eax
jne 0x5d3725
fmul dword [esp + 0x38]
call fcn.0061672c
cmp edi, eax
jne 0x5d3727
mov ebp, dword [esp + 0x10]
mov byte [ebx + 0x4b9], 0
jmp 0x5d3824
fstp st(0)
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1f64c]
mov edx, dword [ebp + 0x1f648]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebp + 0x1f64c]
mov ecx, dword [esp + 0x20]
mov byte [ebx + 0x4b9], 1
mov eax, dword [ecx + 4]
test eax, eax
jne 0x5d3824
lea eax, [ebx + 0x2b8]
mov edi, 0x64f55f
mov esi, eax
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5d3824
push eax
lea eax, [esp + 0x1d0]
push 0x651e54
push eax
call fcn.0061660d
lea eax, [esp + 0x1d8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3796
sub eax, edx
mov byte [esp + eax + 0x1cb], 0x54
lea eax, [esp + 0x1cc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d37b1
sub eax, edx
mov byte [esp + eax + 0x1ca], 0x43
lea eax, [esp + 0x1cc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d37d0
lea ecx, [esp + 0x1cc]
push ecx
sub eax, edx
push 0x68b638
lea edx, [esp + 0x2d4]
push str._s_s
push edx
mov byte [esp + eax + 0x1d9], 0x4f
call fcn.0061660d
mov ecx, dword [0xb1a234]
add esp, 0x10
lea eax, [esp + 0x2cc]
push eax
call fcn.005d31e0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 4], eax
mov byte [ebx + 0x4b8], 1
mov eax, dword [ebp + 0x1df50]
mov ecx, dword [ebp + 0x1df4c]
cmp ecx, eax
lea esi, [ebp + 0x1df48]
jne 0x5d384f
test eax, eax
je 0x5d3842
add eax, eax
jmp 0x5d3847
mov eax, 0x10
push eax
mov ecx, esi
call fcn.00596a90
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*4], ebx
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esi + 4], eax
jmp 0x5d3ba9
call fcn.0059fe30
mov ecx, dword [ebx + 0x1df48]
mov ecx, dword [ecx + ebp]
add ecx, 0x2b8
jmp 0x5d3880
mov dl, byte [esi]
inc esi
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x5d3880
mov edx, dword [ebx + 0x1df48]
mov ecx, dword [edx + ebp]
add ecx, 0x1b8
lea esp, [esp]
mov dl, byte [edi]
inc edi
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x5d38a0
mov ecx, dword [ebx + 0x1df48]
mov ecx, dword [ecx + ebp]
mov esi, dword [esp + 0x2c]
add ecx, 0xb8
lea ecx, [ecx]
mov dl, byte [esi]
inc esi
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x5d38c0
mov edx, dword [ebx + 0x1df48]
mov esi, dword [esp + 0x24]
lea ecx, [ebx + 0x1df48]
mov ecx, dword [edx + ebp]
add ecx, 0x3b8
mov dl, byte [esi]
inc esi
mov byte [ecx], dl
inc ecx
test dl, dl
jne 0x5d38e3
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1f5dc]
mov edx, dword [ecx + 0x18]
mov edx, dword [edx + ebp]
mov ecx, dword [ebx + 0x1df48]
mov ecx, dword [ecx + ebp]
mov dword [ecx + 0xb0], edx
mov ecx, dword [ebx + 0x1df48]
mov edx, dword [ecx + ebp]
mov dword [edx + 0xb4], eax
mov ecx, dword [ebx + 0x1df48]
mov edx, dword [ecx + ebp]
mov dword [edx + 0xa0], ebx
mov ecx, dword [ebx + 0x1f5dc]
mov esi, dword [ecx + 4]
add esi, dword [esp + 0x1c]
mov edx, dword [ebx + 0x1df48]
mov edi, dword [edx + ebp]
add edi, 0x1c
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x1df48]
mov ecx, dword [ecx + ebp]
lea edx, [ecx + 4]
add ecx, 0x10
push edx
push ecx
mov ecx, eax
call fcn.005c1490
mov eax, dword [ebx + 0x1df48]
mov ecx, dword [eax + ebp]
call fcn.005dea30
mov ecx, dword [ebx + 0x1df48]
mov esi, dword [ecx + ebp]
lea eax, [ecx + ebp]
add esi, 0x1c
mov ecx, 0x10
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x44], edx
push ecx
lea edx, [esp + 0x50]
mov dword [esp + 0x88], eax
mov dword [esp + 0x4c], eax
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004f7ca2
fild dword [0x68d1ec]
fdivr dword [0x64fe64]
fld dword [esp + 0x30]
fmul st(1)
call fcn.0061672c
fmul dword [esp + 0x38]
mov esi, eax
call fcn.0061672c
lea ecx, [esp + 0x8c]
mov edi, eax
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004f7ca2
fild dword [0x68d1ec]
fdivr dword [0x64fe64]
fld dword [esp + 0x30]
fmul st(1)
call fcn.0061672c
cmp esi, eax
jne 0x5d3a74
fmul dword [esp + 0x38]
call fcn.0061672c
cmp edi, eax
jne 0x5d3a76
mov ecx, dword [ebx + 0x1df48]
mov edx, dword [ecx + ebp]
mov byte [edx + 0x4b9], 0
jmp 0x5d3ba9
fstp st(0)
mov eax, dword [ebx + 0x1f64c]
mov ecx, dword [ebx + 0x1f648]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov edi, dword [ebx + 0x1f64c]
mov eax, dword [ebx + 0x1df48]
inc edi
mov dword [ebx + 0x1f64c], edi
mov ecx, dword [eax + ebp]
mov byte [ecx + 0x4b9], 1
mov edx, dword [ebx + 0x1df48]
mov ecx, dword [edx + ebp]
lea eax, [edx + ebp]
mov edx, dword [ecx + 0xb4]
mov esi, dword [edx + 4]
test esi, esi
jne 0x5d3ba9
lea esi, [ecx + 0x2b8]
mov edi, 0x64f55f
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x5d3ba9
mov eax, dword [eax]
add eax, 0x2b8
push eax
lea ecx, [esp + 0xd0]
push 0x651e54
push ecx
call fcn.0061660d
lea eax, [esp + 0xd8]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3b04
sub eax, edx
mov byte [esp + eax + 0xcb], 0x54
lea eax, [esp + 0xcc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3b20
sub eax, edx
mov byte [esp + eax + 0xca], 0x43
lea eax, [esp + 0xcc]
lea esi, [eax + 1]
jmp 0x5d3b40
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5d3b40
lea edx, [esp + 0xcc]
push edx
sub eax, esi
push 0x68b638
mov byte [esp + eax + 0xd1], 0x4f
lea eax, [esp + 0x3d4]
push str._s_s
push eax
call fcn.0061660d
mov esi, dword [ebx + 0x1df48]
add esp, 0x10
lea ecx, [esp + 0x3cc]
push ecx
mov ecx, dword [0xb1a234]
add esi, ebp
call fcn.005d31e0
mov edx, dword [esi]
mov ecx, dword [edx + 0xb4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 0x1df48]
mov eax, dword [edx + ebp]
mov byte [eax + 0x4b8], 1
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x1f5dc]
mov edx, dword [ecx + 0x40]
inc eax
add esi, 0x40
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
jl 0x5d3500
pop ebp
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1f5dc]
mov esi, dword [edx + 0x40]
mov ebx, dword [esp + 0x24]
cmp esi, ebx
jge 0x5d3bfc
mov eax, dword [edi + 0x1df48]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x5d3bf7
mov edx, dword [ecx]
push 1
call dword [edx]
inc esi
cmp esi, ebx
jl 0x5d3be4
mov eax, dword [edi + 0x1f5dc]
mov ecx, dword [eax + 0x40]
mov dword [edi + 0x1df4c], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4bc]
mov dword fs:[0], ecx
add esp, 0x4c8
ret
xor edi, edi
cmp ecx, ebx
jle 0x5d3c4e
lea esp, [esp]
mov edx, dword [esi + 0x1df48]
mov ecx, dword [edx + edi*4]
cmp ecx, ebx
je 0x5d3c43
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x1df4c]
inc edi
cmp edi, eax
jl 0x5d3c30
mov ecx, dword [esp + 0x4c8]
mov dword [esi + 0x1df4c], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c8
ret