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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
movdqa xmmword [esp + 0x50], xmm0
test byte [ecx + 0x3c], 0x20
mov dword [esp + 0x18], edx
mov dword [esp + 0x58], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x60], 0
je 0x46ad9e
and edx, 0xfbff
mov al, byte [edi]
mov dword [esp + 0x24], edx
cmp al, 0x40
jbe 0x46adce
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.00409b90
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
test dl, 0x40
je 0x46adda
mov eax, 1
jmp 0x46addd
movzx eax, al
mov esi, eax
mov dword [esp + 0x2c], eax
shl esi, 6
add esi, 0x2df
and esi, 0xfffffff8
lea edi, [esi + 0x48]
mov edx, edi
call fcn.00407990
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x46ae13
push edi
push 0
push ecx
call fcn.004cb9a0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x40], 0
je 0x46ae3c
mov edx, ecx
mov ecx, eax
call fcn.00407740
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov byte [ecx + 0x28], al
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x34]
call fcn.00424770
mov edx, dword [esp + 0x10]
lea ecx, [edx + esi]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x20]
mov dword [esp + 0x5c], ecx
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x24]
mov word [edx + 0x22], ax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1bc]
mov dword [edx + 0x38], eax
lea eax, [edx + 0x3c]
mov dword [esp + 0x48], eax
lea eax, [edx + 0x140]
mov dword [ecx + 0x28], 0x40000
mov dword [ecx + 0x24], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
lea eax, [ecx + 0x34]
mov dword [ecx + 0x2c], eax
lea ecx, [edx + 0x140]
mov dword [edx + 0x3c], 0
lea eax, [ecx + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x160], 0
jne 0x46af23
mov eax, dword [ecx]
test byte [eax + 0x3c], 8
jne 0x46af23
xorps xmm0, xmm0
mov edx, esi
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x70]
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x70], 0x438920
call fcn.004321c0
mov ecx, dword [esp + 0x44]
mov edx, esi
push 0x45
call fcn.00463580
mov ecx, dword [esp + 0x18]
add esp, 4
or edx, 0xffffffff
call fcn.00442070
test esi, esi
je 0x46af6c
cmp dword [esp + 0x2c], 0
je 0x46af55
mov ecx, esi
call fcn.00435e00
test eax, eax
je 0x46af6c
mov ecx, dword [esp + 0x10]
mov edx, esi
push 8
push dword [ecx + 0x34]
mov ecx, dword [esp + 0x1c]
call fcn.00438f00
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x46af8d
mov eax, dword [esp + 0x10]
test edi, edi
je 0x46af7f
mov byte [eax + 0x24], 1
test dword [esp + 0x24], 0x400
je 0x46af8d
mov byte [eax + 0x27], 1
mov eax, dword [esp + 0x30]
xor esi, esi
cmp byte [eax], 0
jbe 0x46afbe
mov edi, dword [esp + 0x48]
lea edx, [eax + 0x34]
nop
mov ecx, dword [edi]
lea edx, [edx + 0x48]
mov eax, dword [edx - 0x48]
inc esi
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [esp + 0x30]
inc dword [edi]
movzx eax, byte [eax]
cmp esi, eax
jl 0x46afa0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov esi, dword [eax + 0xc]
dec esi
js 0x46afe8
mov edi, dword [esp + 0x30]
lea esp, [esp]
push esi
mov edx, eax
mov ecx, edi
call fcn.00464b20
mov eax, dword [esp + 0x48]
add esp, 4
dec esi
jns 0x46afd0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x40], 0
jne 0x46b10e
mov eax, dword [esp + 0x24]
test edi, edi
je 0x46b060
test eax, 0x400
je 0x46b060
mov edi, dword [edi]
xor esi, esi
test edi, edi
jle 0x46b09d
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 8]
mov eax, dword [edx]
test eax, eax
je 0x46b044
mov edi, edi
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x46b044
test ecx, 0x40000
je 0x46b03d
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax]
jmp 0x46b040
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x46b020
cmp byte [eax], 0x98
jne 0x46b092
cmp word [eax + 0x20], 0
jl 0x46b058
inc esi
add edx, 0x18
cmp esi, edi
jl 0x46b018
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
and eax, 0x400
mov dword [esp + 0x3c], eax
je 0x46b0b9
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push esi
push dword [esp + 0x48]
call fcn.004653c0
add esp, 8
test eax, eax
je 0x46b0a3
mov edi, dword [esp + 0x10]
mov byte [edi + 0x27], 1
jmp 0x46b0bd
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [eax + 8], edi
jmp 0x46b05c
mov edi, dword [esp + 0x18]
jmp 0x46b060
test edi, edi
mov edi, dword [esp + 0x10]
jne 0x46b0bd
mov eax, 0x200
mov dword [edi + 8], esi
or word [edi + 0x22], ax
jmp 0x46b0bd
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x2c], 1
jne 0x46b0d1
lea ecx, [esp + 0x50]
call fcn.0046ab90
test eax, eax
jne 0x46b140
lea ecx, [esp + 0x50]
call fcn.00469b40
test eax, eax
jne 0x46b10e
xor edx, edx
mov ecx, edi
call fcn.0046a440
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x40], 0
jne 0x46b10e
cmp dword [edi + 8], 0
je 0x46b14a
movzx edx, word [edi + 0x20]
mov ecx, edi
inc dx
call fcn.0046a440
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x40], 0
je 0x46b144
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x1bc], eax
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.00468450
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
cmp dword [edi + 8], 0
jne 0x46b161
test dword [eax + 0x18], 0x20000
je 0x46b161
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x44], 0
jne 0x46b10e
cmp byte [eax + 0x40], 0
jne 0x46b10e
cmp byte [edi + 0x28], 2
jb 0x46b28f
test esi, esi
je 0x46b28f
mov ecx, 0x400
test word [eax + 0x3c], cx
jne 0x46b28f
mov ecx, dword [esp + 0x48]
mov edx, esi
call fcn.004636a0
mov edi, edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x58]
mov esi, eax
mov dword [esp + 0x20], esi
test edx, edx
je 0x46b1c6
mov ecx, dword [esp + 0x48]
call fcn.004636a0
or esi, eax
or edi, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x28], 2
jb 0x46b28f
mov edx, dword [edi + 4]
mov dword [esp + 0x40], edx
jmp 0x46b1e0
mov al, byte [edi + 0x28]
mov byte [esp + 0x3b], al
movzx eax, al
shl eax, 6
mov ecx, dword [eax + edi + 0x2cc]
movzx eax, byte [ecx + 0x10]
lea eax, [eax + eax*8]
test byte [edx + eax*8 + 0x28], 8
je 0x46b28f
cmp word [esp + 0x3c], 0
jne 0x46b217
test dword [ecx + 0x24], 0x1000
je 0x46b28f
mov eax, dword [ecx + 0xc]
mov edi, dword [ecx + 8]
mov ecx, edi
mov dword [esp + 0x18], eax
and ecx, esi
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x46b28b
mov eax, dword [esp + 0x54]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, edx
cmp edx, esi
jae 0x46b268
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, edi
and eax, dword [esp + 0x18]
or ecx, eax
je 0x46b25b
mov eax, dword [edx]
test byte [eax + 4], 1
je 0x46b264
add edx, 0x30
cmp edx, esi
jb 0x46b243
jmp 0x46b268
cmp edx, esi
jb 0x46b28b
mov al, byte [esp + 0x3b]
mov edi, dword [esp + 0x10]
dec al
dec dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov byte [edi + 0x28], al
cmp al, 2
jae 0x46b1e0
jmp 0x46b28f
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
movsx eax, word [edi + 0x20]
add dword [ecx + 0x1bc], eax
test byte [esp + 0x24], 4
je 0x46b2b9
mov eax, dword [edi + 0x30c]
test dword [eax + 0x24], 0x1000
je 0x46b2b9
mov byte [edi + 0x25], 1
and dword [eax + 0x24], 0xffffffbf
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x46b515
lea eax, [edi + 0x30c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], eax
movzx eax, byte [eax - 0x14]
mov esi, 0xfff0bdc0
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
mov edi, dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [esp + 0x18], eax
mov edx, dword [edi + 0x44]
test edx, edx
je 0x46b31c
mov eax, dword [esp + 0x28]
xor esi, esi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x46b31c
mov eax, dword [eax + 0x10]
add eax, 0xc
jmp 0x46b310
cmp dword [eax], edx
je 0x46b31c
inc esi
add eax, 0x10
cmp esi, ecx
jl 0x46b310
mov eax, dword [esp + 0x20]
mov cl, byte [edi + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test cl, 2
jne 0x46b419
cmp dword [edi + 0xc], 0
jne 0x46b419
mov eax, dword [eax + 0x24]
test eax, 0x400
je 0x46b380
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x46b35c
mov ecx, dword [esp + 0x28]
cmp dword [eax], ecx
je 0x46b35c
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x46b351
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [edx + 0x2c]
mov edx, 0x89
call fcn.004245f0
add esp, 0x14
jmp 0x46b419
test cl, 0x10
jne 0x46b419
test al, 0x40
jne 0x46b404
test byte [esp + 0x24], 0x10
jne 0x46b404
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp byte [ecx + 0x25], al
mov edx, dword [edx + 0x2c]
mov ecx, dword [esp + 0x14]
setne al
add eax, 0x30
push eax
push edi
push esi
call fcn.004499e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp byte [eax + 0x25], 0
jne 0x46b419
cmp word [edi + 0x26], 0x40
jge 0x46b419
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x46b3ed
lea esp, [esp]
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x46b3e0
mov eax, dword [esp + 0x34]
mov ecx, eax
push 0xfffffffffffffff2
push edi
mov edx, dword [eax + 0x1c]
dec edx
call fcn.00424ad0
add esp, 8
jmp 0x46b419
push dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, esi
push 0
push dword [edi + 0x20]
call fcn.0043cf00
add esp, 0xc
mov ecx, dword [esp + 0x40]
test dword [ecx + 0x24], 0x200
je 0x46b4cc
mov edi, dword [ecx + 0x1c]
mov edx, edi
mov ecx, dword [esp + 0x14]
call fcn.00442600
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x46b447
mov ecx, eax
jmp 0x46b454
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x48]
lea eax, [ecx + 1]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [eax - 0x2c], ecx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x1c]
cmp dword [eax + 0x20], edi
jg 0x46b488
mov ecx, eax
call fcn.004243f0
test eax, eax
je 0x46b484
mov edi, 1
jmp 0x46b4b8
mov eax, dword [esp + 0x34]
inc dword [eax + 0x1c]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x30
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
mov edx, edi
push 0xfffffffffffffff0
push dword [esp + 0x50]
call fcn.00424ad0
add esp, 8
mov ecx, dword [esp + 0x14]
mov edx, esi
call fcn.00442070
mov edi, dword [esp + 0x48]
xor ecx, ecx
mov edx, dword [edi]
test edx, edx
jle 0x46b4fc
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x2c]
lea eax, [edi + 4]
lea ecx, [ecx]
cmp dword [eax], esi
je 0x46b4fc
inc ecx
add eax, 4
cmp ecx, edx
jl 0x46b4f0
mov eax, dword [esp + 0x20]
add eax, 0x40
dec dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jne 0x46b2d3
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x40], 0
jne 0x46b10e
or ecx, 0xffffffff
or edx, 0xffffffff
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
cmp dword [esp + 0x2c], edi
jle 0x46b605
mov esi, dword [esp + 0x10]
add esi, 0x2f8
mov eax, dword [esi + 0x14]
test dword [eax + 0x24], 0x4000
je 0x46b592
lea eax, [esi - 0x20]
push eax
movzx eax, byte [esi]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00465530
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp byte [eax + 0x40], 0
jne 0x46b10e
push dword [esp + 0x24]
movzx eax, byte [esi]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esi - 0x20]
push edi
push eax
call fcn.00466980
mov eax, dword [esp + 0x44]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov dword [esi - 4], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.00466bb0
mov ecx, dword [esi - 0xc]
inc edi
mov dword [esp + 0x34], eax
add esp, 0x18
mov eax, dword [esp + 0x10]
add esi, 0x40
mov dword [esp + 0x3c], edx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x1c]
cmp edi, dword [esp + 0x2c]
jl 0x46b551
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004c515f
mov esp, ebp
pop ebp
ret