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

Disassembly:
mov eax, 0x10460
call fcn.347eae3e
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x1045c], eax
mov eax, dword [esp + 0x10470]
push ebp
push esi
mov esi, dword [esp + 0x10474]
push edi
push 0x54
xor ebp, ebp
lea ecx, [esp + 0x3c]
push ebp
push ecx
mov dword [esp + 0x24], eax
call sub.msvcr80.dll_memset
mov eax, 0x34771260
add esp, 0xc
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], 0x34771260
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x34785231
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x34785250
sub eax, edx
mov edi, dword [esp + 0x10470]
push 3
push 0x80
lea edx, [esp + 0x94]
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x294]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x78], edx
sar eax, 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x347efae8]
push 0x1c
add eax, eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x30]
push ecx
push ebp
push ebp
lea eax, [esp + 0x4ac]
mov dword [esp + 0x7c], eax
mov eax, 4
push esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x10498]
push 0x34771260
push eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x40], 0x80
mov eax, dword [edx + 0x140]
push edi
call eax
cmp eax, ebp
jl 0x34785545
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x84]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push 0x80000000
push ebx
push edi
call edx
mov esi, eax
cmp esi, ebp
jl 0x3478552c
mov edx, dword [esp + 0x30]
push ebp
push ebp
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x347efae8]
push 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push ebx
push edi
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x34785351
mov dword [esp + 0x18], ebp
jmp 0x34785359
cmp esi, ebp
jl 0x3478552c
mov ecx, dword [esp + 0x2c]
push ebp
push ebp
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x347efae8]
push 0x1fe
lea eax, [esp + 0xa0]
push eax
mov eax, dword [edx + 0x88]
push ecx
push ebx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3478552c
mov ecx, dword [esp + 0x10]
cmp ecx, 0x1fe
mov eax, ecx
jb 0x3478539f
mov eax, 0x1fe
push ebp
add ecx, 2
push ebp
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x347efae8]
push 0x1fe
mov word [esp + eax + 0xa0], bp
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x2a0]
push edx
mov edx, dword [ecx + 0x88]
push eax
push ebx
push edi
call edx
mov esi, eax
cmp esi, ebp
jl 0x3478552c
mov eax, dword [esp + 0x10]
cmp eax, 0x1fe
mov ecx, eax
jb 0x347853f3
mov ecx, 0x1fe
cmp eax, ebp
mov word [esp + ecx + 0x290], bp
mov dword [esp + 0x54], eax
je 0x3478550f
mov edx, dword [esp + 0x38]
push ebp
push ebp
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x347efae8]
push 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push ebx
push edi
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x34785439
mov dword [esp + 0x14], ebp
jmp 0x34785441
cmp esi, ebp
jl 0x3478552c
mov ecx, dword [esp + 0x34]
push ebp
push ebp
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x347efae8]
push 0xffdc
lea eax, [esp + 0x4a0]
push eax
mov eax, dword [edx + 0x88]
push ecx
push ebx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x3478552c
lea ecx, [esp + 0x90]
push 0x34771538
push ecx
call fcn.34776ce7
add esp, 8
test eax, eax
je 0x347854a6
lea edx, [esp + 0x90]
push 0x3477154c
push edx
call fcn.34776ce7
add esp, 8
test eax, eax
jne 0x347854b1
mov eax, 1
cmp dword [esp + 0x14], eax
je 0x347854b5
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jne 0x347854f5
mov edx, dword [esp + 0x10478]
lea ecx, [esp + 0x3c]
push ecx
push edx
push edi
call fcn.347bd9e7
mov esi, eax
cmp esi, ebp
jl 0x3478552c
mov eax, dword [esp + 0x10478]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x1c0]
push eax
push edi
call edx
mov esi, eax
jmp 0x3478550b
push eax
lea eax, [esp + 0x40]
push eax
push edi
call fcn.34783684
mov esi, eax
cmp esi, 0xfffffa1d
je 0x3478550f
cmp esi, ebp
jl 0x3478552c
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x84]
push ebp
push 1
push ebx
push edi
call edx
mov esi, eax
cmp esi, ebp
jge 0x3478531f
cmp esi, 0xfffff9bd
jne 0x34785536
xor esi, esi
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x68]
push ebx
push edi
call ecx
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x10468]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.347ea89f
add esp, 0x10460
ret 0x10