Function at 0x787614
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x78761c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x7879ae
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x30]
mov ecx, 0x7879c8
mov edx, dword [0x82c228]
call fcn.0040545c
mov eax, dword [ebp - 0x30]
call fcn.0040be8c
test al, al
je 0x787969
call fcn.0078759c
mov dl, 1
mov eax, dword [0x41ed6c]
call fcn.004041c0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x78795f
inc ebx
xor esi, esi
mov eax, dword [0x83a1b4]
mov eax, dword [eax]
call fcn.00476854
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, dword [ebp - 0x24]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x28]
call fcn.0040b510
cmp dword [ebp - 0x28], 0
je 0x787957
mov eax, dword [ebp - 0x28]
cmp byte [eax], 0x3b
jae 0x787957
push 3
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x44], 0x20
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x2c
mov byte [ebp - 0x41], 9
lea ecx, [ebp - 0x44]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0049136c
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
call fcn.004051d8
push 3
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 0x44], 0x20
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x2c
mov byte [ebp - 0x41], 9
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x28]
call fcn.0049136c
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
call fcn.004051d8
push 3
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 0x44], 0x20
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x2c
mov byte [ebp - 0x41], 9
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.0049136c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
call fcn.004051d8
push 3
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 0x44], 0x20
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x2c
mov byte [ebp - 0x41], 9
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.0049136c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
call fcn.004051d8
push 3
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 0x44], 0x20
mov byte [ebp - 0x43], 0x2f
mov byte [ebp - 0x42], 0x2c
mov byte [ebp - 0x41], 9
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x28]
call fcn.0049136c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x28]
call fcn.004051d8
cmp dword [ebp - 8], 0
je 0x787957
cmp dword [ebp - 0xc], 0
je 0x787957
cmp dword [ebp - 0x10], 0
je 0x787957
cmp dword [ebp - 0x14], 0
je 0x787957
cmp dword [ebp - 0x18], 0
je 0x787957
or edx, reloc.kernel32.dll_DeleteCriticalSection
mov eax, dword [ebp - 8]
call fcn.0040ba78
mov edi, eax
or edx, reloc.kernel32.dll_DeleteCriticalSection
mov eax, dword [ebp - 0xc]
call fcn.0040ba78
mov dword [ebp - 0x1c], eax
or edx, reloc.kernel32.dll_DeleteCriticalSection
mov eax, dword [ebp - 0x10]
call fcn.0040ba78
mov dword [ebp - 0x20], eax
test edi, edi
jl 0x787957
cmp dword [ebp - 0x1c], 0
jl 0x787957
cmp dword [ebp - 0x20], 0
jl 0x787957
mov edx, dword [0x491e28]
mov eax, 0xc
call fcn.0040622c
mov dword [ebp - 0x2c], eax
sub edi, 1
jb 0x78784c
je 0x787855
dec edi
je 0x78785e
dec edi
je 0x787867
jmp 0x787870
mov eax, dword [ebp - 0x2c]
mov byte [eax + 8], 0
jmp 0x787877
mov eax, dword [ebp - 0x2c]
mov byte [eax + 8], 1
jmp 0x787877
mov eax, dword [ebp - 0x2c]
mov byte [eax + 8], 2
jmp 0x787877
mov eax, dword [ebp - 0x2c]
mov byte [eax + 8], 3
jmp 0x787877
mov eax, dword [ebp - 0x2c]
mov byte [eax + 8], 1
mov eax, dword [ebp - 0x20]
sub eax, 1
jb 0x787889
je 0x787892
dec eax
je 0x78789b
dec eax
je 0x7878a4
jmp 0x7878ad
mov eax, dword [ebp - 0x2c]
mov byte [eax + 9], 0
jmp 0x7878b4
mov eax, dword [ebp - 0x2c]
mov byte [eax + 9], 1
jmp 0x7878b4
mov eax, dword [ebp - 0x2c]
mov byte [eax + 9], 2
jmp 0x7878b4
mov eax, dword [ebp - 0x2c]
mov byte [eax + 9], 3
jmp 0x7878b4
mov eax, dword [ebp - 0x2c]
mov byte [eax + 9], 3
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov eax, dword [ebp - 0x2c]
add eax, 4
mov edx, dword [ebp - 0x18]
call fcn.00405194
mov byte [ebp - 0x31], 0
mov eax, dword [0x874e30]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x78792a
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 4]
mov eax, dword [0x874e30]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x14]
call fcn.0040b368
test eax, eax
jne 0x787922
mov edx, dword [ebp - 4]
mov eax, dword [0x874e30]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x2c]
call fcn.0042111c
mov byte [ebp - 0x31], 1
jmp 0x78792a
inc dword [ebp - 4]
dec dword [ebp - 0x38]
jne 0x7878e8
cmp byte [ebp - 0x31], 0
jne 0x787957
mov dl, 1
mov eax, dword [0x41e708]
call fcn.004041c0
mov edi, eax
mov edx, dword [ebp - 0x2c]
mov eax, edi
call fcn.0042111c
mov ecx, edi
mov edx, dword [ebp - 0x14]
mov eax, dword [0x874e30]
mov edi, dword [eax]
call dword [edi + 0x3c]
inc esi
dec ebx
jne 0x78768e
mov eax, dword [ebp - 0x24]
call fcn.004041f0
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7879b5
lea eax, [ebp - 0x58]
mov edx, 5
call fcn.00405164
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x30]
call fcn.00405140
lea eax, [ebp - 0x28]
call fcn.00405140
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00405164
ret