joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, ebp
xor eax, eax
push esi
push edi
mov edi, dword [esp + 0x14]
mov dword [ecx], eax
push edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x432be3
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x432c00
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
mov dword [ebp], eax
mov dword [ebp + 4], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x10

Function at 0x432c20
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00432a90
add esp, 8
test eax, eax
jne 0x432c3d
pop esi
ret
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
ret

Function at 0x433470
Capabilities:
Get file version info

Disassembly:
mov eax, 0x200c
call fcn.00443b20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x201c]
test esi, esi
push edi
je 0x433563
mov ebx, dword [esp + 0x2024]
test ebx, ebx
je 0x433563
mov ebp, dword [esp + 0x2028]
cmp ebp, 0x80
jl 0x433563
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x433563
cmp eax, 0x1fff
ja 0x433563
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x433563
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x46354c
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x433563
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
shr edx, 0x10
push ecx
push edx
push 0x463acc
push ebx
call fcn.0044465a
add esp, 0x18
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x200c
ret
Function at 0x433e20
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x48
push ebx
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
push 0
rep stosd dword es:[edi], eax
push 0
push 0
push 0
push 0
stosw word es:[edi], ax
mov dword [esp + 0x24], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x434008
mov eax, dword [0x463058]
mov ecx, 0x46415c
test ecx, ecx
mov dword [esp + 0xc], eax
je 0x433ec9
mov edx, ecx
shr edx, 0x10
jne 0x433e88
xor eax, eax
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.00406f90
jmp 0x433ec9
push 0x46415c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x433ec9
push esi
lea ecx, [esp + 0x10]
call fcn.00403db0
test eax, eax
je 0x433ec9
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x433ec9
mov edi, dword [esp + 0xc]
mov eax, ecx
mov esi, 0x46415c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 3
push 0
push 0
push 0x50
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
test esi, esi
jne 0x433ef0
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x433f23
mov ecx, dword [esp + 0x58]
push 0
push 0x8440c100
push 0
push 0
push 0x464148
push ecx
push 0x464140
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
jne 0x433f4f
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call edi
push esi
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
jmp 0x433ff8
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x433fad
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push esi
call ebx
push edi
call ebx
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x13
push edi
mov dword [esp + 0x24], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
push ebx
call edi
mov eax, dword [esp + 0xc]
mov ecx, dword [0x46305c]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434008
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x434008
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x434be0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x458e70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp]
push esi
push eax
call fcn.004317e0
lea ecx, [esp + 4]
push 0x464298
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.0040d130
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434d3f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x434cb8
mov esi, dword [esp + 0x18]
push 1
call fcn.00441f80
push eax
push esi
call fcn.00442210
mov eax, dword [esp + 0x24]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434c90
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434c90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d9b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d9b
jmp 0x434d8b
mov eax, dword [esp + 0x18]
push 5
push 0x46422c
push eax
push 0
call fcn.0041f700
mov eax, dword [esp + 0x28]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434cff
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434cff
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d2a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d2a
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d70
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d70
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x434d9b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434d9b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x434df0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x81c
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0x4644bc
mov dword [esp + 0x20], 0x46443c
mov dword [esp + 0x24], 0x4643bc
mov dword [esp + 0x28], 0x46433c
mov dword [esp + 0x10], 0
lea esi, [esp + 0x1c]
mov ebp, 1
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
push edx
push 0x469720
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x434eb8
cmp dword [esp + 0x14], ebp
jne 0x434eb8
cmp word [esp + 0x2c], 0
je 0x434eb8
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x434eb8
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434eb8
lea edx, [esp + 0x2c]
push edx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x434f07
mov eax, dword [esp + 0x10]
add esi, 4
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x434e31
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push 0x4642c4
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434f14
mov ecx, dword [esp + 0x10]
mov esi, ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x81c
ret
Function at 0x434f30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x458e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp]
push esi
push eax
call fcn.004317e0
lea ecx, [esp + 4]
push 0x464298
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.0040d130
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43508f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041f460
add esp, 4
test eax, eax
jne 0x435008
mov esi, dword [esp + 0x18]
push 1
call fcn.00441f80
push eax
push esi
call fcn.00442210
mov eax, dword [esp + 0x24]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x434fe0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x434fe0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350eb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350eb
jmp 0x4350db
mov eax, dword [esp + 0x18]
push 5
push 0x464538
push eax
push 0
call fcn.0041f700
mov eax, dword [esp + 0x28]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43504f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43504f
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43507a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43507a
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350c0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350c0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4350eb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4350eb
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43c950
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43c97f
push 0x465280
push eax
push 0x112
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x43cbd0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43cc0c
push 0x4652dc
push eax
push 0xed
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43cc45
push 0x4652c0
push eax
push 0xf0
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x43cc69
push 0x4652b0
push 1
push 0xf2
push 0x465200
call fcn.00439ad0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x43d0d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43d10c
push 0x4652dc
push eax
push 0x102
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43d145
push 0x46537c
push eax
push 0x105
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x43d169
push 0x46536c
push 1
push 0x107
push 0x465200
call fcn.00439ad0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x43e0a0
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43e0ca
push 0x465428
push eax
push 0x126
push 0x465200
call fcn.00439600
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x43ee80
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x46a1a8
jmp fcn.0043ee90

Function at 0x43f220
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4409d0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x440a00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x440a30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x442030
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push 0x463e24
push 0x463e30
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x442094
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push 0x463fd0
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4420c6
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push eax
call fcn.00442130
add esp, 4
test eax, eax
jne 0x4420e5
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x442104
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
push 0x463fac
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x808
ret
Function at 0x442210
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.00443b20
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x465bdc
push eax
call fcn.00443ad6
mov esi, dword [esp + 0x101c]
push 0x800
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.004452a9
push 0x800
lea edx, [esp + 0x24]
push 0x465bb0
push edx
call fcn.004452a9
push 0x800
lea eax, [esp + 0x30]
push esi
push eax
call fcn.004452a9
push 0x800
lea ecx, [esp + 0x3c]
push 0x465b8c
push ecx
call fcn.004452a9
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call fcn.004452a9
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x465b70
push ecx
call fcn.004452a9
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push esi
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x442310
call fcn.00442010
test eax, eax
je 0x4422f8
call fcn.00442030
test eax, eax
je 0x4422f8
push 5
push 0
push 0
push 0x465994
jmp 0x442303
push 5
push 0
push 0
push 0x4657fc
push 0x463234
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1014]
test eax, eax
je 0x442322
push 0
call fcn.00445198
mov eax, esi
pop edi
pop esi
add esp, 0x1000
ret

Function at 0x442330
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x442366
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x4423e1
cmp dword [esp + 0xc], 0x40
jne 0x4423e1
cmp word [esp + 0x10], 0x5a4d
jne 0x4423e1
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x4c]
jne 0x4423e1
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x4423e1
cmp dword [esp + 0xc], 0xf8
jne 0x4423e1
cmp dword [esp + 0x50], 0x4550
jne 0x4423e1
cmp word [esp + 0x56], 0
je 0x4423e1
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret
Function at 0x453280
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.00443b20
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4533ea
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x4533ea
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
push edi
push 0x465584
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.00453080
add esp, 0x10
lea ecx, [esp + 0x28]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4533cd
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x510]
mov dword [esp + 0x18], edx
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x518]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4533b5
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x510]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
lea eax, [esp + 0x128]
push eax
push 1
push ecx
push edx
call fcn.004547b0
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x4533b5
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x45339d
mov byte [eax], cl
inc eax
dec esi
jne 0x45338e
jmp 0x4533a1
cmp esi, ebx
jne 0x4533a7
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x4533b5
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x4533db
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x4532b8
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c10
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x2c10
ret