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

Disassembly:
push 0xffffffffffffffff
push 0x5d4f73
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
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.00409a00
xor edi, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], edi
call fcn.00409a00
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.005017a0
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.005017d0
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 0x594b84
cmp eax, edi
je 0x594b89
call fcn.005b1933
cmp ebp, esi
je 0x594f9e
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 0x594bc0
sub eax, edx
je 0x594c29
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x594bd2
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0xa0]
call fcn.00409790
push 1
push 0x5f422c
lea ecx, [esp + 0xa0]
call fcn.004080f0
mov esi, edi
test esi, esi
jne 0x594c09
call fcn.005b1933
cmp ebp, dword [esi + 4]
jne 0x594c13
call fcn.005b1933
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00408200
jmp 0x594c52
mov esi, edi
test esi, esi
jne 0x594c34
call fcn.005b1933
cmp ebp, dword [esi + 4]
jne 0x594c3e
call fcn.005b1933
push 0xffffffffffffffff
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esp + 0xa4]
call fcn.00407e40
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 0x594dfe
mov esi, dword [esp + 0x2c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x594c85
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00409790
push 0x5c
push 1
lea ecx, [esp + 0x68]
call fcn.00406df0
mov eax, edi
cmp ebp, dword [eax + 4]
jne 0x594cb4
call fcn.005b1933
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [esp + 0x6c]
call fcn.00408200
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 0x594ce8
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.00409790
mov ebp, dword [esp + 0x94]
cmp ebp, 0x10
mov edx, dword [esp + 0x80]
jae 0x594d1b
lea edx, [esp + 0x80]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x90]
cmp edi, esi
mov ecx, edi
jb 0x594d2e
mov ecx, esi
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x594d3d
lea eax, [esp + 0x64]
push ecx
push edx
push eax
call fcn.00415610
add esp, 0xc
test eax, eax
jne 0x594d5e
cmp edi, esi
jae 0x594d55
or eax, 0xffffffff
jmp 0x594d5c
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 0x594d86
mov eax, dword [esp + 0x80]
push eax
call fcn.00595eb8
mov edi, dword [esp + 0x78]
add esp, 4
test bl, bl
je 0x594dfa
cmp dword [esp + 0x78], esi
jb 0x594d9d
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00595eb8
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 0x594dd3
mov edx, dword [esp + 0x9c]
push edx
call fcn.00595eb8
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 4]
jne 0x594de5
call fcn.005b1933
mov ecx, dword [esi]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov ebp, ecx
jmp 0x594b77
test edi, edi
jne 0x594e05
xor eax, eax
lea edi, [eax + 0x10]
jmp 0x594e15
mov eax, dword [esp + 0x64]
mov edi, esi
cmp dword [esp + 0x78], edi
jae 0x594e15
lea eax, [esp + 0x64]
cmp dword [esp + 0xb0], edi
mov ecx, dword [esp + 0x9c]
jae 0x594e2c
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
push edx
push eax
push ecx
push ebp
call fcn.00594770
xor esi, esi
add esp, 0x10
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x594fc6
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x34]
cmp edi, eax
jne 0x594f43
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 0x594e81
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.00409790
push 0x5c
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0xc8], 5
call fcn.00406df0
mov esi, dword [esp + 0x24]
cmp esi, dword [edi + 4]
jne 0x594ec0
call fcn.005b1933
push 0xffffffffffffffff
push 0
lea ebx, [esi + 8]
push ebx
lea ecx, [esp + 0x88]
call fcn.00408200
cmp esi, dword [edi + 4]
jne 0x594ede
call fcn.005b1933
mov edi, 0x10
cmp dword [ebx + 0x18], edi
jb 0x594eed
mov eax, dword [ebx + 4]
jmp 0x594ef0
lea eax, [ebx + 4]
cmp dword [esp + 0x94], edi
mov ecx, dword [esp + 0x80]
jae 0x594f07
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.00594a80
add esp, 0x14
test eax, eax
mov dword [esp + 0x14], eax
je 0x594fe7
cmp dword [esp + 0x94], edi
jb 0x594f47
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00595eb8
add esp, 4
jmp 0x594f47
mov esi, dword [esp + 0x24]
mov edi, 0x10
cmp dword [esp + 0x78], edi
jb 0x594f5f
mov edx, dword [esp + 0x64]
push edx
call fcn.00595eb8
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 0x594dd7
mov eax, dword [esp + 0x9c]
push eax
call fcn.00595eb8
add esp, 4
jmp 0x594dd7
cmp dword [esp + 0x14], 0
je 0x59505c
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 2
mov dword [esp + 0x1c], eax
jge 0x59505c
mov ebx, dword [esp + 0x40]
jmp 0x594b60
cmp dword [esp + 0x78], edi
jb 0x594fd9
mov edx, dword [esp + 0x64]
push edx
call fcn.00595eb8
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], esi
jmp 0x59503e
cmp dword [esp + 0x94], edi
jb 0x595000
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00595eb8
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 0x595032
mov edx, dword [esp + 0x64]
push edx
call fcn.00595eb8
add esp, 4
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], 0
cmp dword [esp + 0xb0], edi
mov byte [esp + 0x64], 0
jb 0x59505c
mov eax, dword [esp + 0x9c]
push eax
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00408360
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00595eb8
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x38], 0
call fcn.00408360
mov edx, dword [esp + 0x48]
push edx
call fcn.00595eb8
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.005b1988
add esp, 0xb0
ret