Function at 0x401bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x4c
mov dword [ebp - 0x2c], ecx
test byte [section..data], 8
jne 0x401d88
lea edi, [ebp - 0x1c]
mov ecx, 2
mov edx, 1
mov eax, esi
mov dword [esp], edi
call fcn.00401890
test eax, eax
jne 0x401d7d
mov dword [esp], ebx
mov esi, dword [ebp - 0x1c]
call fcn.00406310
mov edx, eax
mov eax, 0x7b
test edx, edx
je 0x401d7d
mov eax, dword [ebp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x24]
mov dword [esp], eax
call fcn.00409370
mov edx, eax
mov eax, 0x57
test edx, edx
je 0x401d7d
cmp word [ebx], 0
je 0x401d7d
mov ecx, dword [ebp + 0x18]
cmp word [ecx], 0
je 0x401d7d
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x401c62
test byte [section..data], 1
jne 0x401e78
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.00405e50
test eax, eax
jne 0x401d7d
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp - 0x1c]
test ecx, ecx
je 0x401e60
mov eax, dword [ebp + 0x24]
cmp word [eax], 0
je 0x401e60
mov eax, dword [ebp + 0x24]
lea ecx, [edi + 0x64]
lea edx, [edi + 0x60]
call fcn.004013e0
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x401e48
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.004092e0
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004092e0
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x2c]
mov edi, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004092e0
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004092e0
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x1c]
test edx, edx
je 0x401ed0
mov edi, dword [ebp + 0x20]
mov edx, dword [edi]
mov dword [eax + 0x48], edx
mov dword [esp], eax
call fcn.00406360
test eax, eax
je 0x401ea8
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00407470
mov dword [esp + 4], ebx
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00406550
test eax, eax
je 0x401de8
mov eax, dword [eax + 0x74]
test eax, eax
sete al
movzx eax, al
add eax, 0x430
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov edx, dword [esi + 8]
mov dword [esp], edx
call fcn.00407490
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call fcn.004066e0
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x18]
call fcn.004019a0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
call fcn.004019a0
mov edi, eax
mov eax, ebx
call fcn.004019a0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], str.__s___s__0x_x___s__n
mov dword [esp + 8], str.create_serviceW
mov dword [esp + 4], 0x418000
mov dword [esp], 3
call fcn.004016c0
jmp 0x401bdd
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x54]
test eax, eax
cmove eax, dword [edx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.004065b0
test eax, eax
jne 0x401f10
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00406290
test eax, eax
jne 0x401f30
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00407490
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
call fcn.00401060
jmp 0x401d7d
mov dword [esp], edi
mov dword [ebp - 0x2c], eax
call fcn.004066e0
mov eax, dword [ebp - 0x2c]
jmp 0x401d7d
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
jmp 0x401caa
mov dword [esp + 0xc], str.Dont_know_how_to_add_a_password_n
mov dword [esp + 8], str.create_serviceW
mov dword [esp + 4], 0x418000
mov dword [esp], 0
call fcn.004016c0
jmp 0x401c62
test byte [section..data], 2
jne 0x401ee0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004066e0
mov eax, 0x57
jmp 0x401d7d
mov dword [eax + 0x48], 0
jmp 0x401d1c
mov dword [esp + 0xc], str.Invalid_data_while_trying_to_create_service_n
mov dword [esp + 8], str.create_serviceW
mov dword [esp + 4], 0x418000
mov dword [esp], 1
call fcn.004016c0
jmp 0x401eb1
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.00407490
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004066e0
mov eax, 0x436
jmp 0x401d7d
mov dword [ebp - 0x2c], eax
jmp 0x401d64