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

Disassembly:
sub esp, 0x78
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x74], eax
cmp dword [0x5b2934], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x20]
jne 0x415813
cmp dword [0x5b2930], 0
je 0x415813
lea eax, [esp + 0x10]
push eax
mov ecx, 0x5b2930
call fcn.00463cd0
cmp dword [esp + 0x10], 0
je 0x415809
push edi
call dword [0x5b2950]
add esp, 4
push edi
call dword [0x5b2944]
add esp, 4
mov ecx, esi
call fcn.005088f4
cmp dword [esi + 0xc50], 0
je 0x41582f
lea ebp, [esi + 0xc48]
mov dword [esp + 0x14], ebp
jmp 0x415843
push 0xb
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call fcn.005148bb
mov dword [esp + 0x14], eax
mov ebp, eax
lea ecx, [esi + 0xa44]
test ecx, ecx
je 0x415858
cmp dword [ecx + 0x20], 0
je 0x415858
call fcn.00434cc0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0xaf0]
test ebx, ebx
je 0x415a11
cmp dword [ebx + 0x20], 0
je 0x415a11
mov ecx, ebx
call fcn.00434cc0
push 0
push 0
push 0x402000
mov ecx, ebx
call fcn.00508185
test ebp, ebp
jne 0x415895
xor eax, eax
jmp 0x415898
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xb10]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [esi + 0xb10]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005145e9
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp dword [esi + 0xc50], ebp
je 0x4158df
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
lea ecx, [esi + 0xc48]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x18], eax
jmp 0x415900
push 0xb
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp eax, ebp
je 0x4158fc
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
jmp 0x415900
mov dword [esp + 0x18], ebp
mov eax, 0x57
movzx ecx, ax
mov eax, ecx
shl ecx, 0x10
or eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
push 0x400
xor edx, edx
mov eax, 8
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x84], dx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [ebx]
mov eax, dword [eax + 0x68]
push 0x20
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
sub ebp, dword [esp + 0x20]
cdq
and edx, 0x1f
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0x18]
sar ebx, 5
test eax, eax
je 0x4159ba
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0xb10]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
imul ebx, ebx, 0x51
imul ebp, ebp, 0x19
mov edx, dword [esi + 0xb10]
xor eax, eax
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0xb3
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
call edi
mov eax, dword [esi + 0xb10]
push 0
push 1
push 0xcf
push eax
call edi
mov ebp, dword [esp + 0x14]
lea ecx, [esi + 0xa44]
test ecx, ecx
je 0x415a6c
cmp dword [ecx + 0x20], 0
je 0x415a6c
push 0
push 0
push 0x402000
call fcn.00508185
test ebp, ebp
jne 0x415a37
xor eax, eax
jmp 0x415a3a
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xa64]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [esi + 0xa64]
push 0
push 0x51
push 0xc5
push edx
call edi
mov eax, dword [esi + 0xa64]
push 0
push 1
push 0xcf
push eax
call edi
lea ebx, [esi + 0x944]
test ebx, ebx
je 0x415a9a
cmp dword [ebx + 0x20], 0
je 0x415a9a
push str.My_Boot_Password_Theme
mov ecx, ebx
call fcn.005081b1
mov ecx, dword [esi + 0x964]
push 0
push 0x40
push 0xc5
push ecx
call edi
mov ecx, esi
call fcn.00414e90
mov ecx, esi
call fcn.00415280
mov dword [esi + 0xca8], eax
cmp eax, 0xffffffff
jne 0x415ac0
push 0
lea ecx, [esi + 0x8f0]
call fcn.005082a3
cmp dword [esi + 0xcac], 0
push 0
jle 0x415b31
mov edx, dword [esi + 0xbbc]
push 1
push 0xf1
push edx
call edi
mov eax, dword [esi + 0xca8]
push 0
cmp eax, 0xffffffff
je 0x415af9
push eax
mov eax, dword [esi + 0xa10]
push 0x14e
push eax
call edi
jmp 0x415b12
mov ecx, dword [esi + 0xa10]
push 0
push 0x14e
push ecx
call edi
push 0
mov ecx, esi
call fcn.00415450
push 0
mov ecx, ebx
call fcn.005082a3
push 0
lea ecx, [esi + 0x848]
call fcn.005082a3
mov ecx, esi
call fcn.00415630
jmp 0x415b68
lea ecx, [esi + 0xb9c]
call fcn.005082a3
push 0
lea ecx, [esi + 0x9f0]
call fcn.005082a3
push 0
lea ecx, [esi + 0x89c]
call fcn.005082a3
mov edx, dword [esi + 0xc10]
push 0
push 1
push 0xf1
push edx
call edi
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0xc
call ebp
mov ebx, eax
push 0xb
add ebx, 0xc
call ebp
push 0xffff
mov ecx, 0xc
add eax, ecx
push esi
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
push edx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xc54]
mov eax, dword [eax + 0x13c]
lea ecx, [esi + 0xc54]
push 0x50000203
push 0
mov dword [esp + 0x4c], ebx
call eax
mov ecx, dword [esi + 0xc44]
mov edx, dword [esi + 0xc74]
push 0
push ecx
push 0x170
push edx
call edi
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x78
ret