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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
push 0x1c
mov dword [esp + 0x14], edi
mov eax, dword [edi + 8]
mov ebx, dword [edi]
mov dword [esp + 0x44], eax
xor eax, eax
push eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x2b], al
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x34], ebx
call fcn.00589540
mov esi, dword [ebp + 0xc]
add esp, 0xc
push 0x40
pop ecx
test esi, esi
je 0x4a43f0
xor eax, eax
cmp dword [esi], ecx
cmovge esi, eax
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp + 0x14]
mov eax, ecx
and eax, 0xfeff
mov dword [esp + 0x70], esi
mov bl, byte [ebx + 0x4c]
movzx edx, ax
and bl, 0x10
movzx eax, cx
cmove edx, eax
movzx eax, dx
mov ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
push 0x40
pop edx
mov ecx, dword [ecx]
cmp ecx, edx
jle 0x4a4437
push edx
push str.at_most__d_tables_in_a_join
push edi
call fcn.004542c2
add esp, 0xc
jmp 0x4a4778
test al, 0x20
push 1
pop eax
cmovne ecx, eax
xor ebx, ebx
imul eax, ecx, 0x58
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x28]
push ebx
mov dword [esp + 0x28], eax
add eax, 0x2f7
and eax, 0xfffffff8
mov dword [esp + 0x48], eax
add eax, 0x48
push eax
call fcn.00451e5f
mov edi, eax
mov eax, dword [esp + 0x30]
pop ecx
pop ecx
mov dword [esp + 0x4c], edi
cmp byte [eax + 0x51], bl
je 0x4a448d
test edi, edi
je 0x4a4778
mov edx, edi
mov ecx, eax
call fcn.00451bec
jmp 0x4a4778
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 8], esi
mov esi, dword [ebp + 8]
mov dword [edi], ecx
mov dword [edi + 0x10], esi
or dword [edi + 0x1c], 0xffffffff
or dword [edi + 0x18], 0xffffffff
mov byte [edi + 0x2e], al
mov eax, dword [ecx + 0x38]
dec eax
mov dword [ecx + 0x38], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x14]
mov word [edi + 0x2c], ax
mov eax, dword [ebp + 0x18]
mov word [edi + 0x14], ax
mov eax, dword [ecx + 0x84]
push 0x21
mov dword [edi + 0x28], eax
lea eax, [edi + 0x2f]
push ebx
push eax
call fcn.00589540
mov eax, dword [esp + 0x30]
lea ecx, [edi + 0x2f0]
add esp, 0xc
add eax, 0x48
push eax
push ebx
push ecx
call fcn.00589540
mov ecx, dword [esp + 0x50]
lea eax, [edi + 0x50]
mov dword [esp + 0x78], eax
lea edx, [edi + 0x1e8]
add ecx, edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x80], ecx
add esp, 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edx
lea eax, [ecx + 0x38]
mov dword [ecx + 0x24], ebx
mov dword [ecx + 0x30], eax
xor eax, eax
mov word [ecx + 0x28], ax
push 3
pop eax
mov word [ecx + 0x2c], ax
lea ecx, [edi + 0x50]
mov dword [edx + 4], ebx
lea eax, [ecx + 0x18]
push 0x2c
mov edx, esi
mov dword [ecx], edi
mov byte [ecx + 9], bl
mov dword [ecx + 4], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], eax
call fcn.0049fe9e
pop ecx
mov ecx, 0x100
cmp dword [esp + 0x34], ebx
jne 0x4a45a1
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4a457f
mov al, byte [esi]
mov byte [edi + 0x2f], al
test dword [esp + 0x14], ecx
je 0x4a4589
mov byte [edi + 0x33], 1
push str.SCAN_CONSTANT_ROW
push ebx
push dword [esp + 0x18]
call fcn.00469da7
mov eax, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a45e0
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
add esi, 8
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x3c]
mov ecx, dword [edx + 4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, edi
inc dword [edx + 4]
mov edx, esi
call fcn.004a0141
mov eax, dword [esp + 0x10]
inc ebx
add esi, 0x48
pop ecx
cmp ebx, dword [eax]
jl 0x4a45ac
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
lea edx, [edi + 0x50]
mov ecx, eax
call fcn.004a0117
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x51], 0
jne 0x4a4760
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebx
cmp dword [edx + 0xc], ebx
jle 0x4a46d2
mov esi, dword [esp + 0x10]
mov eax, ebx
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 0x14]
add ecx, eax
mov dword [esp + 0x18], ecx
test byte [ecx + 0xa], 2
jne 0x4a46b6
mov eax, dword [ecx + 0x28]
or eax, dword [ecx + 0x2c]
jne 0x4a46b2
cmp dword [esp + 0x34], eax
je 0x4a4693
mov eax, dword [ecx]
push 0x1c
mov dword [esp + 0x28], eax
lea eax, [esp + 0x88]
push ebx
push eax
call fcn.00589540
mov eax, dword [esp + 0x30]
add esp, 0xc
mov byte [esp + 0x98], 1
mov dword [esp + 0x88], 0x4a4378
mov dword [esp + 0x8c], 0x479bc9
test eax, eax
je 0x4a468f
mov edx, eax
lea ecx, [esp + 0x84]
call fcn.004764b8
cmp byte [esp + 0x98], 0
je 0x4a46ae
mov ecx, dword [esp + 0x18]
push 0x10
push dword [edi + 0x24]
push dword [ecx]
push esi
call fcn.0047c806
mov eax, dword [esp + 0x28]
add esp, 0x10
push 4
pop ecx
or word [eax + 0xa], cx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add eax, 0x30
inc ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edx + 0xc]
jl 0x4a4613
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
and eax, 0x100
mov dword [esp + 0x54], eax
je 0x4a4714
push dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
lea eax, [edi + 0x50]
mov ecx, dword [esp + 0x14]
push eax
call fcn.004a077c
pop ecx
pop ecx
test eax, eax
je 0x4a4701
mov byte [edi + 0x33], 1
jmp 0x4a4714
test esi, esi
jne 0x4a4714
mov eax, 0x80
or word [edi + 0x2c], ax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp dword [esp + 0x34], 1
jne 0x4a4728
lea ecx, [esp + 0x68]
call fcn.004a41d6
test eax, eax
jne 0x4a4781
lea ecx, [esp + 0x68]
call fcn.004a31f1
test eax, eax
jne 0x4a4760
xor edx, edx
mov ecx, edi
call fcn.004a3b3d
mov esi, dword [esp + 0x28]
cmp byte [esi + 0x51], 0
jne 0x4a4760
cmp dword [edi + 8], ebx
je 0x4a478a
movzx edx, word [edi + 0x48]
mov ecx, edi
inc dx
call fcn.004a3b3d
cmp byte [esi + 0x51], 0
je 0x4a4785
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x84], eax
mov ecx, dword [esp + 0x28]
call fcn.004a1420
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x28]
cmp dword [edi + 8], ebx
jne 0x4a479e
mov eax, dword [esi + 0x20]
and eax, 0x1000
or eax, ebx
je 0x4a479e
or dword [edi + 0x40], 0xffffffff
or dword [edi + 0x44], 0xffffffff
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], ebx
jne 0x4a4760
cmp byte [esi + 0x51], 0
jne 0x4a4760
or dword [esp + 0x48], 0xffffffff
or dword [esp + 0x30], 0xffffffff
cmp byte [edi + 0x2e], 2
jb 0x4a4977
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4a4977
mov ecx, 0x100
test word [esi + 0x4c], cx
jne 0x4a4977
lea esi, [edi + 0x1e8]
mov edx, eax
mov ecx, esi
call fcn.004a007a
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
test edx, edx
je 0x4a4809
mov ecx, esi
call fcn.004a007a
or dword [esp + 0x18], eax
or dword [esp + 0x38], edx
movzx esi, byte [edi + 0x2e]
dec esi
mov dword [esp + 0x3c], esi
cmp esi, 1
jl 0x4a4977
imul eax, esi, 0x58
add eax, 0x348
add eax, edi
mov dword [esp + 0x1c], eax
mov ecx, dword [eax - 0x10]
mov edx, dword [edi + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], edx
movzx eax, byte [ecx + 0x10]
imul eax, eax, 0x48
mov dword [esp + 0x58], eax
test byte [eax + edx + 0x2c], 8
je 0x4a495c
cmp word [esp + 0x54], 0
jne 0x4a4862
test dword [ecx + 0x24], 0x1000
je 0x4a495c
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov ecx, eax
and ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, edx
and eax, dword [esp + 0x38]
or ecx, eax
mov dword [esp + 0x24], edx
jne 0x4a495c
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x14]
mov ebx, edx
imul eax, dword [eax + 0xc], 0x30
mov dword [esp + 0x60], edx
add eax, edx
mov dword [esp + 0x2c], eax
cmp ebx, eax
jae 0x4a48ea
mov esi, dword [esp + 0x44]
mov edi, eax
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
and ecx, esi
and eax, dword [esp + 0x24]
or ecx, eax
je 0x4a48cf
mov eax, dword [ebx]
test byte [eax + 4], 1
je 0x4a48d6
mov ecx, dword [esp + 0x5c]
movsx eax, word [eax + 0x24]
cmp eax, dword [edx + ecx + 0x34]
jne 0x4a48d6
add ebx, 0x30
cmp ebx, edi
jb 0x4a48a9
mov edx, dword [esp + 0x60]
cmp ebx, edi
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
jb 0x4a495c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
not ecx
and dword [esp + 0x48], ecx
not ebx
and dword [esp + 0x30], ebx
cmp edx, eax
jae 0x4a4930
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x64]
push 4
pop edi
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
and ecx, dword [esi + 8]
and eax, dword [esi + 0xc]
or ecx, eax
je 0x4a4921
or word [edx + 0xa], di
add edx, 0x30
cmp edx, ebx
jb 0x4a490d
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
movzx ecx, byte [edi + 0x2e]
lea eax, [ecx - 1]
cmp esi, eax
je 0x4a4955
sub ecx, esi
imul eax, ecx, 0x58
sub eax, 0x58
push eax
mov eax, dword [esp + 0x20]
push eax
add eax, 0xffffffa8
push eax
call fcn.00588fc0
add esp, 0xc
dec byte [edi + 0x2e]
dec dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
dec esi
sub eax, 0x58
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
cmp esi, 1
jge 0x4a4829
xor ebx, ebx
mov ecx, dword [edi]
movsx eax, word [edi + 0x48]
add dword [ecx + 0x84], eax
test byte [esp + 0x14], 4
je 0x4a49c1
mov eax, dword [edi + 0x338]
mov ecx, dword [eax + 0x24]
mov edx, ecx
shr edx, 0xc
and edx, 1
jne 0x4a49e1
test byte [esp + 0x14], 8
je 0x4a49c1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], ebx
jne 0x4a49c1
mov ebx, dword [esp + 0x14]
test ecx, 0x2000
je 0x4a49e5
test bl, 0x10
jne 0x4a49e5
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x4a4c8a
lea esi, [edi + 0x338]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], esi
jmp 0x4a4a1b
mov ebx, dword [esp + 0x14]
test edx, edx
mov edx, dword [esp + 0xc]
sete al
inc al
mov byte [edi + 0x31], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x24], 0x20
jne 0x4a49c5
test cl, 0x40
je 0x4a49c5
mov eax, dword [edi + 0x338]
and ecx, 0xffffffbf
mov dword [eax + 0x24], ecx
mov al, bl
and al, 8
mov byte [esp + 0x23], al
jmp 0x4a49c5
mov edx, dword [esp + 0xc]
movzx eax, byte [esi - 0x14]
mov ecx, dword [esp + 0x28]
imul eax, eax, 0x48
mov dword [esp + 0x38], eax
mov ebx, dword [eax + edx + 0x18]
mov edx, dword [ebx + 0x48]
call fcn.00490c32
mov ecx, dword [esi]
xor esi, esi
test byte [ebx + 0x24], 2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ecx
jne 0x4a4b79
cmp dword [ebx + 0xc], esi
jne 0x4a4b79
test dword [ecx + 0x24], 0x400
je 0x4a4aa3
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.0049aff7
mov edx, dword [esp + 0x38]
mov esi, eax
mov ecx, dword [esp + 0x40]
xor eax, eax
push eax
push eax
mov eax, dword [esp + 0x14]
push dword [edx + eax + 0x34]
mov edx, 0xa3
call fcn.00469c0b
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff4
push esi
call fcn.0046a2ad
pop ecx
pop ecx
xor esi, esi
jmp 0x4a4b75
cmp dword [ebx + 0x38], esi
jne 0x4a4b79
test byte [ecx + 0x24], 0x40
jne 0x4a4b61
test byte [esp + 0x14], 0x20
jne 0x4a4b61
cmp byte [edi + 0x31], 0
mov edx, dword [esp + 0x38]
push 0x61
pop ecx
je 0x4a4ae0
mov eax, dword [esp + 0xc]
push 0x62
pop ecx
mov eax, dword [edx + eax + 0x34]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [edx + eax + 0x34]
call fcn.0048a626
add esp, 0xc
cmp byte [edi + 0x31], 0
jne 0x4a4b51
push 0x40
pop eax
cmp word [ebx + 0x2a], ax
jge 0x4a4b51
test byte [ebx + 0x24], 0x20
jne 0x4a4b51
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], esi
mov edx, dword [eax + ecx + 0x40]
mov ecx, dword [eax + ecx + 0x44]
mov eax, edx
or eax, ecx
je 0x4a4b3d
mov edi, esi
shrd edx, ecx, 1
shr ecx, 1
mov eax, edx
inc edi
or eax, ecx
jne 0x4a4b28
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
or edx, 0xffffffff
push 0xfffffffffffffffd
push dword [esp + 0x20]
call fcn.0046a2ad
pop ecx
pop ecx
movzx edx, byte [esp + 0x23]
mov ecx, dword [esp + 0x40]
call fcn.0046a0d0
jmp 0x4a4b75
push dword [ebx]
mov ecx, dword [esp + 0x14]
mov edx, eax
push esi
push dword [ebx + 0x1c]
call fcn.00480ce7
add esp, 0xc
mov ecx, dword [esp + 0x18]
test dword [ecx + 0x24], 0x200
je 0x4a4c5d
mov eax, dword [ecx + 0x20]
test byte [ebx + 0x24], 0x20
mov ebx, eax
push 0x61
mov dword [esp + 0x28], eax
pop edx
je 0x4a4bb8
mov eax, dword [ebx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x14]
jne 0x4a4bbc
test al, 0x20
je 0x4a4bbc
mov eax, dword [esp + 0x2c]
mov edx, esi
mov esi, dword [esp + 0x10]
mov ecx, dword [eax - 0x44]
jmp 0x4a4c0e
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x31], 0
je 0x4a4bee
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx + 0x18]
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 8]
jmp 0x4a4bde
cmp eax, ebx
je 0x4a4be2
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x4a4bd6
push 0x62
mov dword [edi + 0x1c], ecx
mov esi, dword [esp + 0x14]
pop edx
jmp 0x4a4c0a
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4a4bfd
test al, 0x20
je 0x4a4bfd
push 0x60
jmp 0x4a4be7
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [eax - 0x40], ecx
test edx, edx
je 0x4a4c5d
push dword [esp + 0x3c]
push dword [ebx + 0x2c]
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00469c0b
add esp, 0xc
mov edx, ebx
mov ecx, esi
call fcn.0046a350
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0xf
je 0x4a4c5d
test dword [eax + 0x24], 0x88002
jne 0x4a4c5d
test byte [edi + 0x2c], 1
jne 0x4a4c5d
cmp byte [edi + 0x33], 2
je 0x4a4c5d
mov ecx, dword [esp + 0x40]
push 2
pop edx
call fcn.0046a0d0
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x4a4c70
mov ecx, dword [esp + 0x10]
mov edx, eax
call fcn.00485561
mov esi, dword [esp + 0x2c]
add esi, 0x58
sub dword [esp + 0x44], 1
mov dword [esp + 0x2c], esi
jne 0x4a4a17
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov eax, dword [eax + 0x6c]
mov dword [edi + 0x38], eax
cmp byte [esi + 0x51], 0
jne 0x4a4760
test ecx, ecx
jle 0x4a4d51
lea ebx, [edi + 0x324]
mov eax, dword [ebx + 0x14]
test dword [eax + 0x24], 0x4000
je 0x4a4cf1
mov ecx, dword [esp + 0xc]
lea eax, [ebx - 0x34]
push eax
movzx eax, byte [ebx]
lea edx, [edi + 0x50]
push dword [esp + 0x34]
imul eax, eax, 0x48
add ecx, 8
push dword [esp + 0x50]
add eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004a0947
add esp, 0x10
cmp byte [esi + 0x51], 0
jne 0x4a4760
push dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea esi, [ebx - 0x34]
mov ecx, dword [esp + 0x14]
push esi
call fcn.0049c0eb
push dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, ecx
push dword [esp + 0x54]
push esi
mov eax, dword [ecx + 0x6c]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
push esi
push edi
mov dword [ebx - 0x14], eax
call fcn.0049ce5b
mov ecx, dword [ebx - 0x1c]
add esp, 0x1c
inc esi
mov dword [esp + 0x48], eax
add ebx, 0x58
mov dword [esp + 0x50], esi
cmp esi, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov dword [edi + 0x20], ecx
jl 0x4a4cb0
mov eax, edi
jmp 0x4a477a