Function at 0x100039c0
Capabilities:
Query service configuration
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x44]
call fcn.1000dd80
push ebx
lea ecx, [esp + 0x3c]
call fcn.1000dd80
push ebx
lea ecx, [esp + 0x5c]
call fcn.1000dd80
push ebx
lea ecx, [esp + 0x54]
call fcn.1000dd80
push 0xfa0
call fcn.1000ea50
push 0xfa0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call fcn.1000ea50
add esp, 8
push 0x2b
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
call fcn.1000e920
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.10002210
push 0x48
mov edi, eax
call fcn.1000ea50
add esp, 0xc
cmp eax, ebx
je 0x10003a57
mov ecx, dword [ebp + 0x14]
push ecx
push edi
mov ecx, eax
call fcn.10007480
mov dword [esp + 0x28], eax
jmp 0x10003a5b
mov dword [esp + 0x28], ebx
cmp edi, ebx
je 0x10003a68
push edi
call fcn.1000f19d
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x44]
mov edi, dword [eax + 0x18]
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
call fcn.1000dfa0
cmp edi, ebx
je 0x10003c4e
jmp 0x10003a90
lea ecx, [esp + 0x38]
call fcn.1000dc70
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x30], ebx
je 0x10003c4e
push 1
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x40]
call fcn.1000df30
push eax
lea ecx, [esp + 0x5c]
call fcn.1000e0f0
lea ecx, [esp + 0x60]
call fcn.1000d8c0
lea ecx, [esp + 0x50]
call fcn.1000dd60
push eax
lea ecx, [esp + 0x5c]
call fcn.1000dc80
test eax, eax
jne 0x10003b42
lea edx, [ebx - 1]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.1000df60
push eax
lea ecx, [esp + 0x3c]
call fcn.1000e0f0
lea ecx, [esp + 0x68]
call fcn.1000d8c0
push 0x10
call fcn.1000ea50
mov edi, eax
add esp, 4
test edi, edi
je 0x10003b2b
push 0
lea ecx, [esp + 0x3c]
call fcn.1000dd60
push eax
mov ecx, edi
call fcn.10004b20
jmp 0x10003b2d
xor eax, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x10003c16
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x10003c4e
push 1
lea ecx, [esp + 0x3c]
call fcn.1000dd60
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
test edi, edi
je 0x10003c39
lea eax, [esp + 0x20]
push eax
push 0
push 0
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1000ea50
mov ecx, dword [esp + 0x24]
add esp, 4
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x10003c42
push 0x10
call fcn.1000ea50
add esp, 4
test eax, eax
mov dword [esp + 0x34], eax
je 0x10003be7
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1000dd60
mov ecx, dword [esp + 0x38]
push eax
call fcn.10004b20
jmp 0x10003be9
xor eax, eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [esp + 0x14], ecx
call edi
push ebx
call edi
mov eax, dword [esp + 0x2c]
push eax
call fcn.1000ce20
mov ebx, dword [esp + 0x34]
add esp, 4
test ebx, ebx
mov edi, dword [esp + 0x24]
jbe 0x10003c20
add edi, ebx
inc edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], edi
call fcn.1000dfa0
test edi, edi
jne 0x10003a90
jmp 0x10003c4e
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10003c4e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push ebx
call edi
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.10005cd0
push edi
call fcn.1000ce20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 0x10002770
push 4
push ecx
push edx
call fcn.1000f340
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
push 0x10002770
push 4
push eax
push ecx
call fcn.1000f340
mov edx, dword [esi]
add esp, 0x24
push str.java_util_Vector
push esi
call dword [edx + 0x18]
mov edi, eax
test edi, edi
je 0x10003ce8
mov eax, dword [esi]
push str.java_lang_String
push esi
call dword [eax + 0x18]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10003ce8
mov ecx, dword [esi]
push str._I_V
push str._init_
push edi
push esi
call dword [ecx + 0x84]
mov ebx, eax
test ebx, ebx
je 0x10003ce8
mov edx, dword [esi]
push str._Ljava_lang_Object__V
push str.addElement
push edi
push esi
call dword [edx + 0x84]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x10003d17
lea ecx, [esp + 0x50]
call fcn.1000d8c0
lea ecx, [esp + 0x58]
call fcn.1000d8c0
lea ecx, [esp + 0x38]
call fcn.1000d8c0
lea ecx, [esp + 0x40]
call fcn.1000d8c0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi]
push 0
push edi
push 2
push esi
call dword [eax + 0x2b0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x48]
push eax
push ebx
push edi
push esi
mov dword [esp + 0x58], ecx
call dword [edx + 0x78]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
push ebx
push edi
push esi
mov dword [esp + 0x58], ecx
call dword [edx + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jbe 0x10003de4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi]
push 0
push edx
push 2
push esi
call dword [ecx + 0x2b0]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + edi*4]
mov ebx, eax
lea eax, [esp + 0x68]
push eax
call fcn.10002d60
push eax
lea ecx, [esp + 0x44]
call fcn.1000e0f0
lea ecx, [esp + 0x68]
call fcn.1000d8c0
push 0
lea ecx, [esp + 0x44]
call fcn.1000d920
push eax
push esi
call fcn.100021b0
mov edx, dword [esi]
add esp, 8
push eax
push 0
push ebx
push esi
call dword [edx + 0x2b8]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
push esi
mov dword [esp + 0x58], ebx
call dword [eax + 0xfc]
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jb 0x10003d65
mov ebx, dword [esp + 0x10]
xor edi, edi
test ebx, ebx
jbe 0x10003ebd
mov eax, dword [esp + 0x2c]
mov edx, dword [esi]
push 0
push eax
push 2
push esi
call dword [edx + 0x2b0]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [edx + edi*4]
mov ebx, eax
call fcn.10004b70
push eax
lea ecx, [esp + 0x44]
call fcn.1000e0f0
lea ecx, [esp + 0x68]
call fcn.1000d8c0
push 0
lea ecx, [esp + 0x44]
call fcn.1000d920
push eax
push esi
call fcn.100021b0
mov ecx, dword [esi]
add esp, 8
push eax
push 0
push ebx
push esi
call dword [ecx + 0x2b8]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + edi*4]
lea edx, [esp + 0x60]
push edx
call fcn.10002d60
push eax
lea ecx, [esp + 0x44]
call fcn.1000e0f0
lea ecx, [esp + 0x60]
call fcn.1000d8c0
push 0
lea ecx, [esp + 0x44]
call fcn.1000d920
push eax
push esi
call fcn.100021b0
mov ecx, dword [esi]
add esp, 8
push eax
push 1
push ebx
push esi
call dword [ecx + 0x2b8]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push ecx
push eax
push esi
mov dword [esp + 0x58], ebx
call dword [edx + 0xfc]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x10003df2
mov ebx, eax
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov ecx, dword [esi]
push edx
push 0
push edi
push esi
call dword [ecx + 0x2b8]
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
push ecx
push 1
push edi
push esi
call dword [eax + 0x2b8]
xor esi, esi
test ebx, ebx
jbe 0x10003f10
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov edi, dword [edx + esi*4]
test edi, edi
je 0x10003f0b
mov ecx, edi
call fcn.100027b0
push edi
call fcn.1000ce20
add esp, 4
inc esi
cmp esi, ebx
jb 0x10003ef0
mov eax, dword [esp + 0x18]
push eax
call fcn.1000ce20
mov ebx, dword [esp + 0x18]
add esp, 4
xor edi, edi
test ebx, ebx
jbe 0x10003f47
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + edi*4]
test esi, esi
je 0x10003f42
mov ecx, esi
call fcn.100027b0
push esi
call fcn.1000ce20
add esp, 4
inc edi
cmp edi, ebx
jb 0x10003f27
mov edx, dword [esp + 0x1c]
push edx
call fcn.1000ce20
add esp, 4
lea ecx, [esp + 0x50]
call fcn.1000d8c0
lea ecx, [esp + 0x58]
call fcn.1000d8c0
lea ecx, [esp + 0x38]
call fcn.1000d8c0
lea ecx, [esp + 0x40]
call fcn.1000d8c0
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10