Function at 0x497620
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 0x73be2f
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], 0x75a388
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 0x497799
push 0x8000000
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
mov dword [edi + 0x1c], eax
jmp 0x497831
cmp byte [0xa902b2], 0
mov ecx, dword [0x83f0d0]
je 0x4977c4
cmp byte [0x8f028c], 0
je 0x4977c4
test cl, cl
je 0x497831
cmp cl, 6
jb 0x497831
shr ecx, 8
cmp cl, 3
jb 0x497831
jmp 0x4977c8
test cl, cl
je 0x497831
mov dword [ebp - 0x14], 0xb72342
mov esi, dword [ebp - 0x14]
mov eax, dword [0x83f0d0]
sub esi, 0x417f5a
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 0x4977f0
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.00513f20
add esp, 0x28
lea ecx, [ebp - 0x34]
call fcn.0056b860
push 3
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x75a43c
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.00483f80
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.0056b960
test al, al
je 0x497c18
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x4978c9
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4978bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c28
push edx
push ecx
call fcn.00512900
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0x70], 0
push 0x75a43c
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00483f80
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.0056b960
test al, al
je 0x497c2d
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x497955
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49794b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c3d
push edx
push ecx
call fcn.00512900
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x75a43c
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00483f80
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.0056b960
test al, al
je 0x497c42
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x4979f0
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4979e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c52
push edx
push ecx
call fcn.00512900
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xa0], 0
push 0x75a43c
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00483f80
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.0056b960
test al, al
je 0x497c57
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x497a94
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497a8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c67
push edx
push ecx
call fcn.00512900
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xb8], 0
push 0x75a43c
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.00483f80
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.0056b960
test al, al
je 0x497c6c
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x497b38
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497b2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c7c
push edx
push ecx
call fcn.00512900
add esp, 8
push 3
xor eax, eax
mov dword [ebp - 0xd0], 0
push 0x75a43c
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.00483f80
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.0056b960
test al, al
je 0x497c81
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x497bd5
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497bcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c94
push edx
push ecx
call fcn.00512900
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.0056b8c0
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.004765b0
call fcn.0070b6e4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0x9e
push esi
call fcn.004765b0
call fcn.0070b6e4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0x9f
push esi
call fcn.004765b0
call fcn.0070b6e4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa0
push esi
call fcn.004765b0
call fcn.0070b6e4
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa1
push esi
call fcn.004765b0
call fcn.0070b6e4
mov eax, dword [ebx + 4]
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcDialog.cpp
push 0xa2
push eax
call fcn.004765b0
call fcn.0070b6e4
int3