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

Disassembly:
sub esp, 0x1e8
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x1f0]
push ebp
mov ebp, dword [esp + 0x1f0]
push esi
push edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
movzx eax, word [eax + 0x16]
mov ecx, 0x36
mov esi, 0x348923a0
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [esp + 0x20c], 8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa4], eax
jne 0x348a976a
mov dword [esp + 0xac], esi
mov dword [esp + 0xc4], esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x60]
push ecx
push 8
push 9
lea edx, [esp + 0xa8]
push edx
push ebp
call fcn.348bda0a
cmp eax, esi
jl 0x348a9c5a
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x204]
cmp ecx, 0xf000000
mov eax, dword [edi + 0x10c]
push ebx
mov ebx, dword [esp + 0x60]
lea edx, [esp + 0x14]
mov dword [esp + 0x5c], 0x30
mov dword [esp + 0x14], esi
mov dword [esp + 0x44], eax
push edx
je 0x348a97d2
push ecx
movzx ecx, word [edi + 0xe8]
push ecx
push eax
call fcn.348a4f05
jmp 0x348a97f7
push 1
push 0xff
push eax
call fcn.3489cba3
mov esi, eax
test esi, esi
jl 0x348a9bee
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
call fcn.3489d30c
mov esi, eax
test esi, esi
jl 0x348a9bee
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.3489c7c1
mov esi, eax
test esi, esi
jl 0x348a9bee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x348a9bda
mov edx, dword [edi + 0x5c]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.34899c25
movzx eax, word [eax]
mov ecx, dword [esp + 0x204]
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x348a985c
cmp ecx, eax
jne 0x348a9b9a
mov ecx, dword [edi + 0x58]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call fcn.34899c25
mov esi, dword [eax]
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x58], esi
call fcn.348969ef
cmp esi, 0xf000000
je 0x348a98dc
movzx eax, word [edi + 0xea]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x50]
push edx
push 0
push 0
push eax
push esi
push ecx
call fcn.348a4a3c
mov esi, eax
test esi, esi
jl 0x348a9bce
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x20]
push edx
push eax
push ecx
call fcn.34899c25
movzx edx, word [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x1bc]
push eax
call sub.msvcr80.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.34896a04
mov eax, dword [edi + 0x50]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.34899c25
movzx esi, word [esp + 0x1c]
push esi
push eax
lea edx, [esp + 0x17c]
push edx
call sub.msvcr80.dll_memcpy
mov eax, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x348a9938
cmp byte [eax], 0
je 0x348a9938
push esi
lea ecx, [esp + 0x178]
push ecx
push eax
call dword [sym.imp.msvcr80.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x348a9b9a
mov eax, dword [edi + 0x40]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.34899c25
movzx edx, word [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x94]
push eax
call sub.msvcr80.dll_memcpy
mov edx, dword [edi + 0x44]
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.34899c25
movzx ecx, word [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
call sub.msvcr80.dll_memcpy
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
push edx
call fcn.34899c25
xor ecx, ecx
cmp eax, ecx
jne 0x348a99ab
mov dword [esp + 0x34], ecx
jmp 0x348a99b1
mov eax, dword [eax]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x210], 2
mov dword [esp + 0x58], ecx
jne 0x348a99f0
cmp dword [esp + 0x28], 1
jne 0x348a99f0
mov edx, dword [edi + 0x4c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.34899c25
mov eax, dword [eax]
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x54]
push edx
mov esi, eax
call fcn.348a8dff
mov edi, dword [esp + 0x30]
mov eax, dword [ebp]
mov ecx, dword [0x348eb6cc]
mov edx, dword [ecx + 0x14]
push 0
push ebx
push eax
call edx
mov esi, eax
test esi, esi
jne 0x348a9bee
cmp dword [esp + 0x54], 0xf000000
je 0x348a9a3f
mov edx, dword [esp + 0x68]
push eax
push eax
movzx eax, word [esp + 0x28]
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x1c0]
push ecx
push edx
push ebx
push eax
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
movzx ecx, word [esp + 0x1c]
mov eax, dword [esp + 0x6c]
push 0
push 0
push ecx
mov ecx, dword [ebp]
lea edx, [esp + 0x180]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x78]
push 4
lea edx, [esp + 0x34]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x7c]
push 8
lea edx, [esp + 0x98]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x80]
push 8
lea edx, [esp + 0xa0]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x84]
push 4
lea edx, [esp + 0x64]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x88]
push 4
lea edx, [esp + 0x40]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
cmp dword [esp + 0x210], 2
jne 0x348a9b7a
cmp dword [esp + 0x28], 1
jne 0x348a9b7a
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x8c]
push 4
lea edx, [esp + 0x5c]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov ecx, dword [ebp]
push eax
push eax
mov eax, dword [esp + 0x90]
push 4
lea edx, [esp + 0x54]
push edx
push eax
push ebx
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348a9bee
mov edx, dword [ebp]
mov eax, dword [0x348eb6cc]
mov ecx, dword [eax + 0x40]
push 0
push 0
push 0
push ebx
push edx
call ecx
mov esi, eax
test esi, esi
jl 0x348a9bee
add dword [esp + 0x24], 1
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
call fcn.3489d30c
mov esi, eax
test esi, esi
jl 0x348a9bee
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.3489c7c1
mov esi, eax
test esi, esi
jge 0x348a9827
jmp 0x348a9bee
mov eax, dword [esp + 0x3c]
push eax
call fcn.34896a04
jmp 0x348a9bee
test esi, esi
jl 0x348a9bee
mov ecx, dword [esp + 0x14]
push ecx
call fcn.3489c759
mov esi, eax
test esi, esi
jge 0x348a9c10
mov edx, dword [esp + 0x14]
push edx
call fcn.3489c7aa
test eax, eax
jl 0x348a9c59
mov eax, dword [ebp]
mov ecx, dword [0x348eb6cc]
mov edx, dword [ecx + 0x10]
push ebx
push eax
call edx
mov eax, esi
jmp 0x348a9c59
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp]
mov edx, dword [0x348eb6cc]
push 0
push 0x80000000
push eax
mov eax, dword [edx + 0x4c]
push ecx
call eax
mov eax, dword [esp + 0x20c]
cmp eax, 0x30
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], ecx
jbe 0x348a9c44
mov eax, 0x30
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x60]
push edx
push eax
call sub.msvcr80.dll_memcpy
add esp, 0xc
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1f0]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.348c86f8
add esp, 0x1e8
ret 0x18