Function at 0x421960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593369
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
lea ecx, [ebx + 4]
setne al
mov byte [ebx + 0xb2], al
call fcn.00413340
lea ecx, [ebx + 0x1c]
call fcn.00413340
push esi
push dword [ebp + 8]
lea ecx, [ebx + 0xf0]
call fcn.0050e9a0
push 0xa
xor eax, eax
mov dword [ebp - 0xd8], 7
push str.workflowId
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
call fcn.00413c10
lea eax, [ebx + 0x80]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebx + 0xf0]
call fcn.0050f030
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x421a37
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00414580
push 0x16
xor eax, eax
mov dword [ebp - 0xd8], 7
push str.lbsInstallerWorkflowID
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
call fcn.00413c10
lea eax, [ebx + 0x98]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebx + 0xf0]
call fcn.0050f030
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x421aa4
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 3
call fcn.00511fe0
push 6
xor eax, eax
mov dword [ebp - 0xd8], 7
push 0x5c2960
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
call fcn.00413c10
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebx + 0xf0]
call fcn.0050f030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 0xd1], al
cmp ecx, 8
jb 0x421b5c
inc ecx
push ecx
push dword [ebp - 0xec]
lea ecx, [ebp - 0xec]
call fcn.00414580
mov al, byte [ebp - 0xd1]
lea ecx, [ebx + 0xd0]
test al, al
je 0x421b6f
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x421b83
jmp 0x421b79
lea eax, [ebp - 0xd0]
cmp ecx, eax
je 0x421b83
push 0xffffffffffffffff
push 0
push eax
call fcn.00414130
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xec]
push 8
push str.pipename
mov dword [ebp - 0xd8], 7
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xec], ax
call fcn.00413c10
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebx + 0xf0]
call fcn.0050f030
mov byte [ebx + 0xb3], al
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x421c12
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00414580
mov eax, fcn.00420d90
test eax, eax
je 0x421c3e
push str.Extracting_config_xml
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
push 0x5c29b0
push 0x69
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0xa0]
push 0
cmovae ecx, dword [ebp - 0x28]
call fcn.005025d0
mov edi, fcn.00420d90
add esp, 4
test edi, edi
je 0x421cf3
push str.Config_xml_extracted
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
lea eax, [ebp - 0xa0]
lea esi, [ebx + 0xfc]
push eax
mov ecx, esi
call fcn.00435150
test al, al
jne 0x421d39
test edi, edi
je 0x421d32
push str.Failed_to_initialize_config_xml.
push str.InitError
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x32
call fcn.00420d90
add esp, 0x18
xor bl, bl
jmp 0x422084
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.00437090
mov byte [ebp - 4], 9
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push 4
cmovae eax, dword [ebp - 0x88]
push str.TEST
push dword [ebp - 0x78]
push eax
call fcn.0041dd20
add esp, 0x10
test eax, eax
sete al
mov byte [ebx + 0xb0], al
test al, al
je 0x421d85
mov byte [ebx + 0xb2], 1
test edi, edi
je 0x421dac
push str.Extracting_embedded_data
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
call fcn.00422190
test al, al
je 0x421ea2
cmp dword [ebp - 0x30], 0
sete al
test al, al
jne 0x421e81
test edi, edi
je 0x421e09
push str.Found_embedded_data.
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004352c0
test al, al
jne 0x421e2a
test edi, edi
je 0x421eec
push str.Failed_to_initialize_with_embedded_json_data.
jmp 0x421eab
test edi, edi
je 0x421eec
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.00437a90
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x421e4c
mov eax, dword [eax]
push eax
push str.Embedded_Json_contextParams_:__s
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x1c
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.004137d0
jmp 0x421ec9
test edi, edi
je 0x421eec
push str.Embedded_data_not_found
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x1e
jmp 0x421ec1
test edi, edi
je 0x421eec
push str.Failed_to_fetch_embedded_json_data.
push str.InitError
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x28
call fcn.00420d90
add esp, 0x18
push str.Parsing_AccConfigXml.
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
mov ecx, ebx
call fcn.004228c0
test edi, edi
je 0x421f1a
push str.AccConfigXml_parsed.
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x14
call fcn.00420d90
add esp, 0x18
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
push 0x5c2c10
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xc
call fcn.00413890
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebx + 0xf0]
call fcn.0050f030
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 0xd1], al
cmp ecx, 8
jb 0x421f8a
inc ecx
push ecx
push dword [ebp - 0xec]
lea ecx, [ebp - 0xec]
call fcn.00414580
mov al, byte [ebp - 0xd1]
test al, al
je 0x421f99
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004365d0
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.00437630
push eax
lea ecx, [ebx + 0x104]
mov byte [ebp - 4], 0xe
call fcn.0043a550
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf0]
cmp eax, 8
jb 0x421fd9
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00414580
test edi, edi
je 0x422000
push str.ApplicationContext_initialized_successfully.
push 0x5c0ec0
push 0x5c0ec0
push str.ApplicationContext
push str.Bootstrapper
push 0x1e
call fcn.00420d90
add esp, 0x18
mov eax, dword [ebp - 0x5c]
mov bl, 1
cmp eax, 8
jb 0x422017
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
cmp eax, 0x10
jb 0x422040
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408330
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 8
jb 0x42206d
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x422099
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408330
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x4220c9
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x422104
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa8], 0
cmp eax, 8
jb 0x422136
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00414580
mov ecx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x422168
inc ecx
push ecx
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call fcn.00414580
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055eeb4
mov esp, ebp
pop ebp
ret 8