Function at 0x45fd20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x60c3e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x14], 0
lea eax, [esp + 0x1b]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0xa8], 1
call fcn.00402b20
mov dword [esi], 0x628c8c
lea ebp, [esi + 0xc]
mov byte [esp + 0xa4], 2
mov ecx, ebp
call fcn.0044e460
mov ecx, dword [0x6abf00]
lea eax, [esi + 0x14]
mov dword [esp + 0x20], eax
mov dword [eax], ecx
lea ecx, [eax + 4]
mov byte [esp + 0xa4], 4
call fcn.0041a0a0
mov edx, dword [0x6abf00]
lea ebx, [esi + 0x30]
mov dword [ebx], edx
lea edi, [esi + 0x34]
lea eax, [esp + 0x1b]
lea ecx, [esp + 0x33]
push eax
lea edx, [esp + 0x36]
push ecx
push edx
push 0x64
mov ecx, edi
mov byte [esp + 0xb4], 7
call fcn.00468620
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb4]
mov dword [esi], 0x62d2b8
mov dword [esi + 8], eax
mov dword [ebp + 4], ecx
mov edx, dword [0x6c3d00]
push 0
push esi
lea ecx, [edx + 0x28]
mov byte [esp + 0xac], 8
call fcn.004f9c30
mov ecx, dword [esi + 8]
push 0
push esi
add ecx, 0x250
call fcn.004f9c30
mov ecx, edi
call fcn.00460fb0
mov eax, dword [esp + 0xb8]
mov ecx, esi
push eax
call fcn.00460920
mov edx, dword [esi + 8]
push 0
sub esp, 8
add edx, 0x248
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [esi + 0x2c], 0
mov byte [esi + 0x28], 0
call fcn.00430670
mov ecx, dword [0x6c396c]
call fcn.004603f0
test eax, eax
je 0x45ff39
mov ecx, eax
call fcn.00446cc0
sub esp, 0x14
mov dword [esp + 0x24], eax
mov ebp, esp
mov dword [esp + 0x34], esp
mov ecx, ebp
mov dword [esp + 0x34], ebp
call fcn.00403f90
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov byte [esp + 0xc0], 9
mov dword [ebp + 0xc], 0xffffffff
call fcn.00404540
mov dword [ebp + 0xc], 0xffffffff
mov eax, dword [esp + 0x24]
mov ecx, ebp
push eax
mov byte [esp + 0xbc], 0xa
call fcn.0043db70
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xbc], 8
mov dx, word [ecx + 0x10]
mov ecx, 0x6bb390
mov word [ebp + 0x10], dx
call fcn.0043d6d0
push eax
mov ecx, ebx
mov byte [esp + 0xa8], 0xb
call fcn.005dd29d
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 8
call fcn.005dd1b0
mov ecx, dword [ebx]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45ff39
lea edx, [esp + 0x1c]
push str._Y__m__d__H_M_S
lea eax, [esp + 0x24]
push edx
push eax
call fcn.005d6258
mov ecx, eax
call fcn.005d629a
push eax
mov ecx, ebx
mov byte [esp + 0xa8], 0xc
call fcn.005dd57c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 8
call fcn.005dd1b0
push 0
push str.RconSaveLogBot
push str.Settings
mov ecx, 0x6b3dfc
call fcn.00405180
test eax, eax
je 0x45ffb3
push str._html__n_body__head__title_IRC_log_file_created_by_HLSW__www.hlsw.net___title___head___body__n_nIRC_log_file_created_by__a_hrefhttp:__www.hlsw.net_HLSW__a__n_hr__pre__n
lea ecx, [esp + 0x14]
call fcn.005dd21e
push ecx
mov bl, 0xd
mov ecx, esp
mov dword [esp + 0x24], esp
push str..bot.html
mov byte [esp + 0xac], bl
call fcn.005dd21e
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0xb0], 0xe
call fcn.005dcf25
mov ecx, esi
mov byte [esp + 0xac], bl
call fcn.00467d40
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 8
call fcn.005dd1b0
lea ecx, [esp + 0x64]
call fcn.0042e640
mov ebx, 1
push 0x68
mov byte [esp + 0xa8], 0xf
mov dword [esp + 0x6c], ebx
call fcn.005dd77b
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
test ebp, ebp
mov byte [esp + 0xa4], 0x10
je 0x460036
push 0x42e740
push 0x42e700
push 2
lea eax, [ebp + 8]
push 0x24
push eax
call fcn.005110a9
push fcn.00401b40
push fcn.0041a0a0
push 3
lea ecx, [ebp + 0x50]
push 4
push ecx
mov byte [esp + 0xb8], 0x11
call fcn.005110a9
lea ecx, [ebp + 0x5c]
lea edx, [esp + 0x3b]
mov byte [esp + 0xa4], 0x13
push edx
call fcn.00482bc0
jmp 0x460038
xor ebp, ebp
mov dword [esp + 0x94], ebp
mov dword [ebp], 0x37
mov eax, dword [esp + 0x94]
push str.StartText
mov byte [esp + 0xa8], 0xf
mov cl, byte [eax + 5]
or cl, 2
mov byte [eax + 5], cl
lea ecx, [esp + 0x38]
call fcn.005dd21e
lea eax, [esp + 0x34]
push edi
push eax
mov ecx, edi
mov byte [esp + 0xac], 0x14
call fcn.00469050
push eax
lea ecx, [esp + 0x48]
call fcn.004688a0
push edi
push 0
lea ecx, [esp + 0x28]
call fcn.004688a0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jne 0x4600ef
mov ecx, dword [0x6abf00]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 0x15
call fcn.00468770
mov ebx, 3
mov dword [esp + 0x14], ebx
push eax
mov ecx, edi
mov dword [esp + 0xa8], 0x16
call fcn.00468a70
mov ebp, eax
add ebp, 4
jmp 0x4600f6
mov ebx, dword [esp + 0x14]
lea ebp, [eax + 8]
test bl, 2
mov dword [esp + 0xa4], 0x15
je 0x460116
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.00468590
test bl, 1
mov dword [esp + 0xa4], 0x14
je 0x460132
lea ecx, [esp + 0x10]
and ebx, 0xfffffffe
call fcn.005dd1b0
push ebp
lea ecx, [esp + 0x30]
call fcn.005dcf25
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 0x18
call fcn.005dd1b0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x460166
push str.HLSW_mIRC_Bot_started___www.hlsw.net_
lea ecx, [esp + 0x30]
call fcn.005dd2ed
mov edx, dword [0x6abf00]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push str._PREFIX_1___s_SUFFIX_1__
push ecx
mov byte [esp + 0xb0], 0x19
call fcn.004f59f0
mov edx, dword [esp + 0xa0]
add esp, 0xc
lea ecx, [edx + 0x50]
push eax
call fcn.005dd29d
lea ecx, [esp + 0x10]
mov byte [esp + 0xa4], 0x18
call fcn.005dd1b0
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.00462550
mov dword [esp + 0x10], 1
mov ecx, dword [0x6abf00]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push str.StartInfo_d
push eax
mov byte [esp + 0xb0], 0x1a
call fcn.004f59f0
add esp, 0xc
mov ebp, eax
mov ecx, edi
push edi
push ebp
call fcn.00469050
push eax
lea ecx, [esp + 0x58]
call fcn.004688a0
push edi
push 0
lea ecx, [esp + 0x60]
call fcn.004688a0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x46027b
mov ecx, dword [0x6abf00]
or ebx, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], ebx
push ebp
lea ecx, [esp + 0x44]
mov byte [esp + 0xa8], 0x1b
call fcn.005dcf25
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0xa8], 0x1c
call fcn.0041f970
or ebx, 8
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x40]
mov ecx, edi
push eax
mov dword [esp + 0xa8], 0x1d
call fcn.00468a70
mov ebp, eax
add ebp, 4
jmp 0x46027e
lea ebp, [eax + 8]
test bl, 8
mov dword [esp + 0xa4], 0x1b
je 0x46029e
and ebx, 0xfffffff7
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.00468590
test bl, 4
mov dword [esp + 0xa4], 0x1a
je 0x4602ba
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffb
call fcn.005dd1b0
push ebp
lea ecx, [esp + 0x2c]
call fcn.005dcf25
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 0x1f
call fcn.005dd1b0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x460386
push 0x697438
push eax
call fcn.00510843
add esp, 8
test eax, eax
je 0x460386
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push str._PREFIX_2__
push edx
call fcn.005dd46d
push str._SUFFIX_2__
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0xac], 0x20
push eax
call fcn.005dd3f9
mov ecx, dword [esp + 0x94]
push eax
add ecx, 0x50
mov byte [esp + 0xa8], 0x21
call fcn.005dd29d
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 0x20
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 0x1f
call fcn.005dd1b0
lea edx, [esp + 0x64]
mov ecx, esi
push edx
call fcn.00462550
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0x18
call fcn.005dd1b0
inc dword [esp + 0x10]
jmp 0x4601c4
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0x18
call fcn.005dd1b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 0xf
call fcn.005dd1b0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 8
call fcn.0042e870
lea ecx, [esp + 0xb0]
mov dword [esp + 0xa4], 0xffffffff
call fcn.0044e4d0
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 0x10