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

Disassembly:
sub esp, 0x54
mov eax, dword [0x71f194]
push ebp
test eax, eax
push esi
mov dword [esp + 0x28], 1
jne 0x4a4dbd
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4a4dbd
mov ebp, dword [esp + 0x64]
test ebp, ebp
je 0x4a4dbd
push 0
push 0
push 0
push 0x15
push esi
call fcn.004a99e0
add esp, 0x14
test eax, eax
jne 0x4a4dbd
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4a4544
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
push ebp
push esi
call fcn.004a5940
add esp, 0x14
pop esi
pop ebp
add esp, 0x54
ret
push ebx
lea eax, [esp + 0x38]
push edi
push eax
push esi
call fcn.004a6c40
mov ebx, dword [esp + 0x78]
mov ecx, dword [ebp + 0x18]
add esp, 8
cmp ebx, 5
mov dword [esp + 0x14], ecx
je 0x4a456e
cmp ebx, 6
je 0x4a456e
cmp ebx, 9
jne 0x4a4575
mov dword [ebp + 0x18], 0
push 0
push ebp
push esi
call fcn.004a4210
add esp, 0xc
test eax, eax
jne 0x4a4da3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], eax
xor eax, eax
mov al, byte [ebp + 0x35]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
xor ecx, ecx
mov dword [ebp + 0x18], edx
mov edx, dword [ebp + 0x14]
mov cl, byte [ebp + 5]
test eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
je 0x4a4da3
mov ecx, dword [esi + 0x18]
test ecx, ecx
jg 0x4a4da3
cmp ebx, 2
je 0x4a45e2
cmp ebx, 3
jne 0x4a45fa
cmp dword [eax], 1
jle 0x4a45fa
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push esi
call fcn.0048bd80
add esp, 8
jmp 0x4a4da3
cmp ebx, 5
jl 0x4a4611
cmp ebx, 6
jle 0x4a4609
cmp ebx, 9
jne 0x4a4611
mov dword [esp + 0x14], 0
push esi
call fcn.004a41f0
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
je 0x4a4da3
cmp ebx, 1
jne 0x4a463a
mov edx, dword [esp + 0x20]
push edx
push edi
push esi
call fcn.004a5510
add esp, 0xc
cmp word [edi], 0
mov dword [esp + 0x1c], 0
jle 0x4a4714
xor ebx, ebx
mov ecx, dword [ebx + edi + 0x14]
lea eax, [ebx + edi + 0x14]
test ecx, ecx
mov dword [esp + 0x2c], 0
je 0x4a46fd
mov ecx, dword [ebx + edi + 8]
test ecx, ecx
je 0x4a4685
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xa4], ecx
mov dword [esp + 0x2c], edx
mov edi, 1
jmp 0x4a4687
xor edi, edi
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push edx
push ebp
movsx edx, word [ebx + ecx + 0x1a]
push edx
push 8
push eax
push esi
call fcn.004a44d0
add esp, 0x20
test edi, edi
je 0x4a46ba
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0xa4], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
cmp eax, 5
mov dword [esp + 0x24], edx
je 0x4a46e2
cmp eax, 6
je 0x4a46e2
cmp eax, 9
je 0x4a46e2
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [ebp + 5]
mov dword [esp + 0x10], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x1c]
add ebx, 0x24
movsx edx, word [edi]
inc eax
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x4a464e
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ebx
push eax
push ebp
push esi
call fcn.004a6980
add esp, 0x10
test eax, eax
je 0x4a4739
mov dword [esp + 0x30], 0
jmp 0x4a4da3
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a4781
mov edi, dword [esp + 0x80]
test edi, edi
je 0x4a4781
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
push eax
push esi
call fcn.004a64a0
add esp, 0x14
test eax, eax
je 0x4a4781
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a4da3
mov dword [edi], 1
jmp 0x4a4da3
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4a47d4
mov eax, dword [ecx]
xor ebx, ebx
test eax, eax
jle 0x4a47c5
xor edi, edi
mov edx, dword [ecx + 8]
mov eax, dword [edx + edi + 4]
test eax, eax
je 0x4a47bb
push 0xffffffffffffffff
push eax
push esi
call fcn.004958c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [ecx + 8]
mov ecx, dword [edx + edi]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x4a4793
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4a4da3
mov ebx, dword [esp + 0x74]
push ebp
push esi
call fcn.004a57c0
mov eax, dword [esp + 0x78]
add esp, 8
cmp eax, 8
jne 0x4a4809
mov edi, dword [esp + 0x68]
push 0
push ebx
push 0x79
push edi
call fcn.004918a0
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
push eax
push ebx
push 0x6a
push edi
call fcn.004918a0
add esp, 0x20
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4a481d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a4a25
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x18], 1
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x44], esi
test ecx, ecx
jle 0x4a4874
xor ebx, ebx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x44]
mov eax, dword [edx + ebx]
push eax
push ecx
call fcn.004a95a0
add esp, 8
test eax, eax
jne 0x4a4da3
mov eax, dword [esp + 0x20]
inc edi
add ebx, 0xc
cmp edi, dword [eax]
jl 0x4a484c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a48b2
mov ecx, dword [eax]
xor edi, edi
test ecx, ecx
jle 0x4a48b2
xor ebx, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
lea edx, [esp + 0x44]
mov ecx, dword [eax + ebx]
push ecx
push edx
call fcn.004a95a0
add esp, 8
test eax, eax
jne 0x4a4da3
mov eax, dword [esp + 0x10]
inc edi
add ebx, 0xc
cmp edi, dword [eax]
jl 0x4a4886
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a48d0
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004a95a0
add esp, 8
test eax, eax
jne 0x4a4da3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a490a
mov ecx, dword [eax]
xor edi, edi
test ecx, ecx
jle 0x4a490a
xor ebx, ebx
mov edx, dword [eax + 8]
lea ecx, [esp + 0x44]
mov eax, dword [edx + ebx]
push eax
push ecx
call fcn.004a95a0
add esp, 8
test eax, eax
jne 0x4a4da3
mov eax, dword [esp + 0x14]
inc edi
add ebx, 0xc
cmp edi, dword [eax]
jl 0x4a48e2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4a4a25
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xa8]
xor eax, eax
push edx
test ecx, ecx
mov ecx, dword [esp + 0x6c]
sete al
push eax
push 0x73
push ecx
call fcn.004918a0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xa8]
add esp, 0x10
xor edi, edi
test eax, eax
jle 0x4a4982
xor ebx, ebx
mov edx, dword [esi + 0xac]
mov eax, dword [edx + ebx + 8]
test eax, eax
je 0x4a4974
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4a4974
push 0xfffffffffffffffb
push eax
mov eax, dword [esp + 0x70]
push edi
push 0
push 0x70
push eax
call fcn.00491980
add esp, 0x18
mov eax, dword [esi + 0xa8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x4a494a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a4a25
mov ecx, eax
mov edx, dword [ecx]
lea eax, [edx*4 + 0x10]
push eax
call fcn.0048bb00
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
je 0x4a4da3
mov eax, dword [esi]
mov edi, dword [esp + 0x80]
xor ebp, ebp
mov cl, byte [eax + 0x10]
mov eax, dword [esp + 0x10]
mov byte [edi], cl
mov edx, dword [eax]
mov dword [edi + 4], edx
mov ecx, dword [eax]
test ecx, ecx
jle 0x4a4a05
xor ebx, ebx
add edi, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + ebx]
push edx
push esi
call fcn.004a6ce0
add esp, 8
mov dword [edi], eax
test eax, eax
jne 0x4a49f6
mov eax, dword [esi]
mov ecx, dword [eax + 0x18]
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
inc ebp
add edi, 4
add ebx, 0xc
cmp ebp, dword [edx]
jl 0x4a49d5
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push 0xfffffffffffffff7
push eax
push ecx
push edx
call fcn.00491b50
mov ebp, dword [esp + 0x7c]
add esp, 0x10
mov eax, dword [esp + 0x70]
cmp eax, 2
je 0x4a4a33
cmp eax, 0xc
jne 0x4a4a63
sub eax, 2
mov edi, dword [esp + 0x68]
neg eax
sbb eax, eax
push 0
and al, 0xb6
push 0
add eax, 0x7b
push eax
push edi
call fcn.004918a0
mov eax, dword [esp + 0x84]
push 1
push eax
push 0x7d
push edi
call fcn.004918a0
add esp, 0x20
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a4a85
mov eax, dword [esi + 0x1c]
push eax
push ebp
lea ecx, [eax + 1]
push esi
mov dword [esp + 0x38], eax
mov dword [esi + 0x1c], ecx
call fcn.004a5880
add esp, 0xc
jmp 0x4a4a8d
mov dword [esp + 0x2c], 0xffffffff
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
neg edx
sbb edx, edx
lea eax, [esp + 0x14]
not edx
and edx, eax
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
call fcn.004b3bd0
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x4a4da3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4a4b0d
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push 0
push 0
push ecx
push ebp
push esi
call fcn.004a4dd0
add esp, 0x30
test eax, eax
jne 0x4a4da3
jmp 0x4a4cac
mov edi, dword [esp + 0x10]
mov dword [esp + 0x80], 0
test edi, edi
mov byte [esi + 0x14], 1
je 0x4a4b57
push edi
push esi
call fcn.004a9020
mov edx, dword [edi]
mov edi, dword [esp + 0x70]
push 0
push edx
push 0x5d
push edi
call fcn.004918a0
push edi
call fcn.004919c0
push eax
push 0
push 6
push edi
mov dword [esp + 0xac], eax
call fcn.004918a0
add esp, 0x2c
mov eax, dword [esi + 0xa8]
mov ebx, dword [esi + 0xac]
xor edi, edi
test eax, eax
jle 0x4a4b98
cmp dword [ebx], 0
jne 0x4a4b8a
mov eax, dword [ebx + 4]
push eax
push esi
call fcn.004a85e0
mov ecx, dword [esp + 0x70]
push edi
push 0
push 0x30
push ecx
call fcn.004918a0
add esp, 0x18
mov eax, dword [esi + 0xa8]
inc edi
add ebx, 0xc
cmp edi, eax
jl 0x4a4b69
mov eax, dword [esp + 0x80]
mov byte [esi + 0x14], 0
test eax, eax
jge 0x4a4bb7
mov edx, eax
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.00491a10
add esp, 8
mov eax, dword [esi + 0xa8]
mov edi, dword [esi + 0xac]
test eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x38], edi
jle 0x4a4cac
cmp dword [edi], 0
je 0x4a4c8e
mov ebp, dword [edi + 4]
mov ebx, dword [edi + 8]
mov dword [esp + 0x24], ebx
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.004a9020
mov edx, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x70]
push 0
push edx
push 0x31
push eax
call fcn.004918a0
mov al, byte [ebx + 3]
add esp, 0x18
test al, al
je 0x4a4c6b
xor eax, eax
xor ebx, ebx
xor edi, edi
cmp ebx, dword [esp + 0x80]
jge 0x4a4c44
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 8]
mov eax, dword [edx + edi]
push eax
push esi
call fcn.004a6ce0
add esp, 8
inc ebx
add edi, 0xc
test eax, eax
je 0x4a4c1e
jmp 0x4a4c4d
test eax, eax
jne 0x4a4c4d
mov ecx, dword [esi]
mov eax, dword [ecx + 0x18]
mov edx, dword [esp + 0x68]
push 0xfffffffffffffffc
push eax
push 0
push 0
push 0xe
push edx
call fcn.00491980
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
add esp, 0x18
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
push 0xfffffffffffffffb
push ebx
push eax
push 0
push 0x1d
push ecx
call fcn.00491980
mov ebp, dword [esp + 0x84]
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xa8]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
jl 0x4a4bd7
mov edx, dword [esp + 0x34]
push edx
call fcn.004b5bd0
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, eax
je 0x4a4d53
mov ebx, dword [esp + 0x68]
push ebx
call fcn.004919c0
mov edi, eax
push edi
push 0
push 8
push ebx
call fcn.004918a0
mov ebx, eax
mov eax, dword [esp + 0x3c]
add esp, 0x14
test eax, eax
je 0x4a4cf6
push 1
push ebx
push eax
push esi
call fcn.004a9270
add esp, 0x10
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x30]
push edi
push ebx
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push 0
push 0
push eax
push ebp
push esi
call fcn.004a4dd0
add esp, 0x30
test eax, eax
jne 0x4a4da3
mov ecx, dword [esp + 0x68]
push ebx
push eax
push 0x62
push ecx
call fcn.004918a0
push edi
mov edi, dword [esp + 0x7c]
push edi
call fcn.00491a10
push 0
push 0
push 0x17
push edi
call fcn.004918a0
add esp, 0x28
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x4a4d7d
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x70]
push edx
push eax
push ebp
push esi
call fcn.004a5250
add esp, 0x18
mov edi, dword [esp + 0x78]
cmp edi, ebx
je 0x4a4d9f
push ebp
call fcn.004a3600
mov eax, dword [esp + 0x80]
mov edx, dword [edi + 8]
add esp, 4
lea ecx, [eax + eax*8]
mov dword [edx + ecx*4 + 0x14], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.004a6c70
mov eax, dword [esp + 0x38]
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x54
ret
pop esi
mov eax, 1
pop ebp
add esp, 0x54
ret