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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0x18], edx
movlpd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test esi, esi
je 0x4f0448
xor ecx, ecx
cmp dword [esi], 0x40
cmovge esi, ecx
mov dword [ebp + 0xc], esi
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 + 0x6c], esi
cmp byte [esp + 0x47], 0
movzx edx, ax
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
cmp ecx, 0x40
jle 0x4f0499
push 0x40
push str.at_most__d_tables_in_a_join
push edi
call fcn.00480fb0
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, 0x20
mov eax, 1
push 0
cmovne ecx, eax
mov dword [esp + 0x34], ecx
lea edi, [ecx + ecx*4]
mov ecx, dword [esp + 0x24]
shl edi, 4
lea eax, [edi + 0x2f7]
and eax, 0xfffffff8
mov dword [esp + 0x40], eax
add eax, 0x48
push eax
call fcn.0047ddb0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x51], 0
je 0x4f04ed
mov edx, ecx
mov ecx, eax
call fcn.0047dad0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], esi
mov esi, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x1c], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov byte [ecx + 0x2e], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x28]
mov word [ecx + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [ecx + 0x14], ax
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x28], eax
lea eax, [edi + 0x48]
movups xmmword [ecx + 0x2f], xmm0
push eax
movups xmmword [ecx + 0x3f], xmm0
mov byte [ecx + 0x4f], 0
add ecx, 0x2f0
push 0
push ecx
mov dword [esp + 0x60], ecx
call fcn.00574370
mov edi, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x3c]
lea edx, [edi + 0x1e8]
add ecx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x70], ecx
lea eax, [edi + 0x50]
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], eax
lea eax, [ecx + 0x38]
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
mov eax, 3
mov word [ecx + 0x2c], ax
mov dword [ecx + 0x24], 0
lea ecx, [edi + 0x50]
mov dword [edx + 4], 0
lea eax, [ecx + 0x18]
push 0x2c
mov edx, esi
mov dword [ecx], edi
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.004eae00
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x4f0622
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4f05fc
mov al, byte [eax]
mov byte [edi + 0x2f], al
test dword [esp + 0x28], 0x100
je 0x4f060a
mov byte [edi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x18]
call fcn.0049d120
add esp, 0xc
jmp 0x4f07b2
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add edi, 0x18
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
nop dword [eax]
mov ecx, dword [edx + 4]
mov eax, dword [edi + 0x1c]
mov dword [edx + ecx*4 + 8], eax
inc dword [edx + 4]
test byte [edi + 0x18], 4
je 0x4f0796
mov ecx, dword [edi + 0x30]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4f0796
xor esi, esi
mov dword [esp + 0x38], esi
cmp dword [ecx], esi
jle 0x4f0796
add ecx, 4
mov edi, esi
mov dword [esp + 0x34], ecx
movsx edx, word [eax + 0x2a]
cmp esi, edx
jge 0x4f077a
mov eax, dword [eax + 4]
mov ecx, esi
shl ecx, 4
add eax, 0xf
add eax, ecx
nop dword [eax]
test byte [eax], 2
jne 0x4f06ad
inc esi
add eax, 0x10
cmp esi, edx
jl 0x4f06a0
mov eax, dword [esp + 0x2c]
cmp esi, edx
jge 0x4f077a
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0047ddb0
mov edi, eax
add esp, 8
test edi, edi
je 0x4f078e
push 0x34
push 0
push edi
call fcn.00574370
mov edx, dword [esp + 0x40]
or eax, 0xffffffff
mov word [edi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [edi], 0xa2
mov dword [edi + 0x18], 1
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov word [edi + 0x20], si
inc esi
mov dword [edi + 0x2c], eax
mov edx, dword [edx]
test edx, edx
je 0x4f0727
mov eax, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [eax]
call fcn.004b2380
add esp, 8
jmp 0x4f0729
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, 0xa6
push 0
push eax
call fcn.004b1c90
mov ecx, dword [esp + 0x18]
mov edx, 0x35
push eax
push edi
call fcn.004b1c90
mov ecx, dword [esp + 0x58]
mov edx, eax
push 1
call fcn.004e8f60
mov eax, dword [esp + 0x50]
add esp, 0x14
mov edi, dword [esp + 0x38]
add dword [esp + 0x34], 0x18
inc edi
mov dword [esp + 0x38], edi
cmp edi, dword [eax]
mov eax, dword [esp + 0x2c]
jl 0x4f0683
jmp 0x4f078e
push edi
push dword [eax]
push str.too_many_arguments_on__s_____max__d
push dword [esp + 0x1c]
call fcn.00480fb0
add esp, 0x10
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add edi, 0x48
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
cmp eax, dword [ecx]
jl 0x4f0640
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x4f07d8
nop
mov edx, ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004ea100
mov ecx, dword [esp + 0x4c]
add esp, 4
sub esi, 1
jns 0x4f07c0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x51], 0
jne 0x4f0946
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x24], 0
jle 0x4f08a7
xor edi, edi
nop word [eax + eax]
mov esi, dword [ecx + 0x14]
add esi, edi
test byte [esi + 0xa], 2
jne 0x4f0892
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4f0892
cmp dword [esp + 0x30], eax
je 0x4f0872
mov edx, dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x98], eax
mov byte [esp + 0x94], 1
mov dword [esp + 0x84], 0x4f03d0
mov dword [esp + 0x88], 0x4b33c0
test edx, edx
je 0x4f0872
lea ecx, [esp + 0x80]
call fcn.004ae8d0
cmp byte [esp + 0x94], 0
je 0x4f088e
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x1c]
call fcn.004b7920
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
add edi, 0x30
inc esi
mov dword [esp + 0x24], esi
cmp esi, dword [ecx + 0xc]
jl 0x4f0800
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
and eax, 0x100
mov dword [esp + 0x58], eax
je 0x4f08f1
push dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004eb6a0
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4f08da
mov byte [esi + 0x33], 1
jmp 0x4f08f5
cmp dword [ebp + 0xc], 0
jne 0x4f08f5
mov eax, 0x80
or word [esi + 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
jmp 0x4f08f5
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x30], 1
jne 0x4f0909
lea ecx, [esp + 0x64]
call fcn.004f0210
test eax, eax
jne 0x4f096a
lea ecx, [esp + 0x64]
call fcn.004eee00
test eax, eax
jne 0x4f0946
xor edx, edx
mov ecx, esi
call fcn.004ef910
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
jne 0x4f0946
cmp dword [esi + 8], 0
je 0x4f0974
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.004ef910
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
je 0x4f096e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x84], eax
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.004ec820
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
cmp dword [esi + 8], 0
jne 0x4f098f
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4f098f
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
cmp dword [edi + 0x24], 0
jne 0x4f0946
cmp byte [ecx + 0x51], 0
jne 0x4f0946
cmp byte [esi + 0x2e], 2
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
jb 0x4f0b79
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4f0b79
mov edx, 0x100
test word [ecx + 0x4c], dx
jne 0x4f0b79
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004eb0c0
mov esi, edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x6c]
mov edi, eax
mov dword [esp + 0x2c], edi
test edx, edx
je 0x4f0a03
mov ecx, dword [esp + 0x14]
call fcn.004eb0c0
or edi, eax
or esi, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0xc]
movzx esi, byte [ecx + 0x2e]
dec esi
mov dword [esp + 0x14], esi
cmp esi, 1
jl 0x4f0b77
lea eax, [esi + esi*4]
shl eax, 4
add eax, 0x2f0
add eax, ecx
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov edx, dword [eax + 0x40]
mov dword [esp + 0x60], edx
movzx eax, byte [edx + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x2c], 8
lea eax, [eax + ecx*8]
mov dword [esp + 0x5c], eax
je 0x4f0b58
cmp word [esp + 0x58], 0
jne 0x4f0a6c
test dword [edx + 0x24], 0x1000
je 0x4f0b58
mov eax, dword [edx + 8]
mov ecx, eax
mov edx, dword [edx + 0xc]
and ecx, edi
mov dword [esp + 0x4c], eax
mov eax, edx
and eax, dword [esp + 0x24]
or ecx, eax
mov dword [esp + 0x3c], edx
jne 0x4f0b58
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x14]
mov esi, edx
mov eax, dword [eax + 0xc]
lea edi, [eax + eax*2]
shl edi, 4
add edi, edx
cmp esi, edi
jae 0x4f0ad8
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [esp + 0x4c]
and eax, dword [esp + 0x3c]
or ecx, eax
je 0x4f0acb
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x4f0ad4
mov ecx, dword [esp + 0x5c]
movsx eax, word [eax + 0x24]
cmp eax, dword [ecx + 0x34]
jne 0x4f0ad4
add esi, 0x30
cmp esi, edi
jb 0x4f0aa4
jmp 0x4f0ad8
cmp esi, edi
jb 0x4f0b50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
not eax
and dword [esp + 0x34], eax
not ecx
and dword [esp + 0x38], ecx
cmp edx, edi
jae 0x4f0b10
mov esi, dword [esp + 0x60]
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x4f0b09
or word [edx + 0xa], 4
add edx, 0x30
cmp edx, edi
jb 0x4f0af4
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov cl, byte [edi + 0x2e]
movzx edx, cl
lea eax, [edx - 1]
cmp esi, eax
je 0x4f0b45
mov ecx, dword [esp + 0x18]
sub edx, esi
lea eax, [edx + edx*4]
shl eax, 4
sub eax, 0x50
push eax
lea eax, [ecx + 0x50]
push eax
push ecx
call fcn.00573df0
mov cl, byte [edi + 0x2e]
add esp, 0xc
dec cl
dec dword [esp + 0x30]
mov byte [edi + 0x2e], cl
jmp 0x4f0b54
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
dec esi
sub eax, 0x50
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
cmp esi, 1
jge 0x4f0a30
mov esi, dword [esp + 0xc]
jmp 0x4f0b79
mov esi, ecx
mov ecx, dword [esi]
movsx eax, word [esi + 0x48]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], 0
add dword [ecx + 0x84], eax
test dl, 4
je 0x4f0c31
mov eax, dword [esi + 0x330]
mov ecx, dword [eax + 0x24]
test ecx, 0x1000
jne 0x4f0be6
test dl, 8
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x1c]
je 0x4f0c35
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], 0
cmp dword [eax + 0x38], 0
jne 0x4f0c35
test ecx, 0x2000
je 0x4f0bea
test byte [esp + 0x28], 0x10
mov dword [esp + 0x18], 0
je 0x4f0c35
jmp 0x4f0bea
mov edx, dword [esp + 0x1c]
mov eax, ecx
mov dword [esp + 0x18], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [esi + 0x31], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4f0c35
mov dword [esp + 0x18], 0
test cl, 0x40
je 0x4f0c35
mov eax, dword [esi + 0x330]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x28]
and eax, 8
mov dword [esp + 0x18], eax
jmp 0x4f0c35
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4f0ea5
mov eax, dword [esp + 0x54]
add eax, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], eax
movzx eax, byte [eax - 0x14]
mov edi, 0xfff0bdc0
lea eax, [eax + eax*8]
mov esi, dword [edx + eax*8 + 0x18]
lea edx, [edx + eax*8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], esi
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x4f0c8a
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4f0c8a
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4f0c82
test byte [esi + 0x24], 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
jne 0x4f0e0a
cmp dword [esi + 0xc], 0
jne 0x4f0e0a
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4f0ceb
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4f0ccb
mov ecx, dword [esp + 0x20]
nop dword [eax]
cmp dword [eax], ecx
je 0x4f0ccb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4f0cc0
mov ecx, dword [esp + 0x40]
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [edx + 0x34]
mov edx, 0xa3
call fcn.0049d0a0
add esp, 0x14
jmp 0x4f0e06
cmp dword [esi + 0x38], 0
jne 0x4f0e0a
test al, 0x40
jne 0x4f0df1
test byte [esp + 0x28], 0x20
jne 0x4f0df1
mov eax, dword [esp + 0xc]
mov ecx, 0x6c
cmp byte [eax + 0x31], 0
je 0x4f0d2a
mov esi, dword [esp + 0xc]
mov ecx, 0x6d
mov eax, dword [edx + 0x34]
mov dword [esi + 0x18], eax
mov esi, dword [esp + 0x3c]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
push esi
push edi
call fcn.004cbfd0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x4f0de2
cmp word [esi + 0x2a], 0x40
jge 0x4f0de2
test byte [esi + 0x24], 0x20
jne 0x4f0de2
mov eax, dword [esp + 0x4c]
xor esi, esi
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov eax, edx
or eax, ecx
je 0x4f0d7e
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4f0d71
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4f0da7
push esi
mov edx, 0xfffffffd
call fcn.0049d830
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x40]
call fcn.0049d660
jmp 0x4f0e06
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 0x4f0ddb
mov ecx, dword [esp + 0x40]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0049d9c0
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x40]
call fcn.0049d660
jmp 0x4f0e06
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
call fcn.0049d660
jmp 0x4f0e06
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.004bd340
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
test dword [edx + 0x24], 0x200
je 0x4f0e4f
mov eax, dword [esp + 0x3c]
mov esi, dword [edx + 0x20]
mov edx, 0x6c
mov dword [esp + 0x54], esi
test byte [eax + 0x24], 0x20
je 0x4f0f87
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x4f0f87
test byte [esp + 0x28], 0x20
je 0x4f0f87
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov esi, dword [esp + 0x10]
test edi, edi
js 0x4f0e83
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 0x4f0e83
bts esi, edi
mov dword [edx + 0x54], esi
cmp edi, 1
jne 0x4f0e83
mov ecx, edx
call fcn.004c36b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 0x50
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
jne 0x4f0c50
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x51], 0
jne 0x4f0946
mov dword [esp + 0x50], 0
test ecx, ecx
jle 0x4f0f7f
lea edi, [esi + 0x31c]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x4f0f1a
mov ecx, dword [esp + 0x1c]
lea eax, [edi - 0x2c]
mov edx, dword [esp + 0x48]
push eax
movzx eax, byte [edi]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004eb980
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x4f0946
push dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea esi, [edi - 0x2c]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e5a50
push dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, ecx
push dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x64]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [esp + 0x24]
push esi
push dword [esp + 0x24]
mov dword [edi - 0xc], eax
call fcn.004e6d10
mov ecx, dword [edi - 0x14]
inc esi
mov dword [esp + 0x50], eax
add esp, 0x1c
mov eax, dword [esp + 0xc]
add edi, 0x50
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], esi
mov dword [eax + 0x20], ecx
cmp esi, dword [esp + 0x30]
jl 0x4f0ed3
mov esi, eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x31], 0
je 0x4f0fbd
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f0faf
cmp eax, esi
je 0x4f0faf
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4f0fa3
mov eax, dword [esp + 0xc]
mov edx, 0x6d
mov dword [eax + 0x1c], ecx
jmp 0x4f0fe6
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f0fd5
test byte [esp + 0x28], 0x20
je 0x4f0fd5
mov ecx, eax
mov edx, 0x6a
jmp 0x4f0fe8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
mov ecx, dword [eax + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov eax, ecx
mov esi, dword [esp + 0x14]
push edi
mov dword [esi - 0x38], eax
mov esi, dword [esp + 0x58]
push dword [esi + 0x2c]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.0049cce0
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0049db60
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x4f0e53
test eax, 0x8002
jne 0x4f0e53
mov eax, dword [esp + 0xc]
test byte [eax + 0x2c], 1
jne 0x4f0e53
cmp byte [eax + 0x33], 2
je 0x4f0e53
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4f0e53
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4f0e53