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

Disassembly:
sub esp, 0xf4
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x114]
mov ecx, dword [esp + 0x110]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x11c]
push ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x128]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x12c]
push esi
mov dword [esp + 0x34], edx
mov edx, dword [0x347efae8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x128]
mov dword [esp + 0xc], 0xffffffff
push edi
mov edi, dword [esp + 0x108]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x228]
mov ebx, dword [eax + ebp*4]
mov eax, dword [esp + 0x118]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x138]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0xe4]
push eax
push edi
mov dword [esp + 0x20], ecx
call fcn.347ad9c3
mov esi, eax
test esi, esi
jl 0x34798ee5
lea ecx, [esp + 0x5c]
push ecx
push ebp
push edi
call fcn.347ad9c3
mov esi, eax
test esi, esi
jl 0x34798ee5
mov edx, dword [esp + 0x5c]
mov dword [ebx + 0x100], edx
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x104], eax
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x108], ecx
mov edx, dword [esp + 0x68]
mov dword [ebx + 0x10c], edx
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0xf0], eax
mov ecx, dword [esp + 0x70]
mov dword [ebx + 0xf4], ecx
mov edx, dword [esp + 0x74]
mov dword [ebx + 0xf8], edx
mov eax, dword [esp + 0x78]
or dword [ebx + 0xe4], 0x40000
mov dword [ebx + 0xfc], eax
mov dword [ebx + 0xec], 1
mov ebp, dword [esp + 0x114]
mov ecx, dword [0x347efae8]
imul ebp, ebp, 0x64
add ebp, dword [ecx + 0x22c]
mov eax, dword [ebp + 0x54]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x34798c8d
push 0
push 1
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 0
lea eax, [esp + 0x130]
push eax
mov eax, dword [esp + 0x12c]
push eax
push eax
push edi
call fcn.347a68cd
mov esi, eax
test esi, esi
jl 0x34798ee5
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x54], ecx
push 0
push 0x80
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x347efae8]
push 0x80
lea ecx, [esp + 0x90]
push ecx
mov ecx, dword [eax + 0x144]
push 0x34772398
push 0
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798ee5
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
shr edx, 1
mov word [esp + edx*2 + 0x7c], 0
mov edx, dword [esp + 0x2c]
mov dword [ebx + 0x120], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x124], ecx
mov ecx, dword [esp + 0x34]
lea ebp, [ebx + 0x120]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x130], ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x134], edx
mov dword [ebx + 0x138], eax
mov dword [ebx + 0x13c], ecx
mov edx, dword [esp + 0x114]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x74]
push 0x34772824
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798ee5
mov edx, dword [esp + 0x110]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push 0
push 0x80000000
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798edb
lea esp, [esp]
mov ecx, dword [esp + 0x110]
push 0
push 0x18
lea edx, [esp + 0x3c]
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x88]
push eax
mov eax, dword [edx + 0xbc]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x34798ee5
mov eax, dword [esp + 0x38]
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x11c]
push 0x10
lea edx, [esp + 0x5c]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x88]
push ecx
push edi
call eax
cmp eax, 0x3ec
jne 0x34798df2
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x114]
mov eax, dword [0x347efae8]
push 1
push 0x10
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [eax + 0x9c]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798ee5
mov edx, dword [esp + 0x114]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa0]
push 1
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798ee5
mov eax, dword [esp + 0x13c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
push 1
push 1
push eax
push 0
lea eax, [ebx + 0xf0]
push eax
lea eax, [ebx + 0x100]
push eax
lea eax, [ebx + 0x130]
push eax
mov eax, dword [esp + 0x134]
push ebp
lea ecx, [ebx + 0x110]
push ecx
mov ecx, dword [esp + 0x134]
push edx
push eax
push ecx
push edi
call fcn.347a8795
mov esi, eax
test esi, esi
jl 0x34798ee5
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x34798e9b
add dword [eax], 1
mov edx, dword [esp + 0x114]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x98]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x34798ee5
mov edx, dword [esp + 0x110]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push 0
push 1
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jge 0x34798d7b
cmp esi, 0xfffff9bd
jne 0x34798ee5
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x34798f03
push eax
push 0xffffffffffffffff
push edi
call fcn.347a6822
mov edx, dword [esp + 0x14]
mov dword [ebx + 0xe4], edx
jmp 0x34798f0d
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xe4], eax
mov ecx, dword [esp + 0x100]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0xf4
ret 0x38