Function at 0x43d300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4ba110]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x30
mov dword [esi + 8], ebx
call fcn.004740ea
add esp, 4
cmp eax, ebx
je 0x43dcd0
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x2c], 1
mov ecx, dword [esi + 4]
push str.json
mov byte [ecx + 0x2d], 1
mov eax, dword [0x4bbed0]
mov edx, dword [0x4bb674]
push 0xfc
push eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x43d42f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40], eax
cmp eax, ebx
je 0x43d42f
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x40]
mov edi, eax
push ecx
mov dword [ebp - 0x48], edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x43d42f
inc edi
push edi
call fcn.0045dd6a
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
push edx
push ecx
push eax
mov dword [ebp - 0x40], eax
call fcn.00473580
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x48]
add esp, 0x10
push edi
lea ecx, [ebp - 0x50]
mov byte [edx + eax], bl
call fcn.00401810
test eax, eax
je 0x43d3e6
mov eax, dword [ebp - 0x50]
xor ecx, ecx
mov dword [eax - 8], edi
mov word [eax + edi*2], cx
mov edx, dword [ebp - 0x48]
push edi
push eax
mov eax, dword [ebp - 0x40]
push edx
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x50]
mov edi, eax
call fcn.00401b30
cmp edi, 0xffffffff
jne 0x43d417
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov eax, dword [ebp - 0x50]
mov dword [eax - 8], edi
xor edx, edx
mov word [eax + edi*2], dx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00473f58
add esp, 4
mov eax, dword [ebp - 0x50]
cmp dword [eax - 8], ebx
je 0x43dc77
push eax
call fcn.00423180
mov edi, eax
push edi
mov dword [ebp - 0x40], edi
call fcn.004234e0
push 0x48
mov dword [ebp - 0x58], ebx
call fcn.004740ea
add esp, 0xc
cmp eax, ebx
je 0x43dcac
mov dword [ebp - 0x5c], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 8], eax
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 0x44], 1
mov edx, dword [ebp - 0x5c]
mov byte [edx + 0x45], 1
push 2
xor eax, eax
push 0x4a98a4
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x3c], ax
call fcn.0040b930
push edi
call fcn.004234e0
mov ecx, dword [ebp - 0x40]
push ecx
mov edi, eax
mov dword [ebp - 0x48], eax
call fcn.004234f0
add esp, 8
cmp edi, eax
je 0x43d648
jmp 0x43d4c3
mov edi, dword [ebp - 0x48]
mov edx, dword [edi]
push edx
call fcn.00423470
mov eax, dword [edi]
push eax
call fcn.00423280
add esp, 8
xor ecx, ecx
mov word [ebp - 0x20], cx
mov ecx, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
lea edi, [ecx + 2]
jmp 0x43d4f0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43d4f0
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b930
mov eax, dword [ebp - 0x3c]
mov edi, 8
cmp dword [ebp - 0x28], edi
jae 0x43d519
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
push edx
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040b580
test eax, eax
sete byte [ebp - 0x49]
cmp dword [ebp - 0xc], edi
jb 0x43d542
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00473515
add esp, 4
cmp byte [ebp - 0x49], bl
jne 0x43d569
mov edi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
add edi, 4
push edx
mov dword [ebp - 0x48], edi
call fcn.004234f0
add esp, 4
cmp edi, eax
jne 0x43d4c0
jmp 0x43d648
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00423400
push eax
mov dword [ebp - 0x40], eax
call fcn.004234e0
mov edx, dword [ebp - 0x40]
push edx
mov dword [ebp - 0x48], eax
call fcn.004234f0
add esp, 0xc
cmp dword [ebp - 0x48], eax
je 0x43d64d
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00423280
add esp, 4
xor edx, edx
mov ecx, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], dx
lea edi, [ecx + 2]
jmp 0x43d5c0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43d5c0
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b930
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push ecx
call fcn.00423340
add esp, 4
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.0040ae90
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x44], ecx
lea ecx, [ecx]
mov cx, word [edx]
add edx, 2
cmp cx, bx
jne 0x43d600
sub edx, dword [ebp - 0x44]
mov ecx, eax
sar edx, 1
push edx
push edi
call fcn.0040b930
cmp dword [ebp - 0xc], 8
jb 0x43d62b
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
add edi, 4
push eax
mov dword [ebp - 0x48], edi
call fcn.004234f0
add esp, 4
cmp edi, eax
jne 0x43d595
mov edi, 8
xor ecx, ecx
push 0x14
mov word [ebp - 0x20], cx
push str.IDS_INTERNET_PROBLEM
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
call fcn.0040b930
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], ebx
call fcn.0040b010
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d6a8
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push edi
xor eax, eax
push str.IDS_EXIT
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 1
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d706
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x11
xor eax, eax
push str.IDS_ERROR_CAPTION
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 2
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d765
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x17
xor eax, eax
push str.IDS_CANCEL_INSTALLATION
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 3
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d7c4
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0xd
xor eax, eax
push str.EMSG_INTERNET
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 4
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d823
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x10
xor eax, eax
push str.IDS_BROWSER_NAME
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 5
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d882
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x18
xor eax, eax
push str.IDS_INSTALLATION_CAPTION
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 6
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d8e1
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x18
xor eax, eax
push str.IDS_WAIT_CONFLICTING_APP
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 7
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d940
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x17
xor eax, eax
push str.IDS_CONFLICTING_APP_FRM
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], edi
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d99b
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x1b
xor eax, eax
push str.IDS_PROGRESS_STATUS_CAPTION
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 9
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43d9fa
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x13
xor eax, eax
push str.IDS_INSTALL_INITIAL
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xa
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43da59
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x13
xor eax, eax
push str.EMSG_FILESIZE_ERROR
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xb
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43dab8
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0xd
xor eax, eax
push str.EMSG_DOWNLOAD
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xc
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43db17
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0xf
xor eax, eax
push str.EMSG_CREATEFILE
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xd
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43db76
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0x10
xor eax, eax
push str.EMSG_ALREADY_RUN
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xe
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43dbd5
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
push 0xf
xor eax, eax
push 0x49c148
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
call fcn.0040b930
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], 0xf
call fcn.0040b010
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
mov dword [ebp - 0x40], eax
call fcn.0043d200
mov ecx, dword [ebp - 0x40]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, eax
call fcn.0040b320
cmp dword [ebp - 0xc], edi
jb 0x43dc34
mov edx, dword [ebp - 0x20]
push edx
call fcn.00473515
add esp, 4
cmp dword [ebp - 0x28], edi
jb 0x43dc45
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00473515
add esp, 4
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov word [ebp - 0x3c], cx
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push eax
push ecx
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x60]
call fcn.0040beb0
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00473515
mov eax, dword [ebp - 0x50]
add esp, 4
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4bb670]
je 0x43dc99
lea edi, [eax - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43dc99
push edi
call fcn.00473f58
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047421a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x44], ebx
call fcn.00473ffc
push 0x4b1784
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 0x6c], vtable.std::bad_alloc.0
call fcn.0047416a
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x44], ebx
call fcn.00473ffc
push 0x4b1784
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], vtable.std::bad_alloc.0
call fcn.0047416a
int3