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

Disassembly:
sub esp, 0x64
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov eax, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov ax, word [0x34773c0c]
push edi
mov edi, dword [esp + 0x78]
mov word [esp + 0x20], ax
mov word [esp + 0x14], ax
mov eax, dword [0x347efae8]
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x24], esi
mov ecx, dword [eax + 0x228]
mov edx, dword [ecx + ebx*4]
push 6
push 4
lea ecx, [esp + 0x48]
push ecx
push ebx
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x14]
push edi
mov dword [esp + 0x48], esi
call edx
cmp eax, esi
jl 0x347bc84d
test byte [esp + 0x40], 2
jne 0x347bc135
pop edi
pop esi
pop ebp
mov eax, 0xffffb156
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x198]
lea eax, [esp + 0x18]
push eax
push ebx
call edx
cmp eax, esi
jl 0x347bc84d
mov eax, dword [esp + 0x18]
test al, 0x40
je 0x347bc173
pop edi
pop esi
pop ebp
mov eax, 0xffffb174
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
test eax, 0x80000
je 0x347bc194
pop edi
pop esi
pop ebp
mov eax, 0xffffb0ab
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
lea eax, [esp + 0x24]
push eax
push 2
lea ecx, [esp + 0x28]
push ecx
push 0xe
push esi
push ebx
push edi
call fcn.347a316f
cmp eax, esi
jl 0x347bc84d
mov dx, word [esp + 0x20]
cmp dx, word [0x34773c0c]
jne 0x347bc1da
pop edi
pop esi
pop ebp
mov eax, 0xffffb1dd
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
lea eax, [esp + 0x60]
push eax
push ebx
push edi
call fcn.347ad9c3
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, 0x10
mov ecx, ebp
lea edx, [esp + 0x60]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x347bc213
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x347bc1fb
test eax, eax
je 0x347bc278
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x347bc262
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347bc274
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x347bc262
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347bc274
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x347bc262
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x347bc274
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x347bc274
test esi, esi
mov ebx, dword [esp + 0x7c]
mov eax, 1
jg 0x347bc27a
or eax, 0xffffffff
jmp 0x347bc27a
mov ebx, dword [esp + 0x7c]
xor eax, eax
test eax, eax
jne 0x347bc298
pop edi
pop esi
pop ebp
mov eax, 0xffffb1bf
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
lea edx, [esp + 0x38]
push edx
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebp
push ebx
push edi
call fcn.347ad41a
mov esi, eax
test esi, esi
jl 0x347bc81d
cmp dword [esp + 0x3c], 0
je 0x347bc2de
pop edi
pop esi
pop ebp
mov eax, 0xffffb15e
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc
cmp dword [esp + 0x38], 0
jne 0x347bc159
lea edx, [esp + 0x24]
push edx
push 4
lea eax, [esp + 0x4c]
push eax
push 0x19
push ebp
push ebx
push edi
call fcn.347a316f
mov esi, eax
test esi, esi
jl 0x347bc81d
test dword [esp + 0x44], 0x6000
je 0x347bc31d
mov esi, 0xffffb0a8
jmp 0x347bc81d
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xd4]
push edi
call edx
test eax, eax
jl 0x347bc84d
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x60]
push 0x80400000
push 0x34772510
lea eax, [esp + 0x18]
push eax
push ebx
push edi
mov dword [esp + 0x48], 1
call edx
mov esi, eax
test esi, esi
mov eax, dword [0x347efae8]
jge 0x347bc39c
mov ecx, dword [eax + 0x108]
push edi
call ecx
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x104]
push 0
push 0
push 0
push 0xffffddef
push 0
push 0
push 0x34772510
push edi
call eax
mov dword [esp + 0x10], 0xffffffff
jmp 0x347bc83a
mov edx, dword [esp + 0x10]
push 0
push 0x18
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0xbc]
push 0x34772b58
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov edx, dword [esp + 0x10]
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 0x347bc81d
mov ecx, dword [esp + 0x4c]
push 0
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
push 2
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov edx, dword [esp + 0x10]
push ebp
push edx
push edi
call fcn.347adc76
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x347bc44b
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x68]
push edi
call ecx
mov dword [esp + 0x10], 0xffffffff
mov dx, word [esp + 0x14]
cmp dx, word [0x347738ec]
mov ecx, dword [esp + 0x2c]
je 0x347bc472
test ecx, ecx
jne 0x347bc472
mov eax, dword [esp + 0x28]
test byte [eax + 0xcc], 4
je 0x347bc785
test ecx, ecx
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x10], eax
jne 0x347bc48e
test byte [edx + 0xcc], 4
je 0x347bc659
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x74]
push 0x34772824
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x9c]
push 1
push 0x10
push ebp
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xa0]
push 1
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x90]
push 2
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
cmp dword [esp + 0x2c], 0
je 0x347bc582
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push 0
push 0x18
lea eax, [esp + 0x50]
push eax
mov eax, dword [edx + 0xbc]
push 0x34772c08
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x347bc81d
mov cx, word [0x34773c0c]
mov eax, dword [esp + 0x4c]
push 0
push 0
push 2
lea edx, [esp + 0x28]
push edx
mov edx, dword [0x347efae8]
mov word [esp + 0x2c], cx
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [edx + 0x8c]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x347bc81d
and dword [esp + 0x18], 0xffffff7f
mov ecx, dword [esp + 0x28]
test byte [ecx + 0xcc], 4
je 0x347bc632
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push 0
push 0x18
lea edx, [esp + 0x50]
push edx
mov edx, dword [ecx + 0xbc]
push 0x3477314c
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov edx, dword [esp + 0x4c]
push 0
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push 4
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x88]
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
push 0
push 0
push 4
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ebp, 0xfffffffb
and dword [esp + 0x44], ebp
mov ecx, dword [eax + 0x8c]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x28]
and dword [eax + 0xcc], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x94]
push 0
push 0
push 0
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov dx, word [0x347738ec]
cmp word [esp + 0x14], dx
jne 0x347bc77d
push 0x34772824
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x74]
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push 1
push 0x10
lea edx, [esp + 0x68]
push edx
mov edx, dword [ecx + 0x9c]
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xa0]
push 1
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov ax, word [0x347738ec]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
push 2
push ecx
mov word [esp + 0x24], ax
mov eax, dword [edx + 0x90]
push edi
call eax
mov esi, eax
test esi, esi
jl 0x347bc81d
mov edx, dword [esp + 0x10]
mov eax, dword [0x347efae8]
push 0
push 0x18
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax + 0xbc]
push 0x34772c08
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x347bc81d
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 2
lea edx, [esp + 0x28]
push edx
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x8c]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x347bc81d
mov ecx, dword [esp + 0x10]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x94]
push 0
push 0
push 0
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x347bc81d
or dword [esp + 0x18], 0x80
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
mov ecx, dword [0x347efae8]
and eax, 0xfffffffd
push eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x19c]
push ebx
call edx
mov esi, eax
test esi, esi
jl 0x347bc84b
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
xor ebx, ebx
shr edx, 5
je 0x347bc819
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xd8]
push 1
push edi
call eax
mov esi, eax
cmp esi, 0xfffffbae
je 0x347bc7f5
cmp esi, 0xfffffbaf
je 0x347bc7f5
cmp esi, 0xfffffbb2
jne 0x347bc819
push 0x1f4
call ebp
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
add ebx, 1
shr edx, 5
cmp ebx, edx
jb 0x347bc7ca
test esi, esi
jge 0x347bc84b
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x347bc833
mov edx, dword [0x347efae8]
push eax
mov eax, dword [edx + 0x68]
push edi
call eax
cmp dword [esp + 0x34], 0
je 0x347bc84b
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xdc]
push 0
push edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x64
ret 0xc