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

Disassembly:
sub esp, 0x1f8
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x208]
push ebp
mov ebp, dword [esp + 0x200]
push esi
push edi
mov ecx, 0x3c
mov esi, 0x34892478
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x44], eax
movzx eax, word [ebp + 0x16]
lea edx, [esp + 0x5c]
push edx
push 8
mov dword [esp + 0x180], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0xc0], eax
push 0xa
lea eax, [esp + 0xa0]
push eax
push ebx
mov dword [esp + 0x44], 0
call fcn.348bda0a
xor ecx, ecx
cmp eax, ecx
jl 0x348aaa18
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x88], edx
lea eax, [esp + 0x8c]
push eax
movzx eax, word [ebp + 0xea]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [ebp + 0x10c]
push ecx
push ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x21c]
push eax
push ecx
push edx
mov dword [esp + 0x70], 0x38
call fcn.348a4a3c
mov esi, eax
test esi, esi
jl 0x348aa9b3
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x348aa5ed
mov esi, 0xfffffae7
jmp 0x348aa9b3
mov edx, dword [ebp + 0x50]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.34899c25
movzx ecx, word [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x1c8]
push edx
call sub.msvcr80.dll_memcpy
mov ecx, dword [esp + 0x218]
movzx edx, word [ebp + 0xec]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 0x110]
push ecx
push edx
push eax
mov dword [esp + 0x38], 0
call fcn.348a4f05
mov esi, eax
test esi, esi
jl 0x348aa9b3
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.3489c7c1
mov esi, eax
test esi, esi
jl 0x348aa9b3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x348aa99f
mov edx, dword [ebp + 0x88]
lea ecx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.34899c25
test eax, eax
jne 0x348aa68c
mov dword [esp + 0x38], eax
jmp 0x348aa693
movzx eax, word [eax]
mov dword [esp + 0x38], eax
mov edx, dword [ebp + 0x80]
mov eax, dword [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 + 0x188]
push edx
call sub.msvcr80.dll_memcpy
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.34899c25
mov esi, dword [eax]
mov ecx, dword [ebp + 0x64]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.34899c25
movzx eax, byte [eax]
cmp eax, 0xa
mov dword [esp + 0x34], eax
je 0x348aa703
cmp eax, 0xc
je 0x348aa703
mov dword [esp + 0x30], 0x409
jmp 0x348aa71d
mov ecx, dword [ebp + 0x7c]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
push edx
call fcn.34899c25
movzx eax, word [eax]
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 0x6c]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.34899d08
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x70]
push eax
push ecx
call fcn.34899d08
mov edx, dword [ebp + 0x74]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.34899d08
mov ecx, dword [esp + 0x34]
movzx edx, cx
shl edx, 0xc
or edx, esi
cmp cx, 0xc
mov dword [esp + 0x48], edx
je 0x348aa792
cmp cx, 0xb
je 0x348aa792
cmp cx, 1
jne 0x348aa77b
mov dword [esp + 0x24], 1
jmp 0x348aa79a
mov edx, esi
shr edx, 0x18
cmp ecx, 0xa
mov dword [esp + 0x24], edx
jne 0x348aa79a
lea ecx, [edx + edx]
mov dword [esp + 0x24], ecx
jmp 0x348aa79a
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x210]
neg ecx
sbb ecx, ecx
and ecx, 0xffffffe0
add ecx, 0x20
and esi, 0xfff
cmp esi, 0x7d1
mov dword [esp + 0x20], ecx
jbe 0x348aa7c4
or ecx, 1
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x44], 0
je 0x348aa7d2
or ecx, 0x10
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x50], 0
je 0x348aa7e0
or ecx, 4
mov dword [esp + 0x20], ecx
test eax, eax
je 0x348aa7eb
or ecx, 8
mov dword [esp + 0x20], ecx
mov edx, dword [ebx]
mov eax, dword [0x348eb6cc]
mov ecx, dword [eax + 0x14]
push 0
push edi
push edx
call ecx
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov ecx, dword [ebx]
push eax
push eax
mov eax, dword [esp + 0x68]
push 4
lea edx, [esp + 0x44]
push edx
push eax
push edi
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
movzx edx, word [esp + 0x10]
mov ecx, dword [esp + 0x64]
push eax
push eax
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x18c]
push eax
push ecx
push edi
push edx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebx]
push eax
push eax
push 4
lea eax, [esp + 0x40]
push eax
push ecx
push edi
push edx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
movzx eax, word [esp + 0x30]
mov edx, dword [esp + 0x70]
push esi
push esi
push 4
lea ecx, [esp + 0x58]
push ecx
push edx
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
push edi
push eax
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov edx, dword [esp + 0x68]
push eax
push eax
mov eax, dword [ebx]
push 4
lea ecx, [esp + 0x54]
push ecx
push edx
push edi
push eax
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov edx, dword [esp + 0x74]
push eax
push eax
mov eax, dword [ebx]
push 4
lea ecx, [esp + 0x30]
push ecx
push edx
push edi
push eax
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov edx, dword [esp + 0x78]
push eax
push eax
mov eax, dword [ebx]
push 4
lea ecx, [esp + 0x2c]
push ecx
push edx
push edi
push eax
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
movzx ecx, word [esp + 0x10]
push eax
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18c]
push edx
push eax
push edi
push ecx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
movzx edx, word [esp + 0x1c]
mov ecx, dword [esp + 0x80]
push eax
push eax
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x1cc]
push eax
push ecx
push edi
push edx
call fcn.348c7804
mov esi, eax
test esi, esi
jne 0x348aa9b3
mov ecx, dword [0x348eb6cc]
mov edx, dword [ecx + 0x40]
push eax
push eax
push eax
mov eax, dword [ebx]
push edi
push eax
call edx
mov esi, eax
test esi, esi
jl 0x348aa9b3
mov eax, dword [esp + 0x18]
add dword [esp + 0x2c], 1
push 0
push 0
push eax
call fcn.3489d30c
mov esi, eax
test esi, esi
jl 0x348aa9b3
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call fcn.3489c7c1
mov esi, eax
test esi, esi
jge 0x348aa664
jmp 0x348aa9b3
test esi, esi
jl 0x348aa9b3
mov ecx, dword [esp + 0x18]
push ecx
call fcn.3489c759
mov esi, eax
test esi, esi
jge 0x348aa9d4
mov edx, dword [esp + 0x18]
push edx
call fcn.3489c7aa
test eax, eax
jl 0x348aaa18
mov eax, dword [ebx]
mov ecx, dword [0x348eb6cc]
mov edx, dword [ecx + 0x10]
push edi
push eax
call edx
mov eax, esi
jmp 0x348aaa18
mov eax, dword [ebx]
mov ecx, dword [0x348eb6cc]
mov edx, dword [ecx + 0x4c]
push 0
push 0x80000000
push edi
push eax
call edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x218]
cmp eax, 0x38
jbe 0x348aaa03
mov eax, 0x38
mov edx, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x58]
push ecx
push edx
call sub.msvcr80.dll_memcpy
add esp, 0xc
xor eax, eax
mov ecx, dword [esp + 0x200]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.348c86f8
add esp, 0x1f8
ret 0x14