Function at 0x403050
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1f4
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004055e0
test al, al
je 0x403551
call fcn.00405c20
mov ecx, ebx
call fcn.00405450
call fcn.00405930
mov eax, dword fs:[0x18]
mov edx, 0x82
mov dword [esp + 0x20], 0
push 0xe5da
push 0x1f575743
mov eax, dword [eax + 0x30]
lea ecx, [edx - 0x7b]
mov eax, dword [eax + 0x10]
mov esi, dword [eax + 0x44]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x20]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x38], esi
cmp ecx, 3
jl 0x4031cf
xor edi, edi
test ecx, ecx
jle 0x4031cf
mov dword [esp + 0x24], 0x7f
nop dword [eax]
mov byte [esp + 0x13], 0x5f
mov byte [esp + 0x14], 0x20
mov byte [esp + 0x15], 0x75
mov byte [esp + 0x16], 0x20
mov byte [esp + 0x17], 0x75
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x79
mov byte [esp + 0x1a], 0x20
mov byte [esp + 0x1b], 0x53
mov byte [esp + 0x1c], 0x20
mov byte [esp + 0x1d], 0x20
mov byte [esp + 0x1e], 0x20
mov al, byte [esp + 0x13]
mov byte [esp + 0x1f], 0
cmp byte [esp + 0x1f], 0
jne 0x403154
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x13]
movzx eax, al
sub eax, 0x20
imul eax, eax, 0x25
cdq
idiv dword [esp + 0x24]
lea eax, [edx + 0x7f]
cdq
idiv dword [esp + 0x24]
mov byte [esp + ecx + 0x13], dl
inc ecx
cmp ecx, 0xc
jb 0x403130
mov esi, dword [esi + edi*4]
mov edx, 0x30
push 0x6cc
push 0x18bf576c
lea ecx, [edx - 0x2f]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
test eax, eax
je 0x40318e
mov esi, dword [esp + 0x38]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x4030e0
jmp 0x4031cf
mov eax, dword [0x455ee4]
test eax, eax
jne 0x4031cb
push 0xc8
call fcn.0040b0b0
add esp, 4
test eax, eax
je 0x4031c4
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x4031c6
xor eax, eax
mov dword [0x455ee4], eax
mov byte [eax + 0x78], 1
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, 0x412038
nop word [eax + eax]
lea eax, [esi - 0x18]
push eax
call edi
mov dword [esi], 0
add esi, 0x1c
cmp esi, 0x413618
jl 0x4031e0
call fcn.00401250
push section..data
call edi
mov edx, 0x34
push 0x1ad1
push 0xe2c57443
lea ecx, [edx - 0x33]
call fcn.004027f0
add esp, 8
push 0
push 0
push 0
push 0xffffffffffffffff
call eax
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x403551
mov eax, dword [0x455ee8]
test eax, eax
jne 0x40324a
push 4
call fcn.0040b0b0
add esp, 4
mov dword [0x455ee8], eax
mov ecx, dword [ebx + 0x1c]
xorps xmm0, xmm0
mov dword [eax], ecx
mov edx, 1
push 0xc3e9
push 0xa2976f47
mov ecx, edx
movaps xmmword [esp + 0x48], xmm0
movaps xmmword [esp + 0x58], xmm0
mov dword [esp + 0x68], 0
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x40]
push ecx
call eax
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [ebx + 0x18], eax
test eax, eax
je 0x4032fe
push 0x9076
push 0x80f6443
mov edx, 0x83
mov ecx, 1
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403030
push 0
push 0
call eax
mov ecx, dword [0x455c84]
mov edi, eax
mov edx, dword [0x455c88]
cmp ecx, edx
jne 0x4032e3
lea ecx, [edx + 4]
push ecx
mov ecx, 0x455c80
call fcn.00406140
mov ecx, dword [0x455c84]
mov eax, dword [0x455c80]
inc esi
mov dword [eax + ecx*4], edi
mov eax, dword [0x455c84]
inc eax
mov dword [0x455c84], eax
cmp esi, dword [ebx + 0x18]
jb 0x403291
jmp 0x403303
mov eax, dword [0x455c84]
test eax, eax
je 0x403551
mov eax, dword [0x455ee4]
test eax, eax
jne 0x403348
push 0xc8
call fcn.0040b0b0
add esp, 4
test eax, eax
je 0x403341
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x403343
xor eax, eax
mov dword [0x455ee4], eax
test byte [eax + 0x10], 1
je 0x403382
push 0x9076
push 0x80f6443
mov edx, 0x83
mov ecx, 1
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403010
push 0
push 0
call eax
mov dword [ebx + 0x20], eax
mov eax, dword [0x455ee4]
test eax, eax
jne 0x4033ba
push 0xc8
call fcn.0040b0b0
add esp, 4
test eax, eax
je 0x4033b3
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x4033b5
xor eax, eax
mov dword [0x455ee4], eax
mov eax, dword [eax + 0x10]
shr eax, 1
test al, 1
je 0x40352e
push 0x190
lea eax, [esp + 0x74]
push 0
push eax
call fcn.0040d290
add esp, 0xc
mov edx, 0x78
push 0x8621
push 0x8a4f7057
lea ecx, [edx - 0x74]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x70]
push ecx
push 0x202
call eax
cmp dword [0x412018], 0
jne 0x4034bd
mov edx, 0x10
mov dword [esp + 0x28], 0x25a207b9
push 0xa505
push 0xca305757
mov dword [esp + 0x34], 0x4660ddf3
lea ecx, [edx - 0xc]
mov dword [esp + 0x38], 0xe576e98e
mov dword [esp + 0x3c], 0x3e06748c
call fcn.004027f0
add esp, 8
push 0
push 0
push 0
push 6
push 1
push 2
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x4034bd
mov edx, 0x28
mov dword [esp + 0x3c], 0
push 0x619e
push 0x9b9f6c57
lea ecx, [edx - 0x24]
call fcn.004027f0
add esp, 8
lea ecx, [esp + 0x3c]
push 0
push 0
push ecx
push 4
push 0x412018
push 0x10
lea ecx, [esp + 0x40]
push ecx
push 0xc8000006
push esi
call eax
test eax, eax
jne 0x4034bd
push 0x6c62
push 0xe8b97463
lea edx, [eax + 0x35]
lea ecx, [eax + 4]
call fcn.004027f0
add esp, 8
push esi
call eax
call fcn.004066a0
test al, al
je 0x40352e
call fcn.00406910
call fcn.00406a80
push 0x9076
push 0x80f6443
mov edx, 0x83
mov ecx, 1
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403020
push 0
push 0
call eax
push 0x9076
push 0x80f6443
mov edx, 0x83
mov dword [ebx + 0x24], eax
mov ecx, 1
call fcn.004027f0
add esp, 8
push 0
push 0
push ebx
push 0x403040
push 0
push 0
call eax
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x20], 0
jne 0x403548
cmp dword [ebx + 0x24], 0
jne 0x403548
cmp dword [ebx + 0x28], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret