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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x706034]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
push edi
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x2b], 0
mov dword [esp + 0x2c], eax
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
test edi, edi
je 0x4f5a23
xor ecx, ecx
cmp dword [edi], 0x40
cmovge edi, ecx
mov dword [esp + 0x48], edi
mov al, byte [eax + 0x4c]
mov ecx, dword [ebp + 0x14]
and al, 0x10
mov byte [esp + 0x47], al
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x68], edi
cmp byte [esp + 0x47], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x4f5a82
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.0047ce20
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
imul eax, ecx, 0x58
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x50], eax
add eax, 0x48
push eax
call fcn.00479cd0
mov ecx, dword [esp + 0x34]
add esp, 8
mov esi, eax
mov dword [esp + 0x20], esi
cmp byte [ecx + 0x51], 0
je 0x4f5b4a
test esi, esi
je 0x4f5e1c
cmp dword [ecx + 0x1e8], 0
je 0x4f5af7
mov edx, esi
call fcn.00479900
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
cmp esi, dword [ecx + 0x138]
jb 0x4f5b2b
cmp esi, dword [ecx + 0x13c]
jae 0x4f5b2b
mov eax, dword [ecx + 0x134]
mov dword [esi], eax
xor eax, eax
mov dword [ecx + 0x134], esi
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
push esi
call fcn.00479890
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esi], ecx
mov dword [esi + 8], edi
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov byte [esi + 0x2e], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x1c]
mov word [esi + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [esi + 0x14], ax
mov eax, dword [ecx + 0x84]
lea ecx, [esi + 0x2f0]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
add eax, 0x48
mov dword [esp + 0x54], ecx
push eax
movups xmmword [esi + 0x2f], xmm0
push 0
movups xmmword [esi + 0x3f], xmm0
push ecx
mov byte [esi + 0x4f], 0
call fcn.0063af90
mov ecx, dword [esp + 0x58]
lea eax, [esi + 0x50]
add ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x70], eax
lea edx, [esi + 0x1e8]
add esp, 0xc
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x3c], edx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
lea ecx, [esi + 0x50]
mov dword [edx + 4], 0
lea eax, [ecx + 0x18]
mov edx, dword [esp + 0x14]
push 0x2c
mov dword [esp + 0x64], esi
mov dword [ecx], esi
mov byte [ecx + 9], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
call fcn.004efa00
add esp, 4
cmp dword [esp + 0x34], 0
jne 0x4f5c7d
test edi, edi
je 0x4f5c56
mov al, byte [edi]
mov byte [esi + 0x2f], al
test dword [esp + 0x1c], 0x100
je 0x4f5c64
mov byte [esi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x18]
call fcn.0049b910
mov eax, dword [esp + 0x18]
add esp, 0xc
jmp 0x4f5cc3
mov edi, dword [esp + 0xc]
xor esi, esi
add edi, 8
nop word [eax + eax]
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x2c]
push dword [esp + 0x30]
mov ecx, dword [edx + 4]
mov dword [edx + ecx*4 + 8], eax
inc dword [edx + 4]
mov edx, edi
mov ecx, dword [esp + 0x14]
call fcn.004efd20
mov eax, dword [esp + 0x10]
inc esi
add esp, 4
add edi, 0x48
cmp esi, dword [eax]
jl 0x4f5c90
mov esi, dword [esp + 0x20]
mov edi, dword [esi + 0x5c]
lea ecx, [esi + 0x50]
sub edi, 1
js 0x4f5cf0
mov esi, dword [esp + 0x30]
push edi
mov edx, esi
mov ecx, eax
call fcn.004eedb0
mov eax, dword [esp + 0x10]
add esp, 4
sub edi, 1
jns 0x4f5cd2
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x51], 0
jne 0x4f5e04
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x14], 0
jle 0x4f5d71
mov edi, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov esi, dword [edi + 0x64]
add esi, ecx
test byte [esi + 0xa], 2
jne 0x4f5d56
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4f5d56
cmp dword [esp + 0x34], eax
je 0x4f5d3a
mov ecx, dword [esi]
call fcn.004f5940
test eax, eax
je 0x4f5d52
push 0x10
push dword [edi + 0x24]
push dword [esi]
push dword [esp + 0x1c]
call fcn.004b8540
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
add ecx, 0x30
inc esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
cmp esi, dword [edi + 0x5c]
jl 0x4f5d16
mov ecx, dword [esp + 0x30]
mov esi, edi
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
and eax, 0x100
mov dword [esp + 0x58], eax
je 0x4f5db3
mov edx, dword [esp + 0xc]
push edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004f0520
add esp, 8
test eax, eax
je 0x4f5da0
mov byte [esi + 0x33], 1
jmp 0x4f5db3
cmp dword [esp + 0x48], 0
jne 0x4f5db3
mov eax, 0x80
mov dword [esi + 8], edi
or word [esi + 0x2c], ax
cmp dword [esp + 0x34], 1
jne 0x4f5dc7
lea ecx, [esp + 0x60]
call fcn.004f5750
test eax, eax
jne 0x4f5e32
lea ecx, [esp + 0x60]
call fcn.004f40f0
test eax, eax
jne 0x4f5e04
xor edx, edx
mov ecx, esi
call fcn.004f4df0
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x51], 0
jne 0x4f5e04
cmp dword [esi + 8], 0
je 0x4f5e3c
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.004f4df0
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + 0x51], 0
je 0x4f5e36
mov ecx, dword [esp + 0x10]
mov edx, esi
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x84], eax
mov ecx, dword [esp + 0x2c]
call fcn.004f1900
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 8], 0
jne 0x4f5e57
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4f5e57
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4f5e04
cmp byte [ecx + 0x51], 0
jne 0x4f5e04
cmp byte [esi + 0x2e], 2
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
jb 0x4f6027
test edi, edi
je 0x4f6027
mov eax, 0x100
test word [ecx + 0x4c], ax
jne 0x4f6027
mov edx, edi
lea ecx, [esi + 0x1e8]
call fcn.004efc90
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
test edx, edx
je 0x4f5ec8
lea ecx, [esi + 0x1e8]
call fcn.004efc90
or dword [esp + 0x24], eax
or dword [esp + 0x18], edx
movzx edi, byte [esi + 0x2e]
dec edi
mov dword [esp + 0x48], edi
cmp edi, 1
jl 0x4f6027
imul eax, edi, 0x58
add eax, 0x348
add eax, esi
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov edx, dword [eax - 0x10]
mov dword [esp + 0x50], edx
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*8]
add eax, 8
mov dword [esp + 0x5c], eax
test byte [eax + 0x24], 8
je 0x4f600e
cmp word [esp + 0x58], 0
jne 0x4f5f2a
test dword [edx + 0x24], 0x1000
je 0x4f600e
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [edx + 0xc]
and ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, edx
and eax, dword [esp + 0x18]
or ecx, eax
mov dword [esp + 0x4c], edx
jne 0x4f600e
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx + 0x14]
mov esi, eax
mov ecx, dword [ecx + 0xc]
lea edi, [ecx + ecx*2]
shl edi, 4
add edi, eax
cmp esi, edi
jae 0x4f5f9c
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and edx, dword [esp + 0x3c]
and ecx, dword [esp + 0x4c]
or edx, ecx
je 0x4f5f8b
mov ecx, dword [esi]
test byte [ecx + 4], 1
je 0x4f5f94
mov edx, dword [esp + 0x5c]
movsx ecx, word [ecx + 0x24]
cmp ecx, dword [edx + 0x2c]
jne 0x4f5f94
add esi, 0x30
cmp esi, edi
jb 0x4f5f64
jmp 0x4f5f98
cmp esi, edi
jb 0x4f6006
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
not edx
and dword [esp + 0x30], edx
not ecx
and dword [esp + 0x38], ecx
cmp eax, edi
jae 0x4f5fd0
mov esi, dword [esp + 0x50]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x2c]
and edx, dword [esi + 8]
and ecx, dword [esi + 0xc]
or edx, ecx
je 0x4f5fc9
or word [eax + 0xa], 4
add eax, 0x30
cmp eax, edi
jb 0x4f5fb4
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
movzx ecx, byte [esi + 0x2e]
lea eax, [ecx - 1]
cmp edi, eax
je 0x4f5ffd
sub ecx, edi
imul eax, ecx, 0x58
sub eax, 0x58
push eax
mov eax, dword [esp + 0x18]
push eax
add eax, 0xffffffa8
push eax
call fcn.0063aa10
add esp, 0xc
dec byte [esi + 0x2e]
dec dword [esp + 0x34]
jmp 0x4f600e
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
dec edi
sub eax, 0x58
mov dword [esp + 0x48], edi
mov dword [esp + 0x14], eax
cmp edi, 1
jge 0x4f5ef0
mov ecx, dword [esi]
movsx eax, word [esi + 0x48]
add dword [ecx + 0x84], eax
test byte [esp + 0x1c], 4
je 0x4f60a3
mov eax, dword [esi + 0x338]
mov ecx, dword [eax + 0x24]
mov edx, ecx
shr edx, 0xc
and edx, 1
jne 0x4f606f
test byte [esp + 0x1c], 8
je 0x4f60a3
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], edx
jne 0x4f60a3
test ecx, 0x2000
je 0x4f606f
test byte [esp + 0x1c], 0x10
je 0x4f60a3
test edx, edx
mov edx, dword [esp + 0xc]
sete al
inc al
mov byte [esi + 0x31], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4f60a7
test cl, 0x40
je 0x4f60a7
mov eax, dword [esi + 0x338]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
mov al, byte [esp + 0x1c]
and al, 8
mov byte [esp + 0x2b], al
jmp 0x4f60a7
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x4f6319
mov eax, dword [esp + 0x54]
add eax, 0x48
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea eax, [eax + eax*8]
lea edx, [edx + eax*8]
add edx, 8
mov dword [esp + 0x24], edx
mov esi, dword [edx + 0x10]
mov dword [esp + 0x54], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4f60fe
mov eax, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4f60fe
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4f60f6
test byte [esi + 0x24], 2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
jne 0x4f627e
cmp dword [esi + 0xc], 0
jne 0x4f627e
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4f615c
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4f613c
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
je 0x4f613c
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4f6131
mov ecx, dword [esp + 0x40]
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [edx + 0x2c]
mov edx, 0xa3
call fcn.0049b890
add esp, 0x14
jmp 0x4f627a
cmp dword [esi + 0x38], 0
jne 0x4f627e
test al, 0x40
jne 0x4f6265
test byte [esp + 0x1c], 0x20
jne 0x4f6265
mov ecx, dword [esp + 0x20]
mov edx, 0x61
cmp byte [ecx + 0x31], 0
je 0x4f6197
mov eax, dword [esp + 0x24]
mov edx, 0x62
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push edx
push esi
mov edx, dword [eax + 0x2c]
push edi
call fcn.004cdb70
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x4f6255
cmp word [esi + 0x2a], 0x40
jge 0x4f6255
test byte [esi + 0x24], 0x20
jne 0x4f6255
mov eax, dword [esp + 0x24]
xor esi, esi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x4f61ef
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4f61e2
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4f6219
push esi
mov edx, 0xfffffffd
call fcn.0049c0f0
movzx edx, byte [esp + 0x2f]
add esp, 4
mov ecx, dword [esp + 0x40]
call fcn.0049bf20
jmp 0x4f627a
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4f624e
mov ecx, dword [esp + 0x40]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0049c280
movzx edx, byte [esp + 0x33]
add esp, 8
mov ecx, dword [esp + 0x40]
call fcn.0049bf20
jmp 0x4f627a
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
movzx edx, byte [esp + 0x2b]
mov ecx, dword [esp + 0x40]
call fcn.0049bf20
jmp 0x4f627a
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.004be8b0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
test dword [edx + 0x24], 0x200
je 0x4f62c3
mov eax, dword [esp + 0x54]
mov esi, dword [edx + 0x20]
mov dword [esp + 0x50], 0x61
test byte [eax + 0x24], 0x20
je 0x4f640f
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x1c]
jne 0x4f6413
test al, 0x20
je 0x4f6413
mov eax, dword [ecx - 0x44]
mov dword [ecx - 0x40], eax
mov esi, dword [esp + 0x10]
test edi, edi
js 0x4f62f7
mov eax, dword [esi + 0x74]
mov edx, esi
test eax, eax
mov ecx, edi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x54]
test esi, eax
jne 0x4f62f7
bts esi, edi
mov dword [edx + 0x54], esi
cmp edi, 1
jne 0x4f62f7
mov ecx, edx
call fcn.004c5310
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
add eax, 0x58
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
jne 0x4f60c2
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x51], 0
jne 0x4f5e04
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x4f63f9
lea edi, [esi + 0x324]
nop word [eax + eax]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x4f6396
mov ecx, dword [esp + 0xc]
lea eax, [edi - 0x34]
push eax
movzx eax, byte [edi]
lea edx, [esi + 0x50]
push dword [esp + 0x34]
push dword [esp + 0x40]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004f07b0
mov eax, dword [esp + 0x3c]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x4f5e04
push dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea esi, [edi - 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004ea090
push dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, ecx
push dword [esp + 0x44]
push esi
mov eax, dword [ecx + 0x6c]
push dword [esp + 0x28]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push esi
mov dword [edi - 0x14], eax
call fcn.004eb6a0
mov ecx, dword [edi - 0x1c]
add esp, 0x1c
mov dword [esi + 0x20], ecx
add edi, 0x58
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x34]
jl 0x4f6350
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x18]
cmp byte [edx + 0x31], 0
je 0x4f6446
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f643c
nop
cmp eax, esi
je 0x4f643c
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4f6430
mov eax, 0x62
mov dword [edx + 0x1c], ecx
jmp 0x4f6466
test ecx, ecx
je 0x4f6455
test al, 0x20
je 0x4f6455
mov eax, 0x60
jmp 0x4f6466
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x28]
lea eax, [ecx + 1]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
push edi
mov dword [edx - 0x40], ecx
mov edx, eax
push dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0049b420
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0049c430
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x4f62c7
test eax, 0x88002
jne 0x4f62c7
mov eax, dword [esp + 0x20]
test byte [eax + 0x2c], 1
jne 0x4f62c7
cmp byte [eax + 0x33], 2
je 0x4f62c7
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4f62c7
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4f62c7