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

Disassembly:
sub esp, 0x46c
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0x468], eax
cmp dword [esp + 0x47c], 0
push ebx
push edi
mov edi, dword [esp + 0x47c]
mov dword [esp + 8], 0
mov eax, 0x80000000
je 0x34795e8e
mov eax, 0x80000002
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x478]
or eax, 0x400000
push eax
lea edx, [edi + 0x1178]
push edx
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x60]
push ebx
call edx
test eax, eax
jl 0x3479634d
mov eax, dword [edi + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, esi
imul ebp, ebp, 0x64
mov dword [edi + 0x14], esi
mov ecx, dword [0x347efae8]
add ebp, dword [ecx + 0x22c]
mov word [edi + 0x1160], 0
mov dx, word [ebp + 0x4c]
push 0x7f0
mov dword [esp + 0x20], eax
mov word [edi + 0x1162], dx
mov eax, dword [ebp + 0x2c]
lea ecx, [edi + 0x94c]
push 0xffffffffffffffff
push ecx
mov dword [edi + 0x1158], eax
call sub.msvcr80.dll_memset
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xbc]
add esp, 0xc
push 1
push 0x38
lea edx, [esp + 0x48]
push edx
push 0
push esi
push ebx
call ecx
test eax, eax
jl 0x3479634b
mov edx, dword [esp + 0x44]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x84]
push 0
push 0x80000000
push edx
push ebx
call ecx
mov esi, eax
test esi, esi
jl 0x3479614d
mov ecx, dword [esp + 0x54]
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x50]
push 4
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push ebx
call ecx
mov esi, eax
cmp esi, 0x3ec
jne 0x34795f99
mov dword [esp + 0x18], 0
jmp 0x34795fa1
test esi, esi
jl 0x3479614d
mov ecx, dword [esp + 0x50]
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x50]
push 0x1fe
lea eax, [esp + 0x88]
push eax
mov eax, dword [0x347efae8]
push ecx
mov ecx, dword [eax + 0x88]
push edx
push ebx
call ecx
mov esi, eax
test esi, esi
jl 0x3479614d
mov eax, dword [esp + 0x10]
cmp eax, 0x1fe
jb 0x34795fe9
mov eax, 0x1fe
mov ecx, dword [esp + 0x1c]
push 0
push 0x18
mov word [esp + eax + 0x80], 0
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x84]
push eax
mov eax, dword [edx + 0xbc]
push ecx
push ebx
call eax
mov esi, eax
test esi, esi
jl 0x3479614d
mov ecx, 0x347727f4
lea eax, [esp + 0x78]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x34796051
test dx, dx
je 0x3479604d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x34796051
add eax, 4
add ecx, 4
test dx, dx
jne 0x3479602b
xor eax, eax
jmp 0x34796056
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
jne 0x3479606a
mov dword [edi + 0x30], ebx
mov dword [edi + 0x40], esi
jmp 0x3479609e
push 0x34772834
lea ecx, [esp + 0x7c]
push ecx
call fcn.34780cf0
test eax, eax
jne 0x34796085
mov dword [edi + 0x34], ebx
mov dword [edi + 0x44], esi
jmp 0x3479609e
push 0x34772848
lea edx, [esp + 0x7c]
push edx
call fcn.34780cf0
test eax, eax
jne 0x3479609e
mov dword [edi + 0x38], ebx
mov dword [edi + 0x48], esi
movzx eax, word [ebp + 0x4c]
sub eax, 1
js 0x34796100
mov edx, dword [ebp + 0x38]
lea ecx, [edx + eax*8 + 4]
lea esp, [esp]
test edx, edx
je 0x34796100
cmp dword [ecx - 4], esi
jne 0x347960bf
cmp dword [ecx], 0xffffffff
jne 0x347960cf
cmp dword [ecx], esi
je 0x347960e4
sub eax, 1
sub ecx, 8
test eax, eax
jge 0x347960b1
jmp 0x34796100
mov ecx, eax
shl ecx, 4
add ecx, edi
mov dword [ecx + 0x94c], esi
mov dword [ecx + 0x954], ebx
jmp 0x347960fc
lea edx, [eax + 0x95]
shl edx, 4
mov ecx, eax
shl ecx, 4
mov dword [edx + edi], esi
mov dword [ecx + edi + 0x958], ebx
test eax, eax
jge 0x3479611d
movsx eax, word [edi + 0x1160]
mov dword [edi + eax*4 + 0x550], esi
mov dword [edi + eax*4 + 0x154], ebx
add word [edi + 0x1160], 1
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x480]
mov ecx, dword [0x347efae8]
push 0
push 1
push edx
mov edx, dword [ecx + 0x84]
push eax
call edx
mov ebx, dword [esp + 0x480]
mov esi, eax
test esi, esi
jge 0x34795f5d
cmp esi, 0xfffff9bd
jne 0x34796157
xor esi, esi
mov eax, dword [esp + 0x44]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x68]
push eax
push ebx
call edx
test esi, esi
jl 0x34796349
cmp dword [esp + 0x488], 0
je 0x34796198
mov eax, dword [esp + 0x14]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x1cc]
push eax
push ebx
call edx
mov esi, eax
test esi, esi
jl 0x34796349
mov ecx, 0x34772564
lea eax, [edi + 0x1178]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x347961c9
test dx, dx
je 0x347961c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x347961c9
add eax, 4
add ecx, 4
test dx, dx
jne 0x347961a3
xor eax, eax
jmp 0x347961ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x347961de
mov dword [edi + 0x3c], 0xffffffff
jmp 0x34796337
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
xor ebx, ebx
shr edx, 5
je 0x3479628d
mov ebp, dword [sym.imp.kernel32.dll_Sleep]
push 0
push 0
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push 0x200
lea ecx, [esp + 0x28c]
push ecx
mov ecx, dword [0x347efae8]
push 0x34772398
push 0
lea eax, [edi + 0x1178]
push eax
mov eax, dword [esp + 0x4a4]
push 0x34771260
push edx
mov edx, dword [ecx + 0x140]
push eax
call edx
mov esi, eax
cmp esi, 0xfffffbae
je 0x34796265
cmp esi, 0xfffffbaf
je 0x34796265
cmp esi, 0xfffffbb2
jne 0x3479628d
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 0x34796202
test esi, esi
jge 0x347962ad
cmp esi, 0xfffff1f0
jne 0x34796349
or eax, 0xffffffff
mov dword [edi + 0x3c], eax
mov dword [edi + 0x4c], eax
xor esi, esi
jmp 0x34796330
mov eax, dword [esp + 0x10]
cmp eax, 0x1fe
jb 0x347962bd
mov eax, 0x1fe
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x480]
push 0
push 0x18
mov word [esp + eax + 0x280], 0
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x347efae8]
lea eax, [esp + 0x284]
push eax
mov eax, dword [edx + 0xbc]
push ecx
push esi
call eax
test eax, eax
jl 0x3479634b
mov ecx, dword [esp + 0x2c]
push 0
push 0x18
lea edx, [esp + 0x30]
push edx
mov dword [edi + 0x4c], ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [0x347efae8]
lea eax, [esp + 0x284]
push eax
mov eax, dword [edx + 0xbc]
push ecx
push esi
call eax
mov esi, eax
test esi, esi
jl 0x34796349
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x3c], ecx
mov ebx, dword [esp + 0x480]
test byte [edi + 0x1378], 4
je 0x34796349
push edi
push ebx
call fcn.3479252c
mov esi, eax
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x470]
pop edi
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0x46c
ret 0x10