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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x592550
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x591f30
movzx ecx, byte [eax + 0x4c]
test cl, cl
je 0x5924fe
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
xor ebx, ebx
xor ebp, ebp
jmp 0x591f41
inc ebx
lea ebp, [ebp + esi + 1]
cmp ebx, ecx
jge 0x591fa9
lea esi, [edx + ebx*8]
mov esi, dword [esi + 4]
test esi, esi
je 0x591f57
cmp esi, 0xff
jle 0x591f3c
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0xbc7270]
test eax, eax
jne 0x591f9c
lea eax, [0x7e7da9]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8f8790]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x7e7da9]
call fcn.0044cc20
jmp 0x591f82
cmp ebp, 0xffff
jg 0x5924ac
movzx ecx, word [eax + 0x8a]
test cx, cx
jne 0x591fc6
mov ecx, 0x303
mov word [esp + 0x20], cx
lea eax, [0x7720a0]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00438c00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x6c]
mov ebp, dword [ebx + 0x40]
mov esi, dword [ebx + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.00596990
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x90]
mov esi, dword [edx + 0x8c]
test ebp, ebp
jne 0x592053
mov ebx, dword [0xbae458]
mov ebp, dword [0xbae454]
mov esi, dword [0xbae450]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], esi
mov eax, dword [edx + 0x34]
mov dword [esp + 0x40], eax
lea ecx, [0x7c8180]
mov dword [esp], ecx
call fcn.00409dc0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
movzx ecx, word [esp + 0x20]
mov word [eax + 0xc], cx
lea ecx, [0x7614c0]
mov dword [esp], ecx
call fcn.00409dc0
mov eax, dword [esp + 4]
movzx ecx, byte [0x8f61fc]
mov byte [eax], cl
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59249f
mov dword [ecx + 0x34], eax
mov edx, dword [esp + 0x3c]
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x18], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59248e
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0x10], edx
mov word [ecx + 0x4c], 0x101
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x48], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59247d
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x44], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x58], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59246c
mov eax, dword [esp + 0x64]
mov dword [ecx + 0x50], eax
lea eax, [0x7614c0]
mov dword [esp], eax
call fcn.00409dc0
mov eax, dword [esp + 4]
movzx ecx, byte [0x8f61fd]
mov byte [eax], cl
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x60], 1
mov dword [ecx + 0x64], 1
mov edx, dword [0xbc7270]
test edx, edx
jne 0x59245f
mov dword [ecx + 0x5c], eax
mov edx, dword [esp + 0x40]
test edx, edx
setg dl
mov byte [ecx + 0x40], dl
mov byte [ecx + 0x90], 1
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x34]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x98], ebp
mov dword [ecx + 0x9c], ebx
mov ebx, dword [0xbc7270]
test ebx, ebx
jne 0x59244f
mov dword [ecx + 0x94], eax
mov dword [esp], edx
call fcn.0058be70
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
lea edx, [0x771fe0]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00438c00
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edx
mov eax, dword [0xbc7270]
lea edi, [ebx + 0x28]
test eax, eax
jne 0x592443
mov dword [ebx + 0x28], ecx
mov dword [esp + 0x60], edi
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x30]
xor edx, edx
jmp 0x59227c
inc eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x38]
cmp eax, esi
jge 0x592265
mov ecx, dword [edi + eax*4]
movzx edx, word [ecx]
cmp dx, bp
jne 0x592211
movzx edx, word [ebx + 0xc]
cmp dx, 0x303
jae 0x59224b
mov ecx, dword [ecx + 0x14]
test ecx, 4
jne 0x592211
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
mov edx, dword [ebx + 0x28]
mov esi, dword [ebx + 0x30]
cmp ecx, esi
jg 0x5922ab
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov word [edx + eax*2], bp
mov ebp, dword [esp + 0x3c]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
mov eax, ebp
mov ecx, esi
mov edi, dword [esp + 0x60]
cmp edx, ecx
jge 0x592307
mov dword [esp + 0x3c], edx
movzx ebp, word [eax + edx*2]
mov esi, dword [0xbae434]
mov edi, dword [0xbae430]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
jmp 0x592222
mov word [esp + 0x22], bp
lea ebx, [0x771fe0]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00438d80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x54]
mov dword [ebx + 0x30], edx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x5922fc
mov dword [ebx + 0x28], eax
movzx ebp, word [esp + 0x22]
mov edx, eax
mov eax, ecx
jmp 0x59225b
mov edi, dword [esp + 0x60]
call fcn.0044cc20
jmp 0x5922ee
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
je 0x592432
mov edx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebx + 0x18]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00452e00
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x59239e
mov ecx, dword [esp + 0x54]
movzx edx, word [ecx + 0xc]
cmp dx, 0x303
jb 0x59237c
mov eax, dword [0xbae490]
mov edx, dword [0xbae494]
mov ebx, dword [0xbae498]
mov dword [ecx + 0x7c], edx
mov dword [ecx + 0x80], ebx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x592394
mov dword [ecx + 0x78], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x68
ret
lea edi, [ecx + 0x78]
call fcn.0044cc20
jmp 0x59237c
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7e6b3f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bf20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
lea edx, [0x787c00]
mov dword [esp], edx
call fcn.00409dc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [0xbc7270]
test eax, eax
jne 0x592427
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8f8790]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
mov eax, dword [esp + 0x4c]
call fcn.0044cc20
jmp 0x59240d
mov ecx, dword [0xbb4b64]
mov eax, dword [0xbb4b60]
jmp 0x592318
mov eax, ecx
call fcn.0044cc20
jmp 0x592201
lea edi, [ecx + 0x94]
call fcn.0044cc20
jmp 0x5921a9
lea edi, [ecx + 0x5c]
call fcn.0044cc20
jmp 0x592169
lea edi, [ecx + 0x50]
mov eax, dword [esp + 0x64]
call fcn.0044cc20
jmp 0x59212b
lea edi, [ecx + 0x44]
mov eax, dword [esp + 0x58]
call fcn.0044cc20
jmp 0x592108
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x5c]
call fcn.0044cc20
jmp 0x5920e6
lea edi, [ecx + 0x34]
call fcn.0044cc20
jmp 0x5920c3
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0xbc7270]
test eax, eax
jne 0x5924f1
lea eax, [0x7e96cf]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8f8790]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x7e96cf]
call fcn.0044cc20
jmp 0x5924d7
lea eax, [0x787c00]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x50
mov eax, dword [0xbc7270]
test eax, eax
jne 0x592543
lea eax, [0x7f482d]
mov dword [edi], eax
mov dword [esp + 0x70], 0
lea eax, [0x8f8790]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edi
add esp, 0x68
ret
lea eax, [0x7f482d]
call fcn.0044cc20
jmp 0x592529
call fcn.0044b4c0
jmp fcn.00591f00