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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x49b008]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x20], edx
lea edi, [esp + 0x50]
mov edx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x30], eax
push 6
mov eax, dword [edx + 8]
mov ebx, dword [edx]
pop ecx
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ebx
rep stosd dword es:[edi], eax
push 0x40
pop ecx
test esi, esi
je 0x46588f
cmp dword [esi], ecx
cmovge esi, eax
mov dword [ebp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
cmp eax, ecx
jle 0x4658ad
push ecx
push str.at_most__d_tables_in_a_join
push edx
call fcn.004084dd
add esp, 0xc
jmp 0x465be7
test byte [ebp + 0x18], 0x20
push 1
pop ecx
cmovne eax, ecx
mov ecx, ebx
mov dword [esp + 0x2c], eax
imul eax, eax, 0x60
push 0
mov dword [esp + 0x2c], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x38], eax
add eax, 0x50
push eax
call fcn.004055cb
mov ebx, eax
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
cmp byte [eax + 0x57], 0
je 0x4658f7
push ebx
push eax
call fcn.0040538c
pop ecx
pop ecx
jmp 0x465be7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx], ecx
mov dword [ebx + 4], edi
lea edi, [ebx + 0x2d]
mov dword [ebx + 8], esi
or dword [ebx + 0x18], 0xffffffff
or dword [ebx + 0x14], 0xffffffff
mov byte [ebx + 0x2c], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov eax, dword [ebp + 0x18]
mov word [ebx + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [ebx + 0x2a], ax
mov eax, dword [ecx + 0x8c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x10], eax
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x2f8]
mov dword [esp + 0x44], ecx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
add eax, 0x50
push eax
push 0
push ecx
call fcn.004753e0
mov ecx, dword [esp + 0x40]
lea edi, [ebx + 0x50]
add ecx, ebx
mov dword [esp + 0x5c], ebx
xor edx, edx
mov dword [esp + 0x64], ecx
mov dword [ebx + 0x1f4], edx
add esp, 0xc
mov dword [ebx + 0x1f8], 0xffffff9d
lea eax, [ecx + 0x40]
mov dword [ecx + 0x2c], edx
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
push 3
pop eax
mov word [ecx + 0x34], ax
lea eax, [edi + 0x20]
mov byte [edi + 9], dl
mov ecx, edi
mov dword [edi + 4], edx
mov dword [edi + 0xc], edx
mov dword [edi + 0x14], edx
mov edx, dword [esp + 0x24]
push 0x2c
mov dword [esp + 0x58], edi
mov dword [edi], ebx
mov dword [edi + 0x10], 8
mov dword [edi + 0x18], eax
call fcn.00460222
cmp dword [esp + 0x30], 0
pop ecx
jne 0x465a13
test esi, esi
je 0x4659e4
mov al, byte [esi]
mov byte [ebx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x4659fd
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
jne 0x4659fd
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
mov edi, dword [esp + 0x10]
push str.SCAN_CONSTANT_ROW
push 0
push edi
call fcn.0042045f
add esp, 0xc
jmp 0x465a5e
mov esi, dword [esp + 0x20]
and dword [esp + 0x24], 0
add esi, 8
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1f4]
mov edx, esi
mov eax, dword [esi + 0x2c]
mov dword [ebx + ecx*4 + 0x1f8], eax
lea eax, [ebx + 0x50]
inc dword [ebx + 0x1f4]
mov ecx, edi
push eax
call fcn.00460616
mov eax, dword [esp + 0x28]
add esi, 0x48
pop ecx
mov ecx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ecx]
jl 0x465a23
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [ebx + 0x50]
call fcn.004605ec
mov eax, dword [esp + 0x30]
test eax, eax
je 0x465a82
cmp dword [eax + 0x3c], 0
je 0x465a82
mov edx, eax
lea ecx, [ebx + 0x50]
call fcn.00460321
xor eax, eax
cmp dword [edi + 0x24], eax
jne 0x465bd3
lea ecx, [ebx + 0x50]
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x14], eax
jle 0x465b4c
mov esi, eax
jmp 0x465aa4
lea ecx, [ebx + 0x50]
mov ecx, dword [ecx + 0x18]
add ecx, esi
mov dword [esp + 0x34], ecx
test byte [ecx + 0xa], 2
jne 0x465b2b
mov eax, dword [ecx + 0x28]
or eax, dword [ecx + 0x2c]
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
jne 0x465b2b
cmp dword [esp + 0x2c], eax
je 0x465b03
push 7
pop ecx
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
inc eax
mov dword [esp + 0x6c], 0x465463
mov word [esp + 0x7c], ax
mov dword [esp + 0x70], 0x432614
test edx, edx
je 0x465aff
lea ecx, [esp + 0x68]
call fcn.0042e65b
cmp word [esp + 0x7c], 0
je 0x465b2b
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
test byte [edx + 4], 2
je 0x465b13
mov eax, dword [esp + 0x20]
test byte [eax + 0x2c], 0x40
jne 0x465b2b
push 0x10
push dword [ebx + 0x20]
push edx
push edi
call fcn.00435b45
mov eax, dword [esp + 0x44]
add esp, 0x10
or word [eax + 0xa], 4
mov ecx, dword [esp + 0x24]
lea edx, [ebx + 0x50]
mov edi, dword [esp + 0x10]
inc ecx
add esi, 0x30
mov dword [esp + 0x24], ecx
cmp ecx, dword [edx + 0x14]
jl 0x465aa1
mov esi, dword [ebp + 0xc]
jmp 0x465b4f
lea edx, [ebx + 0x50]
mov ecx, dword [ebp + 0x18]
test ecx, 0x100
je 0x465b76
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
je 0x465bfe
mov eax, 0xfeff
and ecx, eax
and word [ebx + 0x28], ax
mov dword [ebp + 0x18], ecx
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x2c], 1
jne 0x465b92
lea ecx, [esp + 0x50]
call fcn.0046527e
test eax, eax
jne 0x465c3a
lea ecx, [esp + 0x50]
call fcn.0046416a
test eax, eax
jne 0x465bd3
xor edx, edx
mov ecx, ebx
call fcn.00464bb4
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x57], 0
jne 0x465bd3
cmp dword [ebx + 8], 0
je 0x465c44
movzx edx, word [ebx + 0x34]
mov ecx, ebx
inc dx
call fcn.00464bb4
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x57], 0
je 0x465c3e
mov eax, dword [ebx + 0x24]
mov edx, ebx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x8c], eax
call fcn.00461e9c
xor eax, eax
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00473c7a
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
mov ecx, edi
push edx
mov edx, dword [esp + 0x28]
call fcn.00460c9a
pop ecx
pop ecx
test eax, eax
je 0x465c1d
mov byte [ebx + 0x2f], 1
jmp 0x465b76
test esi, esi
jne 0x465b76
mov esi, dword [esp + 0x14]
mov eax, 0x80
or word [ebx + 0x28], ax
mov dword [ebx + 8], esi
jmp 0x465b7a
mov ecx, dword [esp + 0x1c]
cmp dword [ebx + 8], 0
jne 0x465c59
mov eax, dword [ecx + 0x20]
and eax, 0x1000
or eax, 0
je 0x465c59
or dword [ebx + 0x48], 0xffffffff
or dword [ebx + 0x4c], 0xffffffff
cmp dword [edi + 0x24], 0
jne 0x465bd3
mov al, byte [ebx + 0x2c]
or dword [esp + 0x48], 0xffffffff
or dword [esp + 0x30], 0xffffffff
cmp al, 2
jb 0x465cc7
test esi, esi
je 0x465cb1
mov eax, dword [ebp + 0x18]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x465cb1
test dword [ecx + 0x50], 0x100
jne 0x465cb1
push ecx
push ecx
mov ecx, ebx
call fcn.00465489
pop ecx
mov dword [esp + 0x4c], eax
mov al, byte [ebx + 0x2c]
mov dword [esp + 0x34], edx
pop ecx
movzx ecx, al
mov dword [esp + 0x2c], ecx
cmp al, 2
jb 0x465cc7
mov esi, dword [esp + 0x1c]
test dword [esi + 0x50], 0x80000
jne 0x465ccb
mov ecx, ebx
call fcn.00465648
jmp 0x465ccb
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebx]
movsx eax, word [ebx + 0x34]
and dword [esp + 0x14], 0
add dword [ecx + 0x8c], eax
mov eax, dword [ebp + 0x18]
test al, 4
je 0x465d5c
mov edx, dword [ebx + 0x348]
mov ecx, dword [edx + 0x2c]
test ecx, 0x1000
jne 0x465d28
and dword [esp + 0x14], 0
test al, 8
je 0x465d5c
mov eax, dword [esp + 0x20]
and dword [esp + 0x14], 0
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x465d5c
test ecx, 0x2000
je 0x465d22
and dword [esp + 0x14], 0
test byte [ebp + 0x18], 0x10
je 0x465d5c
test ecx, 0x1000
sete al
and dword [esp + 0x14], 0
inc al
mov byte [ebx + 0x2e], al
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x465d5c
and dword [esp + 0x14], 0
test cl, 0x40
je 0x465d5c
mov eax, dword [ebp + 0x18]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x466117
lea eax, [ebx + 0x348]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], eax
jmp 0x465d7c
mov esi, dword [esp + 0x1c]
movzx eax, byte [eax - 0x14]
mov ecx, dword [esp + 0x20]
imul eax, eax, 0x48
add ecx, 8
add eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x3c]
mov ecx, esi
call fcn.0044db31
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], edx
test dword [eax + 0x1c], 0x4000
jne 0x465e42
mov cl, byte [eax + 0x2b]
cmp cl, 2
je 0x465e42
test dword [edx + 0x2c], 0x400
je 0x465e0a
mov edx, eax
mov ecx, esi
call fcn.0045a7e0
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov edx, 0xad
push 0
push 0
push dword [eax + 0x2c]
call fcn.00420222
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff5
push esi
call fcn.004209e0
pop ecx
pop ecx
jmp 0x465e3a
cmp cl, 1
je 0x465e42
test byte [edx + 0x2c], 0x40
jne 0x465e1b
test byte [ebp + 0x18], 0x20
je 0x465e8d
mov esi, dword [esp + 0x3c]
test byte [esi + 0x24], 0x50
jne 0x465e91
push dword [eax]
mov edx, dword [esp + 0x28]
mov ecx, edi
push 0
push dword [eax + 0x14]
call fcn.0043b449
add esp, 0xc
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
test dword [edx + 0x2c], 0x200
je 0x465fe1
test byte [eax + 0x1c], 0x80
mov edx, dword [edx + 0x20]
push 0x70
pop ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], ecx
je 0x465f1a
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x465f1d
test al, 0x20
je 0x465f1d
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [eax - 0x4c]
jmp 0x465f8c
mov esi, dword [esp + 0x3c]
cmp byte [ebx + 0x2e], 0
push 0x70
pop ecx
je 0x465ea7
mov eax, dword [esi + 0x2c]
push 0x71
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x3c]
pop ecx
mov edx, dword [esi + 0x2c]
push ecx
push eax
push dword [esp + 0x2c]
mov ecx, edi
call fcn.00446126
add esp, 0xc
cmp byte [ebx + 0x2e], 0
jne 0x465f08
mov ecx, dword [esp + 0x38]
push 0x40
pop eax
cmp word [ecx + 0x22], ax
jge 0x465f08
test byte [ecx + 0x1c], 0xe0
jne 0x465f08
mov eax, dword [esp + 0x40]
test dword [eax + 0x2c], 0x404000
jne 0x465f08
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
xor esi, esi
jmp 0x465ef1
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x465eea
mov ecx, dword [esp + 0x18]
or edx, 0xffffffff
push 0xfffffffffffffffd
push esi
call fcn.004209e0
pop ecx
pop ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
call fcn.004207cf
jmp 0x465e3a
mov eax, dword [ebp + 0x18]
cmp byte [ebx + 0x2e], 0
mov esi, dword [ebp + 0x1c]
je 0x465f46
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
jmp 0x465f3a
cmp eax, edx
je 0x465f3e
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x465f32
push 0x71
pop ecx
mov dword [ebx + 0x18], esi
jmp 0x465f88
test esi, esi
je 0x465f53
test al, 0x20
je 0x465f53
push 0x65
pop ecx
jmp 0x465f88
mov esi, dword [edi + 0x28]
lea eax, [esi + 1]
mov dword [edi + 0x28], eax
test dword [edx + 0x38], 0x800
je 0x465f88
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x1000000
jne 0x465f88
push dword [esp + 0x3c]
mov ecx, edi
push esi
call fcn.0046570f
mov edx, dword [esp + 0x3c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov dword [eax - 0x48], esi
test ecx, ecx
je 0x465fe1
push dword [esp + 0x24]
push dword [edx + 0x2c]
mov edx, ecx
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00420222
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, edi
call fcn.00420a82
mov edx, dword [esp + 0x40]
test byte [edx + 0x2c], 0xf
je 0x465fe1
test dword [edx + 0x2c], 0x188002
jne 0x465fe1
xor eax, eax
inc eax
test byte [ebx + 0x28], al
jne 0x465fe1
cmp byte [ebx + 0x2f], 2
je 0x465fe1
push 2
pop edx
mov ecx, esi
call fcn.004207cf
mov eax, dword [esp + 0x24]
test eax, eax
js 0x465ffa
cmp dword [edi + 0x78], 0
mov ecx, edi
mov edx, eax
cmovne ecx, dword [edi + 0x78]
call fcn.00440a00
mov eax, dword [esp + 0x3c]
test byte [eax + 0x24], 0x10
je 0x4660fd
push 0
push 0x14
mov ecx, ebx
call fcn.00460859
mov esi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], esi
pop ecx
pop ecx
mov dword [eax - 0x18], esi
test esi, esi
je 0x466101
mov ecx, dword [edi + 0x28]
mov dword [esi], ecx
inc dword [edi + 0x28]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push 0x10000
push 0x4d
pop edx
mov dword [esi + 4], eax
call fcn.00420222
mov ecx, dword [esp + 0x24]
add esp, 0xc
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esi + 8], eax
push 0
push eax
push 0
push 0x4b
pop edx
call fcn.00420222
mov ecx, dword [esp + 0x44]
mov eax, 0x80
add esp, 0xc
test byte [ecx + 0x1c], al
jne 0x4660c1
push 0
xor eax, eax
inc eax
push eax
push dword [esi]
mov esi, dword [esp + 0x24]
mov ecx, esi
push 0x76
pop edx
call fcn.00420222
mov ecx, dword [edi]
xor eax, eax
add esp, 0xc
lea edx, [eax + 1]
push 0
call fcn.0044f6f3
pop ecx
test eax, eax
je 0x4660ed
mov ecx, dword [eax + 0x10]
mov edx, eax
and dword [eax + 0x14], 0
push 0xfffffffffffffff8
mov byte [ecx], 0
mov ecx, esi
call fcn.00420a51
pop ecx
jmp 0x4660ed
call fcn.0043c2fb
mov esi, eax
mov eax, dword [esp + 0x4c]
push 0
movzx ecx, word [esi + 0x32]
push ecx
push dword [eax]
mov ecx, dword [esp + 0x24]
push 0x76
pop edx
call fcn.00420222
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00420a82
mov eax, dword [esp + 0x40]
and dword [eax + 0x2c], 0xffffffbf
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x2f], 3
mov eax, dword [esp + 0x10]
add eax, 0x60
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
jne 0x465d78
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x6c]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x465bd3
xor esi, esi
mov dword [esp + 0x28], esi
test edx, edx
jle 0x466284
lea edx, [ebx + 0x2f8]
cmp dword [edi + 0x24], 0
jne 0x465bd3
mov eax, dword [edx + 0x50]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x34], eax
movzx eax, byte [edx + 0x3c]
mov edx, dword [esp + 0x20]
imul eax, eax, 0x48
mov dword [esp + 0x4c], eax
test byte [eax + edx + 0x30], 0x10
je 0x4661d3
test byte [eax + edx + 0x30], 8
je 0x46618b
push 0
push dword [eax + edx + 0x20]
push dword [eax + edx + 0x24]
push 0xa
pop edx
call fcn.00420222
add esp, 0xc
jmp 0x4661d3
xor eax, eax
push eax
push eax
push eax
push 0xf
pop edx
call fcn.00420222
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x4c]
push 0
push dword [eax + ecx + 0x20]
push dword [eax + ecx + 0x24]
mov ecx, dword [esp + 0x24]
push 0xa
pop edx
call fcn.00420222
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, esi
call fcn.00420a9d
mov ecx, dword [ecx + 0x6c]
mov esi, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x34]
test eax, 0x404000
je 0x466221
test eax, 0x4000
mov eax, dword [esp + 0x44]
je 0x4661fe
push eax
push dword [esp + 0x34]
lea edx, [ebx + 0x50]
mov ecx, edi
push dword [esp + 0x50]
call fcn.00460e94
jmp 0x466210
push dword [esp + 0x30]
mov edx, esi
mov ecx, ebx
push dword [esp + 0x4c]
push eax
call fcn.00461515
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x465bd3
push dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x48]
call fcn.0045b9eb
push dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x50]
push dword [esp + 0x54]
mov eax, dword [ecx + 0x6c]
push edx
mov dword [edx + 0x20], eax
mov edx, ecx
push esi
push ebx
mov ecx, edi
call fcn.0045c9e8
mov ecx, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x30], edx
inc esi
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], esi
mov eax, dword [edx + 0x18]
add edx, 0x60
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x44], edx
cmp esi, dword [esp + 0x2c]
jl 0x466143
mov eax, dword [ecx + 0x6c]
mov dword [ebx + 0x3c], eax
mov eax, ebx
jmp 0x465be9