Function at 0x401000
Capabilities:
Allocate thread local storage

Disassembly:
push 0x3c
push 0
push 0x432dd0
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
call sub.KERNEL32.dll_GetModuleHandleW
mov dword [0x432dd4], eax
push 0
push 0x1000
push 0
call sub.KERNEL32.dll_HeapCreate
mov dword [0x432dd0], eax
call fcn.0040a860
call fcn.00409af9
call fcn.00409532
call fcn.004094df
call fcn.00409445
call fcn.004093d0
call fcn.00409110
call fcn.00407244
call fcn.004069d0
call fcn.00405ef1
call fcn.0040593e
call fcn.0040560d
call fcn.00403826
call fcn.004026e6
call fcn.004025f0
mov ebp, 0x431178
push ebp
push 0xffffffff
call fcn.00405abd
mov dword [0x432de8], eax
push 0x7a
push 0x226
push 0x5a
push 0x140
call fcn.004013aa
mov dword [0x432df4], 2
call fcn.004039bc
mov dword [0x432ddc], eax
call fcn.0040964f
mov dword [0x432e08], eax
call fcn.0040965e
mov dword [0x432dd8], eax
call fcn.0040966d
mov dword [0x432dec], eax
mov ebx, dword [0x432e08]
and ebx, ebx
jne 0x40130a
push dword [0x432ddc]
mov ebx, 0x333c
cmp ebx, dword [esp]
jne 0x40111d
push 0
call fcn.00403784
dec dword [0x432df8]
jmp 0x401309
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x401228
push dword [0x432dd8]
mov ebx, 2
cmp ebx, dword [esp]
jne 0x401184
mov ebx, dword [0x432dec]
and ebx, ebx
jne 0x40117f
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.http:__binsearch.info__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
jmp 0x401222
mov ebx, 3
cmp ebx, dword [esp]
jne 0x4011d4
mov ebx, dword [0x432dec]
and ebx, ebx
jne 0x4011d2
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.https:__nzbindex.com__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
jmp 0x401222
mov ebx, 4
cmp ebx, dword [esp]
jne 0x401222
mov ebx, dword [0x432dec]
and ebx, ebx
jne 0x401222
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.https:__www.nzbking.com__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
pop eax
jmp 0x401309
mov ebx, 0x332d
cmp ebx, dword [esp]
jne 0x40127d
call fcn.0040967c
mov ebx, eax
cmp ebx, 2
jne 0x401278
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.http:__binsearch.info__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
jmp 0x401309
call fcn.0040967c
mov ebx, eax
cmp ebx, 3
jne 0x4012c3
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.https:__nzbindex.com__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
call fcn.0040967c
mov ebx, eax
cmp ebx, 4
jne 0x401309
mov edx, dword [0x433160]
push edx
push edx
mov edx, str.https:__www.nzbking.com__q
push edx
call fcn.0040a8e0
mov edx, dword [0x433160]
push edx
push edx
push 1
call fcn.00402758
pop eax
mov edx, dword [0x431e14]
add dword [esp], edx
call fcn.00401365
pop dword [0x433160]
pop eax
mov ebx, dword [0x432df8]
and ebx, ebx
jge 0x4010c2
push 0
call 0x401337
call fcn.0040a8b0
push dword [0x432dd0]
call sub.KERNEL32.dll_HeapDestroy
call sub.KERNEL32.dll_ExitProcess
call fcn.004026cb
call fcn.00403803
call fcn.00405600
call fcn.00405932
call fcn.00409130
call fcn.004094d3
call fcn.00409514
call fcn.0040a0be
call fcn.004093c0
ret