Function at 0x45b810
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x5080c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x170], esi
movzx eax, byte [esi + 0x1d]
sub eax, 1
je 0x45be87
sub eax, 1
je 0x45bc47
sub eax, 0x4f
jne 0x45bf7b
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x38], al
mov ecx, esi
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], eax
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x80], al
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x68], al
mov byte [esi + 4], al
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x54], 0xf
call fcn.00456fc0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
call fcn.00456fc0
lea ecx, [ebp - 0x165]
push ecx
mov ecx, eax
call fcn.00456e10
mov bh, byte [ebp - 0x165]
xor bl, bl
test bh, bh
je 0x45bab1
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
movups xmmword [ebp - 0x50], xmm0
push eax
movups xmmword [ebp - 0xc8], xmm0
mov ecx, esi
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.00456fc0
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, eax
call fcn.00456fc0
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00456fc0
lea ecx, [ebp - 0x114]
call fcn.0044fcd0
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
push dword [ebp - 0x40]
cmova eax, dword [ebp - 0x50]
push eax
call fcn.004449f0
cmp dword [ebp - 0xb4], 0xf
lea eax, [ebp - 0xc8]
push dword [ebp - 0xb8]
cmova eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xfc]
push eax
call fcn.004449f0
cmp dword [ebp - 0xc], 0xf
lea eax, [ebp - 0x20]
push dword [ebp - 0x10]
cmova eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xe4]
push eax
call fcn.004449f0
mov eax, dword [edi + 0x100]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x114]
push eax
call fcn.00448960
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x148]
call fcn.00448960
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x130]
call fcn.00448960
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x174]
push eax
lea ecx, [edi + 0xfc]
call fcn.0045c490
lea ecx, [ebp - 0x160]
call fcn.00454430
lea ecx, [ebp - 0x114]
call fcn.00454430
mov ecx, dword [ebp - 0xc]
cmp ecx, 0xf
jbe 0x45ba39
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ba2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0xf
jbe 0x45ba73
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ba69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x45baa7
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ba9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
inc bl
cmp bl, bh
jb 0x45b8c0
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.00456fc0
mov ecx, dword [0x517ad0]
lea eax, [ebp - 0x68]
add ecx, 0x98
cmp ecx, eax
je 0x45bae0
cmp dword [ebp - 0x54], 0xf
push dword [ebp - 0x58]
cmova eax, dword [ebp - 0x68]
push eax
call fcn.004449f0
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x45bba2
mov eax, accept
sub eax, ecx
cmp eax, 1
jb 0x45bf90
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
push ecx
cmova eax, dword [ebp - 0x38]
push eax
push 1
push 0x502b58
push ecx
push dword [ebp - 0x170]
lea ecx, [ebp - 0x50]
call fcn.0044c3c0
mov ecx, dword [0x513bec]
cmp ecx, 0xf
jbe 0x45bb57
mov eax, dword [0x513bd8]
inc ecx
cmp ecx, 0x1000
jb 0x45bb4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
mov eax, edx
push ecx
push eax
call fcn.004abdca
add esp, 8
movups xmm0, xmmword [ebp - 0x50]
lea ecx, [edi + 0xc8]
lea eax, [ebp - 0x80]
movups xmmword [0x513bd8], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [0x513be8], xmm0
cmp ecx, eax
je 0x45bb8d
cmp dword [ebp - 0x6c], 0xf
push dword [ebp - 0x70]
cmova eax, dword [ebp - 0x80]
push eax
call fcn.004449f0
push 0
push 0
push 0
push 0x45b540
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x45bbd6
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bbcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x45bc0a
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x45bf7b
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
jmp 0x45bf7b
mov ecx, dword [0x518490]
mov edx, dword [0x518494]
cmp ecx, edx
je 0x45bc6a
push ecx
call fcn.0044bb40
mov eax, dword [0x518490]
add esp, 4
mov dword [0x518494], eax
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x9c], 0xf
movups xmmword [ebp - 0xb0], xmm0
push eax
movups xmmword [ebp - 0x98], xmm0
mov ecx, esi
mov byte [ebp - 0xb0], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
mov dword [ebp - 0x16c], 0
call fcn.00456fc0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
call fcn.00456fc0
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, eax
call fcn.00456ea0
mov eax, dword [0x517ad0]
lea edx, [ebp - 0xb0]
lea ecx, [eax + 0x80]
cmp ecx, edx
je 0x45bd1b
cmp dword [ebp - 0x9c], 0xf
mov eax, edx
push dword [ebp - 0xa0]
cmova eax, dword [ebp - 0xb0]
push eax
call fcn.004449f0
mov eax, dword [0x517ad0]
lea ecx, [eax + 0xb0]
lea eax, [ebp - 0x98]
cmp ecx, eax
je 0x45bd45
cmp dword [ebp - 0x84], 0xf
push dword [ebp - 0x88]
cmova eax, dword [ebp - 0x98]
push eax
call fcn.004449f0
movzx eax, word [ebp - 0x16c]
xor esi, esi
test eax, eax
je 0x45bdf4
mov ebx, dword [ebp - 0x170]
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 0xf
movups xmmword [ebp - 0x38], xmm0
push eax
mov ecx, ebx
mov byte [ebp - 0x38], 0
call fcn.00456fc0
mov eax, dword [0x518494]
lea ecx, [ebp - 0x38]
push ecx
cmp eax, dword [0x518498]
je 0x45bda5
mov ecx, eax
call fcn.00448960
add dword [0x518494], 0x18
jmp 0x45bdb0
push eax
mov ecx, 0x518490
call fcn.0045c1b0
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x45bde4
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bdda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
movzx eax, word [ebp - 0x16c]
inc esi
cmp esi, eax
jl 0x45bd60
push 0
push 0
push 0
push 0x45a020
push 0
push 0
mov byte [edi + 0xe1], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x84]
cmp ecx, 0xf
jbe 0x45be4a
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45be40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
push ecx
push edx
call fcn.004abdca
add esp, 8
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xf
jbe 0x45bf7b
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45bc38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45bf95
jmp 0x45bc38
cmp byte [edi + 0xe0], 0
jne 0x45bf7b
lea ebx, [edi + 0x27c]
mov ecx, esi
push ebx
call fcn.00456f30
mov ecx, dword [0x517ad0]
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x45becd
mov ecx, dword [edi]
lea eax, [ebp - 0x165]
push 1
push eax
mov byte [ebp - 0x165], 0x51
call fcn.004445d0
mov ecx, dword [0x517ad0]
cmp byte [edi + 0xe1], 0
mov byte [edi + 0xe0], 1
jne 0x45bf7b
movzx edx, word [edi + 0x27e]
cmp dx, word [ebx]
jle 0x45bf55
movaps xmm0, xmmword [0x5035f0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov word [ebp - 0xc], 0x2b
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x10
jb 0x45bf00
sub esp, 0x18
mov byte [ebp - 0xb], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45bf30
sub ecx, esi
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.00444da0
mov ecx, edi
call fcn.0044c9f0
mov byte [edi + 0x258], 0
jmp 0x45bf7b
mov eax, dword [ecx]
cmp dword [eax + 4], 0xffffffff
je 0x45bf7b
mov ecx, dword [edi]
lea eax, [ebp - 0x16c]
push 3
push eax
mov byte [ebp - 0x16c], 2
mov word [ebp - 0x16b], dx
call fcn.004445d0
mov ecx, dword [ebp - 8]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004abb31
mov esp, ebp
pop ebp
ret 4
call fcn.00443a50
call fcn.004b4061
int3