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

Disassembly:
sub esp, 0x318
mov eax, dword [0x3485dd14]
xor eax, esp
mov dword [esp + 0x314], eax
mov ecx, dword [esp + 0x32c]
mov edx, dword [str.NAME]
mov dword [esp + 0x44], ecx
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x32c]
push edi
mov ecx, 0x13
mov esi, str.SELECT_NAME__FGROUP_FROM_MsysAccounts
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x34860418]
mov dword [esp + 0x7c], ecx
mov ecx, dword [str._WHERE__]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x34860428]
mov eax, dword [esp + 0x32c]
mov dword [esp + 0x9c], ecx
movzx ecx, word [0x34860430]
mov word [esp + 0xa4], cx
mov ecx, dword [0x34860438]
mov dword [esp + 0x78], edx
mov dx, word [0x3486041c]
mov dword [esp + 0x88], ecx
movzx ecx, word [0x34860440]
mov word [esp + 0x80], dx
mov edx, dword [0x34860424]
mov word [esp + 0x90], cx
mov dword [esp + 0x98], edx
mov edx, dword [0x3486042c]
xor ebx, ebx
mov ecx, 0xc
mov esi, str._ORDER_BY_NAME__FGROUP_
lea edi, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x54]
mov dword [esp + 0xa0], edx
mov edx, dword [str.FGroup]
mov dword [esp + 0x58], ecx
or ecx, 0xffffffff
mov dword [esp + 0x84], edx
mov edx, dword [0x3486043c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x334]
mov dword [esp + 0x8c], edx
mov edx, dword [ebp + 0x10]
add esi, 0x40
cmp ecx, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x338]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x17], bl
je 0x348453ab
cmp eax, ebx
je 0x348453cc
cmp ecx, 4
ja 0x348453cc
cmp ecx, ebx
jbe 0x34845311
movzx edx, word [eax]
cmp dx, bx
je 0x34845311
cmp dx, 1
je 0x34845311
cmp dx, 8
jne 0x348453cc
cmp ecx, 1
jbe 0x34845329
movzx edx, word [eax + 0x10]
cmp dx, bx
je 0x34845329
cmp dx, 1
jne 0x348453cc
cmp ecx, 2
jbe 0x34845341
movzx edx, word [eax + 0x20]
cmp dx, bx
je 0x34845341
cmp dx, 1
jne 0x348453cc
cmp ecx, 3
jbe 0x3484535b
movzx edx, word [eax + 0x30]
cmp dx, bx
je 0x3484535b
cmp dx, 1
je 0x3484535b
cmp dx, 0x13
jne 0x348453cc
cmp ecx, ebx
jbe 0x34845380
movzx edx, word [eax]
cmp dx, bx
je 0x34845380
cmp dx, 1
je 0x34845380
mov edx, dword [eax + 8]
cmp edx, ebx
je 0x34845380
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], edx
cmp ecx, 3
jbe 0x348453ab
movzx ecx, word [eax + 0x30]
cmp cx, bx
je 0x348453ab
cmp cx, 1
je 0x348453ab
mov eax, dword [eax + 0x38]
cmp eax, ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], eax
jne 0x348453ab
mov dword [esp + 0x44], ebx
mov eax, dword [0x34866048]
mov edx, dword [eax]
push 0x10
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
mov dword [esp + 0x2c], eax
jne 0x348453d6
mov edi, 0x8007000e
jmp 0x348457d3
mov edi, 0x80070057
jmp 0x348457ee
push ebx
push eax
lea ecx, [esp + 0x28]
push ecx
push ebp
push 0x13
mov edi, 4
call fcn.34817926
mov edi, eax
cmp edi, ebx
jl 0x348457d3
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x3484541a
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x34845402
sub eax, edx
sar eax, 1
cmp eax, 0x14
ja 0x3484574e
mov edi, 1
cmp dword [esp + 0x44], edi
jne 0x3484574e
xor ecx, ecx
mov eax, 0x77
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.3481f5da
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x34845459
mov edi, 0x8007000e
jmp 0x348457d3
push 0x77
push eax
lea eax, [esp + 0xe0]
push eax
call dword [sym.imp.MSO.dll_Ordinal_6877]
cmp dword [esp + 0x38], edi
mov edi, dword [sym.imp.MSO.dll_Ordinal_6873]
je 0x34845481
cmp dword [esp + 0x34], 1
jne 0x3484551a
mov ecx, dword [esp + 0x18]
push 0x77
push ecx
lea edx, [esp + 0x9c]
push edx
call edi
mov eax, 1
cmp dword [esp + 0x38], eax
jne 0x348454d8
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x7c]
push ecx
push eax
push 0x34860474
push 0x77
push eax
call fcn.3484481a
add esp, 0x18
cmp dword [esp + 0x34], 1
jne 0x3484550c
mov edx, dword [esp + 0x18]
push 0x77
push edx
push str._AND
call edi
mov eax, 1
jmp 0x348454de
cmp dword [esp + 0x34], eax
jne 0x3484550c
cmp dword [esp + 0x30], eax
mov eax, str.FALSE
je 0x348454ee
mov eax, str.TRUE
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [esp + 0x20]
push eax
push str._s___s____s
push 0x77
push eax
call fcn.3484481a
add esp, 0x18
mov ecx, dword [esp + 0x18]
push 0x77
push ecx
push 0x348604d4
call edi
mov edx, dword [esp + 0x18]
push 0x77
push edx
lea eax, [esp + 0xb0]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.34848544
mov edi, eax
cmp edi, ebx
jl 0x348457d3
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.348485bb
mov edi, eax
cmp edi, ebx
jge 0x34845568
cmp dword [esp + 0x40], 1
je 0x34845804
jmp 0x348457d3
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov esi, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push 0x60
push ebx
push ebx
push edx
push esi
push eax
mov dword [esp + 0x40], eax
call sub.acecore.dll_Ordinal_158
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
push ebx
push 0x18
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x84]
push ecx
push edx
push esi
call sub.acecore.dll_Ordinal_146
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov eax, dword [esp + 0x64]
push ebx
push 0x18
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x90]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
push edx
push eax
push esi
call sub.acecore.dll_Ordinal_146
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x64]
push ebx
push SysReAllocStringLen
push ecx
push edx
call sub.acecore.dll_Ordinal_156
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x34845743
mov edx, dword [esp + 0x30]
push ebx
push ebx
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x28]
push 0x200
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call sub.acecore.dll_Ordinal_167
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov edx, dword [esp + 0x48]
push ebx
push ebx
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
push 1
shr edx, 1
lea ecx, [esp + 0x27]
push ecx
mov word [esp + edx*2 + 0x138], bx
mov edx, dword [esp + 0x30]
push esi
push edx
push eax
call sub.acecore.dll_Ordinal_167
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp byte [esp + 0x17], bl
push ebx
setne cl
push edx
push eax
add ecx, 1
mov dword [esp + 0x58], ecx
call sub.acecore.dll_Ordinal_159
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x130]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push eax
call sub.acecore.dll_Ordinal_172
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x28]
push ebx
push ebx
push 4
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edx
call sub.acecore.dll_Ordinal_172
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push ebx
push ebx
push ebx
push eax
push ecx
call sub.acecore.dll_Ordinal_179
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x348457db
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push ebx
push 1
push edx
push eax
call sub.acecore.dll_Ordinal_156
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x34845612
cmp eax, 0xfffff9bd
jne 0x3484574e
mov dword [esp + 0x10], ebx
push 0x20
call fcn.3481f5da
add esp, 4
cmp eax, ebx
je 0x34845769
mov ecx, eax
call fcn.34811a9a
mov esi, eax
cmp esi, ebx
jne 0x34845770
mov edi, 0x8007000e
jmp 0x348457d3
push ebx
push ebx
mov dword [esi + 0x10], 0x34856430
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], 0x34866038
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
call fcn.3481b7c0
mov edi, eax
cmp edi, ebx
jl 0x348457d3
mov ecx, dword [esp + 0x54]
push 0x34856b70
push ebx
push ebx
push 1
mov eax, dword [esp + 0x60]
push esi
push ebx
push ebx
push 1
push ecx
mov dword [esi + 4], 4
mov edx, dword [esp + 0x44]
push edx
push ebx
push ebx
push ebx
push ebp
push ebx
push eax
call fcn.3481a843
mov edi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x348457ea
push 0x348577e0
push eax
push edi
push ebp
call fcn.3481319b
jmp 0x34845804
cmp edi, ebx
jge 0x3484580f
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
push ebx
push 0x348577e0
push edi
push ecx
push edx
call fcn.3481cfc1
cmp dword [esp + 0x10], ebx
jge 0x3484580f
mov edi, 0x80004005
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x34845823
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.acecore.dll_Ordinal_108
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x34845834
push eax
call fcn.3481f800
add esp, 4
cmp edi, ebx
jge 0x3484584a
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp + 0x10]
push ecx
push eax
call sub.acecore.dll_Ordinal_108
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x34845864
mov eax, dword [0x34866048]
cmp eax, ebx
je 0x34845864
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x324]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.3481f5cd
add esp, 0x318
ret 0x14