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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [edx + 4]
mov dword [esp + 8], edx
mov dword [esp + 0x10], 0
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 8]
mov dword [esp + 0x20], edi
test al, 0x20
jne 0x4a9695
cmp dword [ebx + 0x34], 0
jne 0x4a9695
test eax, 0x2000000
je 0x4a95cd
mov esi, dword [edi + 0x74]
cmp dword [edi + 0x78], esi
jg 0x4a9496
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0048eaa0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov esi, eax
jmp 0x4a94c9
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test dword [edx + 4], 0x800
je 0x4a94ec
mov eax, dword [edx + 0x14]
push dword [eax + 0x10]
push str.REUSE_LIST_SUBQUERY__d
push 0
push ebx
call fcn.0048f0a0
mov edx, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [edx + 0x2c]
mov ebx, dword [ebx + 0x30]
cmp dword [edi + 0x78], ecx
jg 0x4a9513
push 0
push edx
push ebx
mov edx, 0xc
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a9542
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [eax + 0x1c]
cmp dword [edi + 0x78], ecx
jg 0x4a9568
push 0
push edx
push dword [ebp + 8]
mov edx, 0x71
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a9597
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4a95b1
mov eax, 0x5c24f8
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0x2000000
mov dword [edx + 4], eax
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [edx + 0x30], esi
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4a95fe
push 0
push esi
push 0
mov edx, 0x47
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
mov edx, eax
jmp 0x4a962d
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edx + 1]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x2c], eax
mov esi, dword [edi + 0x74]
mov dword [esp + 0x1c], esi
cmp dword [edi + 0x78], esi
jg 0x4a9662
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0048eaa0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x4a9695
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edx + 0xc]
mov al, byte [esi]
cmp al, 0xb0
jne 0x4a96a1
mov al, byte [esi + 2]
cmp al, 0xb1
jne 0x4a96ac
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
jmp 0x4a96bf
cmp al, 0x8a
jne 0x4a96ba
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
jmp 0x4a96bf
mov edx, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], edx
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0x74]
mov dword [esp + 0x30], eax
cmp dword [edi + 0x78], eax
jg 0x4a96f6
push 0
push edx
push ecx
mov edx, 0x74
mov ecx, edi
call fcn.0048eaa0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4a972a
inc eax
mov dword [edi + 0x74], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov edi, dword [ebp + 8]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
lea eax, [edx*4 + 1]
add eax, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
add eax, 0x18
push 0
push eax
call fcn.0046a610
mov edx, eax
add esp, 8
mov dword [esp + 0x28], edx
test edx, edx
je 0x4a9795
mov ecx, dword [esp + 0x18]
push dword [esp + 0x38]
push 0
lea eax, [ecx + 6]
lea eax, [edx + eax*4]
mov dword [edx + 0x10], eax
movzx eax, cx
mov ecx, dword [esp + 0x34]
mov word [edx + 6], ax
inc eax
mov word [edx + 8], ax
mov al, byte [ecx + 0x54]
mov byte [edx + 4], al
lea eax, [edx + 0x18]
push eax
mov dword [edx + 0xc], ecx
mov dword [edx], 1
call fcn.005479f0
add esp, 0xc
jmp 0x4a97a6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0046a8e0
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
test dword [eax + 4], 0x800
mov eax, dword [eax + 0x14]
mov dword [esp + 0x38], eax
je 0x4a999a
push dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov eax, 0x58980c
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], ecx
mov ecx, str.CORRELATED
cmove eax, ecx
push eax
push str._sLIST_SUBQUERY__d
push 1
push ebx
call fcn.0048f0a0
mov ecx, dword [esp + 0x38]
add esp, 0x14
mov eax, dword [esp + 0x18]
cmp dword [ecx], eax
jne 0x4a9c6e
mov eax, dword [ebp + 8]
mov ecx, ebx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x3c], 0xb
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.004a9300
mov edx, dword [esp + 0x38]
push 0
mov dword [esp + 0x54], eax
mov dword [edx + 8], 0
mov ecx, dword [ebx]
call fcn.004a7b90
mov ecx, dword [ebx]
add esp, 4
mov dword [esp + 0x38], eax
cmp byte [ecx + 0x57], 0
je 0x4a985b
mov dword [esp + 0x2c], 1
jmp 0x4a9874
lea ecx, [esp + 0x3c]
mov edx, eax
push ecx
mov ecx, ebx
call fcn.004e5680
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4a9886
mov ecx, dword [ebx]
mov edx, eax
push 1
call fcn.004da5f0
add esp, 4
mov edx, dword [esp + 0x50]
test edx, edx
je 0x4a9895
mov ecx, dword [ebx]
call fcn.0046a220
cmp dword [esp + 0x2c], 0
je 0x4a98c2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a9d97
add dword [eax], 0xffffffff
jne 0x4a9d97
mov ecx, dword [eax + 0xc]
mov edx, eax
call fcn.0046a220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x18], 0
jle 0x4a9c6e
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov edi, dword [esp + 0x18]
add eax, 0x14
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
add eax, 8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
nop dword [eax]
mov al, byte [esi]
mov byte [esp + 0x13], al
cmp al, 0xb0
jne 0x4a98fd
mov al, byte [esi + 2]
cmp al, 0xb1
jne 0x4a9908
mov eax, dword [esi + 0x14]
mov edx, eax
jmp 0x4a9912
cmp al, 0x8a
jne 0x4a9933
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x1c]
cmp dword [edx], 1
jle 0x4a9933
cmp byte [esp + 0x13], 0x8a
je 0x4a992a
cmp byte [esi + 2], 0x8a
je 0x4a992a
mov edx, dword [eax + ecx + 8]
jmp 0x4a9935
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + ecx + 8]
jmp 0x4a9935
mov edx, esi
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx]
mov dword [esp + 0x24], eax
jne 0x4a9969
test eax, eax
je 0x4a995a
test dword [eax + 4], 0x100
je 0x4a995a
mov edx, eax
jmp 0x4a9969
mov ecx, ebx
call fcn.004a5710
test eax, eax
jne 0x4a9970
mov edx, dword [esp + 0x24]
mov ecx, ebx
call fcn.004a5710
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add ecx, 0x14
mov dword [esp + 0x34], ecx
mov dword [edx], eax
add edx, 4
mov dword [esp + 0x2c], edx
sub edi, 1
jne 0x4a98f0
mov edi, dword [esp + 0x20]
jmp 0x4a9c6e
test eax, eax
je 0x4a9c6e
mov ecx, esi
call fcn.004a5570
mov byte [esp + 0x12], al
cmp al, 0x40
jg 0x4a99b8
mov byte [esp + 0x12], 0x41
jmp 0x4a99c1
cmp al, 0x45
jne 0x4a99c1
mov byte [esp + 0x12], 0x43
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4a99da
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [eax + 0xc]
call fcn.004a5710
mov dword [esi + 0x14], eax
mov cl, byte [ebx + 0x13]
lea edx, [ebx + 0x2c]
test cl, cl
jne 0x4a99f7
mov esi, dword [edx]
inc esi
mov dword [edx], esi
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
jmp 0x4a9a2e
sub cl, 1
movzx eax, cl
mov byte [ebx + 0x13], cl
mov esi, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x18], esi
jne 0x4a9a17
inc dword [edx]
mov ecx, dword [edx]
mov dword [esp + 0x24], ecx
jmp 0x4a9a2e
dec cl
mov dword [esp + 0x18], esi
movzx eax, cl
mov byte [ebx + 0x13], cl
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea esi, [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], eax
test eax, eax
jle 0x4a9c36
lea eax, [edi + 0x70]
mov edx, 1
mov ecx, eax
cmp dword [esp + 0x1c], 0
mov esi, dword [esi]
mov dword [esp + 0x2c], esi
je 0x4a9ae6
mov word [esp + 0x50], dx
mov ecx, eax
mov dword [esp + 0x40], fcn.004a8370
mov dword [esp + 0x44], 0x4a8250
mov dword [esp + 0x54], 0
test esi, esi
je 0x4a9ae6
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.004a2570
cmp word [esp + 0x50], 0
lea ecx, [edi + 0x70]
jne 0x4a9ae6
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4a9ad0
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x70]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.0048f5b0
mov word [esi], 0xb6
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x70]
mov dword [esp + 0x1c], 0
and dword [eax + 4], 0xfdffffff
push dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, esi
mov ecx, ebx
call fcn.004ae060
mov edx, dword [edi + 0x74]
add esp, 4
cmp dword [edi + 0x78], edx
jg 0x4a9b1f
push dword [esp + 0x24]
mov edx, 0x60
mov ecx, edi
push 1
push dword [esp + 0x20]
call fcn.0048eaa0
add esp, 0xc
mov edx, eax
jmp 0x4a9b55
mov esi, dword [esp + 0x2c]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov esi, dword [esp + 0x2c]
cmp byte [ecx + 0x57], 0
je 0x4a9b75
lea eax, [esp + 0x12]
mov edx, 1
push eax
call fcn.0048f5b0
add esp, 4
jmp 0x4a9b96
test edx, edx
jns 0x4a9b7d
mov edx, dword [edi + 0x74]
dec edx
lea eax, [esp + 0x12]
push 1
push eax
mov eax, dword [esi]
lea ecx, [edx + edx*4]
lea edx, [eax + ecx*4]
mov ecx, edi
call fcn.0048f800
add esp, 8
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4a9bbf
push dword [esp + 0x18]
mov edx, 0x89
mov ecx, edi
push dword [esp + 0x28]
push dword [ebp + 8]
call fcn.0048eaa0
add esp, 0xc
lea ecx, [edi + 0x70]
mov edx, eax
jmp 0x4a9bf6
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi]
mov edi, dword [ebp + 8]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4a9c12
mov eax, dword [esi]
lea ecx, [edx + edx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 1
mov ecx, esi
mov edx, dword [esp + 0x34]
lea eax, [edi + 0x70]
mov esi, dword [esp + 0x38]
dec edx
add esi, 0x14
mov dword [esp + 0x34], edx
test edx, edx
mov dword [esp + 0x38], esi
mov edx, 1
jg 0x4a9a51
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4a9c52
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4a9c52
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4a9c6e
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4a9c6e
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x4a9cc2
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4a9c8e
push edx
mov edx, 0xfffffff7
call fcn.0048f5b0
add esp, 4
jmp 0x4a9cc2
mov eax, dword [esp + 0x30]
test eax, eax
jns 0x4a9c9a
mov eax, dword [edi + 0x74]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4a9cbb
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.0048f800
add esp, 8
jmp 0x4a9cc2
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4a9d97
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4a9ce0
mov eax, 0x5c24f8
jmp 0x4a9cf1
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [eax + 0x30]
cmp dword [edi + 0x78], ecx
jg 0x4a9d19
push 0
push 0
push edx
mov edx, 0x43
mov ecx, edi
call fcn.0048eaa0
add esp, 0xc
jmp 0x4a9d48
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov edx, dword [eax + 0x2c]
mov eax, dword [edi]
lea esi, [ecx - 1]
cmp byte [eax + 0x57], 0
je 0x4a9d76
mov eax, 0x5c24fc
mov dword [eax], esi
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x1c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx - 1]
test eax, eax
mov eax, dword [edi + 0x70]
cmovns ecx, edx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
add eax, 0xfffffff0
mov dword [eax], esi
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x1c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret