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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x598dbc
sub esp, 0x88
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x598547
movzx ebx, byte [edx]
cmp bl, 0x10
ja 0x59826f
cmp bl, 0xd
je 0x598525
cmp bl, 0xe
jb 0x598539
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 4]
test ecx, ecx
jbe 0x598db4
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00598120
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
movzx edx, byte [ecx]
movzx ebx, word [ecx + 2]
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x5981a8
mov ecx, eax
jmp 0x598261
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x5981c6
mov ebp, ebx
and ebx, 0x20
movzx esi, word [eax + 2]
and esi, 0x20
cmp si, bx
jne 0x5981c8
mov ecx, eax
jmp 0x598261
mov ebp, ebx
mov ebx, dword [ecx + 8]
mov esi, dword [ecx + 4]
test ebx, ebx
jbe 0x598dab
cmp dword [esi], eax
je 0x598261
mov dword [esp + 0x54], eax
mov byte [esp + 0x23], dl
mov word [esp + 0x2e], bp
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
movzx ecx, word [esp + 0x2e]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x598223
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x10], ecx
jmp 0x598230
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0045e950
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x59824d
mov dword [eax + 4], edi
jmp 0x59825f
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov ecx, eax
mov dword [esp + 0x90], ecx
add esp, 0x88
ret
cmp bl, 0x11
jne 0x598520
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x5982a9
mov ebx, dword [edx + 0x2c]
test ebx, ebx
jne 0x5982a9
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 2
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ecx, dword [edx + 8]
mov ebx, dword [edx + 4]
test ecx, ecx
jbe 0x598da4
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00598120
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x2c]
cmp edx, 0xffffffff
jne 0x59849a
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x5983f3
cmp edx, 1
je 0x59834c
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
lea edi, [eax + 4]
mov ecx, dword [0x7e77b0]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x598324
mov dword [eax + 4], edx
jmp 0x59832f
mov ecx, eax
mov eax, edx
call fcn.0045e950
mov eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x84], edi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
xor ebx, ebx
jmp 0x598bb5
movzx ecx, word [ecx + 2]
movzx edx, byte [eax]
cmp dl, 2
je 0x5983e5
mov word [esp + 0x2a], cx
cmp dl, 0xf
jne 0x598375
and ecx, 0x20
movzx ebx, word [eax + 2]
and ebx, 0x20
cmp bx, cx
je 0x5983e5
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x2a]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x5983a9
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
jmp 0x5983b6
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e950
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x5983d3
mov dword [eax + 4], edi
jmp 0x5983e5
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
movzx ecx, word [ecx + 2]
movzx edx, byte [eax]
cmp dl, 2
je 0x59848c
mov word [esp + 0x2c], cx
cmp dl, 0xe
jne 0x59841c
and ecx, 0x20
movzx ebx, word [eax + 2]
and ebx, 0x20
cmp bx, cx
je 0x59848c
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0xe
movzx ecx, word [esp + 0x2c]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x598450
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
jmp 0x59845d
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e950
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x59847a
mov dword [eax + 4], edi
jmp 0x59848c
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ebx, dword [ecx + 0x28]
cmp ebx, 1
jne 0x5984b5
cmp edx, 1
jne 0x5984b5
mov dword [esp + 0x90], eax
add esp, 0x88
ret
test ebx, ebx
jg 0x5984c0
xor edx, edx
jmp 0x598875
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0x12
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
lea edi, [eax + 4]
mov ecx, dword [0x7e77b0]
lea edx, [eax + 0x10]
test ecx, ecx
jne 0x5984f8
mov dword [eax + 4], edx
jmp 0x598503
mov ecx, eax
mov eax, edx
call fcn.0045e950
mov eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x80], edi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
xor ebx, ebx
jmp 0x5987c4
cmp bl, 0x13
ja 0x598539
mov eax, dword [edx + 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov ebx, edx
xor ebp, ebp
jmp 0x59856a
mov dword [esp + 0x90], edx
add esp, 0x88
ret
mov dword [esp + 0x90], 0
add esp, 0x88
ret
mov esi, dword [esp + 0x3c]
lea ebp, [esi + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x44]
mov ebx, edi
cmp ebp, ecx
jge 0x5987a3
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + ebp*4]
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
call fcn.00598120
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x6c]
cmp ecx, edx
jne 0x5986f8
mov ebx, dword [esp + 0x58]
cmp eax, ebx
je 0x5986f8
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov dword [esp + 0x6c], edi
mov eax, dword [0x7e77b0]
test eax, eax
jne 0x5985de
mov esi, dword [esp + 0x8c]
call fcn.0045effa
jmp 0x5985fb
lea eax, [0x621a60]
mov dword [esp], eax
mov dword [esp + 4], edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.0040ff10
mov ebx, dword [esp + 0x6c]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov ebp, dword [0x7e77b0]
test ebp, ebp
jne 0x598620
mov dword [ebx + 0x14], 0
jmp 0x59862a
lea edi, [ebx + 0x14]
xor eax, eax
call fcn.0045e950
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
cmp ecx, edx
ja 0x5987b1
lea edx, [ebx + 0x10]
cmp ecx, 1
ja 0x598652
mov esi, 1
jmp 0x59868e
mov dword [esp + 0x78], ebp
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
call fcn.00447740
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
mov esi, eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], esi
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00410020
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x40]
mov dword [ecx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5986d9
mov edx, dword [esp + 0x74]
mov dword [ecx + 4], edx
jmp 0x5986e9
lea edi, [ecx + 4]
mov edx, eax
mov eax, dword [esp + 0x74]
call fcn.0045e950
mov eax, edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x6c]
cmp ecx, edx
je 0x59879c
mov ebx, dword [edx + 8]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 0xc]
mov edi, ecx
lea ecx, [ebx + 1]
cmp esi, ecx
jae 0x59876f
mov dword [esp + 0x70], edx
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x598756
mov dword [ebx + 4], eax
jmp 0x59875e
lea edi, [ebx + 4]
call fcn.0045e950
mov edx, ebx
mov edi, dword [esp + 0x8c]
mov ebx, ecx
mov ebp, eax
mov eax, dword [esp + 0x60]
lea ecx, [ebx + 1]
mov dword [edx + 8], ecx
mov ecx, dword [0x7e77b0]
lea esi, [ebp + ebx*4]
test ecx, ecx
jne 0x59878c
mov dword [ebp + ebx*4], eax
jmp 0x598559
mov ecx, edi
mov edi, esi
call fcn.0045e950
mov edi, ecx
jmp 0x598559
mov edi, ecx
jmp 0x598559
mov dword [esp + 0x90], edx
add esp, 0x88
ret
call fcn.0045ea10
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x8c]
cmp dword [ecx + 0x28], ebx
jle 0x59886f
mov dword [esp + 0x34], ebx
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
cmp ebx, esi
jae 0x59883e
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x598828
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x80]
jmp 0x598834
mov edi, dword [esp + 0x80]
call fcn.0045e950
mov edx, dword [esp + 0x50]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ebp + 1]
mov dword [eax + 8], ebx
mov ebx, dword [0x7e77b0]
lea esi, [ecx + ebp*4]
test ebx, ebx
jne 0x598859
mov dword [ecx + ebp*4], edx
jmp 0x5987b6
mov ecx, edi
mov edi, esi
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov edi, ecx
jmp 0x5987b6
mov eax, edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x2c]
cmp dword [ecx + 0x28], ebx
jge 0x598945
mov dword [esp + 0x5c], edx
movzx ebx, word [ecx + 2]
movzx ebp, byte [eax]
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x59889a
mov ebx, eax
jmp 0x59893f
mov word [esp + 0x26], bx
xchg ebp, eax
cmp al, 0x10
xchg ebp, eax
jne 0x5988bc
and ebx, 0x20
movzx esi, word [eax + 2]
and esi, 0x20
cmp si, bx
jne 0x5988bc
mov ebx, eax
jmp 0x59893f
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x26]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x5988f0
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
jmp 0x598901
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e950
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x59891e
mov dword [eax + 4], edi
jmp 0x598930
lea edx, [eax + 4]
mov ebx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.0045e950
mov eax, ebp
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [ecx + 0x28]
inc ebp
jmp 0x598989
test edx, edx
je 0x598957
mov dword [esp + 0x90], edx
add esp, 0x88
ret
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 1
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov esi, dword [esp + 0x30]
inc esi
mov edx, dword [esp + 0x5c]
mov ebx, eax
mov eax, ebp
mov ebp, esi
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x2c], ebp
jle 0x598b0a
mov dword [esp + 0x30], ebp
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov byte [eax], 0x12
lea ecx, [0x61e680]
mov dword [esp], ecx
lea edx, [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x598a05
mov ebx, dword [esp + 0x50]
mov dword [eax], ebx
mov ebp, dword [esp + 0x4c]
mov dword [eax + 4], ebp
jmp 0x598a26
mov edi, eax
mov eax, dword [esp + 0x50]
call fcn.0045e950
lea ebx, [edi + 4]
mov ebp, edi
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x4c]
call fcn.0045e950
mov eax, ebp
mov ebx, esi
add ecx, 2
mov ebp, dword [esp + 0x64]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x598a42
mov dword [ebp + 4], eax
jmp 0x598a4a
lea edi, [ebp + 4]
call fcn.0045e950
mov ecx, dword [esp + 0x8c]
movzx edx, word [ecx + 2]
movzx esi, byte [ebp]
xchg esi, eax
cmp al, 2
xchg esi, eax
jne 0x598a67
mov eax, ebx
jmp 0x59897a
mov word [esp + 0x24], dx
xchg esi, eax
cmp al, 0x10
xchg esi, eax
jne 0x598a88
and edx, 0x20
mov eax, ebx
movzx ebx, word [ebp + 2]
and ebx, 0x20
cmp bx, dx
je 0x59897a
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0x10
movzx ecx, word [esp + 0x24]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x598abc
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x10], ecx
jmp 0x598ac9
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e950
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x598ae6
mov dword [eax + 4], edi
jmp 0x598af8
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov ecx, dword [esp + 0x8c]
mov ebp, eax
mov eax, dword [esp + 0x50]
jmp 0x59897a
test edx, edx
je 0x598b99
mov ecx, dword [edx + 8]
lea ebx, [ecx + 1]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 0xc]
cmp esi, ebx
jae 0x598b72
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x598b62
mov dword [ebx + 4], eax
jmp 0x598b6a
lea edi, [ebx + 4]
call fcn.0045e950
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x4c]
lea ebx, [ecx + 1]
mov dword [edx + 8], ebx
mov ebx, dword [0x7e77b0]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x598b8f
mov dword [ebp + ecx*4], eax
jmp 0x598945
call fcn.0045e950
jmp 0x598945
mov dword [esp + 0x90], eax
add esp, 0x88
ret
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x8c]
mov ebp, dword [ecx + 0x28]
dec ebp
cmp ebx, ebp
jge 0x598c63
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0xc]
cmp ebx, esi
jae 0x598c32
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x598c1c
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x84]
jmp 0x598c28
mov edi, dword [esp + 0x84]
call fcn.0045e950
mov edx, dword [esp + 0x50]
mov ebp, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ebp + 1]
mov dword [eax + 8], ebx
mov ebx, dword [0x7e77b0]
lea esi, [ecx + ebp*4]
test ebx, ebx
jne 0x598c4d
mov dword [ecx + ebp*4], edx
jmp 0x598ba7
mov ecx, edi
mov edi, esi
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov edi, ecx
jmp 0x598ba7
movzx ecx, word [ecx + 2]
movzx ebx, byte [edx]
cmp bl, 2
je 0x598d09
mov word [esp + 0x28], cx
cmp bl, 0xf
jne 0x598c8c
and ecx, 0x20
movzx ebp, word [edx + 2]
and ebp, 0x20
cmp bp, cx
je 0x598d09
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov byte [eax], 0xf
movzx ecx, word [esp + 0x28]
mov word [eax + 2], cx
mov ecx, dword [0x7e77b0]
lea edi, [eax + 0x10]
test ecx, ecx
jne 0x598cc0
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x10], ecx
jmp 0x598ccd
mov ecx, eax
mov eax, dword [esp + 0x50]
call fcn.0045e950
mov eax, ecx
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov ecx, dword [0x7e77b0]
test ecx, ecx
jne 0x598cea
mov dword [eax + 4], edi
jmp 0x598cfc
lea ecx, [eax + 4]
mov edx, edi
mov edi, ecx
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov edi, dword [esp + 0x84]
mov edx, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 0xc]
lea esi, [ecx + 1]
cmp ebp, esi
jae 0x598d73
mov dword [esp + 0x48], edx
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00447740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0xc], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x598d5d
mov dword [ebx + 4], eax
jmp 0x598d69
mov edi, dword [esp + 0x84]
call fcn.0045e950
mov edx, dword [esp + 0x48]
mov ebp, eax
mov eax, ebx
mov ebx, ebp
lea ebp, [ecx + 1]
mov dword [eax + 8], ebp
mov ebp, dword [0x7e77b0]
lea edi, [ebx + ecx*4]
test ebp, ebp
jne 0x598d8b
mov dword [ebx + ecx*4], edx
jmp 0x598d96
mov ecx, eax
mov eax, edx
call fcn.0045e950
mov eax, ecx
mov dword [esp + 0x90], eax
add esp, 0x88
ret
xor eax, eax
call fcn.0045e9d0
xor eax, eax
mov ecx, ebx
call fcn.0045e9d0
xor eax, eax
call fcn.0045e9d0
nop
call fcn.0045d540
jmp fcn.00598120