joyce8/EMBER2024-capa huggingface dataset:
Function at 0x592ec0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x6112c4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x592eeb
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x592f32
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x592f35
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x592f96
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x592f60
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x592fcf
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push 0x5e5535
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x5e5536
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x592fa0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x593257
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x59327e
call fcn.005413f2
mov dword [eax], esi
call fcn.005413df
push 0x16
pop esi
mov dword [eax], esi
call fcn.00546b4e
mov eax, esi
jmp 0x5932d3
test dword [ebp + 0xc], 0xfffffff9
jne 0x593264
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x5932ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00541405
pop ecx
call fcn.005413df
mov eax, dword [eax]
jmp 0x5932d3
test al, 0x10
jne 0x5932d1
test al, 1
je 0x5932d1
test byte [ebp + 0xc], 2
je 0x5932d1
call fcn.005413f2
mov dword [eax], 5
call fcn.005413df
mov dword [eax], 0xd
jmp 0x5932a2
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4023f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x110]
mov edi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x110]
push eax
push str._s_ventoydiskpart__u.txt
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00401010
mov esi, edi
add esp, 0x14
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x402445
push 0x44098c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x21c]
sub esi, ecx
push eax
call fcn.0042528c
mov eax, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
jne 0x402493
lea eax, [ebp - 0x218]
push eax
push str.Failed_to_open_file__s
call fcn.00414ac0
add esp, 8
jmp 0x4024ab
push eax
push esi
push 1
push edi
call fcn.004246d7
push dword [ebp - 0x21c]
call fcn.00425151
add esp, 0x14
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or dword [ebp - 0x24c], 1
xor eax, eax
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x218]
push eax
push str.C:Windows_system32diskpart.exe__s___s_
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00401010
lea eax, [ebp - 0x110]
push eax
push str.CreateProcess___s_
call fcn.00414ac0
add esp, 0x18
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x278]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push str.Wair_process_...
call fcn.00414ac0
add esp, 4
push 0xffffffffffffffff
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.Process_finished...
call fcn.00414ac0
mov eax, dword [ebp - 0x22c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x402568
push eax
call esi
mov dword [ebp - 0x22c], 0xffffffff
mov eax, dword [ebp - 0x228]
cmp eax, 0xffffffff
je 0x402580
push eax
call esi
mov dword [ebp - 0x228], 0xffffffff
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x40c000
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x448004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x419
push ecx
mov dword [ebp - 0x54], edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x146
push ebx
call edi
mov esi, eax
sub esi, 1
js 0x40c050
nop dword [eax]
push 0
push esi
push 0x144
push ebx
call edi
sub esi, 1
jns 0x40c040
xor edi, edi
xor esi, esi
mov dword [ebp - 0x50], edi
test esi, esi
jne 0x40c077
lea ecx, [esi + 0x35]
call fcn.0040be70
push eax
push esi
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
mov dword [ebp - 0x50], edi
jmp 0x40c0ed
mov edi, dword [esi*4 + 0x43bc90]
mov eax, edi
cdq
and edx, 0xfffff
lea ecx, [edx + eax]
mov eax, edi
cdq
and edx, 0x3ff
sar ecx, 0x14
add eax, edx
sar eax, 0xa
cmp edi, 0x100000
cmovge eax, ecx
mov ecx, str._d_KB
push eax
mov eax, str._d_MB
cmovl eax, ecx
push eax
lea eax, [ebp - 0x4c]
push 0x40
push eax
call fcn.00401010
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x143
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [ebp - 0x50]
inc edi
cmp dword [ebp - 0x54], 0
mov dword [ebp - 0x50], edi
jne 0x40c0ed
cmp dword [esi*4 + 0x43bc90], 0x10000
je 0x40c0f7
inc esi
cmp esi, 0x10
jb 0x40c057
mov eax, dword [ebp + 8]
cmp eax, edi
jge 0x40c102
test eax, eax
jns 0x40c112
push eax
push str.Change_invalid_default_index__d_to_0
call fcn.00414ac0
add esp, 8
xor eax, eax
push 0
push eax
push 0x14e
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x414c60
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x448004]
xor eax, esp
mov dword [esp + 0x10c], eax
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [esp + 0xc]
push 0x104
push 0x104
push eax
call fcn.00401000
push dword [eax + 4]
push dword [eax]
call fcn.00424164
add esp, 0x20
lea eax, [esp]
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x414cdd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp dword [ebp + 8], 0
je 0x414cf1
test eax, eax
jne 0x414cf5
xor eax, eax
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x414cdd
mov ecx, dword [esp + 0x10c]
mov eax, 1
xor ecx, esp
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret
Function at 0x42392b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmc
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.0042359e
push eax
push esi
push dword [ebp + 8]
call fcn.00423553
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0042359e
push eax
push esi
push dword [ebp + 8]
call fcn.00423553
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x423a29

Function at 0x4239c1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x423a29
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0042359e
push eax
push esi
push dword [ebp + 8]
call fcn.00423553
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0042358e
dec esp
mov esp, 0x9d88e4f0
jl 0x423a13
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0042358e
mov edi, 0x8d8d948f
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x423c67
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x423c65
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x423c83
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x423ce1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x423cc8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x423cd1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je fcn.00423cdb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x423cbd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x423c47
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x423cdb
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x423c65
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x423c83
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x423ce1
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x423cc8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x423cd1
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je fcn.00423cdb
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x423cbd
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x423c47
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x423e74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
invalid
invalid

Function at 0x42418b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cli
invalid
push dword [ebp + 0x14]
call fcn.00423553
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0042358e
jle 0x4241ba
jns 0x424153
and byte [ebp - 0x514], 0
invalid
movsd dword es:[edi], dword [esi]
in eax, dx
Function at 0x425958
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7c4], 0x90
mov byte [ebp - 0x7c3], 0xac
mov byte [ebp - 0x7c2], 0xee
mov byte [ebp - 0x7c1], 0xa4
mov byte [ebp - 0x7c0], 0xac
mov byte [ebp - 0x7bf], 0xac
mov byte [ebp - 0x7be], 0xc0
push 0xb
lea eax, [ebp - 0x7cc]
push eax
call fcn.0042359e
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.004234ff
add esp, 0xc
jmp 0x425506
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.0042358e
invalid
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp 0x425407

Function at 0x42c02b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042bea1
Function at 0x41ec8b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041ffc0
cmp byte [0x453898], 0
je 0x41ed1a
cmp word [0x45389a], 0
je 0x41ed1a
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x45389a
call fcn.0041d824
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41ed19
push dword [ebp + 8]
call fcn.00424f93
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x41ed1e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041ffc0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00411697
mov esi, eax
test esi, esi
je 0x41ed76
movzx ecx, word [esi]
push ecx
jmp 0x41ed61
add esi, 2
movzx eax, word [esi]
push eax
call fcn.004117b3
test al, al
jne 0x41ed5a
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
leave
ret 4

Function at 0x42b473
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x42b4ae
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42b495
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x42b4a6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x42b4b0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x42b48b
xor eax, eax
pop edi
pop esi
ret
Function at 0x42b6c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dh, 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0042b433
cmpsb byte [esi], byte es:[edi]
pop edi
push cs
pop ebp
lea eax, [ebp - 0x58]
push eax
call fcn.0042b443
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0042b3f8
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x42b721
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0042b433
push 0x67
stc
nop
lea eax, [ebp - 0x40]
push eax
call fcn.0042b443
push eax
push esi
push dword [ebp + 8]
call fcn.0042b3f8
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0042b433
pop edi
hlt

Function at 0x42b93d
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], dl
add byte [eax], al
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x42bc2c
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0042b3a4
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x42b9a3
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0042b3a4
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
or al, 0x66
cmp eax, dword [edi + 6]
jb 0x42b970
call fcn.0042b433
adc eax, 0x8b76da1d
jle 0x42b9eb
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x42bc22
add eax, esi
mov dword [ebp - 0x44], eax
jmp [eax + 0x40]
Function at 0x42b99c
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], dl
add byte [eax], al
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x42bc2c
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0042b3a4
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x42b9a3
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0042b3a4
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
or al, 0x66
cmp eax, dword [edi + 6]
jb 0x42b970
call fcn.0042b433
adc eax, 0x8b76da1d
jle 0x42b9eb
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x42bc22
add eax, esi
mov dword [ebp - 0x44], eax
jmp [eax + 0x40]
Function at 0x42ba6e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x42b9d8
cmp dword [eax + 0xc], ebx
je 0x42ba7b
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0042b433
push 0x395f6a40
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov ebp, 0xffffff78
mov eax, dword [ebp - 0x44]
jmp 0x42b9ca
invalid
call fcn.0042b433
push esp
jno 0x42ba70
mov edx, 0xa0878b
add byte [eax], al
cmp eax, ebx
je 0x42bae7
add eax, esi
cmp dword [eax], ebx
je 0x42bae7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x42bae2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x42bacc
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x42bad4
cmp edx, ebx
jne 0x42bc22
add byte [eax], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x42baa3
add eax, dword [eax + 4]
jmp 0x42ba90
mov dword [ebp + 0xc], ebx
jmp 0x42baf2
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x42bb0a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42bb28
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42bb86
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x42bb6d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42bb76
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x42bb80
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x42bb62
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x42baec
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x42bbd3
dec eax
je 0x42bbca
sub eax, 3
je 0x42bbc1
mov dword [ebp - 4], 0x40
jmp 0x42bbf0
mov dword [ebp - 4], 4
jmp 0x42bbd6
mov dword [ebp - 4], 0x20
jmp 0x42bbd6
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x42bc22
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
mov ebp, 0xffffff74
jbe 0x42bba2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0042b433
adc dword [eax], ecx
loopne 0x42bbfb
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x42bc2e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x407320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40732f
pop dword [ebp - 0x18]
mov eax, 0x6e8b67f5
sub eax, 0x6e4af4c6
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x39bec
push 0
mov eax, 0x116dd857
sub eax, 0x112cf77f
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xa065b33f
sub ecx, 0xa065696a
xor edx, edx
add edx, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x18]
mov esi, 0x8417ab20
xor dword [ebp - 8], ecx
mov edi, dword [ebx]
add edi, esi
mov dword [ebp - 4], 0x89144517
mov dword [edx], edi
mov dword [ebp - 0x10], 0x1b3ab44b
add edx, 4
add ebx, 4
loop 0x407384
add eax, 0x11a27
mov ebx, eax
add eax, 0x681c3f3
add eax, 0xf97e3c12
mov ecx, 0x662b33ba
sub ecx, 0x65eb33ba
add ecx, dword [ebp - 0x18]
call ebx
leave
ret