Function at 0x422270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534b58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x657114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x65
call fcn.0047b7ce
mov eax, dword [0x659abc]
test eax, eax
jne 0x4222db
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4222cd
mov ecx, eax
call fcn.0041a1b0
jmp 0x4222cf
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xb
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 1
jb 0x4222f7
mov eax, dword [eax]
lea edi, [esi + 0x38]
push eax
mov ecx, edi
call fcn.0047636f
mov dword [esi + 0x4a8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422324
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [0x65c070]
test eax, eax
jne 0x42235f
push 0xd8
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x422351
mov ecx, eax
call fcn.00436470
jmp 0x422353
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x65c070], eax
mov ecx, eax
call fcn.0044c2d0
mov ecx, esi
call fcn.00424f10
mov ecx, dword [esi + 0x4ac]
test ecx, ecx
je 0x422499
push edi
call fcn.004617b0
mov eax, dword [esi + 0x4ac]
test eax, eax
je 0x422392
add eax, 0x50c
jmp 0x422394
xor eax, eax
push eax
mov eax, dword [0x659abc]
test eax, eax
jne 0x4223cd
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4223bf
mov ecx, eax
call fcn.0041a1b0
jmp 0x4223c1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 4
jb 0x4223e9
mov eax, dword [eax]
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.004746d2
lea ecx, [esi + 0x1c]
call fcn.0047af36
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x42241d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [0x659abc]
test eax, eax
jne 0x422455
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x422447
mov ecx, eax
call fcn.0041a1b0
jmp 0x422449
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xc
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 6
jb 0x422471
mov eax, dword [eax]
mov ecx, dword [esi + 0x4ac]
push eax
call fcn.00480a1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422499
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov ecx, dword [esi + 0x4b0]
test ecx, ecx
je 0x4225c5
push edi
call fcn.00464be0
mov eax, dword [esi + 0x4b0]
test eax, eax
je 0x4224be
add eax, 0x50c
jmp 0x4224c0
xor eax, eax
push eax
mov eax, dword [0x659abc]
test eax, eax
jne 0x4224f9
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x4224eb
mov ecx, eax
call fcn.0041a1b0
jmp 0x4224ed
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xd
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 8
jb 0x422515
mov eax, dword [eax]
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.004746d2
lea ecx, [esi + 0x1c]
call fcn.0047af36
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422549
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [0x659abc]
test eax, eax
jne 0x422581
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x422573
mov ecx, eax
call fcn.0041a1b0
jmp 0x422575
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xd
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0xa
jb 0x42259d
mov eax, dword [eax]
mov ecx, dword [esi + 0x4b0]
push eax
call fcn.00480a1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4225c5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
je 0x4226f1
push edi
call fcn.0045dba0
mov eax, dword [esi + 0x4b4]
test eax, eax
je 0x4225ea
add eax, 0x50c
jmp 0x4225ec
xor eax, eax
push eax
mov eax, dword [0x659abc]
test eax, eax
jne 0x422625
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x422617
mov ecx, eax
call fcn.0041a1b0
jmp 0x422619
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xe
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0xc
jb 0x422641
mov eax, dword [eax]
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.004746d2
lea ecx, [esi + 0x1c]
call fcn.0047af36
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422675
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [0x659abc]
test eax, eax
jne 0x4226ad
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x42269f
mov ecx, eax
call fcn.0041a1b0
jmp 0x4226a1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xe
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0xe
jb 0x4226c9
mov eax, dword [eax]
mov ecx, dword [esi + 0x4b4]
push eax
call fcn.00480a1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4226f1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov ecx, dword [esi + 0x4b8]
test ecx, ecx
je 0x42281d
push edi
call fcn.004176e0
mov eax, dword [esi + 0x4b8]
test eax, eax
je 0x422716
add eax, 0x50c
jmp 0x422718
xor eax, eax
push eax
mov eax, dword [0x659abc]
test eax, eax
jne 0x422751
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x422743
mov ecx, eax
call fcn.0041a1b0
jmp 0x422745
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xf
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0x10
jb 0x42276d
mov eax, dword [eax]
sub esp, 0x84
mov ecx, esp
push 0xffffffffffffffff
push eax
call fcn.004746d2
lea ecx, [esi + 0x1c]
call fcn.0047af36
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4227a1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov eax, dword [0x659abc]
test eax, eax
jne 0x4227d9
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x4227cb
mov ecx, eax
call fcn.0041a1b0
jmp 0x4227cd
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0xf
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0x12
jb 0x4227f5
mov eax, dword [eax]
mov ecx, dword [esi + 0x4b8]
push eax
call fcn.00480a1c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x42281d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402750
mov ecx, esi
call fcn.00425b90
push 0xc
call fcn.0046828f
add esp, 4
test eax, eax
je 0x422848
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x42284a
xor eax, eax
mov dword [esi + 0x4bc], eax
mov eax, dword [0x659abc]
test eax, eax
jne 0x422888
push 0xc
call fcn.0046828f
add esp, 4
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x42287a
mov ecx, eax
call fcn.0041a1b0
jmp 0x42287c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x659abc], eax
push 0x10
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0041a260
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0x14
jb 0x4228a4
mov eax, dword [eax]
push eax
mov ecx, esi
call fcn.00425ad0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4228c1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402750
lea eax, [esi + 0x4d4]
push eax
push 0
push esi
push 0x41d670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x3e8
push 0x64
push dword [esi + 4]
mov dword [esi + 0x4cc], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004682d0
mov esp, ebp
pop ebp
ret