Function at 0x426127
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb23f
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5415b0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [0x542a70]
mov edi, dword [eax + 4]
sub edi, dword [eax]
mov eax, dword [esi + 0xec]
sub eax, dword [esi + 0xe8]
sar eax, 2
sar edi, 2
cmp ecx, eax
cmovg ecx, edx
xor ebx, ebx
mov dword [0x542a70], ecx
test ecx, ecx
jle 0x4261b7
mov eax, dword [esi + 0xe8]
push 0
push 0
push str.show
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x542a70]
inc ebx
cmp ebx, ecx
jl 0x426195
cmp edi, ecx
cmovg edi, ecx
lea ecx, [esp + 0x18]
call fcn.004b15ee
and dword [esp + 0x60], 0
lea ecx, [esp + 0x24]
call fcn.00427427
xor eax, eax
mov byte [esp + 0x60], 1
mov dword [esp + 0x14], eax
test edi, edi
jle 0x4263d9
lea ebx, [eax]
mov eax, dword [esi + 0xe8]
push 0
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [eax]
push dword [eax + ebx*4]
push 0x50eee4
call dword [edx + 0x34]
mov eax, dword [esi + 0xe8]
push 0
push 1
push str.show
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
lea ecx, [esp + 0x24]
push ecx
push dword [eax + ebx*4]
call fcn.004b0a65
test eax, eax
mov eax, dword [esi + 0xe8]
push 0
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
je 0x42638d
push dword [esp + 0x40]
push 0x51e3b0
call dword [eax + 0x34]
mov ebx, dword [esp + 0x34]
cmp ebx, 1
je 0x4262a6
cmp ebx, 2
je 0x4262a6
cmp ebx, 5
je 0x4262a6
cmp ebx, 6
je 0x4262a6
cmp ebx, 3
je 0x426271
cmp ebx, 7
jne 0x426284
push str.http:__
lea ecx, [esp + 0x44]
call fcn.0040e29c
cmp eax, 0xffffffff
jne 0x4262a6
mov eax, dword [esi + 0xe8]
mov edx, dword [esp + 0x14]
push 0
push dword [esp + 0x1c]
mov ecx, dword [eax + edx*4]
push 0x51e3b8
mov eax, dword [ecx]
call dword [eax + 0x34]
jmp 0x4263c5
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
call fcn.004b160a
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], 0
je 0x4262f3
mov ecx, dword [esp + 0x3c]
cmp dword [ecx - 8], 0
je 0x4262f3
mov ecx, dword [esi + 0xe8]
mov edx, dword [esp + 0x14]
push 0
push eax
push 0x51e3b8
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx]
call dword [edx + 0x34]
jmp 0x42637d
mov eax, dword [esi + 0xe8]
mov edx, dword [esp + 0x14]
push 0
push dword [esp + 0x1c]
mov ecx, dword [eax + edx*4]
push 0x51e3b8
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [esp + 0x40]
cmp dword [eax - 8], 0
je 0x426362
cmp dword [esi + 0x130], 0
je 0x42637d
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
call fcn.004b1672
mov byte [esp + 0x60], 3
push dword [esi + 0x10c]
mov ecx, dword [esi + 0x130]
push dword [ebp + 0xc]
push dword [eax]
push dword [esp + 0x4c]
call fcn.0042fa14
lea ecx, [esp + 0x20]
call fcn.00403030
jmp 0x42637d
cmp ebx, 5
jne 0x42637d
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
push dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax + ecx*4]
mov ecx, esi
call fcn.00426e15
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 1
call fcn.00403030
jmp 0x4263c5
push dword [esp + 0x1c]
push 0x51e3b8
call dword [eax + 0x34]
mov eax, dword [esi + 0xe8]
push 0
push 0x50e6f0
push 0x50f854
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax + ebx*4]
call fcn.00426e15
mov eax, dword [esp + 0x14]
inc eax
inc dword [ebp + 0xc]
mov dword [esp + 0x14], eax
cmp eax, edi
jl 0x4261e6
lea eax, [esi + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov eax, dword [esi + 0x16c]
sub eax, dword [esi + 0x168]
push 0xc
cdq
pop ecx
idiv ecx
test eax, eax
jle 0x426417
push 0
push 0
push esi
push 0x426bea
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x24]
call fcn.00425822
lea ecx, [esp + 0x18]
call fcn.00403030
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8