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

Disassembly:
push 0xffffffffffffffff
push 0x7cdbc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov edx, ecx
push ebx
mov ecx, dword [esp + 0x1a4]
push ebp
push esi
push edi
test ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x19c], 0
jl 0x5e9a90
mov eax, dword [edx + 0x54]
test eax, eax
mov dword [esp + 0x68], eax
jg 0x5e917e
lea ebx, [edx + 0x20]
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], ebx
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x5e902b
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], al
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00401b40
test al, al
je 0x5e8faf
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00405070
mov eax, dword [esp + 0x18]
xor ebp, ebp
mov dword [esp + 0x1a8], ebp
mov ebx, dword [eax - 0xc]
cmp ebx, ebp
je 0x5e9011
mov eax, dword [ebx + 0x74]
cmp eax, ebp
mov dword [esp + 0x20], eax
jle 0x5e9011
push ebp
mov ecx, ebx
call fcn.005e85e0
mov esi, eax
test esi, esi
je 0x5e9008
mov eax, dword [esi + 0x74]
xor edi, edi
test eax, eax
jle 0x5e9008
push edi
mov ecx, esi
call fcn.005e85e0
test eax, eax
je 0x5e9000
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esi + 0x74]
inc edi
cmp edi, eax
jl 0x5e8fe5
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x5e8fce
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0
je 0x5e90bb
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x44]
push ebp
call fcn.00401b40
test al, al
je 0x5e908b
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov eax, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.00405070
mov ecx, dword [ebx]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1ac], 1
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5e914e
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x5c]
push ebp
call fcn.00401b40
test al, al
je 0x5e911d
mov edi, dword [esp + 0x5c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00405070
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x1ac], 2
mov eax, dword [ecx]
call dword [eax + 0x9c]
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x5e915c
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x38], 0
add ebx, 4
dec eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
jne 0x5e8f4d
jmp 0x5e9a90
lea ecx, [ecx + ecx*2]
cmp ecx, eax
mov dword [esp + 0x3c], ecx
jge 0x5e9a90
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], 3
lea ebx, [ecx + 0x20]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx - 0xc]
test eax, eax
je 0x5e9286
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x5c]
push ebp
call fcn.00401b40
test al, al
je 0x5e9206
mov edi, dword [esp + 0x5c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00405070
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1a8], 3
mov ebx, dword [ecx - 0xc]
test ebx, ebx
je 0x5e926c
mov eax, dword [ebx + 0x74]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x20], eax
jle 0x5e926c
push ebp
mov ecx, ebx
call fcn.005e85e0
mov esi, eax
test esi, esi
je 0x5e9263
mov eax, dword [esi + 0x74]
xor edi, edi
test eax, eax
jle 0x5e9263
push edi
mov ecx, esi
call fcn.005e85e0
test eax, eax
je 0x5e925b
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [esi + 0x74]
inc edi
cmp edi, eax
jl 0x5e9240
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x5e9229
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov ebx, dword [esp + 0x14]
cmp dword [ebx], 0
je 0x5e9316
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00401b40
test al, al
je 0x5e92e6
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00405070
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1ac], 4
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x5e93a9
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x44]
push ebp
call fcn.00401b40
test al, al
je 0x5e9378
mov edi, dword [esp + 0x44]
mov ecx, ebp
mov edx, ecx
mov esi, 0x870c08
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
call fcn.00405070
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x1ac], 5
mov eax, dword [ecx]
call dword [eax + 0x9c]
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x5e93b7
mov eax, dword [ecx]
push 0
call dword [eax + 0x44]
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x38], 0
add ebx, 4
dec eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], eax
jne 0x5e91a4
mov ecx, dword [esp + 0x18]
xor esi, esi
mov eax, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov eax, dword [eax]
mov dword [esp + 0x34], eax
jle 0x5e9408
mov edi, dword [esp + 0x18]
mov ebx, ecx
cmp eax, dword [edi + 0x4c]
je 0x5e9408
lea ecx, [esp + 0x34]
call fcn.005e6370
mov eax, dword [esp + 0x34]
inc esi
cmp esi, ebx
jl 0x5e93f1
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x20], 0
xor ebp, ebp
jmp 0x5e941c
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
cmp eax, dword [edx + 0x4c]
je 0x5e9868
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x10]
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov byte [esp + 0x28], al
call fcn.00404e60
cmp esi, ebp
mov dword [esp + 0x1a8], 6
jne 0x5e9477
cmp edi, ebp
jne 0x5e9477
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404e60
jmp 0x5e984a
mov ecx, dword [edi + 0x14]
push ecx
mov ecx, dword [0x9ea1d8]
call fcn.005f64b0
dec eax
je 0x5e94a7
dec eax
je 0x5e949b
dec eax
jne 0x5e94b9
lea edx, [esp + 0x24]
push edx
push 0x1cff
jmp 0x5e94b1
lea eax, [esp + 0x24]
push eax
push 0x1d00
jmp 0x5e94b1
lea ecx, [esp + 0x24]
push ecx
push 0x1cfe
call fcn.00709cc0
add esp, 8
cmp dword [ebx - 0xc], ebp
je 0x5e959c
lea edx, [esp + 0x24]
lea eax, [esi + 0xc]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.0040b600
add esp, 0xc
mov dword [esp + 0x54], eax
mov eax, dword [ebx - 0xc]
mov byte [esp + 0x1a8], 7
cmp eax, ebp
mov dword [esp + 0x3c], eax
je 0x5e957d
mov eax, dword [eax + 0x74]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x70], eax
jle 0x5e957d
test ebp, ebp
jl 0x5e956c
mov edx, dword [esp + 0x3c]
cmp ebp, dword [edx + 0x74]
jae 0x5e956c
lea eax, [esp + 0x38]
mov ecx, edx
push eax
add ecx, 0x6c
call fcn.00647030
test ebp, ebp
jle 0x5e9535
mov esi, ebp
lea edx, [esp + 0x50]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00624730
dec esi
jne 0x5e9522
mov eax, dword [esp + 0x38]
mov edi, dword [eax + 8]
test edi, edi
je 0x5e956c
mov eax, dword [edi + 0x74]
xor esi, esi
test eax, eax
jle 0x5e956c
push esi
mov ecx, edi
call fcn.005e85e0
test eax, eax
je 0x5e9564
mov ecx, dword [esp + 0x54]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x9c]
mov eax, dword [edi + 0x74]
inc esi
cmp esi, eax
jl 0x5e9549
mov eax, dword [esp + 0x70]
inc ebp
cmp ebp, eax
jl 0x5e9500
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1ac], 6
call fcn.00404e60
mov ecx, dword [ebx - 0xc]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
xor ebp, ebp
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x5e95b7
mov eax, dword [ecx]
add esi, 0x1c
push esi
call dword [eax + 0x9c]
mov ecx, dword [ebx]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
cmp dword [ebx + 0xc], ebp
je 0x5e97ed
lea eax, [esp + 0x168]
lea ecx, [esp + 0x168]
mov dword [esp + 0x110], 0x7eb36c
mov dword [esp + 0x118], 0x7eb364
mov dword [esp + 0x1c], eax
call fcn.005acf30
mov edi, dword [esp + 0x19c]
mov byte [esp + 0x1a8], 8
or edi, 1
mov dword [esp + 0x168], 0x7f36d8
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x19c], edi
lea ecx, [esp + 0x11c]
push 0
push ecx
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b0], 9
call fcn.005ad970
push 3
lea ecx, [esp + 0x120]
mov dword [esp + 0x1ac], 0xa
call fcn.005ada80
mov edx, dword [esp + 0x110]
mov byte [esp + 0x1a8], 0xb
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x110], 0x7eb360
mov ebp, dword [esp + 0x14]
mov esi, dword [0x9ea1b4]
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cl, byte [ebp + 5]
lea eax, [esp + 0x6c]
mov edi, ecx
push edx
push eax
lea ecx, [esi + 0x14]
mov byte [esp + 0x1b0], 0xc
mov dword [esp + 0x24], edi
call fcn.005f3540
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5e976d
add eax, 0x10
test eax, eax
je 0x5e976d
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], 0
fild dword [ebp + 8]
mov dword [esp + 0x40], ecx
fild qword [esp + 0x40]
fxch st(1)
fdiv st(1)
fmul dword [0x7e680c]
call fcn.007a2dec
lea ecx, [esp + 0x110]
push 0x82ff70
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x11c]
push eax
push 0x82ff68
and ecx, edx
push edi
push 0x82ff64
push ecx
fstp st(0)
call fcn.005adf80
add esp, 8
mov ecx, eax
call fcn.005ac7d0
push eax
call fcn.005adf80
add esp, 8
mov ecx, eax
call fcn.005ac7d0
push eax
call fcn.005adf80
add esp, 8
lea eax, [esp + 0x74]
lea ecx, [esp + 0x110]
push eax
call fcn.005ad0f0
mov ecx, dword [ebx + 0xc]
push eax
mov byte [esp + 0x1ac], 0xd
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 0xc
call fcn.00404e60
mov ecx, dword [ebx + 0xc]
push 1
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [esp + 0x110]
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x110], 0x7eb360
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a8], 0xe
call fcn.005ad1b0
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a8], 6
call fcn.005ad140
lea ecx, [esp + 0x168]
mov dword [esp + 0x168], 0x7f36d8
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x168]
mov byte [esp + 0x1a8], 6
call fcn.007a0819
mov edi, dword [esp + 0x14]
xor ebp, ebp
cmp dword [ebx + 0x1c], ebp
je 0x5e980e
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x38], eax
mov ecx, dword [0x9ea1d8]
push eax
call fcn.005f64b0
mov ecx, dword [ebx + 0x1c]
push 1
mov edx, dword [ecx]
call dword [edx + 0x44]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1a8], 0xffffffff
cmp eax, ebp
je 0x5e983e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5e9835
cmp al, 0xff
je 0x5e9835
dec al
mov byte [ecx], al
jmp 0x5e983e
push ecx
call fcn.007a02e0
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x34]
inc esi
add ebx, 4
mov dword [esp + 0x20], esi
call fcn.005e6370
cmp esi, 3
jl 0x5e9418
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1b0]
lea eax, [esp + 0xdc]
lea ecx, [esp + 0xdc]
mov dword [edi + 0x64], esi
mov dword [esp + 0x84], 0x7eb36c
mov dword [esp + 0x8c], 0x7eb364
mov dword [esp + 0x50], eax
call fcn.005acf30
mov ebp, dword [esp + 0x19c]
mov dword [esp + 0x1a8], 0x11
or ebp, 2
mov dword [esp + 0xdc], 0x7f36d8
mov dword [esp + 0x1a8], 0xffffffff
mov dword [esp + 0x19c], ebp
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b0], 0x12
call fcn.005ad970
push 3
lea ecx, [esp + 0x94]
mov dword [esp + 0x1ac], 0x13
call fcn.005ada80
mov edx, dword [esp + 0x84]
mov byte [esp + 0x1a8], 0x14
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x84], 0x7eb360
mov ecx, dword [esp + 0x68]
mov ebp, 3
mov eax, ecx
mov ebx, 0x15
cdq
idiv ebp
mov dword [esp + 0x1a8], ebx
mov eax, 0x55555556
test edx, edx
je 0x5e995c
imul ecx
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx + 1]
jmp 0x5e9965
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
inc esi
push 0x82ff60
push esi
lea ecx, [esp + 0x98]
call fcn.005ac7d0
push eax
call fcn.005adf80
add esp, 8
mov ecx, eax
call fcn.005ac7d0
mov eax, dword [edi + 0x38]
test eax, eax
je 0x5e99e1
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x88]
call fcn.005ad0f0
mov ecx, dword [edi + 0x38]
push eax
mov byte [esp + 0x1ac], 0x16
mov edx, dword [ecx]
call dword [edx + 0x9c]
mov eax, dword [esp + 0x78]
mov byte [esp + 0x1a8], bl
test eax, eax
je 0x5e99e1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5e99d8
cmp al, 0xff
je 0x5e99d8
dec al
mov byte [ecx], al
jmp 0x5e99e1
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x84]
or esi, 0xffffffff
lea eax, [esp + 0xdc]
mov dword [esp + 0x1a8], esi
mov edx, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov dword [esp + edx + 0x84], 0x7eb360
mov ebx, 0x17
lea eax, [esp + 0x90]
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x90], 0x7eb32c
lea ecx, [esp + 0x90]
mov byte [esp + 0x1a8], 0x19
call fcn.005addf0
lea ecx, [esp + 0x90]
mov byte [esp + 0x1a8], bl
call fcn.005acc60
lea ecx, [esp + 0x90]
mov dword [esp + 0x1a8], esi
call fcn.005ad140
lea ecx, [esp + 0xdc]
mov dword [esp + 0xdc], 0x7f36d8
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xdc]
mov dword [esp + 0x1a8], esi
call fcn.007a0819
mov ecx, dword [esp + 0x1a0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x19c
ret 4