Function at 0x408960
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x425d7d
mov eax, dword fs:[0]
push eax
mov eax, 0x1168
call fcn.004248b0
mov eax, dword [0x42d414]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42d414]
xor eax, esp
push eax
lea eax, [esp + 0x117c]
mov dword fs:[0], eax
push 0xfff
xor ebp, ebp
lea eax, [esp + 0x179]
push ebp
push eax
mov byte [esp + 0x180], 0
call fcn.0041ad40
mov al, 0xde
mov byte [esp + 0x161], al
mov byte [esp + 0x171], al
mov al, 0x29
mov bl, 0x47
mov dl, 0xc5
mov cl, 0x96
add esp, 0xc
mov byte [esp + 0x16f], al
mov byte [esp + 0x172], al
mov byte [esp + 0x27], 0
mov dword [0x42f100], ebp
mov byte [esp + 0x138], 0xf4
mov byte [esp + 0x139], 0xc9
mov byte [esp + 0x13a], 0xc7
mov byte [esp + 0x13b], bl
mov byte [esp + 0x13c], 0x8d
mov byte [esp + 0x13d], 0x9a
mov byte [esp + 0x13e], 0x49
mov byte [esp + 0x13f], dl
mov byte [esp + 0x140], 0x9e
mov byte [esp + 0x141], 0x37
mov byte [esp + 0x142], 0x57
mov byte [esp + 0x143], 0xf
mov byte [esp + 0x144], 0x77
mov byte [esp + 0x145], cl
mov byte [esp + 0x146], 0x95
mov byte [esp + 0x147], 0xe
mov byte [esp + 0x154], 0x1a
mov byte [esp + 0x156], 0xb4
mov byte [esp + 0x157], 0x4f
mov byte [esp + 0x158], 0xea
mov byte [esp + 0x159], 0x5a
mov byte [esp + 0x15a], 0x4a
mov byte [esp + 0x15b], 0x2f
mov byte [esp + 0x15c], 0xad
mov byte [esp + 0x15d], 0xc7
mov byte [esp + 0x15e], 0xcb
mov byte [esp + 0x15f], 0xa5
mov byte [esp + 0x160], 0xbe
mov byte [esp + 0x161], 0x36
mov byte [esp + 0x162], 0xfd
mov byte [esp + 0x163], 0x42
mov byte [esp + 0x164], 0xba
mov byte [esp + 0x166], 0xa6
mov byte [esp + 0x167], 0x6a
mov byte [esp + 0x168], 0x1f
mov byte [esp + 0x169], 0xf8
mov byte [esp + 0x16a], bl
mov byte [esp + 0x16b], 0x55
mov byte [esp + 0x16c], cl
mov byte [esp + 0x16d], 0x9c
mov byte [esp + 0x16e], 0xdf
mov byte [esp + 0x170], 0x54
mov byte [esp + 0x171], 0x98
mov byte [esp + 0x173], dl
xor eax, eax
lea esp, [esp]
cmp eax, 0x10
jge 0x408b75
mov cl, byte [esp + eax + 0x138]
mov dl, byte [esp + eax + 0x164]
xor byte [esp + eax + 0x154], cl
xor dl, cl
mov byte [esp + eax + 0x138], dl
jmp 0x408b83
mov cl, byte [esp + eax + 0x128]
xor byte [esp + eax + 0x154], cl
add eax, 1
cmp eax, 0x20
jl 0x408b50
push str.7E5639ACB1BA434AB569B59B67C94AA6
push ebp
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x409576
push 0x1008
push ebp
push ebp
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x40956b
mov edi, eax
movsx edx, word [edi + 2]
push edx
call fcn.0041a33d
mov esi, eax
movsx eax, word [edi + 2]
add esp, 4
push eax
lea ecx, [edi + 4]
push ecx
push esi
mov dword [esp + 0x38], esi
call fcn.0041adc0
add esp, 0xc
lea ecx, [esp + 0x154]
lea eax, [esp + 0x34]
call fcn.004057e0
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x124], edx
mov edx, dword [esp + 0x144]
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], ecx
movsx ecx, word [edi + 2]
lea eax, [esp + 0x34]
mov dword [esp + 0x130], edx
push eax
mov edx, esi
call fcn.00406290
add esp, 4
xor eax, eax
cmp word [edi], bp
jle 0x408c69
lea ecx, [esp + 0x174]
sub esi, ecx
lea ecx, [esp + eax + 0x174]
mov dl, byte [ecx + esi]
mov byte [ecx], dl
movsx ecx, word [edi]
add eax, 1
cmp eax, ecx
jl 0x408c53
movsx edx, word [edi]
mov byte [esp + edx + 0x174], 0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1184], ebp
push 1
mov edi, 0xf
push 0x429714
lea ecx, [esp + 0x15c]
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebp
mov byte [esp + 0x160], 0
call fcn.0040ff50
mov byte [esp + 0x1184], 1
lea eax, [esp + 0x174]
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebp
mov byte [esp + 0x13c], 0
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408ce0
sub eax, edx
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x140]
call fcn.0040ff50
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x13c]
push edx
lea ecx, [esp + 0x15c]
mov byte [esp + 0x118c], 2
call fcn.00406520
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x150], esi
jb 0x408d42
mov eax, dword [esp + 0x13c]
push eax
call fcn.00419cac
add esp, 4
mov byte [esp + 0x1184], 0
cmp dword [esp + 0x16c], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebp
mov byte [esp + 0x13c], 0
jb 0x408d79
mov ecx, dword [esp + 0x158]
push ecx
call fcn.00419cac
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x40950b
mov edi, dword [esp + 0x1c]
mov ecx, edi
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 8
jne 0x40950b
cmp dword [esp + 0x118c], 1
jne 0x408f91
cmp eax, 6
ja 0x408dc5
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xbc], ebp
je 0x40950b
mov eax, dword [0x42f2e0]
mov edi, dword [0x42f2dc]
cmp edi, eax
mov ebx, eax
jbe 0x408df2
call fcn.0041a633
mov eax, dword [0x42f2e0]
mov edi, dword [0x42f2dc]
cmp edi, eax
mov esi, 0x42f2d8
jbe 0x408e00
call fcn.0041a633
push ebx
push esi
mov eax, 0x42f2d8
push edi
push eax
lea edx, [esp + 0x148]
push edx
mov ebx, eax
call fcn.0040c160
push 1
xor ebx, ebx
mov edi, 0xf
push 0x429718
lea ecx, [esp + 0x15c]
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov byte [esp + 0x160], bl
call fcn.0040ff50
mov byte [esp + 0x1184], 3
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x408e75
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x408e7e
call fcn.0041a633
mov esi, dword [esp + 0x18]
mov ebp, 0x10
cmp dword [esi + 0xc0], ebp
jb 0x408e93
mov esi, dword [esi + 0xac]
jmp 0x408e99
add esi, 0xac
mov eax, esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x408eb3
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x140]
call fcn.0040ff50
lea eax, [esp + 0x138]
push 0x42f2d8
push eax
lea ecx, [esp + 0x15c]
mov byte [esp + 0x118c], 4
call fcn.00406520
add esp, 8
cmp dword [esp + 0x150], ebp
jb 0x408f09
mov ecx, dword [esp + 0x13c]
push ecx
call fcn.00419cac
add esp, 4
cmp dword [esp + 0x16c], ebp
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
jb 0x408f37
mov edx, dword [esp + 0x158]
push edx
call fcn.00419cac
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x408f5d
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x408f66
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xc0], ebp
jb 0x408f76
mov esi, dword [esi + 0xac]
jmp 0x408f7c
add esi, 0xac
push esi
push str.Process_name_s_:__s_n
call fcn.00419e63
add esp, 8
xor ebp, ebp
jmp 0x40950b
cmp eax, ebp
ja 0x408fa2
call fcn.0041a633
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x14], ebp
je 0x40950b
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x408fcb
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x18], 0x10
jb 0x408fd6
mov esi, dword [esi + 4]
jmp 0x408fd9
add esi, 4
mov edi, esi
call fcn.00408640
mov bl, al
push esi
push str.Socks5_Server:__s_n
mov byte [esp + 0x2f], bl
call fcn.00419e63
add esp, 8
test bl, bl
je 0x40950b
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x409024
mov ecx, dword [esp + 0x1c]
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x409031
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x30], ebp
je 0x409097
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x409059
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x34], 0x10
jb 0x409064
mov esi, dword [esi + 0x20]
jmp 0x409067
add esi, 0x20
push esi
mov ebx, 0xf
push ebx
push 0x42f114
call fcn.0041a400
add esp, 0xc
push 0x42f114
push str.DNS_Server:__s_n
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
jmp 0x40909c
mov ebx, 0xf
cmp esi, ebp
je 0x4090bc
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4090c9
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x4c], ebp
je 0x409123
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x4090f1
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x50], 0x10
jb 0x4090fc
mov esi, dword [esi + 0x3c]
jmp 0x4090ff
add esi, 0x3c
push esi
call fcn.0041a476
add esp, 4
push eax
push str.DNS_Port:__d_n
mov dword [0x42f110], eax
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, ebp
je 0x409143
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x409150
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x68], ebp
je 0x4091aa
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x409178
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x6c], 0x10
jb 0x409183
mov esi, dword [esi + 0x58]
jmp 0x409186
add esi, 0x58
push esi
call fcn.0041a476
add esp, 4
push eax
push str.DNS_ThreadCount:__d_n
mov dword [0x42f10c], eax
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, ebp
je 0x4091ca
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
ja 0x4091d7
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x84], ebp
je 0x409237
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 4
ja 0x409202
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x88], 0x10
jb 0x409210
mov esi, dword [esi + 0x74]
jmp 0x409213
add esi, 0x74
push esi
call fcn.0041a476
add esp, 4
push eax
push str.LocalProxy_Port:__d_n
mov dword [0x42f108], eax
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, ebp
je 0x409257
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x409264
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xa0], ebp
je 0x4092ca
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x40928f
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xa4], 0x10
jb 0x4092a0
mov esi, dword [esi + 0x90]
jmp 0x4092a6
add esi, 0x90
push esi
call fcn.0041a476
add esp, 4
push eax
push str.Proxy_Mode:__d_n
mov dword [0x42f104], eax
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, ebp
je 0x4092ea
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x4092f7
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xbc], ebp
je 0x409480
push 1
push 0x429718
lea ecx, [esp + 0x15c]
mov dword [esp + 0x174], ebx
mov dword [esp + 0x170], ebp
mov byte [esp + 0x160], 0
call fcn.0040ff50
mov byte [esp + 0x1184], 5
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x40935a
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x409363
call fcn.0041a633
mov esi, dword [esp + 0x18]
mov edi, 0x10
cmp dword [esi + 0xc0], edi
jb 0x409378
mov esi, dword [esi + 0xac]
jmp 0x40937e
add esi, 0xac
mov eax, esi
mov dword [esp + 0x150], ebx
mov dword [esp + 0x14c], ebp
mov byte [esp + 0x13c], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4093a0
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x140]
call fcn.0040ff50
lea ecx, [esp + 0x138]
push 0x42f2d8
push ecx
lea ecx, [esp + 0x15c]
mov byte [esp + 0x118c], 6
call fcn.00406520
add esp, 8
cmp dword [esp + 0x150], edi
jb 0x4093f6
mov edx, dword [esp + 0x13c]
push edx
call fcn.00419cac
add esp, 4
cmp dword [esp + 0x16c], edi
mov dword [esp + 0x150], ebx
mov dword [esp + 0x14c], ebp
mov byte [esp + 0x13c], 0
jb 0x409425
mov eax, dword [esp + 0x158]
push eax
call fcn.00419cac
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x40944b
mov ecx, dword [esp + 0x1c]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 6
ja 0x409454
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xc0], edi
jb 0x409464
mov esi, dword [esi + 0xac]
jmp 0x40946a
add esi, 0xac
push esi
push str.Process_name_s_:__s_n
call fcn.00419e63
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
add esp, 8
cmp esi, ebp
je 0x4094a0
mov edi, ecx
sub edi, esi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
ja 0x4094ad
call fcn.0041a633
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xd8], ebp
je 0x40950b
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 7
ja 0x4094d8
call fcn.0041a633
mov esi, dword [esp + 0x18]
cmp dword [esi + 0xdc], 0x10
jb 0x4094e9
mov esi, dword [esi + 0xc8]
jmp 0x4094ef
add esi, 0xc8
push esi
call fcn.0041a476
add esp, 4
push eax
push str.Proxy_Status:__d_n
mov dword [0x42f100], eax
call fcn.00419e63
add esp, 8
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [esp + 0x2c]
push edx
call fcn.0041a47b
mov esi, dword [esp + 0x1c]
add esp, 4
cmp esi, ebp
je 0x40956b
mov edi, dword [esp + 0x1c]
cmp esi, edi
je 0x409562
add esi, 0x18
cmp dword [esi], 0x10
jb 0x409547
mov eax, dword [esi - 0x14]
push eax
call fcn.00419cac
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebp
mov byte [esi - 0x14], 0
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x409536
mov esi, dword [esp + 0x18]
push esi
call fcn.00419cac
add esp, 4
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x42f100], ebp
jne 0x409585
xor al, al
movzx eax, al
jmp 0x40958a
movzx eax, byte [esp + 0x27]
mov ecx, dword [esp + 0x117c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1160]
xor ecx, esp
call fcn.00419af5
add esp, 0x1174
ret