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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], eax
movzx eax, word [ecx]
cmp ax, 0x40
jle 0x46c1bd
push 0x40
push str.at_most__d_tables_in_a_join
call fcn.0041a700
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x80
je 0x46c1cd
mov dword [esp + 0x1c], 1
jmp 0x46c1d4
movsx edx, ax
mov dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x1c]
lea ebx, [ebx + ebx*4]
shl ebx, 4
mov eax, edi
mov esi, dword [eax]
add ebx, 0x37
and ebx, 0xfffffff8
lea ecx, [ebx + 0x264]
mov dword [esp + 0x34], esi
call fcn.004188e0
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x46c213
lea eax, [ebx + 0x264]
push eax
push 0
push edi
call fcn.004bfe20
add esp, 0xc
mov eax, esi
cmp byte [eax + 0x1e], 0
je 0x46c22e
push edi
push eax
call fcn.004186a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x18], ecx
mov dword [edi], edx
call fcn.004322b0
mov cx, word [ebp + 0x18]
lea esi, [edi + ebx]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x14], eax
push 0x104
lea eax, [esi + 0x160]
mov dword [edi + 0x1c], esi
mov word [edi + 4], cx
fld qword [ebx + 0x1c0]
push 0
fstp qword [edi + 0x20]
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
call fcn.004bfe20
mov edx, dword [esp + 0x58]
xor eax, eax
lea ecx, [esi + 0x20]
mov dword [esi], ebx
add esp, 0xc
mov dword [esi + 4], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 8
mov dword [esi + 0x1c], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
cmp dword [ebx + 0x15c], eax
mov ebx, dword [ebp + 0x10]
jne 0x46c2dd
mov eax, dword [ebp + 8]
mov edx, dword [eax]
test byte [edx + 0xc], 0x40
jne 0x46c2dd
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push ebx
push eax
mov dword [esp + 0x68], 0x442490
mov dword [esp + 0x6c], 0
call fcn.0043cc70
add esp, 8
push 0x45
push ebx
push esi
call fcn.00467710
add esp, 0xc
test ebx, ebx
je 0x46c312
cmp dword [esp + 0x1c], 0
je 0x46c2ff
mov eax, ebx
call fcn.0043fc20
test eax, eax
je 0x46c312
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 8]
push 8
push ecx
push ebx
push edx
call fcn.00442ae0
add esp, 0x10
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp ax, word [edi]
mov dword [esp + 0x14], 0
jge 0x46c375
mov ebx, dword [esp + 0x4c]
add edi, 0x14
jmp 0x46c330
mov ecx, dword [ebx]
mov edx, dword [edi + 0xc]
mov dword [ebx + ecx*4 + 4], edx
inc dword [ebx]
mov eax, dword [edi]
test eax, eax
je 0x46c35d
test byte [eax + 0x22], 0x10
je 0x46c35d
mov ecx, dword [esp + 0x14]
mov eax, 1
xor edx, edx
call fcn.004c2a30
or dword [esi + 8], eax
or dword [esi + 0xc], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
movsx edx, word [ecx]
inc eax
add edi, 0x38
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x46c330
mov edi, ecx
mov ebx, dword [esi + 0x14]
sub ebx, 1
js 0x46c390
lea ecx, [ecx]
push ebx
push esi
push edi
call fcn.004683d0
add esp, 0xc
sub ebx, 1
jns 0x46c380
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
jne 0x46c998
mov ebx, dword [esp + 0x18]
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
add ebx, 0x30
cmp eax, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x2c], ebx
jle 0x46c7e6
dec eax
mov dword [esp + 0x9c], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x9c]
fld qword [0x512d48]
xor eax, eax
xor ecx, ecx
cmp dword [esp + 0x38], edx
mov esi, eax
setl cl
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
fstp qword [esp + 0x88]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
cmp ecx, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], ecx
jl 0x46c6ab
cmp dword [esp + 0x44], 0
jge 0x46c6a7
mov ebx, dword [esp + 0x38]
mov ecx, dword [ebp + 0xc]
lea eax, [ebx*8]
sub eax, ebx
cmp ebx, dword [esp + 0x1c]
lea edx, [ecx + eax*8 + 8]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x10], edx
jge 0x46c69c
mov ecx, dword [esp + 0x18]
mov eax, ebx
lea eax, [eax + eax*4]
shl eax, 4
lea edx, [eax + ecx + 0x78]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x10]
test byte [eax + 0x15], 0xa
mov eax, 0
setne al
mov dword [esp + 0x98], eax
cmp ebx, dword [esp + 0x38]
je 0x46c4c5
test eax, eax
jne 0x46c69c
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [edx], ecx
jle 0x46c4ec
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x18]
lea eax, [edx + 4]
lea esp, [esp]
cmp dword [eax], esi
je 0x46c513
inc ecx
add eax, 4
cmp ecx, dword [edx]
jl 0x46c4e0
xor edi, edi
xor esi, esi
mov eax, edi
and eax, dword [esp + 0x20]
mov ecx, esi
and ecx, dword [esp + 0x24]
or eax, ecx
jne 0x46c525
cmp ebx, dword [esp + 0x38]
jne 0x46c683
inc dword [esp + 0x38]
jmp 0x46c683
mov eax, 1
xor edx, edx
call fcn.004c2a30
mov edi, eax
mov esi, edx
jmp 0x46c4f0
cmp dword [esp + 0x54], 0
je 0x46c532
mov ecx, edi
mov edx, esi
jmp 0x46c53a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x14], 0
jne 0x46c54c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x46c54c
mov eax, dword [eax]
jmp 0x46c54e
xor eax, eax
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x34], 0
jne 0x46c55c
inc dword [esp + 0x5c]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0xc]
test byte [ebx + 0x22], 0x10
je 0x46c59b
mov ebx, dword [esp + 0x3c]
push ebx
lea ebx, [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00469b80
add esp, 0x28
jmp 0x46c5c6
lea ebx, [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push ebx
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00469d70
add esp, 0x24
cmp dword [esp + 0x54], 0
mov edx, dword [esp + 0xa0]
je 0x46c5e4
test edx, 0x100f3000
jne 0x46c5e4
or dword [esp + 0x60], edi
or dword [esp + 0x64], esi
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
and ecx, dword [esp + 0x24]
and eax, ebx
or eax, ecx
jne 0x46c675
mov ecx, dword [esp + 0x44]
test ecx, ecx
jl 0x46c61a
and edi, dword [esp + 0x60]
and esi, dword [esp + 0x64]
mov eax, edi
or eax, esi
jne 0x46c61a
test edx, 0x100f3000
je 0x46c675
cmp dword [esp + 0x5c], 0
je 0x46c633
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x34], 0
je 0x46c633
test edx, 0x100f3000
je 0x46c675
test ecx, ecx
jl 0x46c709
fld qword [esp + 0x88]
fld qword [esp + 0xb8]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x46c705
fcompp
fnstsw ax
test ah, 0x41
jp 0x46c675
fld qword [esp + 0x78]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
je 0x46c709
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x98], 0
jne 0x46c69c
add dword [esp + 0x3c], 0x50
add dword [esp + 0x10], 0x38
inc ebx
cmp ebx, dword [esp + 0x1c]
mov dword [esp + 0x58], ebx
jl 0x46c4a0
sub dword [esp + 0x54], 1
jns 0x46c45b
mov esi, dword [esp + 0x70]
test esi, 0x1000000
je 0x46c6bc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
and dword [esp + 0x40], esi
mov ebx, dword [ebp + 8]
mov dword [edi], esi
mov dword [edi + 4], edx
mov edx, dword [esp + 0x80]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
test esi, 0x200f0000
je 0x46c728
mov ecx, dword [ebx + 0x44]
mov dword [edi + 0x20], ecx
inc dword [ebx + 0x44]
jmp 0x46c72f
fstp st(1)
fstp st(0)
mov ebx, dword [esp + 0x58]
mov ecx, 0xa
lea esi, [esp + 0xa0]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x44], ebx
jmp 0x46c679
mov dword [edi + 0x20], 0xffffffff
mov edx, dword [esp + 0x4c]
xor ecx, ecx
cmp dword [edx], ecx
jle 0x46c75f
mov eax, dword [esp + 0x44]
lea ebx, [eax*8]
sub ebx, eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + ebx*8 + 0x20]
lea eax, [edx + 4]
cmp dword [eax], ebx
je 0x46c795
inc ecx
add eax, 4
cmp ecx, dword [edx]
jl 0x46c750
mov ebx, dword [ebp + 8]
xor eax, eax
xor edx, edx
fld1
mov ecx, dword [esp + 0x44]
fld qword [esp + 0x78]
not eax
and dword [esp + 0x20], eax
fcom st(1)
not edx
and dword [esp + 0x24], edx
mov byte [edi + 0x34], cl
fnstsw ax
fstp st(1)
test ah, 1
jne 0x46c7a6
fmul qword [ebx + 0x1c0]
fstp qword [ebx + 0x1c0]
jmp 0x46c7a8
mov eax, 1
xor edx, edx
call fcn.004c2a30
mov ebx, dword [ebp + 8]
jmp 0x46c763
fstp st(0)
mov eax, dword [ebp + 0xc]
lea edx, [ecx*8]
sub edx, ecx
mov eax, dword [eax + edx*8 + 0x3c]
test eax, eax
je 0x46c7c8
test esi, 0xf0000
je 0x46c986
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x50
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edi
jl 0x46c3e0
mov ebx, dword [esp + 0x48]
mov edx, dword [ebp + 8]
cmp dword [edx + 0x40], 0
jne 0x46c998
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x1e], 0
jne 0x46c998
mov eax, dword [esp + 0x40]
and eax, 0x4000000
je 0x46c819
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x46c819
mov dword [ecx], 0
test byte [ebp + 0x18], 4
je 0x46c831
test eax, eax
je 0x46c831
mov ecx, dword [esp + 0x18]
and dword [ebx], 0xff7fffff
mov byte [ecx + 6], 1
mov esi, edx
mov eax, dword [esi + 0x1a8]
test eax, eax
je 0x46c83f
mov esi, eax
cmp dword [esi + 0x15c], 0
jne 0x46c883
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x46c86c
mov eax, dword [esi]
call fcn.00431fa0
mov edi, eax
mov dword [esi + 0xc], eax
test edi, edi
je 0x46c883
push 0x88
call fcn.00432100
add esp, 4
push 0
push 0
push 1
mov eax, edi
call fcn.004321b0
add esp, 0xc
inc eax
mov dword [esi + 0x15c], eax
fld1
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
fstp qword [edx + 0x28]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebx
jle 0x46cc40
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov edi, edi
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx + 0x34]
fld qword [ecx + 8]
mov ebx, dword [esp + 0x34]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + edx*8 + 0x14]
lea eax, [eax + edx*8 + 8]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x1c], edx
mov dword [esp + 0x14], 0xfff0bdc0
fmul qword [eax + 0x28]
fstp qword [eax + 0x28]
mov edx, dword [edi + 0x44]
test edx, edx
je 0x46c920
mov esi, dword [ebx + 4]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test esi, esi
jle 0x46c920
mov eax, dword [ebx + 8]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], edx
je 0x46c91c
inc ecx
add eax, 0x10
cmp ecx, esi
jl 0x46c910
mov dword [esp + 0x14], ecx
test byte [edi + 0x22], 2
jne 0x46cadf
cmp dword [edi + 0x1c], 0
jne 0x46cadf
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, 0x8000000
je 0x46ca44
mov esi, dword [edi + 0x34]
test esi, esi
je 0x46c95b
mov eax, dword [esp + 0x34]
cmp dword [esi], eax
je 0x46c95b
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x46c950
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 0x1c]
cmp dword [ecx + 0x20], ebx
mov dword [esp + 0x48], edx
jg 0x46c9bf
mov edi, ecx
call fcn.00432020
mov ecx, edi
test eax, eax
je 0x46c9bf
mov eax, 1
jmp 0x46c9ec
mov ecx, dword [eax]
push ecx
push str.cannot_use_index:__s
mov edi, ebx
call fcn.0041a700
add esp, 8
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
fld qword [eax + 0x20]
mov ecx, dword [ebp + 8]
push eax
fstp qword [ecx + 0x1c0]
push edx
call fcn.0046c0e0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 4]
inc dword [ecx + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], edx
xor edx, edx
mov byte [eax], 0x7f
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [ecx + 0x64], dl
mov eax, ebx
mov ebx, dword [ecx + 4]
mov edi, dword [ecx]
test ebx, ebx
je 0x46cadf
cmp byte [edi + 0x1e], 0
jne 0x46cadf
test eax, eax
jge 0x46ca0b
mov eax, dword [ecx + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.00432580
mov dword [ebx + 0x10], 0
test esi, esi
jne 0x46ca35
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0
jmp 0x46cadf
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0xf6
inc dword [esi + 0xc]
jmp 0x46cadf
test eax, 0x800000
jne 0x46cac6
test byte [ebp + 0x18], 0x10
jne 0x46cac6
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp byte [esi + 6], cl
setne cl
add ecx, 0x26
push ecx
mov ecx, dword [eax + 0x18]
push edx
push ecx
mov ecx, dword [ebp + 8]
mov eax, edi
call fcn.004524c0
add esp, 0xc
cmp byte [esi + 6], 0
jne 0x46cadf
cmp dword [edi + 8], 0x40
jge 0x46cadf
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov esi, eax
xor edx, edx
or esi, ecx
je 0x46caad
lea esp, [esp]
shrd eax, ecx, 1
shr ecx, 1
mov esi, eax
inc edx
or esi, ecx
jne 0x46caa0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x1c]
push edx
push ecx
dec eax
mov ecx, 0xfffffff2
call fcn.004326c0
add esp, 8
jmp 0x46cadf
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
call fcn.00446f80
add esp, 0x10
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x46cb12
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004690a0
add esp, 0x18
jmp 0x46cbe9
test eax, 0xf0000
je 0x46cbe9
mov esi, dword [esp + 0x2c]
mov edi, dword [esi + 0x10]
mov ecx, dword [ebp + 8]
push edi
push ecx
call fcn.0044bda0
mov ecx, dword [esp + 0x38]
mov ebx, dword [ecx + 0x1c]
mov edx, dword [edi + 0x14]
mov esi, dword [esi + 0x20]
add esp, 8
cmp dword [ecx + 0x20], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
jg 0x46cb61
mov edi, ecx
call fcn.00432020
mov ecx, edi
test eax, eax
je 0x46cb61
mov ebx, 1
xor esi, esi
jmp 0x46cb92
mov edx, dword [ecx + 4]
inc dword [ecx + 0x1c]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x48]
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
xor esi, esi
mov byte [eax], 0x26
mov byte [eax + 3], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0
mov byte [ecx + 0x64], 0
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
mov eax, ebx
cmp edx, esi
je 0x46cbdb
cmp byte [edi + 0x1e], 0
jne 0x46cbdb
cmp ebx, esi
jge 0x46cbab
mov eax, dword [ecx + 0x1c]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [edx + eax*4 + 0x10]
lea ebx, [edx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.00432580
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], esi
cmp eax, esi
jne 0x46cbd2
mov dword [ebx + 0x10], esi
mov byte [ebx + 1], 0
jmp 0x46cbe9
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x46cbe9
mov ecx, dword [esp + 0x40]
mov eax, 0xfffffff0
call fcn.00432580
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
call fcn.0044b8f0
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jle 0x46cc20
mov esi, dword [esp + 0x10]
mov esi, dword [esi + 0x18]
add edx, 4
mov edi, edi
cmp dword [edx], esi
je 0x46ccc9
inc ecx
add edx, 4
cmp ecx, eax
jl 0x46cc10
xor eax, eax
xor edx, edx
add dword [esp + 0x2c], 0x50
not eax
and dword [esp + 0x20], eax
not edx
and dword [esp + 0x24], edx
sub dword [esp + 0x3c], 1
jne 0x46c8b0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0xc], eax
cmp byte [edx + 0x1e], 0
jne 0x46c998
or ebx, 0xffffffff
xor esi, esi
cmp dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebx
jle 0x46ccbe
mov edi, ecx
add edi, 0x5c
mov eax, dword [ebp + 0x18]
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.0046aca0
mov ecx, dword [esp + 0x38]
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push ecx
push ebx
push edx
push esi
push eax
call fcn.0046afb0
mov ecx, dword [edi]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
inc esi
add esp, 0x14
add edi, 0x50
cmp esi, dword [esp + 0x1c]
mov ebx, eax
mov dword [edx + 0x10], ecx
jl 0x46cc70
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.004c2a30
jmp 0x46cc24