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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x592002
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x3c], ebp
mov esi, dword [eax + 0x48]
mov ecx, dword [ecx + 0x14]
mov dword [esp], esi
call ecx
lea eax, [0x630a20]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0xb8]
mov ebx, dword [edx + 0x44]
mov ebp, dword [edx + 0x48]
mov ebx, dword [ebx + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.0059bfb0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
movzx edx, word [ecx + 0x80]
test dx, dx
jne 0x591739
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x591739
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x39
lea ecx, [0x675135]
mov dword [eax], ecx
lea ecx, [0x6cf624]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov ebx, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
test ebx, ebx
je 0x591778
mov esi, dword [eax + 0x10]
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xc0], ecx
mov ecx, dword [0x84f450]
test ecx, ecx
jne 0x591767
mov dword [esi + 0xb8], ebx
jmp 0x591778
lea edi, [esi + 0xb8]
mov ecx, eax
mov eax, ebx
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [eax + 0xc]
movzx ebx, word [ecx + 0x54]
test bx, bx
jne 0x5917a0
movzx ecx, word [ecx + 0x80]
test cx, cx
je 0x5917ed
mov edx, dword [eax + 0x10]
mov ebx, dword [edx + 0x4c]
mov edx, dword [edx + 0x50]
xor ebp, ebp
jmp 0x591d78
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x32
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2b
lea ecx, [0x672047]
mov dword [eax], ecx
lea ecx, [0x6cf624]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov edi, dword [eax + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [0x84f450]
test ecx, ecx
jne 0x591810
mov dword [edi], 0
jmp 0x59181b
mov ecx, eax
xor eax, eax
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov ebx, dword [ecx + 0xe4]
test ebx, ebx
je 0x591842
mov ebx, dword [eax + 0x1c]
movzx ebx, word [ebx + 0xe]
mov ebp, dword [0x822458]
mov esi, dword [0x82245c]
xor edx, edx
jmp 0x591a38
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00594d20
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x48]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00594d20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00587f50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x591a20
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
test eax, eax
jne 0x591a0b
lea ecx, [0x63e3e0]
cmp ebp, ecx
je 0x5918ec
mov ebx, 0
jne 0x591961
mov ecx, dword [0x84f450]
test ecx, ecx
jne 0x591904
mov eax, dword [esp + 0xb8]
mov dword [eax + 0xc], ebx
jmp 0x591917
mov ecx, dword [esp + 0xb8]
lea edi, [ecx + 0xc]
mov eax, ebx
call fcn.0045f3a0
mov eax, ecx
mov dword [esp], eax
call fcn.00591190
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
je 0x591944
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
add esp, 0xb4
ret
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00587370
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
lea eax, [0x63e3e0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
lea eax, [0x67637b]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x68]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b25f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
add esp, 0xb4
ret
inc edx
mov ecx, edi
cmp edx, esi
jge 0x591a49
mov edi, ecx
mov ecx, dword [ebp + edx*4]
cmp word [ecx], bx
jne 0x591a35
jmp 0x591a4d
mov edi, ecx
xor ecx, ecx
test ecx, ecx
je 0x591d40
mov ebx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
cmp dword [ebx + 0xc], ecx
jne 0x591cbf
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x28]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x591a78
lea ebx, [0x67cd74]
mov eax, dword [ebx]
mov edx, ebx
call eax
lea edi, [esp + 0xa0]
lea esi, [esp]
call fcn.0045fb1e
lea edi, [esp + 0x78]
lea esi, [esp + 0xa0]
call fcn.0045fb1e
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x1c]
test byte [ecx], al
lea esi, [ecx + 0x34]
lea edi, [esp + 0x8c]
call fcn.0045fb1e
lea edi, [esp]
lea esi, [esp + 0x78]
call fcn.0045fb1e
lea edi, [esp + 0x14]
lea esi, [esp + 0x8c]
call fcn.0045fb1e
call fcn.004a1ed0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.00459e60
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x1c]
mov ebp, dword [esp + 0x10]
mov esi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe0]
add ebp, dword [ebx + 0x80]
test esi, esi
jbe 0x591d6e
mov dword [ecx + 0xc], ebp
mov ecx, dword [eax + 0x40]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
call fcn.00479b60
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x34], edx
lea ebx, [0x630a20]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
mov word [eax], 0xfe
mov byte [eax + 2], 0
mov ecx, dword [esp + 0x38]
mov byte [eax + 3], cl
mov edx, dword [esp + 0x34]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.0059bfb0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00599fe0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
call fcn.005a8fb0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea ebx, [0x62ffe0]
mov dword [esp], ebx
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [0x84f450]
test eax, eax
jne 0x591c84
mov eax, dword [esp + 0x60]
mov dword [edi], eax
jmp 0x591c8d
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.0059a070
mov eax, dword [esp + 0xb8]
jmp 0x591842
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe8], 0
mov ecx, dword [0x84f450]
test ecx, ecx
jne 0x591ce9
mov dword [edi + 0xe0], 0
jmp 0x591cfa
add edi, 0xe0
mov ecx, eax
xor eax, eax
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0xf0], 0
mov dword [ecx + 0xf4], 0
mov edx, dword [0x84f450]
test edx, edx
jne 0x591d2a
mov dword [ecx + 0xec], 0
jmp 0x591842
lea edi, [ecx + 0xec]
mov ecx, eax
xor eax, eax
call fcn.0045f3a0
mov eax, ecx
jmp 0x591842
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xb4
ret
xor eax, eax
mov ecx, esi
call fcn.0045f420
inc ebp
cmp ebp, edx
jge 0x591fb5
lea esi, [ebx + ebp*2]
cmp word [esi], cx
jne 0x591d77
mov word [esp + 0x32], cx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
movzx eax, word [esp + 0x32]
cmp word [esp + 4], ax
je 0x591f68
mov word [esp], ax
call fcn.005a9730
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x32]
cmp cx, 0x1d
je 0x591e15
test al, al
jne 0x591e15
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x30
lea ecx, [0x6735b9]
mov dword [eax], ecx
lea ecx, [0x6cf624]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x28]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
test ebx, ebx
jne 0x591e31
mov ebx, dword [0x827ca0]
mov edx, dword [0x827ca4]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov word [esp + 8], cx
call fcn.005a93d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x591f32
mov ecx, dword [esp + 0xb8]
mov dword [ecx + 0x14], ebx
mov edx, dword [0x84f450]
test edx, edx
jne 0x591e7b
mov dword [ecx + 0x18], ebp
jmp 0x591e85
lea edi, [ecx + 0x18]
mov eax, ebp
call fcn.0045f3a0
mov eax, dword [esi + 0x14]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], edx
lea ebx, [0x6300a0]
mov dword [esp], ebx
call fcn.0040b470
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x32]
mov word [eax], cx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x84f450]
test ecx, ecx
jne 0x591ee0
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
jmp 0x591ef0
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.0045f3a0
mov eax, ecx
mov ecx, dword [esp + 0xb8]
mov ebx, dword [ecx + 0x10]
mov dword [ebx + 0xc8], 1
mov dword [ebx + 0xcc], 1
mov ebp, dword [0x84f450]
test ebp, ebp
jne 0x591f20
mov dword [ebx + 0xc4], eax
jmp 0x591f2b
lea edi, [ebx + 0xc4]
call fcn.0045f3a0
mov eax, ecx
jmp 0x5917ed
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 0x64]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x3b
lea ecx, [0x67537f]
mov dword [eax], ecx
lea ecx, [0x6cf624]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x26
lea ecx, [0x67095f]
mov dword [eax], ecx
lea ecx, [0x6cf624]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xb4
ret
call fcn.0045df90
jmp fcn.005915b0