Function at 0x10005d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x494
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx - 5]
cmp ebx, eax
jbe 0x10005f70
lea edi, [ebx - 0x169]
mov esi, edi
lea ecx, [ebx - 5]
nop dword [eax + eax]
cmp esi, 7
ja case.0x10005db9.2
jmp dword [esi*4 + 0x100062c4]
mov dword [0x1001f374], 0
jmp case.0x10005db9.2
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 0
push eax
push 0x1001beb3
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 5
push eax
push 0x51
call fcn.100026a0
add esp, 0x10
mov byte [esp + 0x35], 0x6c
lea ecx, [ebx - 5]
jmp case.0x10005db9.2
push 0
push 0x177
push 0
call fcn.10003760
add esp, 0xc
push 0x10004c40
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [0x1001f358], eax
test eax, eax
je 0x10005e82
mov dword [0x1001f35c], 0x20
lea ecx, [ebx - 5]
mov dword [0x1001f370], 0
jmp case.0x10005db9.2
mov ax, word [0x1001bf04]
mov word [esp + 0x36], ax
mov al, byte [0x1001bf06]
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0
jmp case.0x10005db9.2
mov byte [esp + 0x36], 0
dec esi
lea eax, [esi + 0x169]
cmp eax, ecx
ja 0x10005db0
mov esi, 5
cmp edi, 7
ja case.0x10005e7b.2
jmp dword [edi*4 + 0x100062e4]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 5
push eax
push 0x1001bf21
lea eax, [esp + 0x24]
push eax
push 0x51
call fcn.100026a0
movzx eax, word [0x1001bf44]
add esp, 0x10
mov word [esp + 0x3e], ax
movzx eax, byte [0x1001bf46]
mov byte [esp + 0x40], al
movzx eax, word [0x1001bf94]
mov word [esp + 0x41], ax
movzx eax, byte [0x1001bf96]
mov byte [esp + 0x43], al
mov byte [esp + 0x44], 0
jmp case.0x10005e7b.2
lea eax, [esp + 0x5c]
mov dword [esp + 0x14], 5
push eax
push 0x1001bfa4
lea eax, [esp + 0x1c]
push eax
push 0xc2
call fcn.10005410
add esp, 0x10
mov byte [esp + 0x61], 0x6c
mov dword [esp + 0x62], 0x642e3233
jmp case.0x10005e7b.2
mov word [esp + 0x44], 0x41
jmp case.0x10005e7b.2
push 0x3d
push 0
call fcn.1000a440
add esp, 8
jmp case.0x10005e7b.2
push 0x1001f35c
push dword [0x1001f358]
mov dword [0x1001f364], 1
mov dword [0x1001f368], 0
mov dword [0x1001f36c], 0
mov dword [0x1001f360], 4
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
dec edi
sub esi, 1
jne 0x10005e72
lea eax, [ebx + 6]
mov dword [esp + 0x18], eax
cmp ebx, eax
jae 0x10005fe8
lea esi, [ebx - 0x170]
mov edx, 0x47
mov bl, byte [esp + 0x23]
mov ecx, eax
mov dword [esp + 0xc], esi
cmp esi, 5
ja case.default.0x10005f95
jmp dword [esi*4 + 0x10006304]
push 0
push str.kernel32.dll
lea eax, [esp + 0x7c]
push eax
push 0x1d7
push 0
push 0
call fcn.10006350
add esp, 0x18
lea ecx, [esp + 0xa0]
push 0x400
push ecx
call eax
mov byte [esp + 0xa3], 0
mov ecx, dword [esp + 0x18]
mov edx, 0x47
inc esi
mov dword [esp + 0xc], esi
lea eax, [esi + 0x170]
cmp eax, ecx
jb 0x10005f90
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
push eax
push 0x1d7
push 0
push 0
call fcn.10006350
add esp, 0x18
mov dword [esp + 0x6c], eax
jmp 0x10005fd0
mov eax, dword [str.etSy]
mov word [esp + 0x74], dx
mov dword [esp + 0x75], eax
mov al, byte [0x1001be14]
mov byte [esp + 0x79], al
lea eax, [esp + 0x74]
push eax
push str.stemD
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 5
push eax
push 0x51
call fcn.100026a0
lea edi, [esp + 0x84]
add esp, 0x10
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10006056
mov ax, word [0x1001bfe0]
mov word [edi], ax
lea eax, [esp + 0x7f]
push eax
push str.rectoryA
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 9
push eax
push 0xc2
call fcn.10005410
add esp, 0x10
jmp 0x10005fd0
xor edi, edi
lea eax, [esp + 0x28]
push edi
push edi
push edi
push edi
push eax
push edi
push edi
lea eax, [esp + 0xbc]
mov dword [esp + 0x38], edi
push eax
mov dword [esp + 0x48], edi
call dword [esp + 0x8c]
test eax, eax
je 0x10005fd0
mov edx, 0xa
xor esi, esi
mov dword [esp + 0x10], edx
nop dword [eax]
cmp esi, 9
ja case.default.0x100060d9
jmp dword [esi*4 + 0x1000631c]
lea edi, [esp + 0x48]
mov byte [esp + 0x4d], 0
dec edi
nop word [eax + eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x100060f0
mov ax, word [0x1001bbec]
lea ecx, [esp + 0x48]
mov word [edi], ax
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10006108
mov eax, dword [str.Mapp]
mov edi, dword [esp + 0x1c]
mov dword [ecx], eax
mov al, byte [0x1001bff4]
mov byte [ecx + 4], al
mov eax, dword [str.ingOb]
mov dword [esp + 0x52], eax
mov ax, word [0x1001bffc]
mov word [esp + 0x56], ax
jmp case.default.0x100060d9
mov dword [esp + 0x2c], 0x20
jmp case.default.0x100060d9
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
jmp case.default.0x100060d9
mov eax, 0x4d
mov word [esp + 0x48], ax
mov dword [esp + 0x49], 0x694679
mov byte [esp + 0x4c], 0x6c
jmp case.default.0x100060d9
push 0
push 0
push edi
push 0
push 0x180
call fcn.10009c70
add esp, 0x14
jmp 0x1000628b
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
push 0x181
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push edi
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10007120
add esp, 0x10
lea eax, [esp + 0x48]
push eax
push 0x100
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
jne case.default.0x100060d9
xor bl, bl
jmp case.default.0x100060d9
lea eax, [esp + 0x48]
mov dword [esp + 0x24], 1
push eax
push 0x1001be20
lea eax, [esp + 0x2c]
push eax
push 0x51
call fcn.100026a0
mov eax, 0x74
add esp, 0x10
mov word [esp + 0x5a], ax
mov bl, 1
jmp 0x1000628b
mov ecx, dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x70], 0x10
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0x90], xmm0
call fcn.10001530
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x1000628b
mov ax, word [0x1001c000]
mov word [esp + 0x57], ax
mov al, byte [0x1001c002]
mov byte [esp + 0x59], al
jmp case.default.0x100060d9
test bl, bl
je case.default.0x100060d9
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
inc esi
sub edx, 1
mov dword [esp + 0x10], edx
jne 0x100060d0
mov esi, dword [esp + 0xc]
jmp 0x10005fd0
mov word [esp + 0x66], 0x6c6c
mov byte [esp + 0x68], 0
jmp case.default.0x10005f95
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret