joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecf7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x14], edx
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
xor edi, edi
push ecx
push eax
mov esi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x40ed42
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40edd0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x40ed57
mov esi, 0x8007000e
jmp 0x40edd0
cmp dword [ebp - 4], 0
jne 0x40ed86
push edi
push ebx
push 0
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x40ed86
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40edc9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x42a498
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x40edb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40edc9
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0xc]
mov dword [ecx], edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x40ee03
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ee86
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x40ee77
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ee35
mov esi, 0x80070005
jmp 0x40ee85
test al, 0x10
je 0x40ee40
mov esi, 0x8000ffff
jmp 0x40ee85
xor esi, esi
test al, 7
je 0x40ee85
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x40ee6a
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40ee85
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40ee85
call ebx
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
pop ebx
pop edi
mov eax, esi
pop esi
ret
Function at 0x40ee8b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ebx
push esi
push edi
xor edi, edi
mov edx, 0x104
or ebx, 0xffffffff
mov dword [ebp - 8], edi
call fcn.0040e133
mov esi, eax
test esi, esi
js 0x40ef71
push dword [ebp - 4]
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor eax, eax
mov dword [ebp - 0xc], eax
cmp ebx, 0xffffffff
jne 0x40ef45
push 0x42a8f8
push eax
push 0x42a670
push dword [ebp - 4]
lea eax, [ebp - 8]
push str._s_S_05d._S
push eax
call fcn.0040e2fc
mov edi, dword [ebp - 8]
mov esi, eax
add esp, 0x18
test esi, esi
js 0x40ef66
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40ef37
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070050
je 0x40ef37
test esi, esi
js 0x40ef66
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x3e8
jl 0x40eeca
push ecx
push ecx
mov edx, edi
call fcn.0040e1f6
mov esi, eax
mov dword [0x42e88c], ebx
test esi, esi
jns 0x40ef66
cmp ebx, 0xffffffff
je 0x40ef66
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40ef71
mov ecx, edi
call fcn.00411025
cmp dword [ebp - 4], 0
je 0x40ef7f
mov ecx, dword [ebp - 4]
call fcn.00411025
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40ef88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x42e05c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x218], eax
or ebx, 0xffffffff
xor eax, eax
push edi
mov edi, eax
mov dword [ebp - 0x210], eax
mov esi, eax
mov dword [ebp - 0x214], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [ebp - 0x210]
mov ecx, eax
call fcn.0040e049
lea eax, [ebp - 0x20c]
cmp dword [ebp - 0x210], esi
je 0x40f076
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x40f00d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40f170
lea ecx, [ebp - 0x20c]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40f018
sub ecx, edx
sar ecx, 1
cmp word [ebp + ecx*2 - 0x20e], 0x5c
je 0x40f057
push 0xffffffffffffffff
push 0x42a498
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041476a
mov esi, eax
add esp, 0x10
test esi, esi
js 0x40f170
push 0xffffffffffffffff
push str.Temp_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041476a
add esp, 0x10
mov esi, eax
jmp 0x40f09a
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40f0a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x40f170
xor ecx, ecx
mov eax, ecx
mov dword [ebp - 0x210], ecx
cmp ebx, 0xffffffff
jne 0x40f149
push 0x42a668
push eax
push 0x42a670
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push str._s_s_05d._s
push eax
call fcn.0040e2e8
mov edi, dword [ebp - 0x214]
mov esi, eax
add esp, 0x18
test esi, esi
js 0x40f165
xor eax, eax
push eax
push 0x80
push 1
push eax
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40f12d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp esi, 0x80070050
jne 0x40f129
xor ecx, ecx
mov esi, ecx
jmp 0x40f12f
test esi, esi
js 0x40f165
xor ecx, ecx
mov eax, dword [ebp - 0x210]
inc eax
mov dword [ebp - 0x210], eax
cmp eax, 0x3e8
jl 0x40f0ac
jmp 0x40f14b
xor ecx, ecx
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x40f159
mov dword [eax], edi
mov edi, ecx
cmp ebx, 0xffffffff
je 0x40f165
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40f170
mov ecx, edi
call fcn.00411025
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411433
leave
ret 8
Function at 0x4100b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
or esi, 0xffffffff
mov dword [ebp - 4], ecx
cmp dword [0x42f3a8], 0
mov ebx, edx
jne 0x41010d
push edi
mov dword [0x42f3a8], 1
xor edi, edi
push 8
mov edx, edi
pop esi
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and al, 1
cmove edx, ecx
dec esi
test esi, esi
jg 0x4100de
mov dword [edi*4 + 0x42f3c0], edx
inc edi
cmp edi, 0xff
jle 0x4100d9
mov ecx, dword [ebp - 4]
or esi, 0xffffffff
pop edi
test ebx, ebx
je 0x410129
movzx eax, byte [ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x42f3c0]
inc ecx
sub ebx, 1
jne 0x410111
not esi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x410901
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x42e05c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov eax, 0x104
cmp dword [0x42e88c], 0xffffffff
push edi
mov dword [ebp - 0x420], eax
mov edi, str.unknown
mov dword [ebp - 0x41c], esi
mov dword [ebp - 0x418], esi
je 0x410a61
cmp dword [0x42f3ac], esi
je 0x410a61
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x410975
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00412599
add esp, 0xc
push ebx
lea eax, [ebp - 0x418]
push eax
lea edx, [ebp - 0x41c]
lea ecx, [ebp - 0x20c]
call fcn.0040ecf7
test eax, eax
jns 0x410998
mov ebx, esi
mov eax, esi
jmp 0x4109a4
mov ebx, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x4109d7
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00412599
add esp, 0xc
call fcn.00410f86
push eax
push str._Logging_started:__S_
push 1
call fcn.00410882
mov ecx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x20c]
push ebx
push eax
push str.Executable:__S_v_d._d._d._d_r_nComputer__:__S
push 1
call fcn.00410882
mov eax, dword [0x42e890]
add esp, 0x2c
pop ebx
sub eax, esi
je 0x410a4a
sub eax, 1
je 0x410a43
sub eax, 1
je 0x410a3c
sub eax, 1
jne 0x410a4f
mov edi, str.debug
jmp 0x410a4f
mov edi, str.verbose
jmp 0x410a4f
mov edi, str.standard
jmp 0x410a4f
mov edi, str.none
push edi
push str.____logging_level:__s____
push 1
call fcn.00410882
add esp, 0xc
jmp 0x410a64
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00411433
leave
ret
Function at 0x410a85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push edx
push ecx
push 0x900
mov esi, ebx
mov dword [ebp - 8], ebx
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ebx, eax
test ebx, ebx
jne 0x410ad2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410b43
test ebx, ebx
je 0x410b12
push 0
lea eax, [ebp - 8]
push eax
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [ebp - 4]
add eax, edi
push eax
push dword [0x42e88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410b0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410b43
add edi, dword [ebp - 8]
cmp edi, ebx
jb 0x410ad2
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42b03c
push dword [0x42e88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp dword [ebp - 4], 0
je 0x410b52
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x410b5b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push edx
mov edx, ecx
xor ebx, ebx
and dword [ebp - 4], ebx
lea ecx, [ebp - 8]
call fcn.0040e3b2
mov edi, dword [ebp - 8]
mov esi, eax
test esi, esi
js 0x410bfe
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 8], eax
test eax, eax
je 0x410bcd
push 0
lea ecx, [ebp - 4]
sub eax, ebx
push ecx
push eax
lea eax, [ebx + edi]
push eax
push dword [0x42e88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410bc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410bfe
add ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp ebx, eax
jb 0x410b8e
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x42b03c
push dword [0x42e88c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410bfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test edi, edi
je 0x410c09
mov ecx, edi
call fcn.00411025
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x410c2f
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x42e05c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
mov dword [esp + 8], ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x100
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x410cfa
lea eax, [esp + 8]
push eax
push 0x2001f
push esi
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410d0f
mov ecx, dword [esp + 8]
call fcn.00410c2f
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410d0f
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 8], 0
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410d0f
jmp 0x410d02
cmp esi, 0x80070103
je 0x410d0d
test esi, esi
jne 0x410d0f
xor ecx, ecx
jmp 0x410c53
xor esi, esi
cmp dword [esp + 8], 0
je 0x410d20
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00411433
mov esp, ebp
pop ebp
ret

Function at 0x410d36
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x42e05c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xffffffffffffffff
push str.SOFTWAREMicrosoftOfficeDeliverySourceEngineDownloads
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00414840
add esp, 0x10
cmp eax, 0x50
jne 0x410d70
mov eax, 0x8007007a
jmp 0x410db7
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
test ecx, ecx
jne 0x410dc3
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004123f1
pop ecx
pop ecx
test eax, eax
je 0x410da7
xor ecx, ecx
mov word [eax], cx
cmp cx, word [eax + 2]
je 0x410d88
cmp word [ebp - 0x20c], 0
je 0x410db5
test eax, eax
jne 0x410d70
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411433
leave
ret
cmp ecx, 2
je 0x410ddc
cmp ecx, 3
je 0x410ddc
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x410dde
xor eax, eax
cmp eax, 1
je 0x410d70
jmp 0x410db7
Function at 0x410de5
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
mov eax, ecx
push ebx
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], eax
push ecx
push 0x2001f
push 0
mov ebx, edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x410e14
xor esi, esi
inc esi
jmp 0x410e59
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x410e59
mov ecx, dword [ebp - 4]
call fcn.00410c2f
mov esi, eax
test esi, esi
js 0x410e59
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
cmp dword [ebp - 4], 0
je 0x410e68
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x403650
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4ac4dc]
mov ecx, dword [0x4a93e4]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40373f
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4ac4dc], 0x959
jne 0x403725
push 0
push 0
call edi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call esi
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.004034a0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4073ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f238]
jne 0x4073f6
repz ret
jmp fcn.0040c815

Function at 0x40d30f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040aa26
and dword [ebp - 4], 0
cmp dword [0x442278], 0
mov ebx, eax
jne 0x40d3c0
push 0x4024b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d471
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024a8
push edi
call esi
test eax, eax
je 0x40d471
push eax
call fcn.0040a9b4
mov dword [esp], 0x402498
push edi
mov dword [0x442278], eax
call esi
push eax
call fcn.0040a9b4
mov dword [esp], 0x402484
push edi
mov dword [0x44227c], eax
call esi
push eax
call fcn.0040a9b4
mov dword [esp], 0x402468
push edi
mov dword [0x442280], eax
call esi
push eax
call fcn.0040a9b4
pop ecx
mov dword [0x442288], eax
test eax, eax
je 0x40d3c0
push 0x402450
push edi
call esi
push eax
call fcn.0040a9b4
pop ecx
mov dword [0x442284], eax
mov eax, dword [0x442284]
cmp eax, ebx
je 0x40d418
cmp dword [0x442288], ebx
je 0x40d418
push eax
call fcn.0040aa2f
push dword [0x442288]
mov esi, eax
call fcn.0040aa2f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d418
test edi, edi
je 0x40d418
call esi
test eax, eax
je 0x40d40f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d40f
test byte [ebp - 0xc], 1
jne 0x40d418
or dword [ebp + 0x10], 0x200000
jmp 0x40d451
mov eax, dword [0x44227c]
cmp eax, ebx
je 0x40d451
push eax
call fcn.0040aa2f
pop ecx
test eax, eax
je 0x40d451
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d451
mov eax, dword [0x442280]
cmp eax, ebx
je 0x40d451
push eax
call fcn.0040aa2f
pop ecx
test eax, eax
je 0x40d451
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442278]
call fcn.0040aa2f
pop ecx
test eax, eax
je 0x40d471
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d473
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438ca0
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
add ebx, 0x317f3e00
call fcn.00438cd2
inc ebx
xor dword [esi], edx
add edi, edi
or ebx, edi
inc esi
and ebx, ebx
mov edi, 0xd774e95a
dec ebx
cmp esi, eax
jne fcn.00438ca0
dec edi
dec edi
inc edi
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x46967d46
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x208e5184
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219