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

Disassembly:
sub esp, 0x318
mov eax, dword [0x10077990]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
push ebp
push esi
push edi
movdqu xmm0, xmmword [str.SELECT_NAME__FGROUP_FROM_MsysAccounts]
mov eax, dword [esp + 0x32c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x33c]
movdqu xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x54], eax
movdqu xmm0, xmmword [0x10061d68]
mov eax, dword [0x10061da0]
mov ecx, dword [esp + 0x338]
movdqu xmmword [esp + 0xb8], xmm0
mov dword [esp + 0xf0], eax
movdqu xmm0, xmmword [0x10061d78]
movzx eax, word [0x10061dac]
mov word [esp + 0x80], ax
movzx eax, word [0x10061dd0]
movdqu xmmword [esp + 0xc8], xmm0
mov word [esp + 0xa4], ax
movdqu xmm0, xmmword [0x10061d88]
mov eax, dword [0x10061ddc]
movdqu xmmword [esp + 0xd8], xmm0
or ebx, 0xffffffff
mov dword [esp + 0x8c], eax
movq xmm0, qword [0x10061d98]
movzx eax, word [0x10061de0]
movq qword [esp + 0xe8], xmm0
movq xmm0, qword [str.NAME]
movq qword [esp + 0x78], xmm0
movdqu xmm0, xmmword [str._WHERE__]
mov word [esp + 0x90], ax
xor ebp, ebp
movdqu xmmword [esp + 0x94], xmm0
xor eax, eax
mov dword [esp + 0x34], 0
movq xmm0, qword [str.FGroup]
movq qword [esp + 0x84], xmm0
movdqu xmm0, xmmword [str._ORDER_BY_NAME__FGROUP_]
mov esi, dword [esp + 0x330]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
movdqu xmmword [esp + 0xf4], xmm0
mov dword [esp + 0x58], eax
movdqu xmm0, xmmword [0x10061df4]
mov eax, dword [esi + 0x54]
add eax, 0x40
mov dword [esp + 0x14], esi
movdqu xmmword [esp + 0x104], xmm0
mov dword [esp + 0x38], eax
movdqu xmm0, xmmword [0x10061e04]
mov eax, dword [esp + 0x334]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0x1b], 0
mov edi, dword [esi + 0x10]
movdqu xmmword [esp + 0x114], xmm0
test eax, eax
je 0x1002f337
test ecx, ecx
je 0x1002f439
cmp eax, 4
ja 0x1002f439
test eax, eax
je 0x1002f29b
movzx edx, word [ecx]
test dx, dx
je 0x1002f29b
cmp edx, 1
je 0x1002f29b
cmp edx, 8
jne 0x1002f439
cmp eax, 1
jbe 0x1002f2b2
movzx edx, word [ecx + 0x10]
test dx, dx
je 0x1002f2b2
cmp edx, 1
jne 0x1002f439
cmp eax, 2
jbe 0x1002f2c9
movzx edx, word [ecx + 0x20]
test dx, dx
je 0x1002f2c9
cmp edx, 1
jne 0x1002f439
cmp eax, 3
jbe 0x1002f2e5
movzx edx, word [ecx + 0x30]
test dx, dx
je 0x1002f2e5
cmp edx, 1
je 0x1002f2e5
cmp edx, 0x13
jne 0x1002f439
test eax, eax
je 0x1002f309
movzx edx, word [ecx]
test dx, dx
je 0x1002f309
cmp edx, 1
je 0x1002f309
mov edx, dword [ecx + 8]
test edx, edx
je 0x1002f309
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], edx
cmp eax, 3
jbe 0x1002f337
movzx eax, word [ecx + 0x30]
test ax, ax
je 0x1002f337
cmp eax, 1
je 0x1002f337
mov esi, dword [ecx + 0x38]
test esi, esi
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
jne 0x1002f337
mov dword [esp + 0x2c], ebp
mov eax, dword [0x1007a1e0]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebp, eax
mov dword [esp + 0x24], ebp
test ebp, ebp
je 0x1002f747
push 0
push ebp
lea eax, [esp + 0x28]
push eax
push esi
push 0x13
call fcn.10031c40
mov esi, eax
test esi, esi
js 0x1002f74c
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002f398
mov ecx, eax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002f380
sub ecx, edx
sar ecx, 1
cmp ecx, 0x14
ja 0x1002f6ab
cmp dword [esp + 0x2c], 1
jne 0x1002f6ab
xor ecx, ecx
mov eax, 0x77
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003db99
mov ebp, eax
add esp, 4
mov dword [esp + 0x48], ebp
test ebp, ebp
je 0x1002f747
lea eax, [esp + 0xa8]
push eax
push 0x77
push ebp
call fcn.10003fe0
cmp dword [esp + 0x34], 1
mov esi, dword [esp + 0x3c]
je 0x1002f3f3
cmp esi, 1
jne 0x1002f481
lea eax, [esp + 0x94]
push eax
push 0x77
push ebp
call fcn.1000f560
cmp dword [esp + 0x34], 1
jne 0x1002f443
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x78]
push edx
push eax
push ebp
push 0x1005e2e4
push 0x77
push ebp
call fcn.10031d40
add esp, 0x18
cmp esi, 1
jne 0x1002f474
push str._AND
push 0x77
push ebp
call fcn.1000f560
jmp 0x1002f448
mov esi, 0x80070057
jmp 0x1002f773
cmp esi, 1
jne 0x1002f474
cmp dword [esp + 0x28], 1
mov ecx, str.TRUE
mov eax, str.FALSE
cmovne eax, ecx
push eax
lea eax, [esp + 0x88]
push eax
push ebp
push str._s___s____s
push 0x77
push ebp
call fcn.10031d40
add esp, 0x18
push 0x1005e354
push 0x77
push ebp
call fcn.1000f560
lea eax, [esp + 0xf4]
push eax
push 0x77
push ebp
call fcn.1000f560
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
call fcn.10034d70
mov esi, eax
test esi, esi
js 0x1002f74c
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10089003
mov esi, eax
test esi, esi
jns 0x1002f4d6
cmp dword [esp + 0x44], 1
jne 0x1002f74c
mov ebp, dword [esp + 0x24]
jmp 0x1002f785
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push ecx
push 0x60
push 0
mov ebx, dword [eax + 4]
push 0
push ebp
push dword [eax + 8]
push ebx
call sub.msjet40.dll_Ordinal_158
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
push 0
push 0x18
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x84]
push eax
push dword [esp + 0x2c]
push ebx
call sub.msjet40.dll_Ordinal_146
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
mov eax, dword [esp + 0x64]
push 0
push 0x18
mov dword [esp + 0x30], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x2c]
push ebx
call sub.msjet40.dll_Ordinal_146
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
mov eax, dword [esp + 0x64]
push 0
push SysReAllocStringLen
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
push ebx
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1002f69d
mov ebp, dword [esp + 0x24]
lea ecx, [ecx]
push 0
push 0
lea eax, [esp + 0x48]
push eax
push 0x200
lea eax, [esp + 0x134]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x34]
push ebx
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
mov eax, dword [esp + 0x40]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x1002f7fc
xor ecx, ecx
push ecx
push ecx
mov word [esp + eax + 0x12c], cx
lea eax, [esp + 0x64]
push eax
push 1
lea eax, [esp + 0x2b]
push eax
push dword [esp + 0x40]
push dword [esp + 0x34]
push ebx
call sub.msjet40.dll_Ordinal_167
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
xor eax, eax
cmp byte [esp + 0x1b], al
push 0
push dword [esp + 0x24]
setne al
inc eax
push edi
mov dword [esp + 0x58], eax
call sub.msjet40.dll_Ordinal_159
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
push 0
push 0
push dword [esp + 0x48]
lea eax, [esp + 0x130]
push eax
push dword [ebp]
push dword [esp + 0x34]
push edi
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
push 0
push 0
push 4
lea eax, [esp + 0x58]
push eax
push dword [ebp + 0xc]
push dword [esp + 0x34]
push edi
call sub.msjet40.dll_Ordinal_172
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
push 0
push 0
push 0
push dword [esp + 0x2c]
push edi
call sub.msjet40.dll_Ordinal_179
mov dword [esp + 0x10], eax
test eax, eax
js 0x1002f750
push 0
push 1
push dword [esp + 0x24]
push ebx
call sub.msjet40.dll_Ordinal_156
mov dword [esp + 0x10], eax
test eax, eax
je 0x1002f580
xor ecx, ecx
cmp eax, 0xfffff9bd
cmove eax, ecx
mov dword [esp + 0x10], eax
push 0x20
call fcn.1003d386
add esp, 4
test eax, eax
je 0x1002f747
mov ecx, eax
call fcn.10002de0
mov ebp, eax
test ebp, ebp
je 0x1002f747
mov ecx, dword [0x10060adc]
lea eax, [esp + 0x10]
push 0
push 0
mov dword [ebp + 0x10], ecx
mov ecx, dword [0x10060ad8]
push eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x14], ecx
mov ecx, ebp
mov dword [ebp + 0x1c], 0
push dword [esp + 0x2c]
push dword [eax + 0x14]
push edi
call fcn.10007a40
mov esi, eax
test esi, esi
js 0x1002f74c
push 0x10068ef8
push 0
push 0
push 1
push ebp
push 0
push 0
push 1
push dword [esp + 0x74]
mov dword [ebp + 4], 4
push dword [esp + 0x44]
mov ebp, dword [esp + 0x3c]
push 0
push 0
push 0
push ebp
push 0
push dword [esp + 0x8c]
call fcn.1001c790
mov esi, eax
mov eax, dword [esp + 0x10]
jmp 0x1002f754
mov esi, 0x8007000e
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x1002f76b
push 0x10068de8
push eax
push esi
push ebp
call fcn.10010bd0
mov ebp, dword [esp + 0x24]
jmp 0x1002f785
mov ebp, dword [esp + 0x24]
test esi, esi
jns 0x1002f792
push 0
push 0x10068de8
push esi
push dword [esp + 0x64]
push edi
call fcn.100105d0
cmp dword [esp + 0x10], 0
mov eax, 0x80004005
cmovl esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x1002f7a2
push eax
push ebx
call sub.msjet40.dll_Ordinal_108
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1002f7b3
push eax
call fcn.1003db94
add esp, 4
test esi, esi
jns 0x1002f7cb
mov eax, dword [esp + 0x14]
push dword [esp + 0x20]
push dword [eax + 0x10]
call sub.msjet40.dll_Ordinal_108
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x1002f7df
mov eax, dword [0x1007a1e0]
test eax, eax
je 0x1002f7df
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x14]
mov ecx, dword [esp + 0x324]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003dba2
add esp, 0x318
ret 0x14
call fcn.1003e83e
int3