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

Disassembly:
mov eax, 0x1acc
call fcn.347eae3e
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x1ac8], eax
mov eax, dword [esp + 0x1ad8]
mov ecx, dword [esp + 0x1ae4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1ae8]
push edi
xor ebx, ebx
push 0x54
lea edx, [esp + 0x4c]
push ebx
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x2c], ebx
call sub.msvcr80.dll_memset
mov eax, esi
add esp, 0xc
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x3478594e
mov ebp, dword [esp + 0x1ae4]
mov edi, dword [esp + 0x1ae0]
push 3
sub eax, edx
lea edx, [esp + 0x34]
push edx
push esi
sar eax, 1
push 0x34771260
add eax, eax
push 8
mov dword [esp + 0x64], eax
mov eax, dword [0x347efae8]
lea ecx, [esp + 0x24]
push ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], 4
mov ecx, dword [eax + 0xb0]
push edi
call ecx
cmp eax, ebx
jl 0x347862bd
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push ebx
push 0x18
lea edx, [esp + 0xa4]
push edx
mov edx, dword [ecx + 0xbc]
push 0x3477199c
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov edx, dword [esp + 0xa0]
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, 0x3ec
jne 0x34785a0f
mov dword [esp + 0x24], ebx
jmp 0x34785a17
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0x1af0]
push eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 4
mov edx, dword [ecx + 0x68]
push edi
call edx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], 0xffffffff
jne 0x34785ad7
cmp dword [esp + 0x1af0], 1
jne 0x34785aa6
mov ecx, dword [esp + 0x18]
mov edx, dword [0x347efae8]
lea eax, [esp + 0x920]
push eax
mov eax, dword [edx + 0x1bc]
push ecx
push ebp
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
lea ecx, [esp + 0x920]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x10
lea edx, [esp + 0x48]
push edx
push ebp
push edi
call fcn.347bd9e7
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x1c0]
push ebp
push edi
call ecx
mov esi, eax
cmp esi, ebx
jl 0x34786266
jmp 0x34785b48
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.34783684
mov esi, eax
cmp esi, 0xfffffc16
jne 0x34785b2f
mov ebx, dword [esp + 0x4c]
push 0x34771354
push ebx
call fcn.34780cf0
test eax, eax
je 0x34785b17
push 0x34771370
push ebx
call fcn.34780cf0
test eax, eax
jne 0x34786270
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
push ebp
push edi
call fcn.34781e08
mov esi, eax
jmp 0x34786266
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x128]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x18]
push 1
lea eax, [esp + 0x34]
push eax
push ebx
lea edx, [esp + 0xfc]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [0x347efae8]
push ebp
mov dword [esp + 0x44], 0x38
mov eax, dword [edx + 0xb4]
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
push ebx
lea eax, [esp + 0xa3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0x934]
push 0x80000000
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x347efae8]
lea edx, [esp + 0xa4]
push eax
mov dword [esp + 0x54], 4
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0x18
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x84]
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x34785db7
lea esp, [esp]
mov edx, dword [esp + 0x100]
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x80
lea ecx, [esp + 0x940]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x80
mov eax, ecx
jb 0x34785c37
mov eax, 0x80
mov edx, dword [esp + 0x118]
push ebx
push ebx
mov word [esp + eax + 0x938], bx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], ecx
push 0xff
lea ecx, [esp + 0xa48]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x1c]
push ebx
mov dword [esp + 0x84], eax
lea edx, [esp + 0x34]
push edx
mov edx, dword [0x347efae8]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x938]
push eax
push ecx
push ebp
mov dword [esp + 0x44], 0x18
mov eax, dword [edx + 0xb4]
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
cmp dword [esp + 0x14], ebx
jne 0x34785d00
lea ecx, [esp + 0x48]
push ecx
push ebp
push edi
call fcn.347bd9e7
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x1c0]
push ebp
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
jmp 0x34785d6f
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x10]
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x110]
push 4
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push edi
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x34785d41
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov dword [eax], ebx
jmp 0x34785d49
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
push edi
call fcn.34783684
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x14]
add dword [eax + 0xc], 8
add dword [eax + 0x10], 1
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x934]
push ecx
push edx
push 1
push 5
push ebp
push edi
call fcn.34784f0e
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x84]
push ebx
push 1
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jge 0x34785bea
cmp esi, 0xfffff9bd
jne 0x34785dc1
xor esi, esi
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
cmp esi, ebx
mov dword [esp + 0x10], 0xffffffff
jl 0x34786266
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x34785eac
cmp dword [eax + 8], ebx
je 0x34785e39
cmp dword [esp + 0x1af0], 4
je 0x34785e39
mov edx, dword [esp + 0x18]
push 0x34772528
lea ecx, [esp + 0x12c]
push edx
mov dword [eax + 0xc], ecx
call fcn.34780cf0
test eax, eax
je 0x34785e9e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push ebp
push edi
call fcn.3478113b
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
push ebp
push edi
call fcn.347821c8
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov edx, dword [esp + 0x18]
push 1
lea ecx, [esp + 0x34]
push ecx
push ebx
lea eax, [esp + 0xc0]
push edx
mov dword [esp + 0x4c], eax
mov eax, dword [0x347efae8]
push ebp
mov dword [esp + 0x44], 0x3c
mov ecx, dword [eax + 0xb8]
push edi
call ecx
cmp eax, ebx
jge 0x34785edb
cmp eax, 0xfffffae7
je 0x347862bd
xor eax, eax
jmp 0x347862bd
mov edx, dword [esp + 0x14]
push edx
push ebp
push edi
call fcn.347825e9
jmp 0x34785e2f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
push ebx
push ebx
push eax
push ecx
push ebp
push edi
call fcn.3478555f
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov edx, dword [esp + 0x18]
push ebx
push edx
push ebp
push edi
call fcn.347851da
jmp 0x34785e4f
push ebx
lea eax, [esp + 0xb3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0x9b8]
push 0x80000000
mov dword [esp + 0x5c], edx
mov edx, dword [0x347efae8]
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x54], 8
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 4
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x84]
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov edi, edi
mov eax, dword [esp + 0xc4]
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x38]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x34785f84
mov dword [esp + 0x28], ebx
jmp 0x34785f8c
cmp esi, ebx
jl 0x34786266
test dword [esp + 0x28], 0x80000000
jne 0x34786245
mov eax, dword [esp + 0xc0]
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x80
lea edx, [esp + 0x9c4]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x80
mov eax, ecx
jb 0x34785fe7
mov eax, 0x80
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x9b4]
push ecx
push edx
push ebp
push edi
mov word [esp + eax + 0x9c4], bx
call fcn.34781312
test eax, eax
jne 0x34786245
mov edx, dword [esp + 0xd8]
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, 0x3ec
jne 0x34786049
mov dword [esp + 0x2c], ebx
jmp 0x34786051
cmp esi, ebx
jl 0x34786266
cmp dword [esp + 0x2c], ebx
jne 0x3478605b
mov dword [esp + 0x20], ebx
mov edx, dword [esp + 0xe8]
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, 0x3ec
jne 0x34786095
mov dword [esp + 0x24], ebx
jmp 0x3478609d
cmp esi, ebx
jl 0x34786266
test byte [esp + 0x24], 1
mov eax, dword [esp + 0x20]
je 0x347860b4
mov word [esp + eax*2 + 0xb38], 0x2d
jmp 0x347860be
mov word [esp + eax*2 + 0xb38], 0x2b
mov edx, dword [esp + 0xec]
push ebx
add eax, 1
push ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 0x80
lea ecx, [esp + 0x940]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov esi, dword [esp + 0x1c]
cmp esi, 0x80
mov eax, esi
jb 0x34786112
mov eax, 0x80
mov ecx, dword [esp + 0x20]
mov word [esp + eax + 0x930], bx
push esi
lea eax, [esp + 0x934]
push eax
lea edx, [esp + ecx*2 + 0xb40]
push edx
call sub.msvcr80.dll_memcpy
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xe0]
add esp, 0xc
push ebx
shr esi, 1
add eax, esi
mov word [esp + eax*2 + 0xb3c], bx
add eax, 1
push ebx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
cmp esi, 0x3ec
jne 0x34786188
mov dword [esp + 0x44], ebx
jmp 0x34786190
cmp esi, ebx
jl 0x34786266
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x44]
jb 0x34786245
mov eax, dword [esp + 0x20]
add eax, 1
cmp dword [esp + 0x14], ebx
mov word [esp + eax*2 + 0xb36], bx
lea ecx, [eax + eax]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ecx
jne 0x347861e8
lea edx, [esp + 0x48]
push edx
push ebp
push edi
call fcn.347bd9e7
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x1c0]
push ebp
push edi
call ecx
jmp 0x347861f8
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.34783684
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x9b8]
push edx
push eax
push 1
push 9
push ebp
push edi
call fcn.34784f0e
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x9b8]
push edx
push eax
push 0x347712b0
push ebp
push edi
call fcn.3478555f
mov esi, eax
cmp esi, ebx
jl 0x34786266
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x84]
push ebx
push 1
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebx
jge 0x34785f4a
cmp esi, 0xfffff9bd
jne 0x34786270
xor esi, esi
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x347862a5
mov eax, dword [ebx + 4]
or ebp, 0xffffffff
cmp eax, ebp
je 0x347862a5
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov eax, dword [ebx + 4]
cmp eax, dword [esp + 0x10]
jne 0x3478629c
mov dword [esp + 0x10], ebp
mov dword [ebx + 4], ebp
mov word [ebx + 0x14], 0
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x347862bb
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x1ad8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x1acc
ret 0x18