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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x593453
sub esp, 0x108
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x24]
movzx edx, byte [ecx + 0x5d]
test dl, dl
jne 0x593399
mov ecx, dword [ecx + 0x80]
test ecx, ecx
je 0x593399
mov ecx, dword [esp + 0x110]
mov byte [ecx + 0x68], 1
mov edx, dword [ecx + 0xb0]
mov ebx, dword [ecx + 0xb4]
test ebx, ebx
jbe 0x59344c
cmp word [edx], 0x304
je 0x59333a
mov edx, dword [eax + 0x28]
test edx, edx
jne 0x5932d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x24]
nop
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
mov ebp, dword [ecx + 0x40]
mov ecx, dword [ecx + 0x3c]
test ebp, ebp
jle 0x5932b4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x24]
mov ebx, dword [edx + 0x80]
mov edx, dword [edx + 0x84]
mov ebx, dword [ebx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call ebx
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
test cl, cl
je 0x59324a
test eax, eax
je 0x59324a
mov ecx, dword [esp + 0x110]
mov ebx, dword [ecx + 0xb4]
mov ebp, dword [ecx + 0xb0]
xor edx, edx
jmp 0x592692
inc edx
cmp edx, ebx
jge 0x5931e0
movzx esi, word [ebp + edx*2]
cmp word [eax + 0xc], si
jne 0x592691
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x10c]
mov ebp, dword [ebx + 0x24]
lea esi, [esp + 0x14]
mov dword [esp + 0x80], esi
mov edx, esi
movzx esi, byte [ebp + 0x4c]
xchg esi, eax
test al, al
xchg esi, eax
je 0x592f7c
cmp word [eax + 0xc], 0x304
jne 0x592e4b
mov ebp, dword [ebx + 0x24]
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0044f1cb
nop
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x592e40
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xa4]
mov esi, esp
call fcn.0044f6ae
mov eax, dword [esp + 0x84]
lea esi, [eax + 0x54]
lea edi, [esp + 0xe0]
call fcn.0044f6ae
mov edi, esp
lea esi, [esp + 0xa4]
call fcn.0044f6ae
mov edi, dword [esp + 0x80]
lea esi, [esp + 0xe0]
call fcn.0044f6ae
call fcn.004a3820
movzx eax, byte [esp + 0x28]
test al, al
jne 0x592da0
mov eax, dword [esp + 0x84]
movzx ecx, word [eax + 0xe]
mov word [esp], cx
call fcn.00588d40
mov eax, dword [esp + 4]
test eax, eax
je 0x592d36
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x110]
mov ebx, dword [ecx + 0x2c]
mov dword [esp + 0x50], ebx
mov ebp, dword [ecx + 0x28]
mov dword [esp + 0x7c], ebp
xor edx, edx
jmp 0x5927ac
mov esi, dword [esp + 0x4c]
lea edx, [esi + 1]
mov eax, ecx
mov ecx, dword [esp + 0x110]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x7c]
cmp edx, ebx
jge 0x592d2d
mov dword [esp + 0x4c], edx
movzx eax, word [ebp + edx*2]
mov word [esp], ax
call fcn.00588d40
mov eax, dword [esp + 4]
test eax, eax
je 0x592d24
mov ecx, dword [esp + 0x70]
mov ebx, dword [ecx + 0xc]
cmp dword [eax + 0xc], ebx
jne 0x592794
mov eax, 1
test al, al
je 0x592cba
mov ebx, dword [esp + 0x10c]
mov ebx, dword [ebx + 0x24]
lea edi, [esp + 0x90]
xor eax, eax
call fcn.0044f1cb
nop
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x592caf
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0x90]
mov esi, esp
call fcn.0044f6ae
mov eax, dword [esp + 0x84]
lea esi, [eax + 0x34]
lea edi, [esp + 0xcc]
call fcn.0044f6ae
mov edi, esp
lea esi, [esp + 0x90]
call fcn.0044f6ae
mov edi, dword [esp + 0x80]
lea esi, [esp + 0xcc]
call fcn.0044f6ae
call fcn.004a57c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xf4240
mov dword [esp + 0xc], 0
call fcn.0044a350
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov ebx, dword [ecx + 8]
mov dword [esp + 0x44], ebx
mov ebp, dword [ecx + 4]
mov dword [esp + 0x40], ebp
mov esi, dword [ecx]
mov dword [esp + 0x6c], esi
add eax, dword [ecx + 0x68]
mov dword [esp + 0x3c], eax
lea edi, [0x79b3c0]
mov dword [esp], edi
call fcn.00409f80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x592c9d
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x110]
mov dword [ecx + 0xe8], 1
mov dword [ecx + 0xec], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x592c8d
mov dword [ecx + 0xe4], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0xc]
nop
test edx, edx
jbe 0x59342b
cmp edx, 0x14
jae 0x59342b
mov ebx, dword [0xb77050]
lea ebp, [0xb77050]
cmp dword [ebp + 4], edx
jbe 0x593424
movzx eax, byte [ebx + edx]
mov dword [esp + 0x50], eax
lea ecx, [0x7ac140]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
lea ecx, [0x79b2c0]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x592c7b
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x110]
mov dword [ecx + 0xf4], 1
mov dword [ecx + 0xf8], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x592c6b
mov dword [ecx + 0xf0], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0xc]
nop
test edx, edx
jbe 0x59340a
cmp edx, 0x14
jae 0x59340a
mov ebx, dword [0xb77050]
lea ebp, [0xb77050]
cmp dword [ebp + 4], edx
jbe 0x593403
mov ecx, dword [esp + 0x84]
mov ebp, dword [ecx + 0x18]
mov dword [esp + 0x50], ebp
mov esi, dword [ecx + 0x14]
mov edi, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x4c]
mov dword [esp + 0x4c], ebp
mov ebp, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x48]
movzx edx, byte [ebx + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
lea ebx, [0x816345]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
call fcn.005adfe0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.005ae510
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ebp, [0x816331]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.005ae3e0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0xc]
mov dword [esp], ebp
call fcn.004ff1c0
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x110]
mov dword [esp], edx
call fcn.0059b940
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
call fcn.005ae830
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], edx
lea ebx, [0x79b2c0]
mov dword [esp], ebx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x54]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 8], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x592c5a
mov eax, dword [esp + 0x88]
mov dword [edi], eax
mov eax, dword [esp + 0x110]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0059b9d0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x134], eax
add esp, 0x108
ret
mov eax, dword [esp + 0x88]
call fcn.0044f0d0
jmp 0x592bc7
lea edi, [ecx + 0xf0]
call fcn.0044f0d0
jmp 0x5929c6
mov edi, eax
mov eax, dword [esp + 0x78]
call fcn.0044f0d0
mov eax, edi
jmp 0x592997
lea edi, [ecx + 0xe4]
call fcn.0044f0d0
jmp 0x592913
mov edi, eax
mov eax, dword [esp + 0x6c]
call fcn.0044f0d0
mov eax, edi
jmp 0x5928e4
lea ecx, [0x835f5c]
jmp 0x59280f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov ecx, dword [esp + 0x70]
jmp 0x592794
mov ecx, eax
xor eax, eax
jmp 0x5927e3
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea ecx, [0x835f5c]
jmp 0x5926fa
mov edx, dword [ecx + 0x2c]
mov ebx, dword [ecx + 0x28]
mov ebp, dword [ecx + 0x30]
movzx esi, word [eax + 0xe]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov word [esp + 0xc], si
call fcn.00588c30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x592f12
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x110]
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x74], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x592f08
mov dword [ebp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea edi, [ebp + 0x6c]
call fcn.0044f0d0
jmp 0x592ea2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x593176
mov esi, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jbe 0x593445
mov ecx, dword [esi]
mov dword [esp + 0x68], ecx
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0044f1cb
nop
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x59316b
mov eax, dword [ecx]
mov edx, ecx
call eax
lea edi, [esp + 0xb8]
mov esi, esp
call fcn.0044f6ae
mov eax, dword [esp + 0x68]
test byte [eax], al
lea esi, [eax + 0x16c]
lea edi, [esp + 0xf4]
call fcn.0044f6ae
mov edi, esp
lea esi, [esp + 0xb8]
call fcn.0044f6ae
mov edi, dword [esp + 0x80]
lea esi, [esp + 0xf4]
call fcn.0044f6ae
call fcn.004a3820
movzx eax, byte [esp + 0x28]
test al, al
jne 0x5930cb
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x40]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0056da30
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x593061
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x10c]
jmp 0x5926d1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea ecx, [0x835f5c]
jmp 0x592fb5
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
mov eax, dword [ebx + 0x14]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10c]
jmp 0x59263a
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
lea eax, [0x79bb00]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
movzx ecx, byte [0x8abd49]
mov byte [eax], cl
mov ecx, dword [esp + 0x110]
mov dword [ecx + 0xdc], 1
mov dword [ecx + 0xe0], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x59338c
mov dword [ecx + 0xd8], eax
mov eax, dword [esp + 0x10c]
jmp 0x592601
lea edi, [ecx + 0xd8]
call fcn.0044f0d0
jmp 0x593380
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
add esp, 0x108
ret
call fcn.004287c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ac918]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004287c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ac910]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.00592590