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

Disassembly:
push 0xffffffffffffffff
push 0x5d3f53
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x50], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], edx
call fcn.00409b20
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], edi
call fcn.00409b20
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x44]
push eax
push esi
mov byte [esp + 0xc8], 1
call fcn.00500780
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.005007b0
lea edx, [esp + 0x54]
lea eax, [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + ecx*4 + 0x54]
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov ebp, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebp
mov esi, dword [edi + 4]
mov eax, edi
test eax, eax
je 0x593b64
cmp eax, edi
je 0x593b69
call fcn.005b0913
cmp ebp, esi
je 0x593f7e
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], 0
mov byte [esp + 0x9c], 0
mov eax, ebx
mov byte [esp + 0xc0], 2
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x593ba0
sub eax, edx
je 0x593c09
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x593bb2
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0xa0]
call fcn.004098b0
push 1
push 0x5f322c
lea ecx, [esp + 0xa0]
call fcn.00408360
mov esi, edi
test esi, esi
jne 0x593be9
call fcn.005b0913
cmp ebp, dword [esi + 4]
jne 0x593bf3
call fcn.005b0913
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00408470
jmp 0x593c32
mov esi, edi
test esi, esi
jne 0x593c14
call fcn.005b0913
cmp ebp, dword [esi + 4]
jne 0x593c1e
call fcn.005b0913
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.004080b0
mov ebx, 0xf
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
lea edx, [esp + 0x44]
cmp edi, edx
mov byte [esp + 0xc0], 3
jne 0x593dde
mov esi, dword [esp + 0x2c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x593c65
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.004098b0
push 0x5c
push 1
lea ecx, [esp + 0x68]
call fcn.00407090
mov eax, edi
cmp ebp, dword [eax + 4]
jne 0x593c94
call fcn.005b0913
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [esp + 0x6c]
call fcn.00408470
mov esi, dword [esp + 0x30]
mov eax, esi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x593cc8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.004098b0
mov ebp, dword [esp + 0x94]
cmp ebp, 0x10
mov edx, dword [esp + 0x80]
jae 0x593cfb
lea edx, [esp + 0x80]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x90]
cmp edi, esi
mov ecx, edi
jb 0x593d0e
mov ecx, esi
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x593d1d
lea eax, [esp + 0x64]
push ecx
push edx
push eax
call fcn.00414c50
add esp, 0xc
test eax, eax
jne 0x593d3e
cmp edi, esi
jae 0x593d35
or eax, 0xffffffff
jmp 0x593d3c
xor eax, eax
cmp edi, esi
setne al
test eax, eax
mov esi, 0x10
sete bl
cmp ebp, esi
mov byte [esp + 0xc0], 3
jb 0x593d66
mov eax, dword [esp + 0x80]
push eax
call fcn.00594e98
mov edi, dword [esp + 0x78]
add esp, 4
test bl, bl
je 0x593dda
cmp dword [esp + 0x78], esi
jb 0x593d7d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0xc0], 1
jb 0x593db3
mov edx, dword [esp + 0x9c]
push edx
call fcn.00594e98
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 4]
jne 0x593dc5
call fcn.005b0913
mov ecx, dword [esi]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ebp, ecx
jmp 0x593b57
test edi, edi
jne 0x593de5
xor eax, eax
lea edi, [eax + 0x10]
jmp 0x593df5
mov eax, dword [esp + 0x64]
mov edi, esi
cmp dword [esp + 0x78], edi
jae 0x593df5
lea eax, [esp + 0x64]
cmp dword [esp + 0xb0], edi
mov ecx, dword [esp + 0x9c]
jae 0x593e0c
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
push edx
push eax
push ecx
push ebp
call fcn.00593750
xor esi, esi
add esp, 0x10
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x593fa6
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x34]
cmp edi, eax
jne 0x593f23
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x94], 0xf
mov byte [esp + 0x80], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x593e61
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.004098b0
push 0x5c
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.00407090
mov esi, dword [esp + 0x24]
cmp esi, dword [edi + 4]
jne 0x593ea0
call fcn.005b0913
push 0xffffffffffffffff
push 0
lea ebx, [esi + 8]
push ebx
lea ecx, [esp + 0x88]
call fcn.00408470
cmp esi, dword [edi + 4]
jne 0x593ebe
call fcn.005b0913
mov edi, 0x10
cmp dword [ebx + 0x18], edi
jb 0x593ecd
mov eax, dword [ebx + 4]
jmp 0x593ed0
lea eax, [ebx + 4]
cmp dword [esp + 0x94], edi
mov ecx, dword [esp + 0x80]
jae 0x593ee7
lea ecx, [esp + 0x80]
mov edx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
push ebp
call fcn.00593a60
add esp, 0x14
test eax, eax
mov dword [esp + 0x14], eax
je 0x593fc7
cmp dword [esp + 0x94], edi
jb 0x593f27
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00594e98
add esp, 4
jmp 0x593f27
mov esi, dword [esp + 0x24]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x593f3f
mov edx, dword [esp + 0x64]
push edx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xb0], edi
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
mov byte [esp + 0xc0], 1
jb 0x593db7
mov eax, dword [esp + 0x9c]
push eax
call fcn.00594e98
add esp, 4
jmp 0x593db7
cmp dword [esp + 0x14], 0
je 0x59403c
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 2
mov dword [esp + 0x1c], eax
jge 0x59403c
mov ebx, dword [esp + 0x40]
jmp 0x593b40
cmp dword [esp + 0x78], edi
jb 0x593fb9
mov edx, dword [esp + 0x64]
push edx
call fcn.00594e98
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], esi
jmp 0x59401e
cmp dword [esp + 0x94], edi
jb 0x593fe0
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00594e98
add esp, 4
cmp dword [esp + 0x78], edi
mov esi, 0xf
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
jb 0x594012
mov edx, dword [esp + 0x64]
push edx
call fcn.00594e98
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0
cmp dword [esp + 0xb0], edi
mov byte [esp + 0x64], 0
jb 0x59403c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x34]
call fcn.004085d0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00594e98
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0
call fcn.004085d0
mov edx, dword [esp + 0x48]
push edx
call fcn.00594e98
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005b0968
add esp, 0xb0
ret