joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f5da
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00506540
push 0x2454
push 0
push esi
call fcn.00506540
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x2148]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2348]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x2048]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42f65e
sub eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0xc]
sar eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42f6b8
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x42f694
cmp eax, 4
je 0x42f694
cmp eax, 1
jne 0x42f6b8
mov cx, word [ebp - 0x24]
and dword [esi + 0x2448], 0
and dword [esi + 0x244c], 0
or dword [esi + 0x2450], 0xffffffff
mov dword [esi + 4], eax
xor eax, eax
mov word [esi], cx
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x42f6bc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [esi + 0xc], edi
je 0x42f6cc
xor eax, eax
jmp 0x42f740
lea eax, [esi + 0x5d538]
push str.MetalinkFile
push eax
call fcn.004fee68
pop ecx
pop ecx
cmp eax, edi
je 0x42f6f8
xor ecx, ecx
mov word [eax], cx
add eax, 0x1a
push eax
call fcn.004ffa28
pop ecx
mov dword [esi + 0x2694], eax
mov eax, esi
call fcn.00433368
test eax, eax
je 0x42f6c8
push edi
push edi
push 1
push edi
call dword [0x52b200]
mov dword [esi + 0x2464], eax
cmp eax, edi
je 0x42f73d
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x42fa3c
push edi
push edi
mov dword [ebp - 4], edi
mov dword [esi + 0x5d100], 8
call fcn.0050047f
add esp, 0x18
mov dword [esi + 0xc], eax
xor eax, eax
inc eax
pop edi
leave
ret

Function at 0x430630
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 0x26dc]
push ebx
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x20]
xor ebx, ebx
inc ebx
mov dword [esi + 0x28], 2
cmp dword [eax + 4], ebx
je 0x4306a1
cmp dword [edi + 0x2480], 0
je 0x43068e
push dword [esi + 0xc]
and dword [ebp - 4], 0
call dword [0x52b1fc]
lea eax, [ebp - 4]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x430692
push dword [esi + 0xc]
call dword [0x52b1a0]
mov eax, ebx
jmp 0x4306c5
call dword [0x52b28c]
cmp eax, 0x3e5
jne 0x4306c3
jmp 0x43068e
cmp dword [esi], 0
jne 0x4306b2
mov eax, dword [esi + 4]
test eax, eax
je 0x4306b2
mov dword [esi + 0x18], eax
jmp 0x43068e
and dword [esi + 0x28], 0
push ebx
push ecx
mov ecx, edi
call fcn.00431d32
test eax, eax
jne 0x43068e
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x43114d
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x26dc]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], 6
cmp dword [eax + 4], 1
je 0x4311c1
cmp dword [edi + 0x2480], 0
je 0x4311ee
push dword [esi + 0xc]
and dword [ebp + 8], 0
call dword [0x52b1fc]
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2484]
push dword [edi + 0x2480]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4311af
push dword [esi + 0xc]
call dword [0x52b1a0]
jmp 0x4311ee
call dword [0x52b28c]
sub eax, 0x3e5
neg eax
sbb eax, eax
inc eax
jmp 0x4311f1
cmp dword [esi], 0
jne 0x4311d2
mov eax, dword [esi + 4]
test eax, eax
je 0x4311d2
mov dword [esi + 0x18], eax
jmp 0x4311ee
push 1
push ebx
mov ecx, edi
mov dword [esi + 0x28], 4
call fcn.00431d32
test eax, eax
jne 0x4311ee
mov eax, ebx
call fcn.00431896
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4314d0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x26dc]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [eax + ecx*4]
push edi
push 0xa
pop ecx
xor eax, eax
lea edi, [esi + 0x8044]
rep stosd dword es:[edi], eax
mov edi, 0x8000
push edi
push eax
lea ebx, [esi + 0x40]
push ebx
mov dword [esi + 0x8044], 0x28
call fcn.00506540
mov ecx, dword [esi + 0x8040]
mov dword [esi + 0x8058], ebx
add esp, 0xc
lea ebx, [esi + 0x805c]
mov dword [ebx], edi
test ecx, ecx
je 0x43153b
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0x18]
sub eax, dword [ecx + 8]
inc eax
cmp eax, edi
jle 0x431537
mov eax, edi
mov dword [ebx], eax
jmp 0x431564
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5d108], 0xffffffff
jne 0x431550
cmp dword [ecx + 0x5d10c], 0xffffffff
je 0x431564
mov eax, dword [ecx + 0x5d108]
sub eax, dword [ecx + 0x5d118]
cmp eax, edi
jg 0x431562
mov edi, eax
mov dword [ebx], edi
push dword [esi + 0xc]
call dword [0x52b1fc]
mov eax, dword [esi + 0x20]
xor edi, edi
inc edi
mov dword [esi + 0x28], 9
cmp dword [eax + 4], edi
je 0x4315c3
push esi
push edi
lea eax, [esi + 0x8044]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x4315a2
push dword [esi + 0xc]
call dword [0x52b1a0]
mov eax, edi
jmp 0x4315bc
call dword [0x52b28c]
cmp eax, 0x3e5
je 0x43159e
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
call fcn.00431896
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
push ebx
push dword [ebx]
push dword [esi + 0x8058]
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x431591
Function at 0x43199e
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor edx, edx
xor esi, esi
xor ecx, ecx
cmp dx, word [eax + 0x61858]
je 0x4319c8
lea ecx, [eax + 0x61858]
push 0x10000000
push esi
push esi
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x14], eax
cmp eax, esi
je 0x431b41
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov esi, dword [edi + 0x20]
lea edx, [esi + 0x2348]
mov ecx, edx
mov dword [ebp - 0x14], 3
lea eax, [ecx + 2]
mov bx, word [ecx]
add ecx, 2
test bx, bx
jne 0x431a00
sub ecx, eax
sar ecx, 1
je 0x431a14
mov dword [ebp - 0xc], edx
lea edx, [esi + 0x2048]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431a1f
sub ecx, ebx
sar ecx, 1
je 0x431a33
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], 0
mov ebx, dword [ebp + 8]
jne 0x431a5f
lea edx, [ebx + 0x60610]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431a4a
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x431a5f
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x10], 0
jne 0x431a88
lea edx, [ebx + 0x60710]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431a73
sub ecx, dword [ebp - 8]
sar ecx, 1
je 0x431a88
mov dword [ebp - 0x10], edx
xor eax, eax
inc eax
cmp dword [esi + 4], eax
jne 0x431a93
mov dword [ebp - 0x14], eax
push 0x42fafa
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [edi + 0x20]
movzx ecx, word [eax]
push edi
push dword [ebx + 0x26d8]
add eax, 0x2148
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push ecx
push eax
push dword [edi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0x18], eax
test eax, eax
je 0x431b41
add ebx, 0x60810
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431ad9
sub eax, edx
sar eax, 1
je 0x431b3c
mov dword [ebp - 0x24], 3
test ebx, ebx
je 0x431b04
push ebx
call dword [0x52b250]
inc eax
cmp eax, 0x3fffffff
jle 0x431b0a
and dword [ebp - 0x20], 0
jmp 0x431b24
lea esi, [eax + eax]
mov eax, esi
call fcn.00511970
mov eax, esp
push 3
push esi
push ebx
mov esi, eax
call fcn.0042f216
mov dword [ebp - 0x20], eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x26
push dword [edi + 0x14]
mov dword [ebp - 0x1c], 0x54475a
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x431b43
xor eax, eax
lea esp, [ebp - 0x2c]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fe191
leave
ret 4
Function at 0x431b56
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0050c890
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1014], edi
mov dword [ebp - 0x1010], 0x54954c
cmp dword [edi + 0x2480], ebx
je 0x431b95
mov dword [ebp - 0x1010], str.POST
xor eax, eax
push 0xffe
mov word [ebp - 0x1008], ax
lea eax, [ebp - 0x1006]
push ebx
push eax
mov dword [ebp - 0x100c], ebx
mov dword [ebp - 0x1020], 0x549560
mov dword [ebp - 0x101c], ebx
call fcn.00506540
mov eax, dword [esi + 0x20]
add esp, 0xc
lea ecx, [eax + 0x1048]
push ecx
add eax, 0x48
push eax
push str._s_s
lea eax, [ebp - 0x1008]
push 0x7ff
push eax
call fcn.00433629
add esp, 0x14
mov eax, 0x8400c300
cmp dword [edi + 0x62cbc], ebx
je 0x431c02
mov eax, 0x8408c300
mov ecx, dword [esi + 0x20]
cmp dword [ecx + 4], 4
jne 0x431c10
or eax, 0x803000
push esi
push eax
lea eax, [ebp - 0x1020]
push eax
push ebx
push str.HTTP_1.1
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 0x1010]
push dword [esi + 0x18]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x431d1e
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x1010]
push ecx
push 2
push eax
mov dword [ebp - 0x1010], 0x3a98
call edi
push 4
lea eax, [ebp - 0x1018]
push eax
push 0x41
push dword [esi + 0x1c]
mov dword [ebp - 0x1018], 1
call edi
push 0xa
mov dword [ebp - 0x100c], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x1048]
rep stosd dword es:[edi], eax
xor ecx, ecx
push 2
pop edx
mov eax, 0x5168
mul edx
seto cl
mov dword [ebp - 0x1048], 0x28
neg ecx
or ecx, eax
push ecx
call fcn.004fd727
mov edi, eax
pop ecx
cmp edi, ebx
je 0x431cf9
push 0xa2d0
push ebx
push edi
call fcn.00506540
add esp, 0xc
push dword [ebp - 0x100c]
mov edx, edi
push dword [ebp - 0x1014]
mov ecx, esi
call fcn.00431ea8
mov eax, edi
mov dword [ebp - 0x1040], edi
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x431ce4
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x103c], eax
push esi
push 1
push ebx
lea eax, [ebp - 0x1048]
push eax
push dword [esi + 0x1c]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov dword [ebp - 0x100c], eax
cmp edi, ebx
je 0x431d1e
push edi
call fcn.004fe819
pop ecx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x100c]
pop edi
xor ecx, ebp
pop ebx
call fcn.004fe191
leave
ret
Function at 0x4351a8
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7b4]
sub esp, 0x834
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp + 0x7b0], eax
mov eax, dword [ebp + 0x7bc]
push ebx
mov ebx, dword [ebp + 0x7c4]
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x7c0]
mov esi, 0x823
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.00506540
add esp, 0xc
cmp dword [ebp + 0x7c8], 0
push ebx
je 0x4352be
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push esi
push eax
call fcn.00500713
lea eax, [ebp - 0x74]
add esp, 0x18
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43522a
sub eax, esi
push 0x545388
push ebx
mov esi, eax
call fcn.0050087b
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 0x78], ebx
test ebx, ebx
je 0x435301
push 2
push 0
push ebx
call fcn.00500b15
push ebx
call fcn.00500a26
push 0
push 0
push ebx
mov dword [ebp - 0x80], eax
call fcn.00500b15
mov eax, dword [ebp - 0x80]
lea ebx, [eax + esi + 2]
add esp, 0x1c
cmp ebx, dword [edi]
jae 0x4352b0
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call fcn.00504670
push dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
push 1
push dword [ebp - 0x80]
add eax, esi
push eax
call fcn.004ff746
mov eax, dword [ebp - 0x7c]
add esp, 0x1c
add eax, dword [ebp - 0x80]
mov ecx, 0xa0d
mov word [eax + esi], cx
mov dword [edi], ebx
jmp 0x4352b3
and dword [edi], 0
push dword [ebp - 0x78]
call fcn.004ffacc
pop ecx
jmp 0x435304
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push esi
push eax
call fcn.00500713
lea eax, [ebp - 0x74]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4352de
sub eax, ecx
mov esi, eax
cmp esi, dword [edi]
jae 0x435301
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call fcn.00504670
add esp, 0xc
mov dword [edi], esi
jmp 0x435304
and dword [edi], 0
mov ecx, dword [ebp + 0x7b0]
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe191
add ebp, 0x7b4
leave
ret
Function at 0x435a59
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.0050c890
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
push ebx
mov ebx, dword [ebp + 0x3f98]
xor eax, eax
push 0x3ffe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.00506540
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
test eax, eax
je 0x435b0a
cmp eax, 0x3fff
ja 0x435b0a
lea ecx, [ebp - 0x74]
push ecx
push eax
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x435b0a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x5448bc
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x435b0a
mov eax, dword [ebp - 0x78]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x5448c0
push ebx
push edi
call fcn.004ff336
xor eax, eax
add esp, 0x1c
mov word [edi + ebx*2 - 2], ax
inc eax
jmp 0x435b0c
xor eax, eax
mov ecx, dword [ebp + 0x3f8c]
xor ecx, ebp
pop ebx
call fcn.004fe191
add ebp, 0x3f90
leave
ret

Function at 0x435b22
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 4], 0x104
mov ebx, 0x6c8508
cmp ax, word [0x6c8508]
jne 0x435b65
push eax
push 0x26
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x435b4f
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 4]
mov edi, 0x59f098
mov esi, ebx
call fcn.00435a59
mov esi, eax
pop ecx
test esi, esi
jne 0x435bb0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x435bb0
xor eax, eax
cmp ax, word [0x59f098]
je 0x435bb0
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x436b60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x119c]
mov eax, 0x121c
call fcn.0050c890
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp + 0x1198], eax
mov eax, dword [ebp + 0x11a4]
and dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x436c80
lea eax, [ebp - 0x80]
push eax
push 0x1000
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x436c80
and dword [ebp - 0x74], 0
push ebx
mov ebx, dword [ebp - 0x80]
shr ebx, 2
test ebx, ebx
je 0x436c7a
push esi
mov esi, dword [0x52b17c]
push edi
push 0x208
lea eax, [ebp + 0xf90]
push 0
push eax
call fcn.00506540
mov eax, dword [ebp - 0x74]
add esp, 0xc
push dword [ebp + eax*4 - 0x70]
push 0
push 0x410
call dword [0x52b144]
mov edi, eax
test edi, edi
je 0x436c5d
push 0x104
lea eax, [ebp + 0xf90]
push eax
push 0
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x436c5d
lea eax, [ebp + 0xf90]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x543538
push eax
call fcn.004ff138
pop ecx
pop ecx
test eax, eax
jne 0x436c5d
mov eax, dword [ebp - 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436c37
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x7c]
lea eax, [ebp + 0xf90]
push eax
call fcn.00500c76
add esp, 0xc
test eax, eax
je 0x436c6e
push edi
call esi
inc dword [ebp - 0x74]
cmp dword [ebp - 0x74], ebx
jb 0x436bca
jmp 0x436c78
push edi
mov dword [ebp - 0x78], 1
call esi
pop edi
pop esi
mov eax, dword [ebp - 0x78]
pop ebx
jmp 0x436c82
xor eax, eax
mov ecx, dword [ebp + 0x1198]
xor ecx, ebp
call fcn.004fe191
add ebp, 0x119c
leave
ret

Function at 0x436e20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
xor ebx, ebx
mov edi, eax
mov dword [ebp - 8], ebx
call fcn.00437264
cmp eax, 1
jl 0x436e7b
push 0x312
push str.installerutilinstall_util.cc
or eax, 0xffffffff
lea esi, [ebp - 0xbc]
inc ebx
call fcn.0044dd2b
add eax, 8
push str.Deleting_registry_key
push eax
call fcn.0040c261
cmp dword [edi + 0x14], 8
pop ecx
pop ecx
jb 0x436e70
mov edx, dword [edi]
jmp 0x436e72
mov edx, edi
push edx
mov ecx, eax
call fcn.0044e316
pop ecx
test bl, 1
je 0x436e8e
lea esi, [ebp - 0xbc]
and ebx, 0xfffffffe
call fcn.0044dd6a
cmp dword [edi + 0x14], 8
jb 0x436e96
mov edi, dword [edi]
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x436ebd
cmp eax, 2
je 0x436ebd
test bl, 2
je 0x436eb9
lea esi, [ebp - 0xbc]
call fcn.0044dd6a
xor al, al
jmp 0x436ebf
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436ec4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x14], 8
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
jb 0x436ee2
mov edi, dword [eax]
jmp 0x436ee4
mov edi, eax
lea esi, [ebp - 8]
call fcn.0044effe
mov eax, esi
push eax
push 2
push ebx
push edi
push dword [ebp + 8]
call dword [0x52b010]
cmp eax, ebx
jne 0x436f19
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x436f0b
mov eax, dword [eax]
push eax
push dword [ebp - 8]
call dword [0x52b00c]
cmp eax, ebx
je 0x436f2d
cmp eax, 2
je 0x436f2d
lea esi, [ebp - 8]
call fcn.0044effe
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov bl, 1
jmp 0x436f1e

Function at 0x436f31
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
push 0x38
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00506540
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x34], str.runas
jb 0x436f6d
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
jmp 0x436f70
mov dword [ebp - 0x30], esi
cmp dword [edi + 0x14], 8
jb 0x436f7d
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
jmp 0x436f80
mov dword [ebp - 0x2c], edi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x436f99
xor al, al
jmp 0x436fc4
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [0x52b138]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call dword [0x52b154]
test eax, eax
je 0x436f95
test ebx, ebx
je 0x436fc2
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov al, 1
pop ebx
leave
ret
Function at 0x436fc7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x58569c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x44], eax
call fcn.004380f1
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call dword [edx + 0x5c]
mov eax, dword [ebp - 0x3c]
xor edi, edi
cmp dword [ebp - 0x28], 8
mov dword [ebp - 0x40], edi
jae 0x437000
lea eax, [ebp - 0x3c]
push edi
lea ecx, [ebp - 0x40]
push ecx
push edi
push 2
push edi
push edi
push edi
push eax
push 0x80000001
call dword [0x52b060]
test eax, eax
jne 0x437096
cmp dword [ebp - 0x40], edi
je 0x437096
mov esi, dword [0x52b01c]
push 4
lea eax, [ebp - 0x48]
push eax
push 4
push edi
push str.InstallerResult
push dword [ebp - 0x40]
mov dword [ebp - 0x48], 1
call esi
push 4
lea eax, [ebp + 8]
push eax
push 4
push edi
push str.InstallerError
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.00437692
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
pop ecx
pop ecx
jae 0x43706d
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
add ecx, ecx
push ecx
push eax
push 1
push edi
push str.InstallerResultUIString
push dword [ebp - 0x40]
call esi
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.004021a4
push dword [ebp - 0x40]
call dword [0x52b018]
push 1
xor edi, edi
lea esi, [ebp - 0x3c]
call fcn.004021a4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fe191
leave
ret

Function at 0x437878
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x54a018
xor esi, esi
push 1
push esi
mov dword [ebp - 8], esi
push 0x52ea2c
mov dword [ebp - 8], esi
call dword [0x52b698]
test eax, eax
jns 0x4378b4
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x4378b0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x437925
mov edi, dword [ebp - 8]
push str.ROOTCIMV2
mov dword [ebp - 4], esi
call dword [0x52b430]
lea ecx, [ebp - 4]
push ecx
push esi
push esi
push esi
push esi
push esi
mov ebx, eax
mov eax, dword [edi]
push esi
push ebx
push edi
call dword [eax + 0xc]
push ebx
mov edi, eax
call dword [0x52b414]
cmp edi, esi
jge 0x4378f4
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x4378a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4378a3
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 4]
call dword [0x52b67c]
test eax, eax
mov eax, dword [ebp - 4]
js 0x4378e8
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x437923
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43dc7f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx]
push edi
jmp 0x43dce0
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
mov ecx, edi
mov eax, edx
sub eax, edi
mov edi, dword [esi + 0x2c]
sub ecx, edx
neg eax
sbb eax, eax
and eax, edx
cmp dword [esi + 0x10], 0
jne 0x43dcb5
and dword [ebp - 8], 0
jmp 0x43dcc5
cmp dword [esi + 0x14], 8
jb 0x43dcc2
mov edx, dword [esi]
mov dword [ebp - 8], edx
jmp 0x43dcc5
mov dword [ebp - 8], esi
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push ecx
push eax
push edi
push 0
push dword [ebp - 8]
push edx
call dword [0x52b01c]
test eax, eax
jne 0x43dd40
add esi, 0x30
cmp esi, dword [ebx + 4]
jne 0x43dc92
mov eax, dword [ebx + 0x14]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
mov esi, dword [eax]
mov dword [ebp - 8], esi
cmp esi, eax
je 0x43dd3c
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x43dd04
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push 0x20006
push eax
push ecx
lea eax, [ebp - 0x10]
call fcn.0044ef31
test eax, eax
jne 0x43dd49
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x28]
call fcn.0043dc7f
test al, al
je 0x43dd53
lea eax, [ebp - 8]
call fcn.0043e035
mov esi, dword [ebp - 8]
cmp esi, dword [ebx + 0x14]
jne 0x43dcf9
mov bl, 1
jmp 0x43dd55
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
lea esi, [ebp - 0x10]
call fcn.0044effe
jmp 0x43dd40
xor bl, bl
lea esi, [ebp - 0x10]
call fcn.0044effe
mov al, bl
jmp 0x43dd42