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

Disassembly:
sub esp, 0xf8
mov eax, dword [0x347765c8]
xor eax, esp
mov dword [esp + 0xf4], eax
mov ecx, dword [esp + 0x108]
mov eax, dword [esp + 0x104]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x118]
push ebx
mov ebx, dword [esp + 0x104]
push ebp
mov ebp, dword [esp + 0x104]
push esi
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], ecx
push edi
mov dword [esp + 0x44], eax
mov eax, dword [0x347efae8]
mov edi, dword [eax + 0x228]
mov edi, dword [edi + ebx*4]
mov dword [esp + 0x54], edi
mov edi, dword [edx + 0x50]
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x20], ebx
imul ebx, ebx, 0x64
add ebx, dword [eax + 0x22c]
mov dword [esp + 0x10], edx
mov edx, dword [edi]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0x18]
or esi, 0xffffffff
cmp dword [esp + 0x124], ecx
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0x44]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], edx
jne 0x34797140
mov ecx, dword [edi + 0x20]
cmp ecx, esi
mov dword [esp + 0x14], ecx
je 0x347970d3
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0xbc]
push 0
push 0x18
lea ecx, [esp + 0x7c]
push ecx
push 0x34772824
push edx
push ebp
call eax
mov esi, eax
test esi, esi
jl 0x34797983
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
push 0
push 0x18
lea edx, [esp + 0x7c]
push edx
push 0x347730ec
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0xbc]
push eax
push ebp
call edx
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, dword [0x347efae8]
or esi, 0xffffffff
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0xc]
cmp ecx, esi
mov dword [esp + 0x34], ecx
je 0x3479710a
mov eax, dword [eax + 0x74]
push 0x34772c1c
mov edx, ecx
push edx
push ebp
call eax
mov esi, eax
test esi, esi
jl 0x34797983
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x6c]
mov eax, dword [0x347efae8]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0x88]
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [edi + 0x30]
push 4
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
push ebp
call eax
mov esi, eax
cmp esi, 0x3ec
jne 0x34797146
mov dword [esp + 0x1c], 0
jmp 0x3479714e
mov dword [esp + 0x14], esi
jmp 0x347970d3
test esi, esi
jl 0x34797983
mov ecx, dword [esp + 0x1c]
push ecx
push edi
call fcn.34794dd2
cmp dword [esp + 0x14], 0xffffffff
je 0x347971eb
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0x114]
push edx
mov edx, dword [edi + 0x118]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x11c]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x120]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xcc]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xd0]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xe4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x3c]
push eax
push ebp
call fcn.347be5e9
mov esi, eax
test esi, esi
jge 0x34797983
cmp esi, 0xfffff9bf
je 0x347971eb
cmp esi, 0xfffff9bd
jne 0x34797983
mov edx, dword [esp + 0x20]
mov eax, dword [0x347efae8]
push 1
push 0x10
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [eax + 0x9c]
push edx
push ebp
call ecx
mov esi, eax
test esi, esi
jl 0x34797983
mov edx, dword [esp + 0x20]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0xa0]
push 1
push edx
push ebp
call ecx
mov esi, eax
cmp esi, 0xfffff9bf
jne 0x347974bf
mov ecx, dword [esp + 0x10]
push 1
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x94]
push eax
push ecx
push ebp
call fcn.347b7c7f
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x44]
test eax, eax
je 0x3479726d
mov eax, dword [eax + 8]
test al, 1
je 0x34797277
mov dword [esp + 0x18], 1
jmp 0x347972d7
test al, 2
je 0x34797433
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [0x347efae8]
push edx
mov edx, dword [ecx + 0x21c]
push eax
push ebp
call edx
mov esi, eax
test esi, esi
jl 0x34797983
cmp dword [esp + 0x18], 0
jne 0x347972d7
lea eax, [esp + 0x18]
push eax
push edi
push ebp
call fcn.3479317e
mov esi, eax
test esi, esi
jl 0x34797983
cmp dword [esp + 0x18], 0
je 0x34797983
cmp dword [esp + 0x130], 0
je 0x3479731e
mov eax, dword [edi + 0x1148]
test eax, eax
mov dword [esp + 0x14], eax
je 0x3479731e
test byte [eax + 0x428], 2
je 0x34797314
mov ecx, dword [esp + 0x14]
push 0
push ecx
push edi
push ebp
call fcn.34792e14
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x347972ef
test dword [esp + 0x3c], 0x20000
je 0x3479734f
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
test eax, eax
jbe 0x3479734f
mov ecx, dword [edi + 0x144]
mov edx, dword [edi + 0x14c]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push edx
call sub.msvcr80.dll_memcpy
add esp, 0xc
test byte [edi + 0x1378], 8
jne 0x347973a5
mov eax, dword [esp + 0x10]
test dword [eax + 0x4b4], 0x6000
je 0x347973a5
mov ecx, dword [ebx + 0x2c]
push ecx
lea edx, [edi + 0x150]
push edx
lea eax, [edi + 0x14c]
push eax
lea ecx, [edi + 0x1150]
push ecx
mov ecx, dword [edi + 0x1174]
lea edx, [edi + 0x138]
push edx
lea eax, [edi + 0x134]
push eax
push ecx
call fcn.34796eba
mov esi, eax
test esi, esi
jl 0x34797983
test byte [edi + 0x1378], 2
jne 0x347973ca
cmp dword [esp + 0x34], 0xffffffff
je 0x347973ca
mov edx, dword [esp + 0x10]
push edx
push ebp
call fcn.34795672
mov esi, eax
test esi, esi
jl 0x34797983
push 0
push 1
push 0
push 0
push edi
push ebp
call fcn.34795706
mov esi, eax
test esi, esi
jge 0x34797440
cmp dword [esp + 0x124], 0
jne 0x34797983
push 0x46
push esi
push 1
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xd8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xdc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [edi + 0x1178]
push eax
push edi
push ebp
call fcn.34796be3
mov esi, eax
jmp 0x34797983
mov dword [esp + 0x18], 0
jmp 0x347972b6
test byte [edi + 0x1378], 4
je 0x347974b2
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc4]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xc8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xcc]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0xd0]
mov edx, dword [edi + 0x24]
push eax
push ecx
push edx
push ebp
call fcn.347be97b
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x10]
add dword [eax + 0x6c], 1
jmp 0x34797983
test esi, esi
jl 0x34797983
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x94]
push ecx
push edx
push ebp
call fcn.347b7c7f
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x10]
test dword [eax + 0x4b8], 0x6000
je 0x34797503
or eax, 0xffffffff
jmp 0x34797509
mov eax, dword [edi + 0x1174]
push 0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x70]
push edx
push 1
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push ecx
mov ecx, dword [ebx + 0x30]
push eax
mov eax, dword [esp + 0x68]
mov edx, dword [eax + 0x14]
push edx
mov edx, dword [ebx + 0x2c]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xf4]
push eax
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0xe4]
push ecx
push edx
push eax
push ebp
call fcn.347bb1f9
mov esi, eax
test esi, esi
jl 0x34797983
cmp dword [esp + 0x40], 0
je 0x347975ba
test byte [edi + 0x1378], 2
jne 0x347975ba
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call fcn.34795672
mov esi, eax
test esi, esi
jl 0x34797983
cmp dword [esp + 0x28], 0
je 0x3479761d
cmp dword [esp + 0x24], 0
je 0x34797778
test dword [esp + 0x3c], 0x20000
je 0x347975f0
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebx + 0x2c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push 1
lea edx, [esp + 0x38]
push edx
push eax
jmp 0x34797600
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push edx
push ebp
call fcn.34795213
mov esi, eax
test esi, esi
jl 0x34797983
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
je 0x34797778
lea ecx, [edi + 0x1178]
push ecx
call fcn.347bd55c
test eax, eax
jne 0x34797778
cmp dword [edi + 0x1168], eax
jbe 0x3479764a
push edi
call fcn.34794eb7
mov edx, dword [edi + 0x1174]
mov ecx, dword [esp + 0x110]
push edx
lea eax, [esp + 0xd8]
push eax
push ecx
push ebp
call fcn.347ad862
mov esi, eax
test esi, esi
jl 0x34797983
mov edx, dword [edi + 0x1170]
mov ecx, dword [esp + 0x110]
push edx
lea eax, [esp + 0xc8]
push eax
push ecx
push ebp
call fcn.347ad862
mov esi, eax
test esi, esi
jl 0x34797983
cmp dword [esp + 0x28], 0
push 0x10
je 0x347976ff
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x54]
lea edx, [esp + 0xe8]
push edx
mov edx, dword [edi + 0x10]
push eax
push ecx
push edx
push ebp
call fcn.34796366
mov esi, eax
test esi, esi
jl 0x34797983
push 0xffffb126
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0xf0]
push edx
mov edx, dword [edi + 4]
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x128]
jmp 0x3479775c
mov eax, dword [edi + 0xfc]
mov ecx, dword [edi + 0x68]
lea edx, [esp + 0xf8]
push edx
mov edx, dword [edi + 0xc]
push eax
push ecx
push edx
push ebp
call fcn.34796366
mov esi, eax
test esi, esi
jl 0x34797983
push 0xffffb126
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0xcc]
push ecx
mov ecx, dword [edi + 0x14]
lea edx, [esp + 0x100]
push edx
mov edx, dword [esp + 0x120]
lea eax, [esp + 0xc4]
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [edi]
push edx
push eax
push ecx
push edi
push ebp
call fcn.347aa8ba
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x10]
add dword [eax + 0x78], 1
cmp dword [esp + 0x28], 0
je 0x34797983
cmp dword [esp + 0x130], 0
je 0x347977cd
mov eax, dword [edi + 0x1148]
test eax, eax
mov dword [esp + 0x14], eax
je 0x347977cd
lea esp, [esp]
test byte [eax + 0x428], 2
je 0x347977c3
mov edx, dword [esp + 0x14]
push 0
push edx
push edi
push ebp
call fcn.34792e14
mov esi, eax
test esi, esi
jl 0x34797983
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x3479779e
test byte [edi + 0x1378], 8
jne 0x34797823
mov eax, dword [esp + 0x10]
test dword [eax + 0x4b4], 0x6000
je 0x34797823
mov ecx, dword [ebx + 0x2c]
push ecx
lea edx, [edi + 0x150]
push edx
lea eax, [edi + 0x14c]
push eax
lea ecx, [edi + 0x1150]
push ecx
mov ecx, dword [edi + 0x1174]
lea edx, [edi + 0x138]
push edx
lea eax, [edi + 0x134]
push eax
push ecx
call fcn.34796eba
mov esi, eax
test esi, esi
jl 0x34797983
test byte [edi + 0x1378], 2
je 0x34797836
mov edx, dword [esp + 0x40]
mov dword [0x347ed2d4], edx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x4b4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
and eax, 0x6000
push eax
mov eax, dword [edx + 4]
push ecx
push eax
push 2
push edi
push ebp
call fcn.34795706
mov esi, eax
test esi, esi
mov dword [0x347ed2d4], 0
jl 0x34797967
test byte [edi + 0x1378], 0x18
jne 0x3479794e
cmp dword [esp + 0x58], 0
je 0x3479794e
mov ebx, dword [esp + 0x20]
mov ecx, dword [0x347efae8]
mov edx, dword [ecx + 0x90]
push 2
push ebx
push ebp
call edx
mov esi, eax
test esi, esi
jl 0x34797983
mov edx, dword [0x347efae8]
push 0
push 0
push 4
mov dword [esp + 0x28], 0
mov ecx, dword [edi + 0x40]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx + 0x8c]
push ecx
push ebx
push ebp
call eax
mov esi, eax
test esi, esi
jl 0x34797983
mov ecx, dword [0x347ed1c4]
imul ecx, ecx, 0x3e8
mov eax, 0x10624dd3
mul ecx
xor ebx, ebx
shr edx, 5
je 0x3479794e
mov edx, dword [esp + 0x20]
mov eax, dword [0x347efae8]
mov ecx, dword [eax + 0x94]
push 0
push 0
push 0
push edx
push ebp
call ecx
mov esi, eax
cmp esi, 0xfffffbae
je 0x34797926
cmp esi, 0xfffffbaf
je 0x34797926
cmp esi, 0xfffffbb2
jne 0x3479794e
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
mov edx, dword [0x347ed1c4]
imul edx, edx, 0x3e8
mov eax, 0x10624dd3
mul edx
add ebx, 1
shr edx, 5
cmp ebx, edx
jb 0x347978f3
cmp dword [esp + 0x60], 0
mov ebx, dword [esp + 0x10]
je 0x34797963
or dword [ebx + 0x4b0], 0x8000
test esi, esi
jge 0x3479797f
cmp dword [esp + 0x124], 0
jne 0x3479797b
push 0x46
push esi
push 2
jmp 0x347973f2
test esi, esi
jl 0x34797983
add dword [ebx + 0x74], 1
mov ecx, dword [esp + 0x104]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.347ea89f
add esp, 0xf8
ret 0x28