joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428470
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x62c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42849c
jmp 0x428637
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x628], eax
cmp dword [ebp - 0x628], 0
je 0x4284ba
jmp 0x428637
xor edx, edx
mov word [ebp - 0x414], dx
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004938a0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x61c], cx
push 0x206
push 0
lea edx, [ebp - 0x61a]
push edx
call fcn.004938a0
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x62c]
call fcn.00428650
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x620], 0
mov eax, 1
test eax, eax
je 0x428637
mov dword [ebp - 0x624], 1
xor ecx, ecx
mov word [ebp - 0x20c], cx
push 0x206
push 0
lea edx, [ebp - 0x20a]
push edx
call fcn.004938a0
add esp, 0xc
cmp dword [ebp - 0x620], 0
jne 0x428597
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x4fa64c
lea edx, [ebp - 0x20c]
push edx
call fcn.0041ba90
add esp, 0x10
jmp 0x4285c0
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
push str._s_s.del_d
lea eax, [ebp - 0x20c]
push eax
call fcn.0041ba90
add esp, 0x14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4285e4
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
jne 0x42860c
cmp dword [ebp - 0x620], 0xa
jl 0x4285f8
jmp 0x428637
mov eax, dword [ebp - 0x620]
add eax, 1
mov dword [ebp - 0x620], eax
jmp 0x428534
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00497f07
add esp, 8
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x428637
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 4
Function at 0x429640
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.004938a0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x4296a0
mov eax, dword [ebp - 0x218]
jmp 0x42977b
push 0x4fac74
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea ecx, [ebp - 0x20c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jbe 0x429775
mov edx, dword [ebp - 0x210]
push edx
call fcn.00491bde
add esp, 4
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x21c], 0
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x210]
push edx
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42975a
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0x4fac90
mov eax, dword [ebp - 0x214]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42975a
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00491be7
add esp, 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret

Function at 0x4299a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3630
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x52e474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00402be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x429a07
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004055f0
mov al, byte [ebp - 0xd]
jmp 0x429a5d
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402b90
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x429a47
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004055f0
mov al, byte [ebp - 0xe]
jmp 0x429a5d
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004055f0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x429b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3653
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x52e474]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00402be0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x429b97
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004055f0
mov al, byte [ebp - 0xd]
jmp 0x429be9
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402b90
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x429bca
mov dword [ebp - 0x18], 1
jmp 0x429bd1
mov dword [ebp - 0x18], 0
mov al, byte [ebp - 0x18]
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004055f0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42e600
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3c79
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x54]
call fcn.00425fc0
mov dword [ebp - 4], 0
push 0x4fb31c
lea ecx, [ebp - 0x40]
call fcn.00405480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401b70
add esp, 8
movzx eax, al
test eax, eax
je 0x42e687
lea ecx, [ebp - 0x54]
call fcn.00426600
test eax, eax
jbe 0x42e687
mov dword [ebp - 0x58], 1
jmp 0x42e68e
mov dword [ebp - 0x58], 0
mov cl, byte [ebp - 0x58]
mov byte [ebp - 0x41], cl
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x48]
and edx, 1
je 0x42e6af
and dword [ebp - 0x48], 0xfffffffe
lea ecx, [ebp - 0x40]
call fcn.00404c00
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x42e7f3
push 0
push str.HEINOTE_MAIN_WND
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x5c], eax
push 0
push str.HEINOTE_MAIN_WND_U
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x60], eax
push 0
push str.HEINOTE_MAIN_WND_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x64], eax
push 0
push str.HEINOTE_MAIN_WND_U_B
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x5c], 0
jne 0x42e717
cmp dword [ebp - 0x60], 0
jne 0x42e717
cmp dword [ebp - 0x64], 0
jne 0x42e717
cmp dword [ebp - 0x68], 0
je 0x42e7f3
push 0x4fb3cc
lea ecx, [ebp - 0x28]
call fcn.00405480
mov byte [ebp - 4], 2
push 0x4fb3e8
lea ecx, [ebp - 0x28]
call fcn.00403040
push 0x4fb3f0
lea ecx, [ebp - 0x28]
call fcn.00403040
push 4
push 0x4fb428
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 6
jne 0x42e7c3
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00426450
jmp 0x42e77f
push 0
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00426110
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004265a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0043f850
movzx ecx, al
test ecx, ecx
je 0x42e7c1
lea ecx, [ebp - 0x4c]
call fcn.004260c0
mov edx, dword [eax]
push edx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x70], eax
push 0
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x42e771
jmp 0x42e7e7
mov byte [ebp - 0x42], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00426050
mov al, byte [ebp - 0x42]
jmp 0x42e809
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov byte [ebp - 0x43], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00426050
mov al, byte [ebp - 0x43]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x42ed90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3d52
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], ecx
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.004938a0
add esp, 0xc
lea ecx, [ebp - 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.Check.7z.md5
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x114]
push eax
push str.7ZDATAMD5
mov ecx, dword [ebp - 0x268]
call fcn.0042f900
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.0042f9e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.00402f90
test eax, eax
jne 0x42ee6d
mov byte [ebp - 0x261], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404c00
mov al, byte [ebp - 0x261]
jmp 0x42ef8f
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.004938a0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.7zData.7z
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x218]
push eax
push str.7ZDATA
mov ecx, dword [ebp - 0x268]
call fcn.0042f900
lea ecx, [ebp - 0x218]
push ecx
call fcn.0042e570
add esp, 4
push eax
lea ecx, [ebp - 0x260]
call fcn.00402dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.004043e0
push eax
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.0042ea70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00402fa0
push eax
lea ecx, [ebp - 0x230]
call fcn.00402fa0
push eax
call fcn.004022f0
add esp, 8
mov esi, eax
lea ecx, [ebp - 0x230]
call fcn.00402fa0
cmp esi, eax
jne 0x42ef43
mov dword [ebp - 0x26c], 1
jmp 0x42ef4d
mov dword [ebp - 0x26c], 0
mov al, byte [ebp - 0x26c]
mov byte [ebp - 0x262], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404c00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404c00
mov al, byte [ebp - 0x262]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret
Function at 0x42f1c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3ddd
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
cmp dword [ebp + 8], 0
je 0x42f201
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x42f208
xor al, al
jmp 0x42f38f
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.00495d50
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x42f22c
xor al, al
jmp 0x42f38f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405480
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x90]
sub ecx, dword [ebp + 8]
add ecx, 1
push ecx
push 0
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402e70
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004030e0
lea ecx, [ebp - 0x70]
call fcn.00404c00
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
je 0x42f29e
cmp dword [ebp - 0x94], 5
jne 0x42f2bf
mov byte [ebp - 0x89], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov al, byte [ebp - 0x89]
jmp 0x42f38f
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00405480
mov byte [ebp - 4], 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp + 8]
add edx, 1
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402e70
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004030e0
lea ecx, [ebp - 0x88]
call fcn.00404c00
push str._:____
lea ecx, [ebp - 0x58]
call fcn.00405480
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xa4]
call fcn.0042fbd0
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x42f34c
mov dword [ebp - 0x98], 1
jmp 0x42f356
mov dword [ebp - 0x98], 0
mov cl, byte [ebp - 0x98]
mov byte [ebp - 0x8a], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404c00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov al, byte [ebp - 0x8a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 4
Function at 0x42f3b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.004938a0
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
call fcn.0040db10
movsx ecx, byte [eax]
push ecx
push str._c:_
lea edx, [ebp - 0x108]
push edx
call fcn.00422ca0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov eax, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 4
Function at 0x42f450
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3e10
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28c], ecx
push 1
push 0x64
push 0
push str.http_shellopencommand
push accept
lea eax, [ebp - 0x230]
push eax
call fcn.00402650
add esp, 0x18
mov dword [ebp - 4], 0
push 0
push 0x4fb1dc
lea ecx, [ebp - 0x230]
call fcn.00402ed0
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x230]
call fcn.00402f90
sub eax, dword [ebp - 0x268]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x268]
add ecx, 1
push ecx
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402e70
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x230]
call fcn.004030e0
lea ecx, [ebp - 0x248]
call fcn.00404c00
push 0
push 0x4fb1e0
lea ecx, [ebp - 0x230]
call fcn.00402ed0
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
push ecx
push 0
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x230]
call fcn.00402e70
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
push eax
lea ecx, [ebp - 0x230]
call fcn.004030e0
lea ecx, [ebp - 0x260]
call fcn.00404c00
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x230]
call fcn.00402fa0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f5d7
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4fb1e4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x42f5c1
cmp dword [ebp - 0x26c], 0x20
ja 0x42f5c1
mov dword [ebp - 0x270], 0
jmp 0x42f5cb
mov dword [ebp - 0x270], 1
mov dl, byte [ebp - 0x270]
mov byte [ebp - 0x261], dl
movzx eax, byte [ebp - 0x261]
test eax, eax
jne 0x42f69b
push 0x44
push 0
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.004938a0
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x2d0], 0x44
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004938a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
lea eax, [ebp - 0x218]
push eax
call fcn.00422aa0
add esp, 0xc
lea ecx, [ebp - 0x288]
push ecx
lea edx, [ebp - 0x2d0]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42f69b
mov ecx, dword [ebp - 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 4
Function at 0x42f900
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00425610
mov ecx, eax
call fcn.00436700
mov dword [ebp - 8], eax
push 0x4fb27c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42f939
jmp 0x42f9ce
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f980
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42f9ce
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 8

Function at 0x42f9e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0
push 0x4fb284
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049b507
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42fa2f
push 0x4fb101
mov ecx, dword [ebp + 8]
call fcn.00405480
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
jmp 0x42fa88
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov eax, dword [ebp - 0x30]
push eax
push 0x20
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.0049b731
add esp, 0x10
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x30]
push edx
call fcn.0049b282
add esp, 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405480
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 8
Function at 0x4322c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x944
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x924], 0xffffffff
mov dword [ebp - 0x90c], 0
mov byte [ebp - 0x104], 0
push 0xff
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.004938a0
add esp, 0xc
call fcn.0040df10
mov dword [ebp - 0x938], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x918], ecx
cmp dword [ebp - 0x918], 0
jne 0x432330
mov dword [ebp - 0x92c], 0
jmp 0x4323ef
mov edx, dword [ebp - 0x918]
mov dword [ebp - 0x908], edx
mov eax, dword [ebp - 0x908]
add eax, 2
mov dword [ebp - 0x930], eax
mov ecx, dword [ebp - 0x908]
mov dx, word [ecx]
mov word [ebp - 0x90e], dx
add dword [ebp - 0x908], 2
cmp word [ebp - 0x90e], 0
jne 0x43234b
mov eax, dword [ebp - 0x908]
sub eax, dword [ebp - 0x930]
sar eax, 1
mov dword [ebp - 0x934], eax
mov ecx, dword [ebp - 0x934]
add ecx, 1
mov dword [ebp - 0x914], ecx
cmp dword [ebp - 0x914], 0x3fffffff
jle 0x4323a7
mov dword [ebp - 0x928], 0
jmp 0x4323e3
mov eax, dword [ebp - 0x914]
shl eax, 1
call fcn.00492450
mov dword [ebp - 0x93c], esp
mov edx, dword [ebp - 0x938]
push edx
mov eax, dword [ebp - 0x914]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x918]
push ecx
mov edx, dword [ebp - 0x93c]
push edx
call fcn.00431da0
mov dword [ebp - 0x928], eax
mov eax, dword [ebp - 0x928]
mov dword [ebp - 0x92c], eax
mov ecx, dword [ebp - 0x92c]
push ecx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea edx, [ebp - 0x104]
push edx
call fcn.00422ca0
add esp, 0xc
lea eax, [ebp - 0x90c]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x104]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x432533
xor edx, edx
mov word [ebp - 0x904], dx
push 0x7fe
push 0
lea eax, [ebp - 0x902]
push eax
call fcn.004938a0
add esp, 0xc
mov dword [ebp - 0x940], 0x800
lea ecx, [ebp - 0x940]
push ecx
lea edx, [ebp - 0x904]
push edx
push 0
push 0
push str.PnpInstanceID
mov eax, dword [ebp - 0x90c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432526
push 3
push 0x4fb9d4
lea ecx, [ebp - 0x904]
push ecx
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x432526
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x944], 4
lea edx, [ebp - 0x944]
push edx
lea eax, [ebp - 0x920]
push eax
push 0
push 0
push str.MediaSubType
mov ecx, dword [ebp - 0x90c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x91c], eax
cmp dword [ebp - 0x91c], 2
je 0x4324fe
cmp dword [ebp - 0x91c], 0
jne 0x43250a
cmp dword [ebp - 0x920], 1
jne 0x43250a
mov dword [ebp - 0x924], 0
jmp 0x432526
cmp dword [ebp - 0x91c], 0
jne 0x432526
cmp dword [ebp - 0x920], 2
jne 0x432526
mov dword [ebp - 0x924], 1
mov edx, dword [ebp - 0x90c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x924]
lea esp, [ebp - 0x944]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret