Function at 0x46b6c0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
movzx eax, word [ecx]
push esi
push edi
cmp ax, 0x40
jle 0x46b6fe
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.0040ef70
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x1c], 0x80
je 0x46b70e
mov dword [esp + 0x20], 1
jmp 0x46b715
movsx edx, ax
mov dword [esp + 0x20], edx
mov edi, dword [esp + 0x20]
mov esi, dword [ebx]
lea edi, [edi + edi*4]
shl edi, 4
add edi, 0x3f
and edi, 0xfffffff8
lea ecx, [edi + 0x264]
mov dword [esp + 0x2c], esi
call fcn.0040d020
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x46b752
lea eax, [edi + 0x264]
push eax
push 0
push esi
call fcn.00489020
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x1e], 0
je 0x46b771
mov ecx, eax
push esi
push ecx
call fcn.0040cdd0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1c], edx
mov dword [esi], ebx
call fcn.004299b0
mov cx, word [ebp + 0x1c]
mov edx, dword [esp + 0x2c]
add edi, esi
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], edi
mov word [esi + 4], cx
fld qword [ebx + 0x1c0]
fstp qword [esi + 0x28]
test byte [edx + 0xc], 0x80
mov dword [esp + 0x3c], edi
je 0x46b7b7
mov dword [ebp + 0x18], 0
push 0x104
lea eax, [edi + 0x160]
push 0
push eax
call fcn.00489020
lea eax, [edi + 0x160]
mov dword [edi + 4], eax
xor eax, eax
lea ecx, [edi + 0x20]
add esp, 0xc
mov dword [edi], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 8
mov dword [edi + 0x1c], ecx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
cmp dword [ebx + 0x15c], eax
jne 0x46b82d
mov edx, dword [ebx]
test byte [edx + 0xc], 0x40
jne 0x46b82d
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x43d000
mov dword [esp + 0x98], ebx
call fcn.004374e0
add esp, 8
mov edx, dword [ebp + 0x10]
push 0x45
push edx
push edi
call fcn.00466150
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x46b868
cmp dword [esp + 0x20], 0
je 0x46b855
mov eax, dword [ebp + 0x10]
call fcn.0043a6b0
test eax, eax
je 0x46b868
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0x10]
push 8
push eax
push ecx
push ebx
call fcn.0043d610
add esp, 0x10
mov esi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
cmp dx, word [esi]
jge 0x46b8c4
add esi, 0x14
jmp 0x46b880
mov ecx, dword [edi + 0x160]
mov edx, dword [esi + 0x14]
mov dword [edi + ecx*4 + 0x164], edx
inc dword [edi + 0x160]
mov eax, dword [esi]
test eax, eax
je 0x46b8b6
test byte [eax + 0x22], 0x10
je 0x46b8b6
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.00491880
or dword [edi + 8], eax
or dword [edi + 0xc], edx
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
inc ebx
add esi, 0x40
cmp ebx, ecx
jl 0x46b880
mov esi, dword [edi + 0x14]
dec esi
js 0x46b8de
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
push esi
push edi
push ebx
call fcn.004673a0
add esp, 0xc
dec esi
jns 0x46b8d0
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x1e], 0
jne 0x46bdc2
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
je 0x46b919
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.00467c70
add esp, 0xc
test eax, eax
je 0x46b919
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x18], esi
mov byte [edx + 8], 1
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
add eax, 0x38
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x20], esi
jle 0x46bd6c
jmp 0x46b950
xor eax, eax
fld qword [0x4a4430]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
fstp qword [esp + 0x78]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
dec eax
cmp dword [esp + 0x34], eax
mov dword [esp + 0x28], 0xffffffff
setl dl
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov eax, edx
mov dword [esp + 0x48], eax
cmp eax, ecx
jl 0x46bc28
cmp dword [esp + 0x28], 0
jge 0x46bc28
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
mov eax, ebx
shl eax, 6
lea edx, [eax + ecx + 8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x14], edx
cmp ebx, dword [esp + 0x20]
jge 0x46bc1e
mov ecx, dword [esp + 0x10]
mov eax, ebx
lea eax, [eax + eax*4]
add eax, eax
lea edx, [ecx + eax*8 + 0x80]
mov dword [esp + 0x5c], edx
nop
mov eax, dword [esp + 0x14]
test byte [eax + 0x1c], 0xa
mov eax, 0
setne al
mov dword [esp + 0x38], eax
cmp ebx, dword [esp + 0x34]
je 0x46ba22
test eax, eax
jne 0x46bc1e
mov esi, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esi + 0x160], ecx
jle 0x46ba50
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x20]
lea eax, [esi + 0x164]
lea ecx, [ecx]
cmp dword [eax], edx
je 0x46ba7e
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x160]
jl 0x46ba40
xor edi, edi
xor esi, esi
mov eax, edi
and eax, dword [esp + 0x18]
mov ecx, esi
and ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], esi
or eax, ecx
jne 0x46ba90
cmp ebx, dword [esp + 0x34]
jne 0x46bc05
inc dword [esp + 0x34]
jmp 0x46bc05
mov eax, 1
xor edx, edx
call fcn.00491880
mov edi, eax
mov esi, edx
jmp 0x46ba54
cmp dword [esp + 0x48], 0
je 0x46ba9b
mov edx, edi
jmp 0x46baa3
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x46bab6
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46bab6
mov ecx, dword [ecx]
jmp 0x46bab8
xor ecx, ecx
mov ebx, dword [esp + 0x14]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x18]
cmp dword [ebx + 0x3c], 0
jne 0x46bacf
inc dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x46bb0b
mov eax, dword [esp + 0x5c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.00469040
jmp 0x46bb34
lea ebx, [esp + 0x98]
push ebx
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push esi
push edx
mov edx, dword [esp + 0x58]
push ecx
push edx
push eax
call fcn.00469260
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb4]
add esp, 0x28
cmp dword [esp + 0x48], 0
je 0x46bb5c
test esi, 0x100f3000
jne 0x46bb5c
or dword [esp + 0x50], edi
or dword [esp + 0x54], edx
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
and eax, dword [esp + 0x18]
and ecx, dword [esp + 0x1c]
or eax, ecx
jne 0x46bbfa
mov ecx, dword [esp + 0x28]
test ecx, ecx
js 0x46bba2
and edi, dword [esp + 0x50]
and edx, dword [esp + 0x54]
mov eax, edi
or eax, edx
jne 0x46bba2
test dword [esp + 0x60], 0x100f3000
je 0x46bba2
test esi, 0x100f3000
je 0x46bbfa
cmp dword [esp + 0x58], 0
je 0x46bbbb
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x3c], 0
je 0x46bbbb
test esi, 0x100f3000
je 0x46bbfa
test ecx, ecx
js 0x46bc94
fld qword [esp + 0x78]
fld qword [esp + 0xb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x46bc90
fcompp
fnstsw ax
test ah, 0x41
jp 0x46bbfa
fld qword [esp + 0x68]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
je 0x46bc94
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x38], 0
jne 0x46bc1e
add dword [esp + 0x5c], 0x50
add dword [esp + 0x14], 0x40
inc ebx
mov dword [esp + 0x4c], ebx
cmp ebx, dword [esp + 0x20]
jl 0x46ba00
dec dword [esp + 0x48]
jns 0x46b9bc
mov ecx, dword [esp + 0x60]
test ecx, 0x1000000
je 0x46bc3d
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
test ecx, 0x40000000
je 0x46bc4d
mov edx, dword [esp + 0x10]
mov byte [edx + 8], 2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
and dword [esp + 0x44], ecx
mov edi, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
test ecx, 0x200f0000
je 0x46bcb3
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
inc dword [edi + 0x44]
jmp 0x46bcba
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x4c]
mov ecx, 0xa
lea esi, [esp + 0x98]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], ebx
jmp 0x46bbfe
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [eax + 0x160], ecx
jle 0x46bcf0
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
shl edx, 6
mov esi, dword [edx + esi + 0x28]
lea edx, [eax + 0x164]
lea esp, [esp]
cmp dword [edx], esi
je 0x46bd2a
inc ecx
add edx, 4
cmp ecx, dword [eax + 0x160]
jl 0x46bce0
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x28]
fld qword [esp + 0x68]
not eax
and dword [esp + 0x18], eax
fcom st(1)
mov eax, dword [esp + 0x24]
mov byte [eax + 0x34], cl
not edx
and dword [esp + 0x1c], edx
fnstsw ax
fstp st(1)
test ah, 1
jne 0x46bd38
fmul qword [edi + 0x1c0]
fstp qword [edi + 0x1c0]
jmp 0x46bd3a
mov eax, 1
xor edx, edx
call fcn.00491880
jmp 0x46bcf4
fstp st(0)
mov edx, dword [ebp + 0xc]
shl ecx, 6
mov eax, dword [ecx + edx + 0x44]
test eax, eax
je 0x46bd52
test dword [esp + 0x60], 0xf0000
je 0x46bdb1
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], 0x50
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x20]
jl 0x46b950
xor esi, esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], esi
jne 0x46bdc2
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x1e], 0
jne 0x46bdc2
mov eax, dword [esp + 0x44]
and eax, 0x4000000
je 0x46bd96
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46bd96
mov dword [ecx], 0
test byte [ebp + 0x1c], 4
je 0x46bde9
test eax, eax
je 0x46bde9
mov ebx, dword [esp + 0x10]
and dword [ebx + 0x38], 0xff7fffff
mov byte [ebx + 6], 1
jmp 0x46bded
mov eax, dword [eax]
push eax
push str.cannot_use_index:__s
push edi
call fcn.0040ef70
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
fld qword [eax + 0x28]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1c0]
push edx
call fcn.0046b620
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push esi
call fcn.00446e40
fld1
lea eax, [ebx + 0x38]
fstp qword [ebx + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x46c163
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
movzx eax, byte [ecx + 0x34]
fld qword [ecx + 8]
mov edx, dword [ebp + 0xc]
shl eax, 6
mov esi, dword [eax + edx + 0x14]
lea edi, [eax + edx + 8]
mov eax, dword [edi + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, 0xfff0bdc0
fmul qword [ebx + 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], eax
fstp qword [ebx + 0x30]
mov edx, dword [esi + 0x44]
test edx, edx
je 0x46be91
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + 4]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
test edx, edx
jle 0x46be91
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 8]
add ecx, 0xc
mov edx, dword [esi + 0x44]
cmp dword [ecx], edx
je 0x46be89
inc eax
add ecx, 0x10
cmp eax, dword [esp + 0x38]
jl 0x46be78
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
test byte [esi + 0x22], 2
jne 0x46bffc
cmp dword [esi + 0x1c], 0
jne 0x46bffc
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x46bf7c
mov ebx, dword [esi + 0x34]
xor ecx, ecx
cmp ebx, ecx
je 0x46becb
mov eax, dword [esp + 0x2c]
cmp dword [ebx], eax
je 0x46becb
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x46bec0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x46bef8
mov edi, eax
call fcn.004295c0
test eax, eax
je 0x46bef4
mov eax, 1
jmp 0x46bf1f
mov eax, edi
xor ecx, ecx
inc dword [eax + 0x1c]
mov eax, dword [eax + 4]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x87
mov eax, esi
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov edi, dword [ecx]
test esi, esi
je 0x46bffc
cmp byte [edi + 0x1e], 0
jne 0x46bffc
test eax, eax
jns 0x46bf44
mov eax, ecx
mov eax, dword [eax + 0x1c]
dec eax
lea ecx, [eax + eax*4]
movsx eax, byte [esi + ecx*4 + 1]
lea esi, [esi + ecx*4]
mov ecx, dword [esi + 0x10]
call fcn.00429c40
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x46bf6d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x46bffc
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x46bffc
test ecx, 0x800000
jne 0x46bfe7
test byte [ebp + 0x1c], 0x10
jne 0x46bfe7
xor edx, edx
cmp byte [ebx + 6], dl
setne dl
add edx, 0x27
push edx
push esi
push eax
mov eax, dword [edi + 0x20]
push eax
mov eax, dword [ebp + 8]
call fcn.0044e840
add esp, 0x10
cmp byte [ebx + 6], 0
jne 0x46bffc
cmp dword [esi + 8], 0x40
jge 0x46bffc
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x46bfce
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x46bfc1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00429d80
add esp, 8
jmp 0x46bffc
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.00442260
add esp, 0x10
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, 0x20000000
je 0x46c033
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.00468320
add esp, 0x18
jmp 0x46c104
test eax, 0xf0000
je 0x46c104
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.00447500
mov ebx, dword [edi + 0x20]
mov edi, dword [esp + 0x38]
mov edx, dword [esi + 0x14]
mov esi, dword [edi + 0x1c]
add esp, 8
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
cmp dword [edi + 0x20], esi
jg 0x46c07c
call fcn.004295c0
test eax, eax
je 0x46c07c
mov eax, 1
jmp 0x46c0ab
mov ecx, dword [edi + 4]
inc dword [edi + 0x1c]
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x27
mov eax, esi
mov esi, dword [edi + 4]
mov edx, dword [edi]
xor ebx, ebx
cmp esi, ebx
je 0x46c0f4
cmp byte [edx + 0x1e], bl
jne 0x46c0f4
cmp eax, ebx
jge 0x46c0c3
mov eax, dword [edi + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
mov edi, edx
call fcn.00429c40
mov eax, dword [esp + 0x44]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x46c0eb
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x46c104
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x46c104
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
mov edi, edx
call fcn.00429c40
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
push ecx
call fcn.00446e40
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x46c140
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x20]
add edx, 4
lea ecx, [ecx]
cmp dword [edx], esi
je 0x46c1ea
inc ecx
add edx, 4
cmp ecx, eax
jl 0x46c130
xor eax, eax
xor edx, edx
add dword [esp + 0x24], 0x50
mov ebx, dword [esp + 0x10]
not eax
and dword [esp + 0x18], eax
not edx
and dword [esp + 0x1c], edx
dec dword [esp + 0x40]
jne 0x46be20
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0x10], ecx
cmp byte [edx + 0x1e], 0
jne 0x46bdc2
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], esi
jle 0x46c1df
mov edi, dword [esp + 0x10]
add edi, 0x64
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [edi + 8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push esi
lea edx, [edi - 0x2c]
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.0046a1d0
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x24]
add esp, 0x14
push ecx
push ebx
push edx
push esi
push eax
call fcn.0046a430
mov ecx, dword [edi]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
inc esi
add esp, 0x14
add edi, 0x50
mov ebx, eax
mov dword [edx + 0x14], ecx
cmp esi, dword [esp + 0x20]
jl 0x46c191
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.00491880
jmp 0x46c144