Function at 0x3478e486
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
push ebp
mov ebp, dword [esp + 0x74]
mov ebx, dword [ebp + 0x50]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 4]
push esi
mov esi, dword [ebx]
or dword [ebp + 0x4b0], 0x40
cmp word [ebp + 0x2a2], 0
mov dword [esp + 0x20], eax
lea eax, [ebp + 0x2a2]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], esi
je 0x3478e4f1
mov edx, dword [0x347efae8]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
mov eax, dword [edx + 0xc]
push edi
call eax
test eax, eax
jl 0x3478eab7
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0x60]
push 0x400004
push 0x3477265c
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
call eax
mov esi, eax
test esi, esi
jl 0x3478ea81
mov ecx, dword [esp + 0x10]
push 0x100
lea ebp, [ebx + 0x1178]
push ebp
push 0x3477265c
mov dword [ebx + 0x18], ecx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 0
push 0
push 0x34773508
push 0x347732c8
push 0x347734e0
push 0x347730ec
push ebx
push edi
call fcn.3478bfe7
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov edx, dword [ebx + 0x18]
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 0x3478e590
push ebx
push edi
call fcn.3478cd95
mov esi, eax
test esi, esi
jl 0x3478ea7d
jmp 0x3478e59c
cmp esi, 0xfffff9bd
jne 0x3478ea7d
push ebx
push edi
call fcn.3478c66e
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
jne 0x3478e5cd
mov eax, dword [esp + 0x18]
test byte [eax + 0x4b0], 1
je 0x3478eab5
push eax
jmp 0x3478eaad
push 0x80400000
push 0x347726f0
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x60]
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov edx, dword [esp + 0x10]
push 0x100
push ebp
push 0x347726f0
mov dword [ebx + 0x18], edx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push edi
call fcn.3478bfe7
mov esi, eax
test esi, esi
jl 0x3478ea7d
push ebx
push edi
call fcn.3478cd95
mov esi, eax
test esi, esi
jl 0x3478ea7d
push ebx
push edi
call fcn.3478c66e
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x20]
mov edx, dword [0x347efae8]
push 0x80400000
push 0x347726a8
lea eax, [esp + 0x18]
push eax
mov eax, dword [edx + 0x60]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x24], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x74]
push 0x34772824
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
push 0
push 0x18
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 0xbc]
push 0x34772824
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x38]
push 0
push 0x18
lea ecx, [esp + 0x3c]
push ecx
mov dword [ebx + 0xcc], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xbc]
push 0x347730ec
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov edx, dword [esp + 0x38]
push 0x400004
push 0x347726a8
mov dword [ebx + 0xd0], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [0x347efae8]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edx + 0x60]
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x14]
push 0
push 0x18
lea edx, [esp + 0x3c]
push edx
mov dword [ebx + 0x18], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xbc]
push 0x34772824
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push 0
push 0x18
lea ecx, [esp + 0x3c]
push ecx
push 0x347730ec
mov dword [esp + 0x30], eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xbc]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push eax
push 0x347726a8
push ecx
push edi
mov dword [esp + 0x40], edx
call fcn.3478f9ef
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov edx, dword [esp + 0x10]
push 0
push 0x18
lea eax, [esp + 0x3c]
push eax
mov dword [ebx + 0x14], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x347efae8]
mov eax, dword [edx + 0xbc]
push 0x34772824
push ecx
push edi
call eax
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push 0
push 0x18
lea edx, [esp + 0x3c]
push edx
push 0x347730ec
mov dword [esp + 0x34], ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xbc]
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x347efae8]
push 0
push 0x80000000
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x84]
push edi
call eax
mov esi, eax
test esi, esi
jl 0x3478ea73
lea esp, [esp]
mov eax, dword [esp + 0x20]
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0x10
lea edx, [esp + 0x60]
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 0x3478e899
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
jmp 0x3478e8a1
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x30]
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0x10
lea edx, [esp + 0x70]
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 0x3478e8e8
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
jmp 0x3478e8f0
test esi, esi
jl 0x3478ea7d
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x24]
push edx
push ebx
push edi
mov dword [eax + 0xc], ecx
call fcn.34791957
mov esi, eax
test esi, esi
jl 0x3478ea7d
cmp dword [esp + 0x4c], 0
je 0x3478ea51
mov eax, dword [esp + 0x10]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x90]
push 0
push eax
push edi
call edx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0
push 0
push 0x10
lea eax, [esp + 0x5c]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x8c]
push edx
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x10
lea edx, [esp + 0x6c]
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 0x3478ea7d
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
xor ebp, ebp
shr edx, 5
je 0x3478ea4d
mov edi, edi
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
cmp esi, 0xfffffbae
je 0x3478ea25
cmp esi, 0xfffffbaf
je 0x3478ea25
cmp esi, 0xfffffbb2
jne 0x3478ea4d
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add ebp, 1
shr edx, 5
cmp ebp, edx
jb 0x3478e9f2
test esi, esi
jl 0x3478ea7d
mov eax, dword [esp + 0x14]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x84]
push 0
push 1
push eax
push edi
call edx
mov esi, eax
test esi, esi
jge 0x3478e852
cmp esi, 0xfffff9bd
jne 0x3478ea7d
xor esi, esi
mov ebp, dword [esp + 0x18]
push ebx
push edi
call fcn.3478c66e
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
je 0x3478ea9f
push 0
push eax
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x10]
push edi
call ecx
test esi, esi
jl 0x3478eab5
test byte [ebp + 0x4b0], 1
je 0x3478eab5
push ebp
push edi
call fcn.3478df75
mov esi, eax
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 8