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

Disassembly:
sub esp, 0xd4
mov al, 0x30
mov edx, dword [0x4146f4]
push ebx
push ebp
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], al
push esi
lea eax, [esp + 0x74]
push edi
xor ebx, ebx
push eax
push 1
lea ecx, [esp + 0x48]
push ebx
push ecx
push 0x80000002
mov byte [esp + 0x54], 0x53
mov byte [esp + 0x55], 0x6f
mov byte [esp + 0x56], 0x66
mov byte [esp + 0x57], 0x74
mov byte [esp + 0x58], 0x77
mov byte [esp + 0x59], 0x61
mov byte [esp + 0x5a], 0x72
mov byte [esp + 0x5b], 0x65
mov byte [esp + 0x5c], 0x5c
mov byte [esp + 0x5d], 0x4d
mov byte [esp + 0x5e], 0x69
mov byte [esp + 0x5f], 0x63
mov byte [esp + 0x60], 0x72
mov byte [esp + 0x61], 0x6f
mov byte [esp + 0x62], 0x73
mov byte [esp + 0x63], 0x6f
mov byte [esp + 0x64], 0x66
mov byte [esp + 0x65], 0x74
mov byte [esp + 0x66], 0x5c
mov byte [esp + 0x67], 0x39
mov byte [esp + 0x68], 0x31
mov byte [esp + 0x69], 0x38
mov byte [esp + 0x6c], bl
call dword [edx + 0x15c]
test eax, eax
jne 0x40f34a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret
mov edx, dword [0x4146f4]
lea eax, [esp + 0x7c]
push eax
push 1
lea ecx, [esp + 0x64]
push ebx
push ecx
push 0x80000002
mov byte [esp + 0x70], 0x53
mov byte [esp + 0x71], 0x6f
mov byte [esp + 0x72], 0x66
mov byte [esp + 0x73], 0x74
mov byte [esp + 0x74], 0x77
mov byte [esp + 0x75], 0x61
mov byte [esp + 0x76], 0x72
mov byte [esp + 0x77], 0x65
mov byte [esp + 0x78], 0x5c
mov byte [esp + 0x79], 0x4d
mov byte [esp + 0x7a], 0x69
mov byte [esp + 0x7b], 0x63
mov byte [esp + 0x7c], 0x72
mov byte [esp + 0x7d], 0x6f
mov byte [esp + 0x7e], 0x73
mov byte [esp + 0x7f], 0x6f
mov byte [esp + 0x80], 0x66
mov byte [esp + 0x81], 0x74
mov byte [esp + 0x82], 0x5c
mov byte [esp + 0x83], 0x44
mov byte [esp + 0x84], 0x43
mov byte [esp + 0x85], 0x6c
mov byte [esp + 0x86], 0x6f
mov byte [esp + 0x87], 0x63
mov byte [esp + 0x88], 0x6b
mov byte [esp + 0x89], bl
call dword [edx + 0x15c]
test eax, eax
jne 0x40f41b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], bl
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x5a
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x88]
push 0x64
push ecx
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], 0x63
mov byte [esp + 0x22], 0x3a
mov byte [esp + 0x23], bl
call fcn.00402830
mov eax, dword [0x4146f4]
add esp, 0x10
lea edx, [esp + 0x80]
push edx
call dword [eax + 0x98]
cmp eax, 3
jne 0x40f622
lea ecx, [esp + 0x14]
push edi
push ecx
lea edx, [esp + 0x88]
push 0x64
push edx
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x3a
mov byte [esp + 0x27], 0x5c
mov byte [esp + 0x28], 0x24
mov byte [esp + 0x29], 0x52
mov byte [esp + 0x2a], 0x45
mov byte [esp + 0x2b], 0x43
mov byte [esp + 0x2c], 0x59
mov byte [esp + 0x2d], 0x43
mov byte [esp + 0x2e], 0x4c
mov byte [esp + 0x2f], 0x45
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x42
mov byte [esp + 0x32], 0x49
mov byte [esp + 0x33], 0x4e
mov byte [esp + 0x34], bl
call fcn.00402830
mov ecx, dword [0x4146f4]
add esp, 0x10
lea eax, [esp + 0x80]
push eax
call dword [ecx + 0x14c]
cmp eax, 0xffffffff
jne 0x40f526
mov eax, dword [0x4146f4]
lea edx, [esp + 0x80]
push ebx
push edx
call dword [eax + 0x104]
test eax, eax
je 0x40f622
mov byte [esp + 0x28], 0x5c
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0x79
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x6d
mov byte [esp + 0x2f], 0x20
mov byte [esp + 0x30], 0x56
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x6c
mov byte [esp + 0x33], 0x75
mov byte [esp + 0x34], 0x6d
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], 0x20
mov byte [esp + 0x37], 0x49
mov byte [esp + 0x38], 0x6e
mov byte [esp + 0x39], 0x66
mov byte [esp + 0x3a], 0x6f
mov byte [esp + 0x3b], 0x72
mov byte [esp + 0x3c], 0x6d
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x74
mov byte [esp + 0x3f], bl
mov ecx, 0x64
lea eax, [esp + 0x80]
xor edx, edx
cmp byte [eax], bl
je 0x40f5b5
inc eax
dec ecx
jne 0x40f5ab
jmp 0x40f5b9
cmp ecx, ebx
jne 0x40f5be
mov edx, 0x80070057
lea eax, [esp + 0x10]
test eax, eax
je 0x40f5d5
cmp edx, ebx
jl 0x40f5d3
mov ebp, 0x64
sub ebp, ecx
jmp 0x40f5d5
xor ebp, ebp
cmp edx, ebx
jl 0x40f605
mov edx, 0x64
lea eax, [esp + ebp + 0x80]
sub edx, ebp
je 0x40f605
lea esi, [esp + 0x28]
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x40f5fe
mov byte [eax], cl
inc eax
dec edx
jne 0x40f5ef
jmp 0x40f602
cmp edx, ebx
jne 0x40f603
dec eax
mov byte [eax], bl
mov edx, dword [0x4146f4]
lea ecx, [esp + 0x80]
push ecx
call dword [edx + 0x14c]
cmp eax, 0xffffffff
jne 0x40f40b
dec edi
cmp edi, 0x41
ja 0x40f43e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
ret