Function at 0x4220f0
Capabilities:
Check for time delay via gettickcount
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x45005c
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x1ec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1fc]
lea eax, [ebp + 0x2d8]
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], ebp
je 0x422ff2
cmp dword [0x4608e0], 2
jne 0x422270
push 2
lea ecx, [esp + 0x34]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], ebx
mov byte [edi], bl
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], esp
cmp eax, 0x10
jb 0x42219d
mov ecx, dword [edi]
jmp 0x42219f
mov ecx, edi
cmp ecx, 0x455950
ja 0x4221da
cmp eax, 0x10
jb 0x4221b0
mov ecx, dword [edi]
jmp 0x4221b2
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x455950
jbe 0x4221da
cmp eax, 0x10
jb 0x4221c6
mov edi, dword [edi]
push 2
mov eax, 0x455950
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x42221d
cmp eax, 2
jae 0x4221ec
mov ecx, dword [esi + 0x14]
push ecx
push 2
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4221f8
mov eax, dword [edi]
jmp 0x4221fa
mov eax, edi
push 2
push 0x455950
push ecx
push eax
call fcn.00437feb
add esp, 0x10
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], 2
jb 0x42221a
mov edi, dword [edi]
mov byte [edi + 2], bl
lea esi, [esp + 0xa8]
call fcn.004014c0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x30], 1
call fcn.00401580
cmp dword [eax + 0x18], 0x10
mov ebx, 3
jb 0x422251
mov eax, dword [eax + 4]
jmp 0x422254
add eax, 4
mov edx, dword [0x4608e4]
push eax
mov eax, dword [edx + 4]
push eax
call fcn.00439abe
add esp, 0xc
mov byte [esp + 0x17], 1
test eax, eax
je 0x422275
mov byte [esp + 0x17], 0
test bl, 2
je 0x4222a6
and ebx, 0xfffffffd
cmp dword [esp + 0x48], 0x10
jb 0x422291
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
mov dword [esp + 0x1f4], 0xffffffff
test bl, 1
je 0x4222c2
lea esi, [esp + 0x84]
call fcn.00429620
cmp byte [esp + 0x17], 0
jne 0x422b73
push 0
push 0x100
lea edx, [esp + 0x38]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebx, pe_nt_image_headers32
mov dword [esp + 0x54], esp
cmp eax, ebx
jb 0x422306
mov ecx, dword [edi]
jmp 0x422308
mov ecx, edi
cmp ecx, 0x455954
ja 0x422341
cmp eax, ebx
jb 0x422318
mov ecx, dword [edi]
jmp 0x42231a
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x455954
jbe 0x422341
cmp eax, ebx
jb 0x42232d
mov edi, dword [edi]
push 0x14
mov eax, 0x455954
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x422383
cmp eax, 0x14
jae 0x422353
mov ecx, dword [esi + 0x14]
push ecx
push 0x14
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jb 0x42235e
mov eax, dword [edi]
jmp 0x422360
mov eax, edi
push 0x14
push 0x455954
push ecx
push eax
call fcn.00437feb
add esp, 0x10
mov dword [esi + 0x14], 0x14
cmp dword [esi + 0x18], ebx
jb 0x42237f
mov edi, dword [edi]
mov byte [edi + 0x14], 0
lea esi, [esp + 0xac]
call fcn.004014c0
mov dword [esp + 0x200], 1
call fcn.00401580
mov byte [esp + 0x1fc], 2
cmp dword [eax + 0x18], ebx
jb 0x4223b1
mov eax, dword [eax + 4]
jmp 0x4223b4
add eax, 4
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.0040fc20
lea edi, [ebp + 0x244]
push eax
mov byte [esp + 0x1fc], 3
mov dword [esp + 0x34], edi
call fcn.0042d1b0
movzx edi, al
add esp, 8
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1f8], 2
call fcn.0040fd10
cmp dword [esp + 0x48], ebx
jb 0x422406
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00437f8b
add esp, 4
xor ebx, ebx
mov ebp, 0xf
lea esi, [esp + 0x84]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x1f4], 0xffffffff
call fcn.00429620
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x422449
sub eax, 2
je 0x422449
sub eax, 4
je 0x422449
xor ecx, ecx
jmp 0x422454
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 1
mov eax, 0x63e7063f
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xa4
jle 0x422481
push 0xa4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00418ee0
call fcn.00406fe0
mov dword [esp + 0x1c4], ebp
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
mov dword [esp + 0x1f4], 4
cmp edi, ebx
je 0x422794
push 0
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov ebp, pe_nt_image_headers32
lea ebx, [esp + 0x6c]
mov dword [esp + 0x40], esp
cmp eax, ebp
jb 0x4224dc
mov ecx, dword [edi]
jmp 0x4224de
mov ecx, edi
cmp ecx, 0x45596c
ja 0x422517
cmp eax, ebp
jb 0x4224ee
mov ecx, dword [edi]
jmp 0x4224f0
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, 0x45596c
jbe 0x422517
cmp eax, ebp
jb 0x422503
mov edi, dword [edi]
push 0xa
mov eax, 0x45596c
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x422559
cmp eax, 0xa
jae 0x422529
mov ecx, dword [esi + 0x14]
push ecx
push 0xa
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x422534
mov eax, dword [edi]
jmp 0x422536
mov eax, edi
push 0xa
push 0x45596c
push ecx
push eax
call fcn.00437feb
add esp, 0x10
mov dword [esi + 0x14], 0xa
cmp dword [esi + 0x18], ebp
jb 0x422555
mov edi, dword [edi]
mov byte [edi + 0xa], 0
lea esi, [esp + 0x154]
call fcn.004014c0
mov edx, ebx
mov ecx, eax
mov byte [esp + 0x1f8], 5
call fcn.00401640
mov byte [esp + 0x1f8], 6
cmp dword [eax + 0x18], ebp
jb 0x422588
mov eax, dword [eax + 4]
jmp 0x42258b
add eax, 4
push eax
lea ecx, [esp + 0x70]
call fcn.00402b30
push eax
push 0x100
lea edx, [esp + 0x1d4]
push edx
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x220], 7
mov dword [esi + 0x18], 0xf
lea edi, [esi + 4]
mov dword [esi + 0x14], 0
mov byte [edi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x4c], esp
cmp eax, ebp
jb 0x4225d3
mov ecx, dword [edi]
jmp 0x4225d5
mov ecx, edi
cmp ecx, str.n_D7
ja 0x42260e
cmp eax, ebp
jb 0x4225e5
mov ecx, dword [edi]
jmp 0x4225e7
mov ecx, edi
mov edx, dword [esi + 0x14]
add edx, ecx
cmp edx, str.n_D7
jbe 0x42260e
cmp eax, ebp
jb 0x4225fa
mov edi, dword [edi]
push 0xc
mov eax, str.n_D7
sub eax, edi
push eax
push esi
mov ecx, esi
call fcn.00402d10
jmp 0x422650
cmp eax, 0xc
jae 0x422620
mov ecx, dword [esi + 0x14]
push ecx
push 0xc
mov ecx, esi
call fcn.00403480
mov ecx, dword [esi + 0x18]
cmp ecx, ebp
jb 0x42262b
mov eax, dword [edi]
jmp 0x42262d
mov eax, edi
push 0xc
push str.n_D7
push ecx
push eax
call fcn.00437feb
add esp, 0x10
mov dword [esi + 0x14], 0xc
cmp dword [esi + 0x18], ebp
jb 0x42264c
mov edi, dword [edi]
mov byte [edi + 0xc], 0
lea esi, [esp + 0xb0]
call fcn.004014c0
mov byte [esp + 0x204], 8
call fcn.00401770
mov bl, 9
mov byte [esp + 0x200], bl
cmp dword [eax + 0x18], ebp
jb 0x42267c
mov eax, dword [eax + 4]
jmp 0x42267f
add eax, 4
push eax
lea edx, [esp + 0x1a0]
push edx
call fcn.0040fc20
mov esi, dword [esp + 0x34]
push eax
lea edi, [esp + 0x3c]
mov byte [esp + 0x200], 0xa
call fcn.0042d250
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x200], 0xb
call fcn.00402d10
cmp dword [esp + 0x48], ebp
jb 0x4226d2
mov eax, dword [esp + 0x34]
push eax
call fcn.00437f8b
add esp, 4
lea ecx, [esp + 0x190]
mov esi, 0xf
xor edi, edi
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
mov byte [esp + 0x1f8], bl
call fcn.0040fd10
cmp dword [esp + 0x1e0], ebp
jb 0x422713
mov edx, dword [esp + 0x1cc]
push edx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0x1e0], esi
lea esi, [esp + 0x84]
mov dword [esp + 0x1dc], edi
mov byte [esp + 0x1cc], 0
call fcn.00429620
cmp dword [esp + 0x80], ebp
jb 0x42274b
mov eax, dword [esp + 0x6c]
push eax
call fcn.00437f8b
add esp, 4
mov esi, 0xf
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov byte [esp + 0x6c], 0
cmp dword [esp + 0x64], ebp
jb 0x422773
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0x64], esi
lea esi, [esp + 0x134]
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
mov byte [esp + 0x1f4], 4
call fcn.00429620
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
xor edi, edi
xor ebp, ebp
add eax, edx
je 0x422ab2
mov esi, ebx
push ebp
mov eax, esi
call fcn.0042a130
cmp dword [eax + 0x74], 0xffffffff
je 0x422a7c
mov esi, dword [esp + 0x1c]
lea edi, [esi + 0x2d8]
push ebp
mov eax, edi
lea ebx, [esi + 0x2c0]
call fcn.0042a130
mov eax, dword [eax + 0x74]
mov ecx, ebx
call fcn.0042a010
add eax, 0x1c
cmp dword [eax + 0x14], 0
je 0x42293b
push ebp
mov eax, edi
call fcn.0042a130
mov eax, dword [eax + 0x74]
mov ecx, ebx
call fcn.0042a010
add eax, 0x1c
push eax
lea ecx, [esp + 0x194]
call fcn.00402b70
push 0
mov byte [esp + 0x1f8], 0xc
call fcn.00439283
mov eax, dword [esp + 0x1a8]
add esp, 4
test eax, eax
je 0x422864
lea edi, [eax - 1]
lea eax, [esp + 0x190]
call fcn.00405190
cmp byte [eax], 0x5c
je 0x422864
push 0x5c
mov eax, 1
lea edi, [esp + 0x194]
call fcn.00412ba0
call fcn.004069f0
sub eax, 1
jne 0x422878
call fcn.00418fb0
call fcn.004353a0
mov edi, dword [esp + 0x1c]
push ebp
lea eax, [edi + 0x2d8]
call fcn.0042a130
add eax, 0x3c
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x198]
call fcn.00405bb0
lea eax, [edi + 0x244]
mov esi, pe_nt_image_headers32
cmp dword [eax + 0x18], esi
jb 0x4228b2
mov eax, dword [eax + 4]
jmp 0x4228b5
add eax, 4
mov ecx, dword [esp + 0x194]
cmp dword [esp + 0x1a8], esi
jae 0x4228cc
lea ecx, [esp + 0x194]
push eax
push ecx
call fcn.004394ce
add esp, 8
test eax, eax
je 0x422b5b
cmp dword [esp + 0x28], 0
je 0x422925
mov ecx, dword [esp + 0x1b0]
cmp dword [esp + 0x1c4], esi
jae 0x4228fc
lea ecx, [esp + 0x1b0]
mov eax, dword [esp + 0x194]
cmp dword [esp + 0x1a8], esi
jae 0x422913
lea eax, [esp + 0x194]
push ecx
push eax
call fcn.004394ce
add esp, 8
test eax, eax
je 0x422b5b
lea ecx, [esp + 0x190]
mov byte [esp + 0x1f4], 4
call fcn.00402ba0
mov esi, edi
push ebp
lea eax, [esi + 0x2d8]
call fcn.0042a130
mov eax, dword [eax + 0x74]
mov ecx, ebx
call fcn.0042a010
cmp dword [eax + 0x14], 0
je 0x422a7c
mov eax, dword [esp + 0x1c]
push ebp
add eax, 0x2d8
call fcn.0042a130
mov eax, dword [eax + 0x74]
mov ecx, ebx
call fcn.0042a010
push eax
lea ecx, [esp + 0x194]
call fcn.00402b70
mov byte [esp + 0x1f4], 0xd
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x4229bb
lea edi, [eax - 1]
lea eax, [esp + 0x190]
call fcn.00405190
cmp byte [eax], 0x5c
je 0x4229bb
push 0x5c
mov eax, 1
lea edi, [esp + 0x194]
call fcn.00412ba0
mov edi, dword [esp + 0x1c]
push ebp
lea eax, [edi + 0x2d8]
call fcn.0042a130
add eax, 0x3c
push 0
push eax
or eax, 0xffffffff
lea esi, [esp + 0x198]
call fcn.00405bb0
lea eax, [edi + 0x244]
mov esi, pe_nt_image_headers32
cmp dword [eax + 0x18], esi
jb 0x4229f5
mov eax, dword [eax + 4]
jmp 0x4229f8
add eax, 4
mov ecx, dword [esp + 0x194]
cmp dword [esp + 0x1a8], esi
jae 0x422a0f
lea ecx, [esp + 0x194]
push eax
push ecx
call fcn.004394ce
add esp, 8
test eax, eax
je 0x422b5b
cmp dword [esp + 0x28], 0
je 0x422a68
mov ecx, dword [esp + 0x1b0]
cmp dword [esp + 0x1c4], esi
jae 0x422a3f
lea ecx, [esp + 0x1b0]
mov eax, dword [esp + 0x194]
cmp dword [esp + 0x1a8], esi
jae 0x422a56
lea eax, [esp + 0x194]
push ecx
push eax
call fcn.004394ce
add esp, 8
test eax, eax
je 0x422b5b
lea ecx, [esp + 0x190]
mov byte [esp + 0x1f4], 4
call fcn.00402ba0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x2e8]
sub ecx, dword [esi + 0x2e4]
add esi, 0x2d8
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
cmp ebp, ecx
jb 0x4227bd
mov ebx, esi
xor edi, edi
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], esi
je 0x422fe6
mov ebp, dword [esp + 0x1c]
jmp 0x422ae0
push esi
mov eax, ebx
call fcn.0042a130
add eax, 0x58
cmp dword [eax + 0x14], edi
je 0x422e2d
push esi
mov eax, ebx
call fcn.0042a130
sub esp, 0x1c
add eax, 0x58
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00402b70
push ebp
call fcn.0041ba90
cmp eax, edi
jl 0x422e2d
mov eax, dword [ebp + 0x17c]
cmp eax, edi
je 0x422b46
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x422e58
push 0x7d0
mov dword [ebp + 0x17c], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, pe_nt_image_headers32
cmp dword [ebp + 0x198], ebx
jb 0x422b7a
mov eax, dword [ebp + 0x184]
jmp 0x422b80
lea ecx, [esp + 0x190]
call fcn.00402ba0
lea ecx, [esp + 0x1ac]
call fcn.00402ba0
xor eax, eax
jmp 0x422ff7
lea eax, [ebp + 0x184]
push eax
push edi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp + 0x17c], eax
call fcn.00417cd0
sub eax, 1
jne 0x422ba7
call fcn.00419f60
call fcn.00406c60
cmp dword [ebp + 0x17c], edi
jne 0x422ed1
push 0x40
xor eax, eax
lea ecx, [esp + 0x13c]
push edi
push ecx
mov dword [esp + 0x19c], edi
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x140], edi
call fcn.0043e780
add esp, 0xc
xor edx, edx
lea eax, [esp + 0x17]
mov word [esp + 0x164], dx
mov byte [esp + 0x17], dl
mov dword [esp + 0x160], 1
lea edx, [eax + 1]
jmp 0x422c10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x422c10
sub eax, edx
je 0x422c20
call fcn.00401440
lea eax, [esp + 0x4c]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 3
mov ecx, 0x4559d8
call fcn.00404250
lea esi, [esp + 0xa4]
call fcn.004014c0
mov byte [esp + 0x1f8], 0x12
call fcn.00401580
mov byte [esp + 0x1f4], 0x13
cmp dword [eax + 0x18], ebx
jb 0x422c65
mov edi, dword [eax + 4]
jmp 0x422c68
lea edi, [eax + 4]
mov ecx, dword [esp + 0x18]
lea ebx, [ebp + 0x2d8]
push ecx
mov eax, ebx
call fcn.0042a130
add eax, 0x58
push eax
lea esi, [esp + 0x1cc]
call fcn.00405920
add esp, 4
lea ecx, [esp + 0x4c]
call fcn.00402ba0
lea esi, [esp + 0x84]
mov byte [esp + 0x1f4], 0x16
call fcn.00429620
cmp dword [esp + 0x1e0], 0x10
mov eax, dword [esp + 0x1cc]
jae 0x422cc2
lea eax, [esp + 0x1cc]
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0x138]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
call fcn.00417d60
test eax, eax
je 0x422cf8
call fcn.004353a0
mov edx, dword [esp + 0x190]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
cmp esi, 0x102
jne 0x422f1d
mov eax, dword [esp + 0x190]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
call fcn.00417a90
sub eax, 1
jne 0x422d3d
call fcn.00419110
call fcn.00418a10
mov ecx, dword [esp + 0x194]
push ecx
call esi
call fcn.00417b30
mov ecx, eax
mov eax, 0xd918b2f
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x12de
jle 0x422d7b
push 0x12de
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00435230
call fcn.004191e0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ebp
call fcn.0041c900
mov eax, dword [esp + 0x1cc]
mov edi, pe_nt_image_headers32
cmp dword [esp + 0x1e0], edi
jae 0x422da9
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x6c]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push 0x22
mov ecx, 0x455a0c
call fcn.00404250
lea esi, [esp + 0x100]
call fcn.004014c0
mov byte [esp + 0x1fc], 0x19
call fcn.004018b0
mov byte [esp + 0x1f8], 0x1a
cmp dword [eax + 0x18], edi
jb 0x422def
mov eax, dword [eax + 4]
jmp 0x422df2
add eax, 4
push eax
push 1
push ebp
call fcn.0041c990
add esp, 0x10
lea ecx, [esp + 0x68]
call fcn.00402ba0
lea esi, [esp + 0xdc]
call fcn.00429620
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x1f4], 4
call fcn.00402ba0
mov esi, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [esp + 0x18], esi
cmp esi, eax
jb 0x422ae0
jmp 0x422fe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x40], esp
push 0x26
mov ecx, 0x455988
lea edi, [esp + 0x70]
call fcn.00404250
lea esi, [esp + 0xfc]
call fcn.004014c0
mov edx, edi
mov ecx, eax
mov byte [esp + 0x1f8], 0xe
call fcn.00401640
mov byte [esp + 0x1f8], 0xf
cmp dword [eax + 0x18], 0x10
jb 0x422ea8
mov eax, dword [eax + 4]
jmp 0x422eab
add eax, 4
push eax
push 1
push ebp
call fcn.0041c990
add esp, 0x10
lea ecx, [esp + 0x4c]
call fcn.00402ba0
lea esi, [esp + 0xdc]
call fcn.00429620
jmp 0x422fe6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x50]
push ecx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push 0x25
mov ecx, 0x4559b0
call fcn.00404250
lea esi, [esp + 0x100]
call fcn.004014c0
mov byte [esp + 0x1fc], pe_nt_image_headers32
call fcn.00401770
mov byte [esp + 0x1f8], 0x11
cmp dword [eax + 0x18], ebx
jb 0x422ea8
mov eax, dword [eax + 4]
jmp 0x422eab
mov edx, dword [esp + 0x190]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x190]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
call fcn.0042f890
sub eax, 1
jne 0x422f51
call fcn.004353a0
call fcn.004197b0
mov ecx, dword [esp + 0x194]
push ecx
call edi
push esi
lea edx, [esp + 0x6c]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x44], esp
push 0x2f
mov ecx, 0x4559dc
call fcn.00404250
lea esi, [esp + 0x100]
call fcn.004014c0
mov byte [esp + 0x1fc], 0x17
call fcn.00401580
mov byte [esp + 0x1f8], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x422fa2
mov eax, dword [eax + 4]
jmp 0x422fa5
add eax, 4
push eax
push 1
push ebp
call fcn.0041c990
add esp, 0x10
lea ecx, [esp + 0x68]
call fcn.00402ba0
lea esi, [esp + 0xdc]
call fcn.00429620
call fcn.00417b00
sub eax, 1
jne 0x422fda
call fcn.00419040
call fcn.00418790
lea ecx, [esp + 0x1c8]
call fcn.00402ba0
lea ecx, [esp + 0x1ac]
call fcn.00402ba0
mov eax, 0x80004005
mov ecx, dword [esp + 0x1ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00437983
add esp, 0x1e4
ret 4