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

Disassembly:
sub esp, 0x74
mov eax, dword [esp + 0x84]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x7c]
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x54], 0
push ebx
push esi
push edi
mov edi, dword [esp + 0x84]
mov esi, dword [edi + 8]
mov edx, dword [edi]
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], edx
test eax, eax
je 0x590089
xor ebx, ebx
cmp dword [eax], 0x40
cmovge eax, ebx
mov dword [esp + 0x90], eax
mov ebx, dword [ecx]
mov dword [esp + 0x14], ebx
cmp ebx, 0x40
jle 0x5900ad
push 0x40
push str.at_most__d_tables_in_a_join
push edi
call fcn.0054d2c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x74
ret
mov eax, dword [esp + 0x9c]
test al, 0x20
mov dword [esp + 0x10], eax
mov eax, 0x358
mov dword [esp + 0x38], eax
je 0x590114
mov dword [esp + 0x14], 1
mov ecx, 1
lea ebx, [ecx + ecx*2]
shl ebx, 5
push ebp
add eax, 0x50
push 0
push eax
push edx
call fcn.0054aba0
mov ebp, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x57], 0
je 0x590138
test ebp, ebp
je 0x590f43
push ebp
push eax
call fcn.0054aa60
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x74
ret
mov ecx, ebx
cmp ebx, 1
jle 0x5900d2
mov ecx, dword [esp + 0x14]
lea ebx, [ebx + ebx*2]
shl ebx, 5
mov dword [esp + 0x14], ecx
lea eax, [ebx + 0x2ff]
and eax, 0xfffffff8
mov dword [esp + 0x38], eax
jmp 0x5900d8
mov eax, dword [esp + 0x8c]
lea ecx, [ebp + 0x2f8]
mov dword [ebp + 4], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x94]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], edi
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp + 0x14], 0xffffffff
mov byte [ebp + 0x2c], al
mov eax, dword [edi + 0x38]
dec eax
mov dword [esp + 0x28], ecx
mov dword [edi + 0x38], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x14]
mov word [ebp + 0x28], ax
mov eax, dword [esp + 0xa4]
mov word [ebp + 0x2a], ax
mov dword [esp + 0x40], eax
movsx eax, word [edi + 0x9c]
mov dword [ebp + 0x24], eax
mov eax, dword [esp + 0x9c]
mov dword [ebp + 0x10], eax
lea eax, [ebx + 0x50]
push eax
movups xmmword [ebp + 0x2d], xmm0
push 0
movups xmmword [ebp + 0x3d], xmm0
mov word [ebp + 0x4d], 0
push ecx
mov byte [ebp + 0x4f], 0
call fcn.0042d620
mov ecx, dword [esp + 0x48]
lea edx, [ebp + 0x50]
mov dword [ebp + 0x1f4], 0
add ecx, ebp
mov dword [ebp + 0x1f8], 0xffffff9d
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea eax, [ecx + 0x40]
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edx + 0x20]
mov dword [ecx + 0x2c], 0
push 0x2c
push dword [esp + 0xa0]
mov dword [esp + 0x4c], edx
push edx
mov dword [edx], ebp
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x18], eax
call fcn.00595470
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x59029c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x59026b
mov al, byte [eax]
mov byte [ebp + 0x2d], al
test dword [esp + 0x14], 0x100
je 0x590283
mov eax, dword [esp + 0x10]
test byte [eax + 0x50], 0x10
jne 0x590283
mov byte [ebp + 0x2f], 1
push str.SCAN_CONSTANT_ROW
push 0
push edi
call fcn.00588db0
mov eax, dword [esp + 0x98]
add esp, 0xc
jmp 0x5902e7
mov ebx, dword [esp + 0x8c]
xor esi, esi
add ebx, 8
nop dword [eax + eax]
mov ecx, dword [ebp + 0x1f4]
mov eax, dword [ebx + 0x2c]
mov dword [ebp + ecx*4 + 0x1f8], eax
lea eax, [ebp + 0x50]
inc dword [ebp + 0x1f4]
push eax
push ebx
push edi
call fcn.005954e0
mov eax, dword [esp + 0x98]
inc esi
add esp, 0xc
add ebx, 0x48
cmp esi, dword [eax]
jl 0x5902b0
mov esi, dword [esp + 0x34]
mov ebx, dword [ebp + 0x5c]
lea ecx, [ebp + 0x50]
sub ebx, 1
js 0x590315
mov ebp, dword [esp + 0x38]
push ebx
push ebp
push eax
call fcn.004f7c40
mov eax, dword [esp + 0x98]
add esp, 0xc
sub ebx, 1
jns 0x5902f6
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x590330
cmp dword [eax + 0x3c], 0
je 0x590330
push eax
push ecx
call fcn.0058ff60
add esp, 8
cmp dword [edi + 0x24], 0
jne 0x590f2b
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x14], 0
jle 0x590414
xor edx, edx
mov ebx, edi
mov dword [esp + 0x30], edx
xor esi, esi
mov eax, dword [esp + 0x54]
mov edi, dword [eax + 0x18]
add edi, edx
test byte [edi + 0xa], 2
jne 0x5903f9
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x44], ecx
jne 0x5903f9
cmp dword [esp + 0x18], eax
je 0x5903ce
mov dword [esp + 0x80], eax
xorps xmm0, xmm0
movq qword [esp + 0x78], xmm0
mov eax, 1
mov word [esp + 0x7c], ax
movups xmmword [esp + 0x68], xmm0
mov dword [esp + 0x6c], 0x4fb150
mov dword [esp + 0x70], 0x5777f0
test ecx, ecx
je 0x5903ce
push ecx
lea eax, [esp + 0x6c]
push eax
call fcn.0058fb20
mov edx, dword [esp + 0x38]
add esp, 8
cmp word [esp + 0x7c], 0
je 0x5903f9
mov ecx, dword [esp + 0x44]
test byte [ecx + 4], 2
je 0x5903e1
mov eax, dword [esp + 0x8c]
test byte [eax + 0x2c], 0x40
jne 0x5903f9
push 0x10
push dword [ebp + 0x20]
push ecx
push ebx
call fcn.005517c0
mov edx, dword [esp + 0x40]
add esp, 0x10
or word [edi + 0xa], 4
mov eax, dword [esp + 0x54]
inc esi
add edx, 0x30
mov dword [esp + 0x30], edx
cmp esi, dword [eax + 0x14]
jl 0x590352
mov esi, dword [esp + 0x34]
mov edi, ebx
mov ebx, dword [esp + 0x14]
test ebx, 0x100
je 0x590441
mov eax, dword [esp + 0x10]
test byte [eax + 0x50], 0x10
je 0x5906ed
and ebx, 0xfeff
mov eax, 0xfeff
and word [ebp + 0x28], ax
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x98]
cmp dword [esp + 0x18], 1
mov eax, dword [esp + 0x14]
movzx ecx, ax
mov dword [esp + 0x3c], ecx
jne 0x59046b
lea eax, [esp + 0x50]
push eax
call fcn.005ab770
add esp, 4
test eax, eax
jne 0x5904cf
lea eax, [esp + 0x50]
push eax
call fcn.005a69a0
add esp, 4
test eax, eax
jne 0x590f2b
push eax
push ebp
call fcn.005aa480
mov eax, dword [esp + 0x18]
add esp, 8
cmp byte [eax + 0x57], 0
jne 0x590f2b
cmp dword [ebp + 8], 0
je 0x5904bf
mov ax, word [ebp + 0x34]
inc ax
movzx eax, ax
push eax
push ebp
call fcn.005aa480
mov eax, dword [esp + 0x18]
add esp, 8
cmp byte [eax + 0x57], 0
jne 0x590f2b
mov eax, 0x100
test word [ebp + 0x28], ax
je 0x5904cf
add word [ebp + 0x34], 0xffe2
cmp dword [ebp + 8], 0
mov ecx, dword [esp + 0x10]
jne 0x5904f3
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x5904f3
push ebp
call fcn.005ab310
mov ecx, dword [esp + 0x14]
add esp, 4
cmp dword [edi + 0x24], 0
jne 0x590f2b
mov al, byte [ebp + 0x2c]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
cmp al, 2
jb 0x59056a
test ebx, ebx
je 0x590554
mov eax, dword [esp + 0x14]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x590554
test dword [ecx + 0x50], 0x100
jne 0x590554
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
call fcn.005a95a0
mov dword [esp + 0x38], eax
add esp, 0xc
mov al, byte [ebp + 0x2c]
movzx ecx, al
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], ecx
cmp al, 2
jb 0x59056a
mov eax, dword [esp + 0x10]
test dword [eax + 0x50], 0x80000
jne 0x59056a
push ebp
call fcn.005a6360
add esp, 4
mov ecx, dword [ebp]
mov ax, word [ebp + 0x34]
add word [ecx + 0x9c], ax
xor ecx, ecx
test byte [esp + 0x14], 4
je 0x590617
mov ebx, dword [ebp + 0x348]
mov eax, dword [esp + 0x3c]
and eax, 8
mov dword [esp + 0x3c], eax
mov edx, dword [ebx + 0x2c]
test edx, 0x1000
jne 0x5905d8
mov dword [esp + 0x44], ecx
cmp cx, ax
je 0x590617
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x590617
test edx, 0x2000
je 0x5905c9
test byte [esp + 0x14], 0x10
je 0x590617
mov eax, dword [esp + 0x10]
xor ecx, ecx
test dword [eax + 0x50], 0x8000000
jne 0x590617
mov eax, edx
and eax, 0x1000
neg eax
sbb al, al
xor ecx, ecx
add al, 2
mov byte [ebp + 0x2e], al
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x590617
test dl, 0x40
je 0x590617
and edx, 0xffffffbf
mov eax, 8
mov dword [ebx + 0x2c], edx
xor edx, edx
cmp word [esp + 0x3c], cx
cmove eax, edx
movzx ecx, ax
cmp dword [esp + 0x18], 0
lea edx, [ebp + 0x2f8]
movzx eax, cx
mov ebx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], edx
jle 0x590cf9
nop dword [eax]
movzx eax, byte [ebx + 0x3c]
mov ebp, 0xffff8000
mov ecx, dword [esp + 0x8c]
lea edx, [eax*8 + 1]
add edx, eax
mov ebx, dword [ecx + edx*8 + 0x10]
lea edx, [ecx + edx*8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
je 0x590688
mov eax, dword [esp + 0x10]
xor ebp, ebp
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x590688
nop
lea eax, [eax + 0x10]
inc ebp
cmp dword [eax], ecx
jne 0x590680
test dword [ebx + 0x1c], 0x4000
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x3c], ecx
jne 0x59084d
mov al, byte [ebx + 0x2b]
cmp al, 2
je 0x59084d
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x590735
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x5906d0
mov ecx, dword [esp + 0x10]
cmp dword [eax], ecx
je 0x5906d0
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x5906c5
push 0xfffffffffffffff5
push eax
push 0
push 0
push dword [edx + 0x2c]
push 0xad
push esi
call fcn.0057ee90
add esp, 0x1c
jmp 0x590849
mov ebx, dword [esp + 0x98]
lea eax, [ebp + 0x50]
push ebx
push eax
push dword [esp + 0x94]
push edi
call fcn.0051fd70
add esp, 0x10
test eax, eax
je 0x590716
mov byte [ebp + 0x2f], 1
jmp 0x590448
cmp dword [esp + 0x94], 0
jne 0x590448
mov eax, pe_nt_image_headers32
mov dword [ebp + 8], ebx
or word [ebp + 0x28], ax
jmp 0x590448
cmp al, 1
je 0x59084d
test cl, 0x40
jne 0x590749
test byte [esp + 0x14], 0x20
je 0x590753
test byte [edx + 0x24], 0x50
je 0x590820
mov ebx, dword [esp + 0x1c]
mov ecx, 0x70
cmp byte [ebx + 0x2e], 0
je 0x59076d
mov eax, dword [edx + 0x2c]
mov ecx, 0x71
mov dword [ebx + 0x14], eax
push ecx
push dword [esp + 0x3c]
push ebp
push dword [edx + 0x2c]
push edi
call fcn.00567170
add esp, 0x14
cmp byte [ebx + 0x2e], 0
jne 0x590808
mov ebx, dword [esp + 0x38]
cmp word [ebx + 0x22], 0x40
jge 0x590808
test byte [ebx + 0x1c], 0xe0
jne 0x590808
mov eax, dword [esp + 0x3c]
test dword [eax + 0x2c], 0x404000
jne 0x590808
mov eax, dword [esp + 0x20]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x5907ce
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x5907c1
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x590801
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
cmp byte [eax + 1], 0
je 0x5907fa
push 0xfffffffffffffffd
push edi
push eax
push esi
call fcn.0059d7a0
add esp, 0x10
jmp 0x590801
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfd
mov edi, dword [esp + 0x88]
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x590849
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x590849
cmp ebp, 1
je 0x59084d
mov eax, dword [edi]
mov ecx, ebp
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x59084d
push dword [ebx]
push 0
push dword [ebx + 0x14]
push ebp
push edi
call fcn.00527720
add esp, 0x14
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x3c]
test dword [ebx + 0x2c], 0x200
je 0x590a2e
mov eax, dword [esp + 0x38]
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], 0x70
test byte [eax + 0x1c], 0x80
je 0x590897
mov eax, dword [ebx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x14]
jne 0x59089b
test al, 0x20
je 0x59089b
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x590a2e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x2e], 0
je 0x5908cf
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x40]
mov eax, dword [eax + 8]
test eax, eax
je 0x5908bf
cmp eax, ebx
je 0x5908bf
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x5908b3
mov dword [esp + 0x34], 0x71
mov dword [ecx + 0x18], edi
jmp 0x590945
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x5908ec
test al, 0x20
je 0x5908ec
mov edi, ecx
mov dword [esp + 0x34], 0x65
mov eax, ecx
jmp 0x590947
mov edi, dword [edi + 0x28]
mov ecx, dword [esp + 0x88]
lea eax, [edi + 1]
mov dword [ecx + 0x28], eax
test dword [ebx + 0x38], 0x1000
je 0x590925
mov eax, dword [esp + 0x10]
test dword [eax + 0x50], 0x1000000
jne 0x590925
push edx
push edi
push ebx
push ecx
call fcn.005a5c80
mov ecx, dword [esp + 0x98]
add esp, 0x10
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x590945
mov edx, dword [esp + 0x20]
test byte [edx + 0x24], 0x10
jne 0x590945
push edx
push edi
push 0
push eax
push ebx
push ecx
call fcn.005a9930
add esp, 0x18
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x2c]
cmp dword [esi + 0x70], ecx
jg 0x59096b
push ebp
push edx
push edi
push dword [esp + 0x40]
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x59099d
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov edi, dword [esp + 0x88]
push ebx
push edi
mov eax, dword [edi + 8]
mov dword [esp + 0x54], eax
call fcn.00564a60
mov edx, eax
add esp, 8
test edx, edx
je 0x5909f5
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x5909e3
cmp dword [eax + 0x210], 0
jne 0x5909f5
add dword [edx], 0xffffffff
jne 0x5909f5
push edx
push dword [edx + 0xc]
call fcn.0054ad00
add esp, 8
jmp 0x5909f5
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x590a2e
test eax, 0x188002
jne 0x590a2e
mov eax, dword [esp + 0x1c]
test byte [eax + 0x28], 1
jne 0x590a2e
cmp byte [eax + 0x2f], 2
je 0x590a2e
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x590a2e
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
test ebp, ebp
js 0x590a63
mov eax, dword [edi + 0x80]
mov edx, edi
test eax, eax
mov ecx, ebp
cmovne edx, eax
mov eax, 1
shl eax, cl
mov ebx, dword [edx + 0x5c]
test ebx, eax
jne 0x590a63
bts ebx, ebp
mov dword [edx + 0x5c], ebx
cmp ebp, 1
jne 0x590a63
push edx
call fcn.005674c0
add esp, 4
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test byte [eax + 0x24], 0x10
je 0x590cd5
mov eax, dword [ebp]
push 0
push 0x24
push dword [eax]
call fcn.0054aba0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x590aa5
mov ecx, dword [ebp + 0x44]
mov dword [ebx], ecx
mov dword [ebx + 8], 0x14
mov dword [ebx + 0xc], 0
mov dword [ebp + 0x44], ebx
add ebx, 0x10
mov eax, dword [esp + 0x24]
mov dword [eax + 0x38], ebx
test ebx, ebx
je 0x590cd5
mov eax, dword [edi + 0x28]
mov dword [ebx], eax
mov edx, dword [edi + 0x2c]
inc dword [edi + 0x28]
inc edx
mov dword [edi + 0x2c], edx
mov dword [ebx + 4], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x590ae3
push 0
push edx
push 0x10000
push 0x4d
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590b16
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [ebx + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x590b39
push 0
push edx
push 0
push 0x4b
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590b6c
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
test byte [eax + 0x1c], 0x80
jne 0x590c04
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx]
cmp dword [esi + 0x70], ecx
jg 0x590b96
push 0
push 1
push edx
push 0x76
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590bc5
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push 1
push dword [edi]
call fcn.00564950
mov edx, eax
add esp, 0xc
test edx, edx
je 0x590cc5
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [ecx], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x590c97
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
jmp 0x590cbc
mov edi, dword [eax + 8]
test edi, edi
je 0x590c20
nop dword [eax + eax]
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x590c20
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x590c10
mov ecx, dword [esi + 0x6c]
movzx edx, word [edi + 0x32]
mov ebx, dword [ebx]
cmp dword [esi + 0x70], ecx
jg 0x590c3f
push 0
push edx
push ebx
push 0x76
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590c6e
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x88]
push edi
mov edi, dword [esp + 0x8c]
push edi
mov ebx, dword [ebx + 8]
call fcn.00564a60
mov edx, eax
add esp, 8
test edx, edx
je 0x590cc5
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x590cb3
cmp dword [eax + 0x210], 0
jne 0x590cc5
add dword [edx], 0xffffffff
jne 0x590cc5
push edx
push dword [edx + 0xc]
call fcn.0054ad00
add esp, 8
jmp 0x590cc5
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 - 4], edx
mov byte [eax + ecx*4 - 0x13], 0xf8
mov eax, dword [esp + 0x3c]
and dword [eax + 0x2c], 0xffffffbf
mov byte [ebp + 0x2d], 0
mov byte [ebp + 0x2f], 3
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
inc eax
add ebx, 0x60
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], ebx
cmp eax, dword [esp + 0x18]
jl 0x590640
lea edx, [ebp + 0x2f8]
mov eax, dword [esi + 0x6c]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x57], 0
jne 0x590f2b
xor ecx, ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x18], ecx
jle 0x590f1b
nop dword [eax]
cmp dword [edi + 0x24], 0
jne 0x590f2b
mov eax, dword [edx + 0x50]
mov ebx, dword [esp + 0x8c]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x4c], eax
movzx eax, byte [edx + 0x3c]
lea eax, [eax + eax*8]
lea ebx, [ebx + eax*8]
mov eax, dword [ebx + 0x30]
test al, 0x10
je 0x590e75
test al, 8
je 0x590daa
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
cmp dword [esi + 0x70], ecx
jg 0x590d76
push 0
push edx
push ebx
push 0xa
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590e6d
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x590e6d
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x590dc7
push 0
push 0
push 0
push 0xf
push esi
call fcn.0051dc60
add esp, 0x14
mov edi, eax
jmp 0x590dfa
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
cmp dword [esi + 0x70], ecx
jg 0x590e19
push 0
push edx
push ebx
push 0xa
push esi
call fcn.0051dc60
add esp, 0x14
jmp 0x590e48
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x590e5a
mov eax, 0x64e020
jmp 0x590e63
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x88]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x4c]
test eax, 0x404000
je 0x590ebd
test eax, 0x4000
je 0x590e9c
push edx
push dword [esp + 0x34]
lea eax, [ebp + 0x50]
push dword [esp + 0x34]
push eax
push edi
call fcn.004f3ae0
jmp 0x590eac
push dword [esp + 0x30]
push dword [esp + 0x30]
push edx
push ecx
push ebp
call fcn.00548990
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp byte [eax + 0x57], 0
jne 0x590f2b
push dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
push ebx
push dword [esp + 0x94]
push edi
call fcn.00594590
push dword [esp + 0x40]
mov eax, dword [esi + 0x6c]
push dword [esp + 0x40]
mov dword [ebx + 0x20], eax
push ebx
push dword [esp + 0x40]
push ebp
push esi
push edi
call fcn.00591010
mov ecx, dword [esp + 0x50]
add esp, 0x2c
mov dword [esp + 0x30], edx
inc ecx
mov edx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0x18]
add edx, 0x60
mov dword [ebp + 0x1c], eax
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x18]
jl 0x590d20
mov eax, dword [esi + 0x6c]
mov dword [ebp + 0x3c], eax
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x74
ret
mov ax, word [ebp + 0x24]
push ebp
push dword [esp + 0x14]
mov word [edi + 0x9c], ax
call fcn.005a6760
add esp, 8
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x74
ret