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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x398255
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x3c508c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00312bb0
mov dword [esp + 0x80], 0
test byte [esp + 0x64], 0x30
jne 0x3520b1
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
lea edi, [esp + 0x48]
call fcn.0034c7b0
add esp, 0xc
test al, al
je 0x3520b1
mov ebx, edi
call fcn.0034db00
test al, al
jne 0x35210a
mov edi, dword [esp + 0x6c]
mov esi, edi
test edi, edi
je 0x3520c9
call fcn.0034bd50
push esi
call fcn.0038b024
add esp, 4
mov eax, dword [esp + 0x70]
mov esi, eax
test eax, eax
je 0x3520e1
call fcn.00349f00
push esi
call fcn.0038b024
add esp, 4
lea ecx, [esp + 0x40]
call dword [0x39ad2c]
lea ecx, [esp + 0x3c]
call dword [0x39ad2c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor edi, edi
push ecx
mov eax, esp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], edi
lea esi, [esp + 0x40]
mov dword [esp + 0x28], esp
mov dword [eax], 0x39eab0
call fcn.0034cb50
test al, al
je 0x352304
mov ecx, esi
lea esi, [esp + 0x34]
call fcn.003296d0
push ecx
mov byte [esp + 0x84], 1
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x28], esp
mov dword [eax], 0x3a2028
call fcn.0034cb50
test al, al
je 0x3522fb
mov ecx, esi
lea esi, [esp + 0x2c]
call fcn.003296d0
mov byte [esp + 0x80], 2
mov bl, 4
push ecx
mov eax, esp
lea esi, [esp + 0x40]
mov dword [esp + 0x2c], esp
mov dword [eax], edi
call fcn.0034cb50
test al, al
je 0x3522f2
lea ecx, [esp + 0x14]
call dword [0x39ad28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x84], 3
call fcn.0034d790
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], bl
call dword [0x39a7ec]
push 0x3a966c
lea ecx, [esp + 0x1c]
call dword [0x39a7e8]
test eax, eax
jne 0x352223
lea esi, [esp + 0x1c]
lea eax, [esp + 0x3c]
call fcn.00352020
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 5
call dword [0x39a8cc]
mov ecx, esi
mov byte [esp + 0x80], bl
call dword [0x39ad2c]
mov edx, dword [esp + 0x14]
mov edi, dword [ebp + 8]
push edx
call fcn.00352330
xor edi, edi
jmp 0x3522d1
push 0x3a967c
lea ecx, [esp + 0x1c]
call dword [0x39a7e8]
test eax, eax
jne 0x35227b
lea esi, [esp + 0x20]
lea eax, [esp + 0x3c]
call fcn.00352020
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 6
call dword [0x39a8cc]
mov ecx, esi
mov byte [esp + 0x80], bl
call dword [0x39ad2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x3522d1
mov edx, dword [esp + 0x14]
push edx
call fcn.00388d70
jmp 0x3522d1
push 0x39ea1c
lea ecx, [esp + 0x1c]
call dword [0x39a7e8]
test eax, eax
jne 0x3522d1
lea esi, [esp + 0x24]
lea eax, [esp + 0x3c]
call fcn.00352020
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 7
call dword [0x39a8cc]
mov ecx, esi
mov byte [esp + 0x80], bl
call dword [0x39ad2c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x3522d1
mov edx, dword [esp + 0x14]
push edx
call fcn.003894c0
lea ecx, [esp + 0x18]
call dword [0x39ad2c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 2
call dword [0x39ad2c]
jmp 0x352184
mov eax, dword [esp + 0x30]
call fcn.0034da50
mov eax, dword [esp + 0x38]
call fcn.0034da50
lea ebx, [esp + 0x3c]
call fcn.0034c5b0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8