Function at 0x458864
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x18b
push 0
push 0
dec ecx
jne 0x45886c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4593ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459404
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor edx, edx
mov eax, 2
call fcn.00456554
mov dword [ebp - 8], eax
xor ecx, ecx
push ebp
push 0x45936c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 0x154], 0x128
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.00456574
test eax, eax
je 0x459335
mov ebx, dword [ebp - 0x14c]
test ebx, ebx
je 0x45890b
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004042fc
mov eax, ebx
push eax
mov eax, dword [0x45c230]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x10], eax
jmp 0x458968
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.00456594
test eax, eax
je 0x458945
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004042fc
mov eax, dword [ebp - 0x14c]
push eax
mov eax, dword [0x45c230]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x10], eax
jmp 0x458968
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45941c
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.00456594
test eax, eax
je 0x4589a2
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004042fc
mov eax, dword [ebp - 0x14c]
push eax
mov eax, dword [0x45c230]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x18], eax
jmp 0x4589c5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459468
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 8]
call fcn.00456594
test eax, eax
je 0x4589fe
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x130]
mov ecx, 0x104
call fcn.004042fc
mov eax, dword [ebp - 0x14c]
push eax
mov eax, dword [0x45c230]
mov eax, dword [eax]
call eax
mov esi, eax
jmp 0x458a21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4594b4
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459500
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x355]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x45ddd0]
push eax
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x556]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x45ddd0]
push eax
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x757]
push eax
push esi
mov eax, dword [0x45ddd0]
push eax
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test byte [ebp - 0x21], bl
je 0x458abe
test al, al
jne 0x458ae1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45952c
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459560
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov bl, 1
xor eax, eax
mov dword [ebp - 0x28], eax
lea esi, [ebp - 0x355]
lea eax, [ebp - 0xc0c]
mov dl, byte [esi]
call fcn.00404274
mov eax, dword [ebp - 0xc0c]
lea edx, [ebp - 0xc08]
call fcn.00407c4c
mov eax, dword [ebp - 0xc08]
push eax
lea eax, [ebp - 0xc14]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx + edx - 1]
call fcn.00404274
mov eax, dword [ebp - 0xc14]
lea edx, [ebp - 0xc10]
call fcn.00407c4c
mov edx, dword [ebp - 0xc10]
pop eax
call fcn.00404498
jne 0x458bd5
inc ebx
mov eax, dword [ebp - 0xc]
call fcn.0040434c
mov edi, ebx
and edi, 0xff
cmp eax, edi
jge 0x458bd7
mov eax, dword [ebp - 0x28]
sub eax, edi
add eax, 2
lea ecx, [ebp - 0xc1c]
mov edx, 3
call fcn.00408218
mov ecx, dword [ebp - 0xc1c]
lea eax, [ebp - 0xc18]
mov edx, 0x459588
call fcn.00404398
mov edx, dword [ebp - 0xc18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
mov al, bl
mov edx, dword [ebp - 0x28]
sub edx, eax
add edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x310], edx
jmp 0x458be8
mov bl, 1
inc dword [ebp - 0x28]
inc esi
cmp dword [ebp - 0x28], 0x200
jne 0x458b07
mov eax, dword [ebp - 4]
cmp dword [eax + 0x310], 0
jne 0x458c17
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4595bc
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45960c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
call fcn.0040434c
cmp eax, 0xe
jg 0x458d3e
mov eax, dword [ebp - 0x14]
call fcn.0040434c
inc eax
call fcn.004026cc
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x458d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.0040434c
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
lea edx, [ebp + eax - 0x556]
mov eax, dword [ebp - 0x2c]
call fcn.00406a1c
mov eax, dword [ebp - 0x14]
call fcn.0040434c
mov edx, dword [ebp - 0x2c]
mov byte [edx + eax], 0
lea eax, [ebp - 0xc24]
mov edx, dword [ebp - 0x2c]
call fcn.00404284
mov eax, dword [ebp - 0xc24]
lea edx, [ebp - 0xc20]
call fcn.00407c4c
mov eax, dword [ebp - 0xc20]
push eax
lea edx, [ebp - 0xc28]
mov eax, dword [ebp - 0x14]
call fcn.00407c4c
mov edx, dword [ebp - 0xc28]
pop eax
call fcn.00404498
jne 0x458cee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45962c
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x458d21
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x310], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459650
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458d57
mov eax, dword [ebp - 0x2c]
call fcn.004026ec
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459684
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.0040434c
cmp eax, 0xe
jg 0x458e65
mov eax, dword [ebp - 0x1c]
call fcn.0040434c
inc eax
call fcn.004026cc
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x458e5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
call fcn.0040434c
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
lea edx, [ebp + eax - 0x757]
mov eax, dword [ebp - 0x2c]
call fcn.00406a1c
mov eax, dword [ebp - 0x1c]
call fcn.0040434c
mov edx, dword [ebp - 0x2c]
mov byte [edx + eax], 0
lea eax, [ebp - 0xc30]
mov edx, dword [ebp - 0x2c]
call fcn.00404284
mov eax, dword [ebp - 0xc30]
lea edx, [ebp - 0xc2c]
call fcn.00407c4c
mov eax, dword [ebp - 0xc2c]
push eax
lea edx, [ebp - 0xc34]
mov eax, dword [ebp - 0x1c]
call fcn.00407c4c
mov edx, dword [ebp - 0xc34]
pop eax
call fcn.00404498
jne 0x458e15
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4596c4
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x458e48
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x310], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4596e8
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458e7e
mov eax, dword [ebp - 0x2c]
call fcn.004026ec
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45971c
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x45975c
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x355]
xor ebx, ebx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, ebx
cmp edx, ecx
jne 0x458f11
mov eax, dword [ebp - 4]
mov dword [eax + 0x30c], ebx
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc3c]
mov eax, 3
call fcn.00408240
mov ecx, dword [ebp - 0xc3c]
lea eax, [ebp - 0xc38]
mov edx, 0x45978c
call fcn.00404398
mov edx, dword [ebp - 0xc38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x458f1f
add eax, 4
add ebx, 4
cmp ebx, 0x800
jb 0x458eb5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x30c], 0
jne 0x458f4e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4597c4
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
lea eax, [ebp + eax - 0x552]
mov ebx, dword [eax]
mov eax, dword [ebp - 4]
sub ebx, dword [eax + 0x30c]
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc44]
mov eax, 8
call fcn.00408240
mov ecx, dword [ebp - 0xc44]
lea eax, [ebp - 0xc40]
mov edx, 0x459800
call fcn.00404398
mov edx, dword [ebp - 0xc40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc4c]
mov eax, 8
call fcn.00408240
mov ecx, dword [ebp - 0xc4c]
lea eax, [ebp - 0xc48]
mov edx, 0x459848
call fcn.00404398
mov edx, dword [ebp - 0xc48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp ebx, dword [ebp - 0x10]
jne 0x459016
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459870
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x459044
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459894
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30c], edx
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4598c0
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xba0]
mov edx, 0x44
call fcn.00406a30
lea eax, [ebp - 0xbb0]
mov edx, 0x10
call fcn.00406a30
lea eax, [ebp - 0xbb0]
push eax
lea eax, [ebp - 0xba0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4598e4
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x45931a
lea eax, [ebp - 0xbf4]
mov edx, 0x44
call fcn.00406a30
lea eax, [ebp - 0xc04]
mov edx, 0x10
call fcn.00406a30
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xbf4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4598e4
call sub.kernel32.dll_CreateProcessA
xor ecx, ecx
push ebp
push 0x459313
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xba8]
push eax
mov eax, dword [0x45c230]
mov eax, dword [eax]
call eax
mov ebx, eax
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0x958]
push eax
mov esi, ebx
push esi
mov eax, dword [0x45ddd0]
push eax
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x459175
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459900
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459948
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xba8]
push eax
mov eax, dword [0x45c0cc]
mov eax, dword [eax]
call eax
test eax, eax
je 0x4592cf
push 0x3e8
call sub.kernel32.dll_Sleep_1
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp - 0xb59]
push eax
push esi
mov eax, dword [0x45ddd0]
push eax
mov eax, dword [0x45c050]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4591fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x4599ac
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459a2c
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
lea eax, [ebp - 0x958]
lea edx, [ebp - 0xb59]
cmp dword [eax], 0
jne 0x45923b
cmp dword [edx], 0x80000000
jbe 0x45923b
mov eax, dword [ebp - 4]
mov dword [eax + 0x314], ebx
jmp 0x45924c
add eax, 4
add edx, 4
add ebx, 4
cmp ebx, 0x200
jb 0x459223
mov eax, dword [ebp - 4]
cmp dword [eax + 0x314], 0
jne 0x459280
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459ab8
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc54]
mov eax, 3
call fcn.00408240
mov ecx, dword [ebp - 0xc54]
lea eax, [ebp - 0xc50]
mov edx, 0x459ae4
call fcn.00404398
mov edx, dword [ebp - 0xc50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4592f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459b14
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
call fcn.00403af0
jmp 0x4593b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459355
push 0
mov eax, dword [ebp - 0xc04]
push eax
call sub.kernel32.dll_TerminateProcess
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459b3c
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x459355
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
mov eax, dword [eax + 0x220]
mov edx, 0x459b68
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.00403af0
jmp 0x4593b7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459373
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4593f4
lea eax, [ebp - 0xc58]
mov edx, 0x15
call fcn.004040b0
lea eax, [ebp - 0x1c]
call fcn.0040408c
lea eax, [ebp - 0x14]
call fcn.0040408c
lea eax, [ebp - 0xc]
call fcn.0040408c
ret