Function at 0x793420
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x793428
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x7945db
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x1b58
mov eax, dword [0x842e58]
call fcn.00668718
cmp byte [0x7ecc4c], 0
je 0x79346f
mov eax, 0x842ee4
mov edx, dword [0x842e48]
mov edx, dword [edx + 0x90]
call fcn.00409ca0
xor eax, eax
mov dword [0x7ecc30], eax
mov eax, dword [0x842ed4]
mov edx, dword [eax]
call dword [edx + 0x48]
mov eax, dword [0x842ed0]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [0x7ecc38], 0xffffffff
xor ecx, ecx
push ebp
push 0x794512
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dl, 1
mov eax, dword [0x842e3c]
call fcn.0050733c
mov byte [ebp - 0xa], 0
cmp dword [0x7ecc3c], 0
je 0x79356e
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x303030
mov eax, 0x7945fc
call fcn.007907e8
xor eax, eax
push ebp
push 0x793509
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x7ecc3c]
call fcn.00792dd8
mov edx, dword [ebp - 4]
mov eax, dword [0x842eb8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79352d
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
mov eax, 0x794638
call fcn.007907e8
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x793553
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x578
jge 0x79356e
mov eax, edx
test eax, eax
je 0x793565
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x79356e
call fcn.0078f064
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x303030
mov eax, 0x794650
call fcn.007907e8
cmp dword [0x842e74], 0
jne 0x7936d9
xor eax, eax
push ebp
push 0x7935f7
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x842e7c]
push 0x794688
call fcn.00425a2c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.007929f4
lea edx, [ebp - 0x24]
call fcn.00422148
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.00792dd8
mov edx, dword [ebp - 4]
mov eax, dword [0x842eb8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x793639
cmp byte [ebp - 0xa], 0
je 0x79364c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x79365a
sub eax, 4
mov eax, dword [eax]
cmp eax, 0x190
jge 0x79371b
mov eax, edx
test eax, eax
je 0x793670
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x79371b
cmp dword [0x7ecc3c], 0
jne 0x793686
call fcn.0078f064
mov eax, 0x7946b8
call fcn.00790438
mov dword [0x7ecc38], eax
mov eax, 0x7946d4
call fcn.00790438
mov dword [0x842e70], eax
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [0x7ecc38]
call fcn.00422148
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x7946f8
call fcn.0040a794
mov eax, dword [ebp - 0x28]
movzx ecx, byte [0x7945ec]
mov edx, 0xa0
call fcn.007907e8
jmp 0x79371b
mov eax, dword [0x842e74]
mov dword [0x7ecc38], eax
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794718
call fcn.007907e8
push 0
lea edx, [ebp - 0x30]
mov eax, dword [0x7ecc38]
call fcn.00422148
mov eax, dword [ebp - 0x30]
movzx ecx, byte [0x7945ec]
mov edx, 0xa0
call fcn.007907e8
cmp byte [0x7ecc4c], 0
je 0x7938f5
lea ecx, [ebp - 0x34]
mov edx, 0x794748
mov eax, dword [0x842eb8]
call fcn.00499660
cmp dword [ebp - 0x34], 0
jne 0x793778
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x79476c
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
lea ecx, [ebp - 0x38]
mov edx, 0x794748
mov eax, dword [0x842eb8]
call fcn.00499660
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [0x842ee4]
mov ecx, 0
call fcn.0040a2bc
mov edx, dword [ebp - 0x3c]
mov ecx, dword [0x7ecc40]
pop eax
call fcn.00649e78
test al, al
jne 0x7937ec
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x7947c0
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
mov eax, dword [0x7ecc40]
movzx eax, byte [eax]
cmp eax, dword [0x7ecc48]
jle 0x7938f5
cmp dword [0x7ecc48], 0
jle 0x7938d1
lea ecx, [ebp - 0x40]
mov edx, 0x79480c
mov eax, dword [0x842eb8]
call fcn.00499660
cmp dword [ebp - 0x40], 0
jne 0x79385d
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x79476c
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
lea ecx, [ebp - 0x44]
mov edx, 0x79480c
mov eax, dword [0x842eb8]
call fcn.00499660
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
mov edx, dword [0x842ee4]
mov ecx, 0
call fcn.0040a2bc
mov edx, dword [ebp - 0x48]
mov ecx, dword [0x7ecc44]
pop eax
call fcn.00649e78
test al, al
jne 0x7938d1
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x7947c0
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
mov eax, dword [0x7ed864]
mov eax, dword [eax]
push eax
mov ecx, dword [0x7ed7dc]
mov ecx, dword [ecx]
mov edx, dword [0x7ed864]
mov edx, dword [edx]
mov eax, dword [0x7ed7dc]
mov eax, dword [eax]
call fcn.0078e638
call fcn.00793178
mov eax, 0x794834
call fcn.004224e0
cmp eax, dword [0x842e70]
jge 0x793c63
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794844
call fcn.007907e8
xor eax, eax
push ebp
push 0x79398d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call fcn.00425a2c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.007929f4
lea edx, [ebp - 0x50]
call fcn.00422148
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x79488c
call fcn.0040a794
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
mov ecx, 0x7948c0
mov edx, dword [0x842e80]
call fcn.0040a794
mov ecx, dword [ebp - 0x54]
mov al, 1
pop edx
call fcn.00790be8
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7939d4
cmp byte [ebp - 9], 0
jne 0x793a37
cmp byte [0x842e89], 0
jne 0x7939ff
push 1
mov eax, dword [0x7ed3f0]
mov eax, dword [eax]
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
call fcn.007907e8
jmp 0x793a17
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794908
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 0x5dc
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x58]
mov ecx, 0x7948c0
mov edx, dword [0x842e80]
call fcn.0040a794
mov eax, dword [ebp - 0x58]
call fcn.00793050
cmp edx, 0
jne 0x793a6a
cmp eax, 0xf4240
jae 0x793aa4
jmp 0x793a6c
jge 0x793aa4
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x7948f0
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
mov eax, 0x794638
call fcn.007907e8
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794928
call fcn.007907e8
lea eax, [ebp - 0x5c]
mov ecx, 0x7948c0
mov edx, dword [0x842e80]
call fcn.0040a794
mov eax, dword [ebp - 0x5c]
call fcn.0078e504
mov eax, dword [0x7ed730]
mov eax, dword [eax]
call fcn.005ba688
lea edx, [ebp - 0x60]
mov eax, dword [0x7ed730]
mov eax, dword [eax]
call fcn.005bb0c4
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0x64]
mov eax, dword [0x7ed730]
mov eax, dword [eax]
call fcn.005bb0c4
lea eax, [ebp - 0x64]
mov edx, 0x79497c
call fcn.0040a73c
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x68]
call fcn.0040a528
push eax
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp - 0x6c]
call fcn.0040a528
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x793b88
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794994
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
lea eax, [ebp - 0x70]
mov ecx, 0x794a04
mov edx, dword [0x842e80]
call fcn.0040a794
mov eax, dword [ebp - 0x70]
call fcn.0040a528
push eax
lea eax, [ebp - 0x74]
mov ecx, 0x7948c0
mov edx, dword [0x842e80]
call fcn.0040a794
mov eax, dword [ebp - 0x74]
call fcn.0040a528
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x793c07
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794a2c
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 5
mov eax, dword [0x842e80]
call fcn.0040a528
push eax
push 0x794a90
lea eax, [ebp - 0x78]
mov ecx, 0x794a04
mov edx, dword [0x842e80]
call fcn.0040a794
mov eax, dword [ebp - 0x78]
call fcn.0040a528
push eax
push 0x794a94
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_ShellExecuteW
mov byte [0x842e8b], 1
mov eax, dword [0x7ed730]
mov eax, dword [eax]
call fcn.005baa34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
cmp dword [0x7ecc38], 0
jge 0x793c85
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
cmp dword [0x842e78], 0
jle 0x793ccb
push 0
movzx ecx, word [0x794aa0]
mov dl, 3
mov eax, 0x794ab0
call fcn.0054fccc
dec eax
jne 0x793ccb
mov ebx, dword [0x842e48]
mov edx, dword [0x842e48]
mov eax, dword [ebx + 0x124]
call dword [ebx + 0x120]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
cmp byte [0x7ecc36], 0
je 0x793d29
push 0
movzx ecx, word [0x794aa0]
mov dl, 3
mov eax, 0x794bd8
call fcn.0054fccc
dec eax
jne 0x793d11
mov ebx, dword [0x842e48]
mov edx, dword [0x842e48]
mov eax, dword [ebx + 0x124]
call dword [ebx + 0x120]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
xor ecx, ecx
mov edx, 0x794c6c
mov eax, 0x794c90
call fcn.007902b4
mov byte [0x7ecc36], 0
mov byte [ebp - 0xa], 0
cmp byte [0x7ecc35], 0
je 0x793f50
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794cac
call fcn.007907e8
xor eax, eax
push ebp
push 0x793dda
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00425a2c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.007929f4
lea edx, [ebp - 0x84]
call fcn.00422148
mov ecx, dword [ebp - 0x84]
mov edx, dword [0x7ed788]
mov edx, dword [edx]
lea eax, [ebp - 0x80]
call fcn.0040a794
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00792dd8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 4]
call fcn.0042179c
cmp dword [ebp - 4], 0
jne 0x793dd0
lea eax, [ebp - 4]
mov edx, 0x794cec
call fcn.00409ce8
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794d00
call fcn.007907e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x793e1c
mov eax, dword [ebp - 4]
test eax, eax
je 0x793e28
sub eax, 4
mov eax, dword [eax]
cmp eax, 5
jle 0x793e6b
mov ebx, dword [0x842eb4]
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794d4c
call fcn.007907e8
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 4]
mov edx, 0x794d9c
call fcn.0040a794
mov eax, dword [ebp - 0x88]
call fcn.0078fad8
jmp 0x793ea0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.0042179c
mov eax, dword [ebp - 0x8c]
call fcn.004224e0
mov ebx, eax
test ebx, ebx
jl 0x793ea0
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
mov eax, dword [ebp - 4]
call fcn.007907e8
push 0
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794df0
call fcn.007907e8
cmp ebx, dword [0x842eb4]
je 0x793f14
test ebx, ebx
jle 0x793f14
push 0
lea edx, [ebp - 0x90]
mov eax, dword [0x842eb4]
call fcn.00422148
mov eax, dword [ebp - 0x90]
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
call fcn.007907e8
mov eax, ebx
call fcn.00795c50
mov byte [ebp - 9], al
call fcn.0079068c
movzx eax, byte [ebp - 9]
xor al, 1
or al, byte [0x842e89]
je 0x793f3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 0
lea edx, [ebp - 0x94]
mov eax, dword [0x842eb4]
call fcn.00422148
mov eax, dword [ebp - 0x94]
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
call fcn.007907e8
cmp byte [ebp - 0xa], 0
je 0x793f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
mov eax, dword [0x842e6c]
cmp eax, dword [0x7ecc38]
jl 0x793fa3
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x55005
mov eax, 0x794e14
call fcn.007907e8
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794e48
call fcn.007907e8
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 0
push 0x794e74
lea edx, [ebp - 0x9c]
mov eax, dword [0x7ecc38]
call fcn.00422148
push dword [ebp - 0x9c]
push 0x794eb0
push 0x794ec0
push 0x794ed0
lea eax, [ebp - 0x98]
mov edx, 5
call fcn.0040a81c
mov eax, dword [ebp - 0x98]
movzx ecx, word [0x794aa0]
mov dl, 3
call fcn.0054fccc
dec eax
je 0x79401b
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794f00
call fcn.007907e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
xor ecx, ecx
mov dl, 1
mov eax, dword [0x78dab4]
call fcn.0079de78
mov dword [ebp - 0x14], eax
mov eax, dword [0x842e40]
mov eax, dword [eax + 0x2f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ebx, dword [0x842e6c]
inc ebx
mov eax, dword [0x7ecc38]
sub eax, ebx
jl 0x79447b
inc eax
mov dword [ebp - 0x18], eax
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x303030
mov eax, 0x794f28
call fcn.007907e8
push 0
lea edx, [ebp - 0xa0]
mov eax, ebx
sub eax, dword [0x842e6c]
call fcn.00422148
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
call fcn.007907e8
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x303030
mov eax, 0x794f64
call fcn.007907e8
push 0
lea edx, [ebp - 0xa4]
mov eax, dword [0x7ecc38]
sub eax, dword [0x842e6c]
call fcn.00422148
mov eax, dword [ebp - 0xa4]
movzx ecx, byte [0x7945ec]
mov edx, 0x4000
call fcn.007907e8
push 0
movzx ecx, byte [0x7945ec]
mov edx, 0x303030
mov eax, 0x794f7c
call fcn.007907e8
cmp ebx, dword [0x7ecc38]
jge 0x794113
mov eax, dword [0x842e40]
mov eax, dword [eax + 0x2f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x3c]
xor eax, eax
push ebp
push 0x7941ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push dword [0x842e80]
push 0x794f90
lea edx, [ebp - 0xac]
mov eax, ebx
call fcn.00422148
push dword [ebp - 0xac]
push 0x794fac
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0xa8]
push eax
push 0x794f90
lea edx, [ebp - 0xb4]
mov eax, ebx
call fcn.00422148
push dword [ebp - 0xb4]
push 0x794fac
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.0040a81c
mov edx, dword [ebp - 0xb0]
mov al, 1
pop ecx
call fcn.00790be8
mov byte [ebp - 9], al
mov al, 1
call fcn.007905b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794204
cmp byte [ebp - 9], 0
jne 0x794260
cmp byte [0x842e89], 0
jne 0x79422f
push 1
mov eax, dword [0x7ed3f0]
mov eax, dword [eax]
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
call fcn.007907e8
jmp 0x794247
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794908
call fcn.007907e8
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
cmp byte [ebp - 0xa], 0
je 0x794273
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push 0x3e8
call sub.kernel32.dll_Sleep
push dword [0x842e80]
push 0x794f90
lea edx, [ebp - 0xbc]
mov eax, ebx
call fcn.00422148
push dword [ebp - 0xbc]
push 0x794fac
lea eax, [ebp - 0xb8]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0xb8]
mov ecx, dword [0x7ecc40]
mov edx, dword [0x842ed4]
call fcn.00650638
test al, al
jne 0x794303
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794fc4
call fcn.007907e8
mov al, 1
call fcn.007a04f0
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
push dword [0x842e80]
push 0x794f90
lea edx, [ebp - 0xc4]
mov eax, ebx
call fcn.00422148
push dword [ebp - 0xc4]
push 0x794fac
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0xc0]
call fcn.004230f8
mov eax, dword [0x842ed4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x794471
mov eax, dword [0x842ed4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x794471
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
lea ecx, [ebp - 0xd0]
mov edx, esi
mov eax, dword [0x842ed4]
call fcn.00499444
mov edx, dword [ebp - 0xd0]
lea eax, [ebp - 0xcc]
call fcn.0040a634
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.00421760
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 8]
call fcn.0040a620
cmp dword [ebp - 8], 0
je 0x794467
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0079e120
test al, al
je 0x7943fa
lea ecx, [ebp - 0xd4]
mov edx, esi
mov eax, dword [0x842ed4]
call fcn.0049a448
mov eax, dword [ebp - 0xd4]
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0079dd5c
mov edx, eax
mov eax, dword [0x842ed0]
pop ecx
call fcn.0049a4dc
jmp 0x794467
lea ecx, [ebp - 0xdc]
mov edx, esi
mov eax, dword [0x842ed4]
call fcn.00499444
push dword [ebp - 0xdc]
push 0x79503c
lea ecx, [ebp - 0xe0]
mov edx, esi
mov eax, dword [0x842ed4]
call fcn.0049a448
push dword [ebp - 0xe0]
lea eax, [ebp - 0xd8]
mov edx, 3
call fcn.0040a81c
mov edx, dword [ebp - 0xd8]
mov eax, dword [0x842ed0]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x842ed0]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, eax
dec ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0079dfa4
inc esi
dec dword [ebp - 0x1c]
jne 0x79436c
inc ebx
dec dword [ebp - 0x18]
jne 0x794056
mov eax, dword [ebp - 0x14]
call fcn.00407b18
mov al, 1
call fcn.0079f774
test al, al
jne 0x7944b3
push 1
movzx ecx, byte [0x7945ec]
mov edx, 0x7f
mov eax, 0x794f00
call fcn.007907e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
xor ecx, ecx
mov edx, dword [0x842ed0]
mov eax, 0x79504c
call fcn.00796b30
xor edx, edx
mov eax, dword [0x842e3c]
call fcn.0050733c
cmp byte [0x842e88], 0
je 0x7944e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
mov eax, dword [0x7ecc38]
mov dword [0x842e6c], eax
call fcn.0079068c
push 1
movzx ecx, byte [0x7945ec]
xor edx, edx
mov eax, 0x794e48
call fcn.007907e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x794559
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7945e2
lea eax, [ebp - 0xe4]
mov edx, 6
call fcn.00409920
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.00409980
lea eax, [ebp - 0xc4]
mov edx, 0x16
call fcn.00409920
lea eax, [ebp - 0x64]
mov edx, 7
call fcn.00409920
lea eax, [ebp - 0x48]
call fcn.004098e4
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00409920
lea eax, [ebp - 0x3c]
call fcn.004098e4
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00409920
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409920
ret