Function at 0x45b520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x8c
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x23
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5d14cb
push ebx
add ebx, 4
push ebx
push 0x3c
call fcn.004c4d96
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xf
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x14
call fcn.004c4d96
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5d161f
push ebx
mov eax, esp
push eax
call fcn.0045639c
pop ebx
pop ebx
add ebx, 0x54
push ebx
push 0x1c
call fcn.004c4d96
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 0x14
mov eax, 9
mov dword [ebx], eax
add ebx, 4
push ebx
push 5
call fcn.004c4d96
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x5d1658
mov ecx, 5
rep movsb byte es:[edi], byte [esi]
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0045669c
pop ebx
push 0x14
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebx], 0x5d161f
push ebx
mov eax, esp
push eax
call fcn.0045639c
pop ebx
mov dword [0x61a14c], 2
mov dword [0x619f1c], 1
push 0
mov ebx, 0x2d4
call fcn.004cc6a0
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ebx, 0x2d8
call fcn.004cc6b0
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x168
call fcn.004c8c40
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x168
call fcn.004c8c40
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x5d1474
push dword [ebp - 0x14]
push 0x5d147c
mov ecx, 4
call fcn.00402647
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45b6e4
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45b6f4
push ebx
call fcn.004c4d90
add esp, 4
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
mov eax, 0x5d1694
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00407cbc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45b729
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45b739
push ebx
call fcn.004c4d90
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
push str.yd_bjimg.jpg
push dword [0x619dec]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x45b7ab
push ebx
call fcn.004c4d90
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 8]
push 1
push dword [ebp - 4]
push 1
push 0
push 1
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x9c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x88]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044a90c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x45b847
push ebx
call fcn.004c4d90
add esp, 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
cmp dword [0x619f18], 0
jne 0x45b8fa
mov dword [0x619f18], 1
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 0x4188ca
call fcn.00407a64
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, 0x5d14a0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, 0x5d1a98
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407cbc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45b8e5
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45b8f5
push ebx
call fcn.004c4d90
add esp, 4
jmp 0x45b947
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, 0x5d14b0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, 0x5d1a98
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407cbc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x45b937
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45b947
push ebx
call fcn.004c4d90
add esp, 4
cmp dword [0x61a1cc], 0
jne 0x45b9b9
push str.yd_bjimg.jpg
push dword [0x619dec]
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x18], eax
push getsockname
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x45b982
mov eax, 0x4ee2e4
push eax
push 1
mov ebx, 0x24c
call fcn.004c8700
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x45b9a8
push ebx
call fcn.004c4d90
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x45b9b9
mov eax, 1
jmp 0x45b9be
mov eax, 0
test eax, eax
je 0x45ba1e
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x45be9c
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x45ba14
push 0x478
push 0x405054a
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [0x61a1cc], eax
jmp 0x45ba35
cmp dword [0x61a1cc], 0
jne 0x45ba35
call fcn.00414620
jmp 0x45ba35
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004c4d90
add esp, 4
mov esp, ebp
pop ebp
ret