Function at 0x41b9bc
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xc
call fcn.0049c192
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x41ba27
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pushal
mov eax, 1
mov eax, 2
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 4
mov eax, 2
mov eax, 5
mov eax, 6
popal
fninit
call fcn.0040c054
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ba94
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41baa8
push ebx
call fcn.0049c198
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41bd29
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bb0b
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bb1e
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bb44
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404155
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bb60
push ebx
call fcn.0049c198
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push 0x1f0001
xor eax, eax
call dword [0x4b5149]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41bbb5
push 0x15e
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41bbc8
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41bc09
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [0x4b50b9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bc04
push 0x1b4
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
jmp 0x41bd21
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bc4e
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bc61
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bc87
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00404155
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bca3
push ebx
call fcn.0049c198
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x2c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x30]
push 1
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41bcf6
push 0x267
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41bd09
push ebx
call fcn.0049c198
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x41bd29
pop eax
pop ebx
pop ecx
jmp 0x41bab8
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x41bf05
cmp dword [ebp + 0x10], 1
jne 0x41bdd6
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef5c
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bd8c
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bdc1
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bdd1
push ebx
call fcn.0049c198
add esp, 4
jmp 0x41be67
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef7e
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41be22
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41be57
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41be67
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b50a9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41be9a
push 0x46c
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b514d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41bec8
push 0x491
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
call fcn.00410025
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5151]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41befb
push 0x4c0
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41befb
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41bf4a
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41bf5d
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41bf83
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b53c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41bf9f
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 1
push 0xf001f
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41bfd5
push 0x59b
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41bfe8
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41c1c1
cmp dword [ebp + 0x10], 1
jne 0x41c092
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef5c
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c048
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c07d
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c08d
push ebx
call fcn.0049c198
add esp, 4
jmp 0x41c123
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef7e
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c0de
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c113
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c123
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b50a9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c156
push 0x701
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b514d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c184
push 0x726
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
call fcn.00410025
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5151]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c1b7
push 0x755
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c1b7
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c206
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c219
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c23f
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.0040b53c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c25b
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0x64
push 0
push 4
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c2a0
push 0x82d
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c2b0
push ebx
call fcn.0049c198
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c2f5
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c308
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c32e
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415626
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c34a
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0x1f0003
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c380
push 0x8dd
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c393
push ebx
call fcn.0049c198
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x41c56c
cmp dword [ebp + 0x10], 1
jne 0x41c43d
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef5c
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c3f3
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c428
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c438
push ebx
call fcn.0049c198
add esp, 4
jmp 0x41c4ce
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x4aef59
push dword [ebp - 0x20]
push 0x4aef7e
mov ecx, 3
call fcn.0040151b
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c489
push ebx
call fcn.0049c198
add esp, 4
push 1
push 0x1388
push 1
mov eax, 0x4aef6d
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0041b5c7
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c4be
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c4ce
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x20], esp
push 0
push 0xffffffff
xor eax, eax
call dword [0x4b50a9]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c501
push 0xa43
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov dword [ebp - 0x20], esp
push 0
xor eax, eax
call dword [0x4b514d]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c52f
push 0xa68
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
call fcn.00410025
mov dword [ebp - 0x20], esp
push 0xfffffffe
xor eax, eax
call dword [0x4b5151]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x41c562
push 0xa97
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov eax, 1
cmp eax, 2
jne 0x41c562
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 1
mov ebx, 0x168
call fcn.0049d600
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 4]
mov ecx, 2
call fcn.0040151b
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c5b1
push ebx
call fcn.0049c198
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41c5c4
mov eax, 0x4ae20b
push eax
push 1
mov ebx, 0x198
call fcn.0049e5b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41c5ea
push ebx
call fcn.0049c198
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.00415626
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c606
push ebx
call fcn.0049c198
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0x2c]
push 0
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c641
push 0xb2b
push 0x402ce71
push 6
call fcn.0049c19e
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41c651
push ebx
call fcn.0049c198
add esp, 4
push ecx
push eax
mov eax, 1
mov ecx, 2
mov eax, 4
mov ecx, 2
pop eax
pop ecx
nop
jmp 0x41c67a
nop
nop
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41c690
push ebx
call fcn.0049c198
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0049c198
add esp, 4
mov esp, ebp
pop ebp
ret 0xc