Function at 0x78057c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x7807ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov ecx, 0x780804
mov edx, dword [0x82c228]
call fcn.0040545c
mov dl, 1
mov eax, dword [0x41ed6c]
call fcn.004041c0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040be8c
test al, al
je 0x7807a2
mov eax, dword [0x874e84]
call fcn.0049c8b4
xor eax, eax
push ebp
push 0x780797
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x874e84]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x780629
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [0x874e84]
call fcn.004212e4
mov edx, 0x20
call fcn.00402ed4
inc esi
dec ebx
jne 0x78060f
mov eax, dword [0x874e84]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x78077f
inc ebx
xor esi, esi
lea ecx, [ebp - 0x24]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0xc]
call fcn.0040b510
cmp dword [ebp - 0xc], 0
je 0x780777
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x3b
je 0x780777
push 2
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x2c], 0x20
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 9
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0049136c
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
call fcn.004051d8
push 2
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x2c], 0x20
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 9
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049136c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
call fcn.004051d8
push 2
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x2c], 0x20
mov byte [ebp - 0x2b], 0x2c
mov byte [ebp - 0x2a], 9
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0049136c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.004051d8
or edx, reloc.kernel32.dll_DeleteCriticalSection
mov eax, dword [ebp - 0x10]
call fcn.0040ba78
mov dword [ebp - 0x1c], eax
or edx, reloc.kernel32.dll_DeleteCriticalSection
mov eax, dword [ebp - 0x14]
call fcn.0040ba78
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jle 0x780777
cmp dword [ebp - 0x20], 0
jle 0x780777
cmp dword [ebp - 0x18], 0
je 0x780777
mov eax, 0x20
call fcn.00402ea4
mov edi, eax
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 4], eax
lea eax, reloc.kernel32.dll_DeleteCriticalSection
mov edx, dword [ebp - 0x18]
mov ecx, 0xff
call fcn.004053ec
lea edx, reloc.kernel32.dll_DeleteCriticalSection
lea eax, [edi + 8]
mov cl, 0x14
call fcn.0040387c
mov edx, edi
mov eax, dword [0x874e84]
call fcn.0042111c
inc esi
dec ebx
jne 0x780654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x78079e
mov eax, dword [0x874e84]
call fcn.0049c8c0
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, dword [ebp - 4]
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7807f1
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405164
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.00405164
ret