Function at 0x46b7a0
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 0x46b7de
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.0040f030
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x1c], 0x80
je 0x46b7ee
mov dword [esp + 0x20], 1
jmp 0x46b7f5
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.0040d0f0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x46b832
lea eax, [edi + 0x264]
push eax
push 0
push esi
call fcn.00489270
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x1e], 0
je 0x46b851
mov ecx, eax
push esi
push ecx
call fcn.0040cea0
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.00429a80
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 0x46b897
mov dword [ebp + 0x18], 0
push 0x104
lea eax, [edi + 0x160]
push 0
push eax
call fcn.00489270
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 0x46b90d
mov edx, dword [ebx]
test byte [edx + 0xc], 0x40
jne 0x46b90d
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], 0x43d0e0
mov dword [esp + 0x98], ebx
call fcn.004375c0
add esp, 8
mov edx, dword [ebp + 0x10]
push 0x45
push edx
push edi
call fcn.00466230
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x46b948
cmp dword [esp + 0x20], 0
je 0x46b935
mov eax, dword [ebp + 0x10]
call fcn.0043a790
test eax, eax
je 0x46b948
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0x10]
push 8
push eax
push ecx
push ebx
call fcn.0043d6f0
add esp, 0x10
mov esi, dword [ebp + 0xc]
xor edx, edx
xor ebx, ebx
cmp dx, word [esi]
jge 0x46b9a4
add esi, 0x14
jmp 0x46b960
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 0x46b996
test byte [eax + 0x22], 0x10
je 0x46b996
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.00491ad0
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 0x46b960
mov esi, dword [edi + 0x14]
dec esi
js 0x46b9be
mov ebx, dword [ebp + 0xc]
lea ecx, [ecx]
push esi
push edi
push ebx
call fcn.00467480
add esp, 0xc
dec esi
jns 0x46b9b0
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x1e], 0
jne 0x46bea2
mov eax, dword [ebp + 0x18]
xor esi, esi
cmp eax, esi
je 0x46b9f9
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.00467d50
add esp, 0xc
test eax, eax
je 0x46b9f9
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 0x46be4c
jmp 0x46ba30
xor eax, eax
fld qword [0x4a4428]
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 0x46bd08
cmp dword [esp + 0x28], 0
jge 0x46bd08
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 0x46bcfe
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 0x46bb02
test eax, eax
jne 0x46bcfe
mov esi, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [esi + 0x160], ecx
jle 0x46bb30
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x20]
lea eax, [esi + 0x164]
lea ecx, [ecx]
cmp dword [eax], edx
je 0x46bb5e
inc ecx
add eax, 4
cmp ecx, dword [esi + 0x160]
jl 0x46bb20
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 0x46bb70
cmp ebx, dword [esp + 0x34]
jne 0x46bce5
inc dword [esp + 0x34]
jmp 0x46bce5
mov eax, 1
xor edx, edx
call fcn.00491ad0
mov edi, eax
mov esi, edx
jmp 0x46bb34
cmp dword [esp + 0x48], 0
je 0x46bb7b
mov edx, edi
jmp 0x46bb83
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x46bb96
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46bb96
mov ecx, dword [ecx]
jmp 0x46bb98
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 0x46bbaf
inc dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x46bbeb
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.00469120
jmp 0x46bc14
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.00469340
mov esi, dword [esp + 0xc0]
mov edx, dword [esp + 0xb4]
add esp, 0x28
cmp dword [esp + 0x48], 0
je 0x46bc3c
test esi, 0x100f3000
jne 0x46bc3c
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 0x46bcda
mov ecx, dword [esp + 0x28]
test ecx, ecx
js 0x46bc82
and edi, dword [esp + 0x50]
and edx, dword [esp + 0x54]
mov eax, edi
or eax, edx
jne 0x46bc82
test dword [esp + 0x60], 0x100f3000
je 0x46bc82
test esi, 0x100f3000
je 0x46bcda
cmp dword [esp + 0x58], 0
je 0x46bc9b
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x3c], 0
je 0x46bc9b
test esi, 0x100f3000
je 0x46bcda
test ecx, ecx
js 0x46bd74
fld qword [esp + 0x78]
fld qword [esp + 0xb0]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x46bd70
fcompp
fnstsw ax
test ah, 0x41
jp 0x46bcda
fld qword [esp + 0x68]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
je 0x46bd74
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x38], 0
jne 0x46bcfe
add dword [esp + 0x5c], 0x50
add dword [esp + 0x14], 0x40
inc ebx
mov dword [esp + 0x4c], ebx
cmp ebx, dword [esp + 0x20]
jl 0x46bae0
dec dword [esp + 0x48]
jns 0x46ba9c
mov ecx, dword [esp + 0x60]
test ecx, 0x1000000
je 0x46bd1d
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
test ecx, 0x40000000
je 0x46bd2d
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 0x46bd93
mov ecx, dword [edi + 0x44]
mov dword [eax + 0x20], ecx
inc dword [edi + 0x44]
jmp 0x46bd9a
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 0x46bcde
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [esp + 0x3c]
xor ecx, ecx
cmp dword [eax + 0x160], ecx
jle 0x46bdd0
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 0x46be0a
inc ecx
add edx, 4
cmp ecx, dword [eax + 0x160]
jl 0x46bdc0
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 0x46be18
fmul qword [edi + 0x1c0]
fstp qword [edi + 0x1c0]
jmp 0x46be1a
mov eax, 1
xor edx, edx
call fcn.00491ad0
jmp 0x46bdd4
fstp st(0)
mov edx, dword [ebp + 0xc]
shl ecx, 6
mov eax, dword [ecx + edx + 0x44]
test eax, eax
je 0x46be32
test dword [esp + 0x60], 0xf0000
je 0x46be91
mov eax, dword [esp + 0x40]
add dword [esp + 0x24], 0x50
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x20]
jl 0x46ba30
xor esi, esi
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40], esi
jne 0x46bea2
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x1e], 0
jne 0x46bea2
mov eax, dword [esp + 0x44]
and eax, 0x4000000
je 0x46be76
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46be76
mov dword [ecx], 0
test byte [ebp + 0x1c], 4
je 0x46bec9
test eax, eax
je 0x46bec9
mov ebx, dword [esp + 0x10]
and dword [ebx + 0x38], 0xff7fffff
mov byte [ebx + 6], 1
jmp 0x46becd
mov eax, dword [eax]
push eax
push str.cannot_use_index:__s
push edi
call fcn.0040f030
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.0046b700
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.00446f20
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 0x46c243
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 0x46bf71
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 0x46bf71
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 8]
add ecx, 0xc
mov edx, dword [esi + 0x44]
cmp dword [ecx], edx
je 0x46bf69
inc eax
add ecx, 0x10
cmp eax, dword [esp + 0x38]
jl 0x46bf58
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
test byte [esi + 0x22], 2
jne 0x46c0dc
cmp dword [esi + 0x1c], 0
jne 0x46c0dc
mov ecx, dword [ecx]
test ecx, 0x8000000
je 0x46c05c
mov ebx, dword [esi + 0x34]
xor ecx, ecx
cmp ebx, ecx
je 0x46bfab
mov eax, dword [esp + 0x2c]
cmp dword [ebx], eax
je 0x46bfab
mov ebx, dword [ebx + 0x18]
cmp ebx, ecx
jne 0x46bfa0
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 0x46bfd8
mov edi, eax
call fcn.00429690
test eax, eax
je 0x46bfd4
mov eax, 1
jmp 0x46bfff
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 0x46c0dc
cmp byte [edi + 0x1e], 0
jne 0x46c0dc
test eax, eax
jns 0x46c024
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.00429d10
mov dword [esi + 0x10], 0
test ebx, ebx
jne 0x46c04d
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x46c0dc
mov dword [esi + 0x10], ebx
mov byte [esi + 1], 0xf6
inc dword [ebx + 0xc]
jmp 0x46c0dc
test ecx, 0x800000
jne 0x46c0c7
test byte [ebp + 0x1c], 0x10
jne 0x46c0c7
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.0044e920
add esp, 0x10
cmp byte [ebx + 6], 0
jne 0x46c0dc
cmp dword [esi + 8], 0x40
jge 0x46c0dc
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x46c0ae
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x46c0a1
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.00429e50
add esp, 8
jmp 0x46c0dc
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
push 0
push edx
push eax
mov eax, dword [ebp + 8]
call fcn.00442340
add esp, 0x10
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
test eax, 0x20000000
je 0x46c113
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.00468400
add esp, 0x18
jmp 0x46c1e4
test eax, 0xf0000
je 0x46c1e4
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call fcn.004475e0
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 0x46c15c
call fcn.00429690
test eax, eax
je 0x46c15c
mov eax, 1
jmp 0x46c18b
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 0x46c1d4
cmp byte [edx + 0x1e], bl
jne 0x46c1d4
cmp eax, ebx
jge 0x46c1a3
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.00429d10
mov eax, dword [esp + 0x44]
mov dword [esi + 0x10], ebx
cmp eax, ebx
jne 0x46c1cb
mov dword [esi + 0x10], ebx
mov byte [esi + 1], bl
jmp 0x46c1e4
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x46c1e4
mov ecx, dword [esp + 0x44]
mov eax, 0xfffffff0
mov edi, edx
call fcn.00429d10
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
push ecx
call fcn.00446f20
mov edx, dword [esp + 0x40]
mov edx, dword [edx + 4]
mov eax, dword [edx]
add esp, 4
xor ecx, ecx
test eax, eax
jle 0x46c220
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x20]
add edx, 4
lea ecx, [ecx]
cmp dword [edx], esi
je 0x46c2ca
inc ecx
add edx, 4
cmp ecx, eax
jl 0x46c210
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 0x46bf00
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 0x46bea2
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x20], esi
jle 0x46c2bf
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.0046a2b0
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.0046a510
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 0x46c271
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.00491ad0
jmp 0x46c224