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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [esp + 0x10], edx
lea edi, [esp + 0x4c]
mov edx, ecx
push 6
pop ecx
push 0x40
mov eax, dword [edx + 8]
mov ebx, dword [edx]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
rep stosd dword es:[edi], eax
pop ecx
test esi, esi
je 0x4b1b63
cmp dword [esi], ecx
cmovge esi, eax
mov dword [ebp + 0xc], esi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
cmp eax, ecx
jle 0x4b1b81
push ecx
push str.at_most__d_tables_in_a_join
push edx
call fcn.00453b99
add esp, 0xc
jmp 0x4b1ec4
test byte [ebp + 0x18], 0x20
push 1
pop ecx
cmovne eax, ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
imul eax, eax, 0x60
push 0
mov dword [esp + 0x48], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x44], eax
add eax, 0x50
push eax
call fcn.0045101b
mov ebx, eax
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
cmp byte [eax + 0x57], 0
je 0x4b1bd3
test ebx, ebx
je 0x4b1ec4
mov edx, ebx
mov ecx, eax
call fcn.00450d17
jmp 0x4b1ec4
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
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 [ebp + 0x14]
mov dword [ebx + 0x10], eax
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebx + 0x2f8]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
add eax, 0x50
push eax
push 0
push ecx
call fcn.00719250
mov ecx, dword [esp + 0x4c]
lea edi, [ebx + 0x50]
add ecx, ebx
mov dword [esp + 0x58], ebx
xor edx, edx
mov dword [esp + 0x60], 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 [ebp + 8]
push 0x2c
mov dword [esp + 0x54], edi
mov dword [edi], ebx
mov dword [edi + 0x10], 8
mov dword [edi + 0x18], eax
call fcn.004ac4d0
cmp dword [esp + 0x24], 0
pop ecx
jne 0x4b1ce8
test esi, esi
je 0x4b1cb9
mov al, byte [esi]
mov byte [ebx + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x4b1cd2
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
jne 0x4b1cd2
xor eax, eax
inc eax
mov byte [ebx + 0x2f], al
mov edi, dword [esp + 0x18]
push str.SCAN_CONSTANT_ROW
push 0
push edi
call fcn.0046bbd8
add esp, 0xc
jmp 0x4b1d33
mov esi, dword [esp + 0x10]
and dword [esp + 0x3c], 0
add esi, 8
mov edi, dword [esp + 0x18]
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.004ac91a
mov eax, dword [esp + 0x40]
add esi, 0x48
pop ecx
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [ecx]
jl 0x4b1cf8
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [ebx + 0x50]
call fcn.004ac8f0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b1d56
cmp dword [eax + 0x3c], 0
je 0x4b1d56
mov edx, eax
lea ecx, [ebx + 0x50]
call fcn.004ac5bc
xor eax, eax
cmp dword [edi + 0x24], eax
jne 0x4b1eac
lea edx, [ebx + 0x50]
cmp dword [edx + 0x14], eax
jle 0x4b1e0c
mov ecx, eax
mov esi, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [edx + 0x18]
add edx, ecx
mov dword [esp + 0x38], edx
test byte [edx + 0xa], 2
jne 0x4b1df5
mov eax, dword [edx + 0x28]
or eax, dword [edx + 0x2c]
jne 0x4b1df5
cmp dword [esp + 0x20], eax
je 0x4b1dd8
push 7
pop ecx
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
inc eax
mov dword [esp + 0x68], 0x4b1760
mov word [esp + 0x78], ax
mov eax, dword [edx]
mov dword [esp + 0x6c], 0x47d940
test eax, eax
je 0x4b1dd4
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.004798ac
cmp word [esp + 0x78], 0
mov edi, dword [esp + 0x18]
je 0x4b1df1
mov edx, dword [esp + 0x38]
jmp 0x4b1dd8
mov edi, dword [esp + 0x18]
push 0x10
push dword [ebx + 0x20]
push dword [edx]
push edi
call fcn.00480e00
mov eax, dword [esp + 0x48]
add esp, 0x10
or word [eax + 0xa], 4
mov ecx, dword [esp + 0x3c]
inc esi
lea edx, [ebx + 0x50]
add ecx, 0x30
mov dword [esp + 0x3c], ecx
cmp esi, dword [edx + 0x14]
jl 0x4b1d75
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
test ecx, 0x100
je 0x4b1e5f
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
je 0x4b1e31
mov eax, 0xfeff
and ecx, eax
and word [ebx + 0x28], ax
mov dword [ebp + 0x18], ecx
jmp 0x4b1e5f
push dword [ebp + 0x10]
mov ecx, edi
push edx
mov edx, dword [esp + 0x18]
call fcn.004acfaf
pop ecx
pop ecx
test eax, eax
je 0x4b1e4c
mov byte [ebx + 0x2f], 1
jmp 0x4b1e5f
test esi, esi
jne 0x4b1e5f
mov eax, 0x80
or word [ebx + 0x28], ax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], eax
cmp dword [esp + 0x20], 1
jne 0x4b1e73
lea ecx, [esp + 0x4c]
call fcn.004b156e
test eax, eax
jne 0x4b1ecd
lea ecx, [esp + 0x4c]
call fcn.004b04df
test eax, eax
jne 0x4b1eac
xor edx, edx
mov ecx, ebx
call fcn.004b0e8c
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x57], 0
jne 0x4b1eac
cmp dword [ebx + 8], 0
je 0x4b1ed7
movzx edx, word [ebx + 0x34]
mov ecx, ebx
inc dx
call fcn.004b0e8c
cmp byte [esi + 0x57], 0
je 0x4b1ed1
mov ecx, dword [esp + 0x18]
mov edx, ebx
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x8c], eax
mov ecx, dword [esp + 0x1c]
call fcn.004ae245
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x1c]
cmp dword [ebx + 8], 0
jne 0x4b1eec
mov eax, dword [esi + 0x20]
and eax, 0x1000
or eax, 0
je 0x4b1eec
or dword [ebx + 0x48], 0xffffffff
or dword [ebx + 0x4c], 0xffffffff
cmp dword [edi + 0x24], 0
jne 0x4b1eac
mov al, byte [ebx + 0x2c]
or dword [esp + 0x34], 0xffffffff
or dword [esp + 0x38], 0xffffffff
cmp al, 2
jb 0x4b1f52
cmp dword [ebp + 0x10], 0
je 0x4b1f42
mov eax, dword [ebp + 0x18]
xor ecx, ecx
and eax, 0x400
cmp cx, ax
jne 0x4b1f42
test dword [esi + 0x50], 0x100
jne 0x4b1f42
push ecx
push ecx
mov ecx, ebx
call fcn.004b1786
pop ecx
mov dword [esp + 0x38], eax
mov al, byte [ebx + 0x2c]
mov dword [esp + 0x3c], edx
pop ecx
movzx ecx, al
mov dword [esp + 0x20], ecx
cmp al, 2
jb 0x4b1f52
test dword [esi + 0x50], 0x80000
jne 0x4b1f52
mov ecx, ebx
call fcn.004b1920
mov ecx, dword [ebx]
movsx eax, word [ebx + 0x34]
and dword [esp + 0x24], 0
add dword [ecx + 0x8c], eax
mov eax, dword [ebp + 0x18]
test al, 4
je 0x4b1fe3
mov edx, dword [ebx + 0x348]
mov ecx, dword [edx + 0x2c]
test ecx, 0x1000
jne 0x4b1faf
and dword [esp + 0x24], 0
test al, 8
je 0x4b1fe3
mov eax, dword [esp + 0x10]
and dword [esp + 0x24], 0
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4b1fe3
test ecx, 0x2000
je 0x4b1fa9
and dword [esp + 0x24], 0
test byte [ebp + 0x18], 0x10
je 0x4b1fe3
test ecx, 0x1000
sete al
and dword [esp + 0x24], 0
inc al
mov byte [ebx + 0x2e], al
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4b1fe3
and dword [esp + 0x24], 0
test cl, 0x40
je 0x4b1fe3
mov eax, dword [ebp + 0x18]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x4b239e
lea eax, [ebx + 0x348]
mov dword [esp + 0x44], edx
mov dword [esp + 0x14], eax
jmp 0x4b2003
mov esi, dword [esp + 0x1c]
movzx eax, byte [eax - 0x14]
mov ecx, dword [esp + 0x10]
imul eax, eax, 0x48
add ecx, 8
add eax, ecx
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx + 0x3c]
mov ecx, esi
call fcn.00499367
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], edx
test dword [eax + 0x1c], 0x4000
jne 0x4b20c9
mov cl, byte [eax + 0x2b]
cmp cl, 2
je 0x4b20c9
test dword [edx + 0x2c], 0x400
je 0x4b2091
mov edx, eax
mov ecx, esi
call fcn.004a64f5
mov ecx, dword [esp + 0xc]
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edx, 0xad
push 0
push 0
push dword [eax + 0x2c]
call fcn.0046b9a1
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff5
push esi
call fcn.0046c12a
pop ecx
pop ecx
jmp 0x4b20c1
cmp cl, 1
je 0x4b20c9
test byte [edx + 0x2c], 0x40
jne 0x4b20a2
test byte [ebp + 0x18], 0x20
je 0x4b2114
mov esi, dword [esp + 0x2c]
test byte [esi + 0x24], 0x50
jne 0x4b2118
push dword [eax]
mov edx, dword [esp + 0x40]
mov ecx, edi
push 0
push dword [eax + 0x14]
call fcn.00486842
add esp, 0xc
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
test dword [edx + 0x2c], 0x200
je 0x4b2268
test byte [eax + 0x1c], 0x80
mov edx, dword [edx + 0x20]
push 0x70
pop ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], ecx
je 0x4b21a1
mov eax, dword [edx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x4b21a4
test al, 0x20
je 0x4b21a4
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, dword [eax - 0x4c]
jmp 0x4b2213
mov esi, dword [esp + 0x2c]
cmp byte [ebx + 0x2e], 0
push 0x70
pop ecx
je 0x4b212e
mov eax, dword [esi + 0x2c]
push 0x71
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
pop ecx
mov edx, dword [esi + 0x2c]
push ecx
push eax
push dword [esp + 0x44]
mov ecx, edi
call fcn.004918ed
add esp, 0xc
cmp byte [ebx + 0x2e], 0
jne 0x4b218f
mov ecx, dword [esp + 0x28]
push 0x40
pop eax
cmp word [ecx + 0x22], ax
jge 0x4b218f
test byte [ecx + 0x1c], 0xe0
jne 0x4b218f
mov eax, dword [esp + 0x30]
test dword [eax + 0x2c], 0x404000
jne 0x4b218f
mov edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
xor esi, esi
jmp 0x4b2178
shrd edx, ecx, 1
shr ecx, 1
inc esi
mov eax, edx
or eax, ecx
jne 0x4b2171
mov ecx, dword [esp + 0xc]
or edx, 0xffffffff
push 0xfffffffffffffffd
push esi
call fcn.0046c12a
pop ecx
pop ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
call fcn.0046bf17
jmp 0x4b20c1
mov eax, dword [ebp + 0x18]
cmp byte [ebx + 0x2e], 0
mov esi, dword [ebp + 0x1c]
je 0x4b21cd
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
jmp 0x4b21c1
cmp eax, edx
je 0x4b21c5
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x4b21b9
push 0x71
pop ecx
mov dword [ebx + 0x18], esi
jmp 0x4b220f
test esi, esi
je 0x4b21da
test al, 0x20
je 0x4b21da
push 0x65
pop ecx
jmp 0x4b220f
mov esi, dword [edi + 0x28]
lea eax, [esi + 1]
mov dword [edi + 0x28], eax
test dword [edx + 0x38], 0x800
je 0x4b220f
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x1000000
jne 0x4b220f
push dword [esp + 0x2c]
mov ecx, edi
push esi
call fcn.004b19f8
mov edx, dword [esp + 0x48]
pop ecx
pop ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
mov dword [eax - 0x48], esi
test ecx, ecx
je 0x4b2268
push dword [esp + 0x3c]
push dword [edx + 0x2c]
mov edx, ecx
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.0046b9a1
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, edi
call fcn.0046c1cd
mov edx, dword [esp + 0x30]
test byte [edx + 0x2c], 0xf
je 0x4b2268
test dword [edx + 0x2c], 0x188002
jne 0x4b2268
xor eax, eax
inc eax
test byte [ebx + 0x28], al
jne 0x4b2268
cmp byte [ebx + 0x2f], 2
je 0x4b2268
push 2
pop edx
mov ecx, esi
call fcn.0046bf17
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x4b2281
cmp dword [edi + 0x78], 0
mov ecx, edi
mov edx, eax
cmovne ecx, dword [edi + 0x78]
call fcn.0048bec0
mov eax, dword [esp + 0x2c]
test byte [eax + 0x24], 0x10
je 0x4b2384
push 0
push 0x14
mov ecx, ebx
call fcn.004acb7e
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], esi
pop ecx
pop ecx
mov dword [eax - 0x18], esi
test esi, esi
je 0x4b2388
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 + 0xc]
push 0
push eax
push 0x10000
push 0x4d
pop edx
mov dword [esi + 4], eax
call fcn.0046b9a1
mov ecx, dword [esp + 0x18]
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.0046b9a1
mov ecx, dword [esp + 0x34]
mov eax, 0x80
add esp, 0xc
test byte [ecx + 0x1c], al
jne 0x4b2348
push 0
xor eax, eax
inc eax
push eax
push dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
push 0x76
pop edx
call fcn.0046b9a1
mov ecx, dword [edi]
xor eax, eax
add esp, 0xc
lea edx, [eax + 1]
push 0
call fcn.0049af8e
pop ecx
test eax, eax
je 0x4b2374
mov ecx, dword [eax + 0x10]
mov edx, eax
and dword [eax + 0x14], 0
push 0xfffffffffffffff8
mov byte [ecx], 0
mov ecx, esi
call fcn.0046c19c
pop ecx
jmp 0x4b2374
call fcn.004877d3
mov esi, eax
mov eax, dword [esp + 0x48]
push 0
movzx ecx, word [esi + 0x32]
push ecx
push dword [eax]
mov ecx, dword [esp + 0x18]
push 0x76
pop edx
call fcn.0046b9a1
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0046c1cd
mov eax, dword [esp + 0x30]
and dword [eax + 0x2c], 0xffffffbf
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x2f], 3
mov eax, dword [esp + 0x14]
add eax, 0x60
sub dword [esp + 0x44], 1
mov dword [esp + 0x14], eax
jne 0x4b1fff
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x6c]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4b1eac
xor ecx, ecx
mov dword [esp + 0x30], ecx
test edx, edx
jle 0x4b2527
mov esi, dword [esp + 0x18]
lea edi, [ebx + 0x334]
cmp dword [esi + 0x24], 0
jne 0x4b1eac
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x44], eax
movzx eax, byte [edi]
imul eax, eax, 0x48
mov dword [esp + 0x48], eax
test byte [eax + edx + 0x30], 0x10
je 0x4b2465
test byte [eax + edx + 0x30], 8
mov ecx, dword [esp + 0xc]
je 0x4b2419
push 0
push dword [eax + edx + 0x20]
push dword [eax + edx + 0x24]
push 0xa
pop edx
call fcn.0046b9a1
add esp, 0xc
jmp 0x4b2461
xor eax, eax
push eax
push eax
push eax
push 0xf
pop edx
call fcn.0046b9a1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x48]
push 0
push dword [eax + ecx + 0x20]
push dword [eax + ecx + 0x24]
mov ecx, dword [esp + 0x18]
push 0xa
pop edx
call fcn.0046b9a1
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, esi
call fcn.0046c1e8
mov ecx, dword [ecx + 0x6c]
mov esi, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
test edx, 0x404000
je 0x4b24c7
lea eax, [edi - 0x3c]
test edx, 0x4000
je 0x4b24a4
mov ecx, dword [esp + 0x10]
lea edx, [ebx + 0x50]
push eax
movzx eax, byte [edi]
add ecx, 8
push dword [esp + 0x3c]
imul eax, eax, 0x48
push dword [esp + 0x3c]
add eax, ecx
mov ecx, esi
push eax
call fcn.004ad1ab
add esp, 0x10
jmp 0x4b24b9
push dword [esp + 0x38]
mov edx, ecx
mov ecx, ebx
push dword [esp + 0x38]
push eax
call fcn.004ad901
add esp, 0xc
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4b1eac
push dword [ebp + 0x18]
mov edx, dword [esp + 0x14]
lea esi, [edi - 0x3c]
mov ecx, dword [esp + 0x1c]
push esi
call fcn.004a779d
push dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, ecx
push dword [esp + 0x40]
push esi
mov eax, dword [ecx + 0x6c]
push dword [esp + 0x44]
mov esi, dword [esp + 0x30]
mov ecx, esi
push ebx
mov dword [edi - 0x1c], eax
call fcn.004a88ad
mov ecx, dword [esp + 0x4c]
add esp, 0x1c
mov dword [esp + 0x34], eax
inc ecx
mov eax, dword [edi - 0x24]
add edi, 0x60
mov dword [esp + 0x38], edx
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x20]
jl 0x4b23ce
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x6c]
mov dword [ebx + 0x3c], eax
mov eax, ebx
jmp 0x4b1ec6