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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xf4]
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [0x347efae8]
xor ebp, ebp
push edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x28], 0x64
mov dword [esp + 0x78], 0x28
mov ecx, dword [eax + 0xf8]
push edi
call ecx
mov ebx, dword [esp + 0xf8]
lea edx, [esp + 0x14]
push edx
push 0x10
lea eax, [esp + 0xa4]
push eax
push 1
push ebp
push ebx
push edi
call fcn.347a316f
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x60]
push 0x80400000
push 0x34772528
lea ecx, [esp + 0x18]
push ecx
push ebx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push edx
push edi
call fcn.347e2943
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push ebp
push 0x28
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edx + 0xac]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x24], ecx
je 0x347e56c0
push eax
push 5
lea edx, [esp + 0x24]
push edx
push 0xf
push edi
call fcn.347b6ac8
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x74]
push 0x34772824
push eax
push edi
call edx
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push 1
push 0x10
lea eax, [esp + 0xa4]
push eax
mov eax, dword [edx + 0x9c]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xa0]
push 1
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x58]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10
lea edx, [esp + 0xcc]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x84]
push ebp
push 0x80000000
push ecx
push edi
call eax
cmp eax, ebp
mov dword [esp + 0x20], ebp
jl case.0x347e58fc.2
mov eax, dword [esp + 0x50]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10
lea edx, [esp + 0xdc]
push edx
mov edx, dword [0x347efae8]
push eax
push ecx
mov dword [esp + 0x44], ebp
mov eax, dword [edx + 0x88]
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x58]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10
lea edx, [esp + 0xbc]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x64]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 0x10
lea edx, [esp + 0xec]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x4c]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 2
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, ebp
jl 0x347e596f
xor ebx, ebx
cmp dword [esp + 0x14], ebp
je 0x347e5865
cmp word [esp + 0x28], bp
setg bl
mov eax, dword [esp + 0x54]
push ebp
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x40]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x104]
xor eax, eax
cmp dword [esp + 0x30], 0xb
sete al
push eax
push ebx
push ecx
push edx
lea eax, [esp + 0xbc]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xf4]
push edx
push eax
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xc4]
push eax
call fcn.347e3c8e
test eax, eax
je 0x347e5928
mov eax, dword [esp + 0x10c]
add eax, 0xffffffff
cmp eax, 7
ja case.0x347e58fc.2
jmp dword [eax*4 + 0x347e59ac]
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x3c]
push ecx
push edx
jmp 0x347e591c
mov ecx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x3c]
push eax
push ecx
push edi
call fcn.347e526a
mov esi, eax
cmp esi, ebp
jge 0x347e596f
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 1
cmp eax, ebp
je 0x347e594b
push eax
push 5
lea edx, [esp + 0x24]
push edx
push 0xf
push edi
call fcn.347b6ac8
mov esi, eax
cmp esi, ebp
jl 0x347e596f
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x84]
push ebp
push 1
push eax
push edi
call edx
test eax, eax
jge 0x347e5784
mov esi, 0xfffffb4d
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x20], 0x64
je 0x347e598f
push eax
push 6
lea eax, [esp + 0x24]
push eax
push 0xf
push edi
call fcn.347b6ac8
mov ecx, dword [esp + 0xec]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0xe0
ret 0x1c