Function at 0x41b9ae
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 8
call fcn.004318b0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x45e393
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0
push 0x198
call fcn.004318b0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edi, eax
mov esi, 0x45f4bd
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x64
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
jmp 0x41ba6a
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
mov dword [ebp - 0x44], esp
push 0
xor eax, eax
call dword [0x460d53]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x41bad3
push 0x18
push 0x406aa18
push 6
call fcn.004318a4
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push ecx
mov eax, dword fs:[0x18]
add eax, 0x100
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
add eax, 4
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
pop ecx
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041c34d
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41bb3c
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push reloc.WS2_32.dll_getpeername
push 0
push 0x45f4a1
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41bb73
mov eax, 0x45e393
push eax
push 3
mov ebx, 0x1c4
call fcn.00435200
add esp, 0x28
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41bbab
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41bba7
imul eax, dword [ebx]
jmp 0x41bb9c
mov ecx, eax
test ecx, ecx
je 0x41bbca
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41bbc3
push ebx
push eax
call fcn.004318b6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41bbb1
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402d63
mov dword [ebp - 0x44], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41bbf5
mov eax, 0x45e393
push eax
push 1
mov ebx, 0x194
call fcn.00432e60
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.00432e70
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 8
call fcn.004318b0
add esp, 4
mov dword [ebp - 0x50], eax
mov edi, eax
mov esi, 0x45e393
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x44]
call fcn.00403e99
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41bc62
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x50]
push ebx
call fcn.004318b6
add esp, 4
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xor ecx, ecx
lea eax, [ebp - 0x28]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x64
jg 0x41bcf5
mov ebx, dword [ebp - 0x2c]
call fcn.00401822
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x41bcb8
push 0x36b
push 0x406aa18
push 4
call fcn.004318a4
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41bcd5
push 0x36b
push 0x406aa18
push 1
call fcn.004318a4
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0xff
push 1
call fcn.004054de
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
pop ebx
pop ecx
jmp 0x41bc83
add esp, 8
xor ecx, ecx
lea eax, [ebp - 0x28]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x64
jg 0x41bd74
mov ebx, dword [0x460cdb]
call fcn.00401822
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x41bd37
push 0x3e8
push 0x406aa18
push 4
call fcn.004318a4
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41bd54
push 0x3e8
push 0x406aa18
push 1
call fcn.004318a4
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push 0xff
push 1
call fcn.004054de
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
pop ebx
pop ecx
jmp 0x41bcff
add esp, 8
push 0x9fb
push 0x64
call fcn.004054de
mov dword [0x460cdf], eax
mov ebx, dword [ebp - 0x1c]
call fcn.0040b534
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 8
jne 0x41c268
xor ecx, ecx
lea eax, [ebp - 0x28]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 8
jg 0x41bf5d
cmp dword [ebp - 0x28], 8
je 0x41bea7
mov ebx, dword [ebp - 0x1c]
call fcn.00401822
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x41bde6
push 0x567
push 0x406aa18
push 4
call fcn.004318a4
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41be03
push 0x567
push 0x406aa18
push 1
call fcn.004318a4
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x44]
call fcn.00410565
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00432f50
add esp, 0x10
mov dword [ebp - 0x4c], eax
push 0x80000101
push 0
push 0x2a
push 1
mov ebx, 0x140
call fcn.00433600
add esp, 0x10
mov dword [ebp - 0x50], eax
push dword [ebp - 0x50]
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
mov ecx, 3
call fcn.004013fd
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41be7a
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41be8a
push ebx
call fcn.004318b6
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41be9e
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
jmp 0x41bf56
mov ebx, dword [ebp - 0x1c]
call fcn.00401822
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x41bece
push 0x5ec
push 0x406aa18
push 4
call fcn.004318a4
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41beeb
push 0x5ec
push 0x406aa18
push 1
call fcn.004318a4
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x44]
call fcn.00410565
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00432f50
add esp, 0x10
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x30]
mov ecx, 2
call fcn.004013fd
add esp, 8
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41bf3e
push ebx
call fcn.004318b6
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41bf52
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
pop ebx
pop ecx
jmp 0x41bda7
add esp, 8
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41bf7e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41bf7a
imul eax, dword [ebx]
jmp 0x41bf6f
mov ecx, eax
test ecx, ecx
je 0x41bf9d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41bf96
push ebx
push eax
call fcn.004318b6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41bf84
call fcn.004318b6
add esp, 4
mov eax, 0x45e393
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 0xe7ecae80
mov dword [ebp - 0x38], 0xbe7532ef
mov eax, dword fs:[0x18]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
call fcn.0041c651
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [0x460ce3]
test ebx, ebx
je 0x41bfea
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [0x460ce3], eax
push 0x460ce3
call fcn.00411f2b
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41c011
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [0x460ce3]
test eax, eax
jne 0x41c02a
mov eax, 0x45e393
push eax
push 1
mov ebx, 0x194
call fcn.00432e60
add esp, 0x10
mov dword [ebp - 0x44], eax
push reloc.WS2_32.dll_getpeername
push 0
push 0x45eeeb
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x1c0
call fcn.00434ec0
add esp, 0x1c
mov dword [ebp - 0x48], eax
push 0x460ce3
call fcn.00402d63
push 0
push 0
push 0
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x41c096
mov eax, 0x45e393
push eax
push 3
mov ebx, 0x914
call fcn.00434070
add esp, 0x28
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41c0b9
push ebx
call fcn.004318b6
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x41c0cc
mov eax, 0x45e33b
push eax
push 1
mov ebx, 0x198
call fcn.00432a30
add esp, 0x10
mov dword [ebp - 0x44], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x41c0f5
mov eax, 0x45e33b
push eax
push 1
mov ebx, 0x198
call fcn.00432a30
add esp, 0x10
mov dword [ebp - 0x48], eax
push 0x80000301
push 0
push dword [ebp - 0x34]
push 1
mov ebx, 0x198
call fcn.00432a30
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041b46c
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41c158
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41c168
push ebx
call fcn.004318b6
add esp, 4
push 0x80000301
push 0
push dword [0x460ce7]
push 1
mov ebx, 0x198
call fcn.00432a30
add esp, 0x10
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push 0x45f4ad
push dword [ebp - 0x54]
push 0x45f4ad
push dword [ebp - 0x44]
mov ecx, 5
call fcn.004032c7
add esp, 0x14
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41c1c0
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x41c1d0
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x41c1e0
push ebx
call fcn.004318b6
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41c1f7
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
call fcn.00402d63
mov dword [ebp - 0x44], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x41c21a
mov eax, 0x45e393
push eax
push 1
mov ebx, 0x194
call fcn.00432e60
add esp, 0x10
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fdiv qword [0x45e793]
fstp qword [ebp - 0x58]
push 0x80000601
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 1
mov ebx, 0x9dc
call fcn.004334d0
add esp, 0x10
push eax
push dword [ebp - 0x44]
call fcn.0041d725
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x41c282
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004318b0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41c2b6
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41c2c7
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41c2e5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41c2e1
imul eax, dword [ebx]
jmp 0x41c2d6
mov ecx, eax
test ecx, ecx
je 0x41c304
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41c2fd
push ebx
push eax
call fcn.004318b6
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41c2eb
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c328
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41c338
push ebx
call fcn.004318b6
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x41c348
push ebx
call fcn.004318b6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret