Function at 0x499f10
Capabilities:
Access peb ldr_data
Get ntdll base address
Inspect load icon resource

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7404af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x178
mov eax, dword [ebx + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xd4], edi
push 0xffffff
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], 0
mov dword [edi], vtable.RBX::InstallerDialog.0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0x400
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x20], eax
push 2
push dword [edi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
xor eax, eax
mov word [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 7
mov word [edi + 0x78], ax
mov al, byte [ebx + 0xc]
mov byte [edi + 0x90], al
lea eax, [ebp - 0x188]
push 0x55
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x49a089
push 0x8000000
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
mov dword [edi + 0x1c], eax
jmp 0x49a121
cmp byte [0xa968b0], 0
mov ecx, dword [0x8450d0]
je 0x49a0b4
cmp byte [0x8f63f8], 0
je 0x49a0b4
test cl, cl
je 0x49a121
cmp cl, 6
jb 0x49a121
shr ecx, 8
cmp cl, 3
jb 0x49a121
jmp 0x49a0b8
test cl, cl
je 0x49a121
mov dword [ebp - 0x14], 0xbddcce
mov esi, dword [ebp - 0x14]
mov eax, dword [0x8450d0]
sub esi, 0x47e736
mov edx, esi
mov dword [ebp - 0x40], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x14], eax
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x49a0e0
mov eax, dword [ebp - 0x1c]
sub edx, ecx
mov ecx, dword [edi + 0x1c]
push 1
sub esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, esp
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push edx
push esi
push 3
push dword [ebp - 0x14]
mov dword [eax], 2
push dword [ebp - 0x40]
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.00518420
add esp, 0x28
lea ecx, [ebp - 0x34]
call fcn.00570420
push 3
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x75f5ec
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00486be0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x58]
push eax
lea eax, [edi + 0x28]
mov byte [ebp - 4], 0x16
push eax
push 0xa2
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a508
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x49a1b9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a1af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a518
push edx
push ecx
call fcn.00516d60
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0x70], 0
push 0x75f5ec
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00486be0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x70]
push eax
lea eax, [edi + 0x2c]
mov byte [ebp - 4], 0x17
push eax
push 0xaa
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a51d
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x49a245
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a23b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a52d
push edx
push ecx
call fcn.00516d60
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x75f5ec
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00486be0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x88]
push eax
lea eax, [edi + 0x30]
mov byte [ebp - 4], 0x18
push eax
push 0xa6
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a532
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x49a2e0
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a2d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a542
push edx
push ecx
call fcn.00516d60
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xa0], 0
push 0x75f5ec
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00486be0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0xa0]
push eax
lea eax, [edi + 0x34]
mov byte [ebp - 4], 0x19
push eax
push 0xa7
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a547
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x49a384
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a37a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a557
push edx
push ecx
call fcn.00516d60
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xb8], 0
push 0x75f5ec
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00486be0
mov esi, dword [ebx + 4]
lea eax, [ebp - 0xb8]
push eax
lea eax, [edi + 0x38]
mov byte [ebp - 4], 0x1a
push eax
push 0xa8
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a55c
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x49a428
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a41e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a56c
push edx
push ecx
call fcn.00516d60
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xd0], 0
push 0x75f5ec
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.00486be0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [edi + 0x3c]
push eax
push 0xa9
lea ecx, [ebp - 0x34]
call fcn.00570520
test al, al
je 0x49a571
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x49a4c5
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49a4bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49a584
push edx
push ecx
call fcn.00516d60
add esp, 8
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
sub eax, dword [edi + 0xc]
cdq
sub eax, edx
sar eax, 1
push 1
mov dword [edi + 0x14], eax
call esi
sub eax, dword [edi + 0x10]
lea ecx, [ebp - 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x18], eax
call fcn.00570480
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0x9d
push esi
call fcn.00478fd0
call fcn.0070f5b4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0x9e
push esi
call fcn.00478fd0
call fcn.0070f5b4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0x9f
push esi
call fcn.00478fd0
call fcn.0070f5b4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa0
push esi
call fcn.00478fd0
call fcn.0070f5b4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa1
push esi
call fcn.00478fd0
call fcn.0070f5b4
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa2
push eax
call fcn.00478fd0
call fcn.0070f5b4
int3