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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x59201b
sub esp, 0x94
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x24]
mov edx, dword [ecx + 0x40]
test edx, edx
jne 0x59134d
movzx edx, byte [ecx + 0x4c]
test dl, dl
je 0x591f98
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
xor ebp, ebp
xor esi, esi
jmp 0x59135e
inc ebp
lea esi, [esi + edi + 1]
cmp ebp, edx
jge 0x5913ed
lea edi, [ebx + ebp*8]
mov edi, dword [edi + 4]
test edi, edi
je 0x591378
cmp edi, 0xff
jle 0x591359
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0xb91180]
test eax, eax
jne 0x5913e0
lea eax, [0x821240]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea eax, [0x821240]
call fcn.0044f0d0
jmp 0x5913a4
cmp esi, 0xffff
jle 0x59146a
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x20
mov eax, dword [0xb91180]
test eax, eax
jne 0x59145d
lea eax, [0x823084]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea eax, [0x823084]
call fcn.0044f0d0
jmp 0x591421
mov dword [esp + 0x78], ecx
mov dword [esp], ecx
mov byte [esp + 4], 1
call fcn.005897c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x591f23
mov dword [esp + 0x40], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], edx
movzx ebx, word [ecx]
cmp bx, 0x303
jbe 0x5914aa
mov ebx, 0x303
mov word [esp + 0x2a], bx
lea eax, [0x7ac140]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
lea ecx, [0x7ac140]
mov dword [esp], ecx
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ebx, dword [ecx + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00597770
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
nop
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x94]
mov ebp, dword [edx + 0x90]
mov esi, dword [edx + 0x8c]
test ebp, ebp
jne 0x591557
mov ebx, dword [0xb770d8]
mov ebp, dword [0xb770d4]
mov esi, dword [0xb770d0]
mov dword [esp + 0x84], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov eax, dword [edx + 0x34]
mov dword [esp + 0x50], eax
lea ecx, [0x8072e0]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
movzx ecx, word [esp + 0x2a]
mov word [eax + 0xc], cx
lea ecx, [0x79bb00]
mov dword [esp], ecx
call fcn.00409f80
mov eax, dword [esp + 4]
movzx ecx, byte [0x8abd47]
mov byte [eax], cl
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x591f16
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x14], 0x20
mov dword [ecx + 0x18], 0x20
mov edx, dword [0xb91180]
test edx, edx
jne 0x591f02
mov edx, dword [esp + 0x90]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x20], 0x20
mov dword [ecx + 0x24], 0x20
mov edx, dword [0xb91180]
test edx, edx
jne 0x591eee
mov edx, dword [esp + 0x8c]
mov dword [ecx + 0x1c], edx
mov byte [ecx + 0x4c], 1
mov byte [ecx + 0xac], 1
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x48], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x591eda
mov edx, dword [esp + 0x88]
mov dword [ecx + 0x44], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x54], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x58], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x591ec6
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x50], eax
lea eax, [0x79bb00]
mov dword [esp], eax
call fcn.00409f80
mov eax, dword [esp + 4]
movzx ecx, byte [0x8abd48]
mov byte [eax], cl
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x60], 1
mov dword [ecx + 0x64], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x591eb9
mov dword [ecx + 0x5c], eax
mov edx, dword [esp + 0x50]
test edx, edx
setg dl
mov byte [ecx + 0x40], dl
mov byte [ecx + 0x90], 1
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x38]
mov ebp, dword [edx + 0x34]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0xa4], ebp
mov dword [ecx + 0xa8], ebx
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x591ea9
mov dword [ecx + 0xa0], eax
mov ebx, dword [esp + 0x40]
mov dword [ecx + 0xb4], ebx
mov ebx, dword [esp + 0x44]
mov dword [ecx + 0xb8], ebx
mov ebx, dword [0xb91180]
test ebx, ebx
jne 0x591e95
mov ebx, dword [esp + 0x6c]
mov dword [ecx + 0xb0], ebx
mov ebx, dword [esp + 0x98]
mov ebp, dword [ebx + 0x28]
test ebp, ebp
jle 0x59174c
mov dword [ecx + 0x98], 0xc
mov dword [ecx + 0x9c], 0xc
mov ebp, dword [0xb91180]
lea eax, [ebx + 0x89]
test ebp, ebp
jne 0x591e85
mov dword [ecx + 0x94], eax
nop
mov eax, dword [edx + 0x54]
mov ebx, dword [edx + 0x50]
test ebx, ebx
je 0x591e5b
mov dword [esp + 0x48], eax
mov dword [esp + 0x88], ebx
lea ecx, [0x7ac080]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0043a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], 0
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x30], edx
mov ebx, dword [0xb91180]
lea edi, [ecx + 0x28]
test ebx, ebx
jne 0x591e51
mov dword [ecx + 0x28], eax
mov dword [esp + 0x80], edi
mov eax, dword [esp + 0x88]
xor ebx, ebx
jmp 0x591820
inc eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x88]
mov eax, dword [esp + 0x54]
cmp eax, esi
jge 0x591809
mov edx, dword [edi + eax*4]
cmp word [edx], bp
jne 0x5917bc
cmp word [ecx + 0xc], 0x303
jae 0x5917ef
mov edx, dword [edx + 0x14]
test edx, 4
jne 0x5917bc
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x30]
cmp edx, edi
ja 0x591848
lea edx, [eax + 1]
mov dword [ecx + 0x2c], edx
mov word [esi + eax*2], bp
inc ebx
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x48]
mov eax, ebp
mov edx, esi
mov edi, dword [esp + 0x80]
cmp ebx, edx
jge 0x5918b3
movzx ebp, word [eax + ebx*2]
mov esi, dword [0xb770a4]
mov edi, dword [0xb770a0]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
jmp 0x5917cc
mov dword [esp + 0x54], ebx
mov word [esp + 0x26], bp
lea ecx, [0x7ac080]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.0043a950
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x30], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x5918a5
mov dword [ebx + 0x28], eax
mov ebx, dword [esp + 0x54]
movzx ebp, word [esp + 0x26]
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x74]
jmp 0x5917ff
mov edi, dword [esp + 0x80]
call fcn.0044f0d0
jmp 0x59188f
nop
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
test ebx, ebx
je 0x591e40
nop
mov eax, dword [ecx + 0x14]
mov ebp, dword [ecx + 0x10]
mov esi, dword [ecx + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
call fcn.0048a020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x591d89
nop
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
test edx, edx
je 0x591d78
nop
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x20]
mov esi, dword [eax + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call fcn.0048a020
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x591cc1
mov ecx, dword [esp + 0x74]
cmp word [ecx + 0xc], 0x303
jb 0x59197f
mov edx, dword [0xb77148]
mov ebx, dword [0xb77144]
mov eax, dword [0xb77140]
mov dword [ecx + 0x7c], ebx
mov dword [ecx + 0x80], edx
mov edx, dword [0xb91180]
test edx, edx
jne 0x591cb4
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0xb4]
mov edx, dword [ecx + 0xb0]
test eax, eax
jbe 0x592014
cmp word [edx], 0x304
je 0x5919d0
xor eax, eax
xor edx, edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x94
ret
nop
lea eax, [0xb91000]
mov dword [esp], eax
lea eax, [0x835628]
mov dword [esp + 4], eax
call fcn.00463c00
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x2c]
mov edx, dword [0xb7dc0c]
lea ebx, [edx + ecx]
mov dword [esp + 0x54], ebx
mov ebp, dword [eax + 0x30]
mov esi, dword [eax + 0x28]
mov edi, dword [0xb7dc08]
cmp ebx, ebp
ja 0x591c71
mov dword [esp + 0x50], ebp
mov dword [esp + 0x88], esi
lea eax, [esi + ecx*2]
mov dword [esp], eax
mov dword [esp + 4], edi
shl edx, 1
mov dword [esp + 8], edx
call fcn.0044f8d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x30], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x591c59
mov eax, dword [esp + 0x88]
mov dword [ecx + 0x28], eax
nop
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x90]
mov ebx, dword [eax + 0x8c]
test edx, edx
jne 0x591a7c
mov edx, dword [0xb770d4]
mov ebx, dword [0xb770d0]
test edx, edx
jbe 0x59200d
movzx eax, word [ebx]
mov word [esp + 0x28], ax
mov word [esp], ax
call fcn.005aed50
movzx eax, byte [esp + 0xc]
movzx ecx, word [esp + 0x28]
cmp cx, 0x1d
je 0x591aad
test al, al
je 0x591be4
nop
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test edx, edx
je 0x591bd3
mov dword [esp], edx
mov dword [esp + 4], eax
mov word [esp + 8], cx
call fcn.005aeaf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x591b9d
mov dword [esp + 0x70], edx
mov dword [esp + 0x4c], ebx
mov eax, dword [ebx + 0x14]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x7c], edx
lea ebx, [0x79b380]
mov dword [esp], ebx
call fcn.00409f80
mov eax, dword [esp + 4]
movzx ecx, word [esp + 0x28]
mov word [eax], cx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x591b8b
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0xcc], 1
mov dword [ecx + 0xd0], 1
mov edx, dword [0xb91180]
test edx, edx
jne 0x591b7e
mov dword [ecx + 0xc8], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
jmp 0x59199e
lea edi, [ecx + 0xc8]
call fcn.0044f0d0
jmp 0x591b71
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x7c]
call fcn.0044f0d0
mov eax, ecx
jmp 0x591b49
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x94
ret
mov edx, dword [0xb7d440]
mov eax, dword [0xb7d444]
jmp 0x591abf
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x30
mov eax, dword [0xb91180]
test eax, eax
jne 0x591c4c
lea eax, [0x82aed9]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea eax, [0x82aed9]
call fcn.0044f0d0
jmp 0x591c10
mov edi, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
call fcn.0044f0d0
jmp 0x591a5b
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], edi
lea eax, [0x7ac080]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043a950
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
jmp 0x591a11
lea edi, [ecx + 0x78]
call fcn.0044f0d0
jmp 0x59197f
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, [0x81fd49]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043dbd0
nop
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x38]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x591d6d
mov eax, dword [esp + 0x68]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x68]
call fcn.0044f0d0
jmp 0x591d31
mov ecx, dword [0xb7d444]
mov edx, dword [0xb7d440]
jmp 0x59190d
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, [0x81fd49]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043dbd0
nop
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
lea edx, [0x7c34e0]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x591e35
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
mov eax, dword [esp + 0x64]
call fcn.0044f0d0
jmp 0x591df9
mov edx, dword [0xb7d444]
mov ebx, dword [0xb7d440]
jmp 0x5918c5
call fcn.0044f0d0
jmp 0x5917aa
nop
lea eax, [0xb91000]
mov dword [esp], eax
lea ecx, [0x835628]
mov dword [esp + 4], ecx
call fcn.00463c00
mov eax, dword [0xb7dbfc]
mov ebx, dword [0xb7dbf8]
jmp 0x59175b
lea edi, [ecx + 0x94]
call fcn.0044f0d0
jmp 0x59174c
lea edi, [ecx + 0xb0]
mov eax, dword [esp + 0x6c]
call fcn.0044f0d0
jmp 0x591710
lea edi, [ecx + 0xa0]
call fcn.0044f0d0
jmp 0x5916e4
lea edi, [ecx + 0x5c]
call fcn.0044f0d0
jmp 0x5916a4
lea edi, [ecx + 0x50]
mov eax, dword [esp + 0x84]
call fcn.0044f0d0
jmp 0x591666
lea edi, [ecx + 0x44]
mov eax, dword [esp + 0x88]
call fcn.0044f0d0
jmp 0x591640
lea edi, [ecx + 0x1c]
mov eax, dword [esp + 0x8c]
call fcn.0044f0d0
jmp 0x591616
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x90]
call fcn.0044f0d0
jmp 0x5915f0
lea edi, [ecx + 0x34]
call fcn.0044f0d0
jmp 0x5915ca
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x3c
mov eax, dword [0xb91180]
test eax, eax
jne 0x591f8b
lea eax, [0x82e4b7]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea eax, [0x82e4b7]
call fcn.0044f0d0
jmp 0x591f4f
nop
lea eax, [0x7c34e0]
mov dword [esp], eax
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x50
mov eax, dword [0xb91180]
test eax, eax
jne 0x592000
lea eax, [0x830447]
mov dword [edi], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x8b3870]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
add esp, 0x94
ret
lea eax, [0x830447]
call fcn.0044f0d0
jmp 0x591fc4
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.00591310