Function at 0x4ef6d0
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 0x4ef718
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 0x4ef769
push 0x40
push str.at_most__d_tables_in_a_join
push edi
call fcn.00480240
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.0047d040
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x51], 0
je 0x4ef7bd
mov edx, ecx
mov ecx, eax
call fcn.0047cd60
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.00573560
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.004ea0c0
add esp, 4
cmp dword [esp + 0x30], 0
jne 0x4ef8f2
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4ef8cc
mov al, byte [eax]
mov byte [edi + 0x2f], al
test dword [esp + 0x28], 0x100
je 0x4ef8da
mov byte [edi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push 0
push dword [esp + 0x18]
call fcn.0049c3c0
add esp, 0xc
jmp 0x4efa82
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 0x4efa66
mov ecx, dword [edi + 0x30]
mov eax, dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4efa66
xor esi, esi
mov dword [esp + 0x38], esi
cmp dword [ecx], esi
jle 0x4efa66
add ecx, 4
mov edi, esi
mov dword [esp + 0x34], ecx
movsx edx, word [eax + 0x2a]
cmp esi, edx
jge 0x4efa4a
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 0x4ef97d
inc esi
add eax, 0x10
cmp esi, edx
jl 0x4ef970
mov eax, dword [esp + 0x2c]
cmp esi, edx
jge 0x4efa4a
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0047d040
mov edi, eax
add esp, 8
test edi, edi
je 0x4efa5e
push 0x34
push 0
push edi
call fcn.00573560
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 0x4ef9f7
mov eax, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [eax]
call fcn.004b1620
add esp, 8
jmp 0x4ef9f9
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, 0xa6
push 0
push eax
call fcn.004b0f30
mov ecx, dword [esp + 0x18]
mov edx, 0x35
push eax
push edi
call fcn.004b0f30
mov ecx, dword [esp + 0x58]
mov edx, eax
push 1
call fcn.004e8220
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 0x4ef953
jmp 0x4efa5e
push edi
push dword [eax]
push str.too_many_arguments_on__s_____max__d
push dword [esp + 0x1c]
call fcn.00480240
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 0x4ef910
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x4efaa8
nop
mov edx, ecx
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004e93c0
mov ecx, dword [esp + 0x4c]
add esp, 4
sub esi, 1
jns 0x4efa90
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x51], 0
jne 0x4efc16
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x24], 0
jle 0x4efb77
xor edi, edi
nop word [eax + eax]
mov esi, dword [ecx + 0x14]
add esi, edi
test byte [esi + 0xa], 2
jne 0x4efb62
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
jne 0x4efb62
cmp dword [esp + 0x30], eax
je 0x4efb42
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], 0x4ef6a0
mov dword [esp + 0x88], 0x4b2660
test edx, edx
je 0x4efb42
lea ecx, [esp + 0x80]
call fcn.004adb70
cmp byte [esp + 0x94], 0
je 0x4efb5e
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x24]
push dword [esi]
push dword [esp + 0x1c]
call fcn.004b6bc0
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 0x4efad0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
and eax, 0x100
mov dword [esp + 0x58], eax
je 0x4efbc1
push dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004ea960
mov esi, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4efbaa
mov byte [esi + 0x33], 1
jmp 0x4efbc5
cmp dword [ebp + 0xc], 0
jne 0x4efbc5
mov eax, 0x80
or word [esi + 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [esi + 8], eax
jmp 0x4efbc5
mov esi, dword [esp + 0xc]
cmp dword [esp + 0x30], 1
jne 0x4efbd9
lea ecx, [esp + 0x64]
call fcn.004ef4e0
test eax, eax
jne 0x4efc3a
lea ecx, [esp + 0x64]
call fcn.004ee0c0
test eax, eax
jne 0x4efc16
xor edx, edx
mov ecx, esi
call fcn.004eebe0
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
jne 0x4efc16
cmp dword [esi + 8], 0
je 0x4efc44
movzx edx, word [esi + 0x48]
mov ecx, esi
inc dx
call fcn.004eebe0
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
je 0x4efc3e
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.004ebae0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
cmp dword [esi + 8], 0
jne 0x4efc5f
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4efc5f
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
cmp dword [edi + 0x24], 0
jne 0x4efc16
cmp byte [ecx + 0x51], 0
jne 0x4efc16
cmp byte [esi + 0x2e], 2
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
jb 0x4efe49
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4efe49
mov edx, 0x100
test word [ecx + 0x4c], dx
jne 0x4efe49
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004ea380
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 0x4efcd3
mov ecx, dword [esp + 0x14]
call fcn.004ea380
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 0x4efe47
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 0x4efe28
cmp word [esp + 0x58], 0
jne 0x4efd3c
test dword [edx + 0x24], 0x1000
je 0x4efe28
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 0x4efe28
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 0x4efda8
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [esp + 0x4c]
and eax, dword [esp + 0x3c]
or ecx, eax
je 0x4efd9b
mov eax, dword [esi]
test byte [eax + 4], 1
je 0x4efda4
mov ecx, dword [esp + 0x5c]
movsx eax, word [eax + 0x24]
cmp eax, dword [ecx + 0x34]
jne 0x4efda4
add esi, 0x30
cmp esi, edi
jb 0x4efd74
jmp 0x4efda8
cmp esi, edi
jb 0x4efe20
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 0x4efde0
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 0x4efdd9
or word [edx + 0xa], 4
add edx, 0x30
cmp edx, edi
jb 0x4efdc4
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 0x4efe15
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.00572fe0
mov cl, byte [edi + 0x2e]
add esp, 0xc
dec cl
dec dword [esp + 0x30]
mov byte [edi + 0x2e], cl
jmp 0x4efe24
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 0x4efd00
mov esi, dword [esp + 0xc]
jmp 0x4efe49
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 0x4eff01
mov eax, dword [esi + 0x330]
mov ecx, dword [eax + 0x24]
test ecx, 0x1000
jne 0x4efeb6
test dl, 8
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x1c]
je 0x4eff05
mov eax, dword [edx + 0x18]
mov dword [esp + 0x18], 0
cmp dword [eax + 0x38], 0
jne 0x4eff05
test ecx, 0x2000
je 0x4efeba
test byte [esp + 0x28], 0x10
mov dword [esp + 0x18], 0
je 0x4eff05
jmp 0x4efeba
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 0x4eff05
mov dword [esp + 0x18], 0
test cl, 0x40
je 0x4eff05
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 0x4eff05
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4f0175
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 0x4eff5a
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4eff5a
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x4eff52
test byte [esi + 0x24], 2
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
jne 0x4f00da
cmp dword [esi + 0xc], 0
jne 0x4f00da
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x4effbb
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4eff9b
mov ecx, dword [esp + 0x20]
nop dword [eax]
cmp dword [eax], ecx
je 0x4eff9b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4eff90
mov ecx, dword [esp + 0x40]
push 0xfffffffffffffff4
push eax
push 0
push 0
push dword [edx + 0x34]
mov edx, 0xa3
call fcn.0049c340
add esp, 0x14
jmp 0x4f00d6
cmp dword [esi + 0x38], 0
jne 0x4f00da
test al, 0x40
jne 0x4f00c1
test byte [esp + 0x28], 0x20
jne 0x4f00c1
mov eax, dword [esp + 0xc]
mov ecx, 0x6c
cmp byte [eax + 0x31], 0
je 0x4efffa
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.004cb290
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp byte [eax + 0x31], 0
jne 0x4f00b2
cmp word [esi + 0x2a], 0x40
jge 0x4f00b2
test byte [esi + 0x24], 0x20
jne 0x4f00b2
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 0x4f004e
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4f0041
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4f0077
push esi
mov edx, 0xfffffffd
call fcn.0049cad0
mov edx, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x40]
call fcn.0049c900
jmp 0x4f00d6
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 0x4f00ab
mov ecx, dword [esp + 0x40]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0049cc60
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x40]
call fcn.0049c900
jmp 0x4f00d6
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xfd
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
call fcn.0049c900
jmp 0x4f00d6
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x1c]
call fcn.004bc5e0
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
test dword [edx + 0x24], 0x200
je 0x4f011f
mov eax, dword [esp + 0x3c]
mov esi, dword [edx + 0x20]
mov edx, 0x6c
mov dword [esp + 0x54], esi
test byte [eax + 0x24], 0x20
je 0x4f0257
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x4f0257
test byte [esp + 0x28], 0x20
je 0x4f0257
mov eax, dword [ecx - 0x3c]
mov dword [ecx - 0x38], eax
mov esi, dword [esp + 0x10]
test edi, edi
js 0x4f0153
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 0x4f0153
bts esi, edi
mov dword [edx + 0x54], esi
cmp edi, 1
jne 0x4f0153
mov ecx, edx
call fcn.004c2960
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add eax, 0x50
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
jne 0x4eff20
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 0x4efc16
mov dword [esp + 0x50], 0
test ecx, ecx
jle 0x4f024f
lea edi, [esi + 0x31c]
mov eax, dword [edi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x4f01ea
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.004eac40
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x51], 0
jne 0x4efc16
push dword [esp + 0x28]
mov edx, dword [esp + 0x20]
lea esi, [edi - 0x2c]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e4d10
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.004e5fd0
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 0x4f01a3
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 0x4f028d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
test eax, eax
je 0x4f027f
cmp eax, esi
je 0x4f027f
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4f0273
mov eax, dword [esp + 0xc]
mov edx, 0x6d
mov dword [eax + 0x1c], ecx
jmp 0x4f02b6
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4f02a5
test byte [esp + 0x28], 0x20
je 0x4f02a5
mov ecx, eax
mov edx, 0x6a
jmp 0x4f02b8
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.0049bf80
add esp, 0xc
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0049ce00
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x24]
test al, 0xf
je 0x4f0123
test eax, 0x8002
jne 0x4f0123
mov eax, dword [esp + 0xc]
test byte [eax + 0x2c], 1
jne 0x4f0123
cmp byte [eax + 0x33], 2
je 0x4f0123
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x4f0123
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4f0123