joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c363
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40c38d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40c38d
xor al, al
jmp 0x40c3a1
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40fdfe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
lea eax, [esp + 8]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
xor ebx, ebx
test eax, eax
je 0x40fe46
cmp dword [esp + 0x10], ebx
je 0x40fe46
mov edx, ebx
mov ecx, ebx
mov eax, dword [esp + 0x10]
shr eax, cl
and eax, 1
add edx, eax
inc ecx
cmp ecx, 0x20
jb 0x40fe33
jmp 0x40fe55
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x30]
mov eax, 0x40000000
mov dword [esi], edx
lea ecx, [esp + 0x10]
mov dword [esi + 4], edx
mov byte [esi + 8], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
call fcn.0040d68c
mov byte [esi + 9], al
test al, al
je 0x40fed2
mov edi, dword [esp + 0x14]
mov eax, 0x70000000
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
test edi, edi
jne 0x40fea7
cmp ebx, eax
jbe 0x40feab
mov ebx, eax
xor edi, edi
push ecx
push ecx
push edi
push ebx
call fcn.0040fdad
shrd ebx, edi, 5
push 0
push 0x11
shr edi, 5
push edi
push ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.00449170
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4142a6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
push dword [ebp + 8]
mov byte [eax], bl
lea ecx, [esi - 4]
call fcn.00413f22
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x41433a
cmp edi, dword [esi + 0x60]
je 0x414334
mov eax, dword [esi + 0x74]
mov eax, dword [eax + edi*4]
mov dword [ebp + 0xc], eax
lea ecx, [eax + 4]
call fcn.00408a53
mov ecx, eax
test ecx, ecx
jne 0x4143b2
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00408a53
mov ecx, eax
test ecx, ecx
jne 0x4143b2
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x10], bl
cmp dword [eax + 0xc], ebx
jne 0x414334
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push 0x417488
push ebx
push ebx
call fcn.004414b5
mov ecx, dword [ebp + 0xc]
add esp, 0x18
mov dword [ecx + 0xc], eax
test eax, eax
jne 0x414334
call fcn.0040896c
mov ecx, eax
test ecx, ecx
jne 0x4143b2
inc edi
cmp edi, dword [esi + 0x78]
jb 0x4142ca
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x414363
cmp edi, dword [esi + 0x60]
je 0x41435d
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4]
mov byte [ecx + 0x10], bl
add ecx, 4
call fcn.004089ba
mov ecx, eax
test ecx, ecx
jne 0x4143b2
inc edi
cmp edi, dword [esi + 0x78]
jb 0x414341
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x74]
push dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
call fcn.00413b3d
mov edi, ebx
cmp dword [esi + 0x78], ebx
jbe 0x4143c4
cmp ebx, dword [esi + 0x60]
je 0x414393
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + ebx*4]
mov ecx, dword [ecx + 8]
call fcn.0040899e
test edi, edi
cmove edi, eax
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x41437b
push 0
pop ebx
test edi, edi
je 0x4143c4
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
jmp 0x41446e
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x41446e
push 0x80004004
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
push 0x8007000e
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
mov edi, dword [esi + 0x78]
mov ecx, ebx
test edi, edi
je 0x41441e
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x414416
cmp eax, 0x20000010
je 0x414416
cmp eax, 1
je 0x414416
cmp eax, 0x80004005
jne 0x41446e
inc ecx
add edx, 4
cmp ecx, edi
jb 0x4143fa
push 1
lea ecx, [esi - 4]
call fcn.00414276
test eax, eax
jne 0x41446e
mov ecx, ebx
test edi, edi
je 0x41446c
mov edx, dword [esi + 0x74]
mov eax, dword [edx]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x414445
cmp eax, 0x20000010
jne 0x41446e
inc ecx
add edx, 4
cmp ecx, edi
jb 0x414435
test edi, edi
je 0x41446c
mov eax, dword [esi + 0x74]
push dword [ebp + 0x14]
mov ecx, dword [eax + ebx*4]
add ecx, 0x18
call fcn.0041369b
test eax, eax
jne 0x41446e
inc ebx
cmp ebx, dword [esi + 0x78]
jb 0x414451
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4161fa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x41620a
mov dword [esi], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x416250
push edi
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
add dword [ecx + 8], edx
adc dword [ecx + 0xc], edi
test esi, esi
je 0x416245
add dword [esi], edx
test eax, eax
jne 0x416250
call fcn.0040c2b1
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x41deec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b3fc
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45d008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0043b6e3
push dword [esi + 0xc0]
call fcn.0043b6e3
push dword [esi + 0x9c]
call fcn.0043b6e3
push dword [esi + 0x90]
call fcn.0043b6e3
push dword [esi + 0x30]
call fcn.0043b6e3
push dword [esi + 0x24]
call fcn.0043b6e3
push dword [esi + 0x18]
call fcn.0043b6e3
add esp, 0x1c
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x41df69
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41df7d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41df91
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x41dfa4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420706
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 4

Function at 0x420f31
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
cmp ecx, 8
je 0x420f74
cmp ecx, 0x52
je 0x420f63
cmp ecx, 0x76
jne 0x420f70
mov ecx, esi
call fcn.0042195f
jmp 0x420f7b
test al, al
je 0x420f70
mov ecx, esi
call fcn.004217d2
jmp 0x420f7b
xor al, al
jmp 0x420f7d
mov ecx, esi
call fcn.0042185c
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x423456
Capabilities:
Get file system object information

Disassembly:
push 0x1d0
mov eax, 0x44bda2
call fcn.00448ecd
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1d0]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1ac], eax
call fcn.004093d0
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x4234d9
push dword [edi + 0xc]
lea ecx, [ebp - 0x1b8]
push dword [edi + 8]
call fcn.00423318
push eax
mov edx, 0xdb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c4]
call fcn.004233b5
push eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 2
call fcn.00409516
push dword [ebp - 0x1c4]
call fcn.0043b6e3
pop ecx
mov byte [ebp - 4], 0
push dword [ebp - 0x1b8]
call fcn.0043b6e3
pop ecx
lea eax, [edi + 0x18]
mov ecx, eax
mov dword [ebp - 0x1a8], eax
call fcn.004097d2
mov esi, eax
lea eax, [ebp - 0x1c4]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.004147b5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b8]
mov eax, dword [edi + 0x18]
add eax, 2
lea eax, [eax + esi*2]
push eax
call fcn.004093f4
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.004233f5
lea eax, [ebp - 0x1b8]
mov ecx, ebx
push eax
call fcn.004233f5
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040947d
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 5
call fcn.004096ad
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040971c
lea ecx, [ebp - 0x1a0]
call fcn.004096ad
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040971c
lea ecx, [ebp - 0x1a0]
call fcn.004096ad
cmp byte [edi + 1], 0
je 0x4235f6
mov edx, 0x3f4
lea ecx, [ebp - 0x1dc]
call fcn.0040d127
push eax
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 6
call fcn.0040971c
mov byte [ebp - 4], 5
push dword [ebp - 0x1dc]
call fcn.0043b6e3
lea ecx, [ebp - 0x1a0]
mov dword [esp], 0x453514
call fcn.0040975a
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x10]
call fcn.0040ce9d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040975a
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], eax
call fcn.0042069e
mov edx, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1dc]
call fcn.0040a7e1
push 0x110
push 0x160
lea ecx, [ebp - 0x194]
push ecx
push 0x80
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1dc]
mov esi, eax
call fcn.0043b6e3
pop ecx
test esi, esi
je 0x42367b
push dword [ebp - 0x1ac]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x194]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1a0]
call fcn.0043b6e3
pop ecx
push dword [ebp - 0x1b8]
call fcn.0043b6e3
pop ecx
push dword [ebp - 0x1c4]
call fcn.0043b6e3
pop ecx
push dword [ebp - 0x1d0]
call fcn.0043b6e3
pop ecx
call fcn.00448e77
ret 0xc
Function at 0x425bee
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x28
mov eax, dword [edx]
push esi
mov esi, ecx
cmp eax, dword [esi + 0xb4]
jne 0x425c21
cmp dword [edx + 8], 0xffffff65
jne 0x425c21
movzx eax, word [edx + 0xc]
sub eax, 0x2d
je 0x425c5d
sub eax, 0x14
je 0x425c2a
dec eax
sub eax, 1
je 0x425c5d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x425c21
push 2
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
push 0x102b
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov al, 1
jmp 0x425c23
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x425c21
mov ecx, esi
call fcn.00425c75
jmp 0x425c59

Function at 0x425da3
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x44c107
call fcn.00448e99
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], esi
push eax
push esi
push edi
push 0x425d65
push esi
push esi
call fcn.004414b5
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x425dee
call fcn.0040896c
test eax, eax
je 0x425dee
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x425dfd
push ecx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.00425329
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040897d
mov eax, esi
call fcn.00448e62
ret 8

Function at 0x4260fb
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2d0
mov eax, dword [0x45d008]
xor eax, esp
mov dword [esp + 0x2cc], eax
cmp byte [0x78fbd1], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
jne 0x42615e
mov edx, ecx
lea ecx, [esp + 0xc]
call fcn.004099e8
push 0x4010
push 0x160
lea ecx, [esp + 0x20]
or esi, 0x80
push ecx
push esi
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [esp + 0xc]
mov esi, eax
call fcn.0043b6e3
pop ecx
mov eax, esi
jmp 0x426180
mov eax, dword [0x78fd0c]
test eax, eax
je 0x426180
push 0x4010
push 0x2b4
lea edx, [esp + 0x20]
or esi, 0x80
push edx
push esi
push ecx
call eax
mov ecx, dword [esp + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
xor ecx, esp
call fcn.0043b6d2
mov esp, ebp
pop ebp
ret 4

Function at 0x426406
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x168
mov eax, dword [0x45d008]
xor eax, esp
mov dword [esp + 0x164], eax
test cl, cl
mov edx, 0x4011
mov eax, 0x4110
cmovne eax, edx
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x90
push 0x45281c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0043b6d2
mov esp, ebp
pop ebp
ret
Function at 0x427885
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x268
mov eax, 0x44c454
call fcn.00448ecd
mov dword [ebp - 0x274], ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.0043cbb0
add esp, 0xc
lea eax, [ebp - 0x238]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x238]
mov dword [ebp - 0x270], ebx
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x260], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x254], eax
push ecx
push eax
mov dword [ebp - 0x258], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x427925
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427925
mov edi, dword [ebp - 0x260]
jmp 0x427937
mov eax, dword [ebp - 0x258]
xor edi, edi
add edi, esi
adc eax, ebx
mov dword [ebp - 0x25c], eax
lea eax, [edi + 0x80]
push eax
lea ecx, [ebp - 0x260]
call fcn.00419380
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x270]
mov ebx, dword [ebp - 0x260]
push 0
push eax
push edi
lea esi, [ebx + 0x80]
push esi
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x78e1a8]
mov ecx, ebx
mov dword [ebx], eax
call fcn.004080a6
push edi
mov edx, esi
call fcn.004084ee
push 7
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2f]
xor eax, eax
lea edx, [ebp - 0x30]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00408579
xor eax, eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 0x254], al
push dword [ebp - 0x254]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0043b3f4
mov byte [ebp - 4], 1
push dword [ebp - 0x25c]
push 0
push ebx
call fcn.0043cbb0
add esp, 0xc
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x250]
call fcn.00427801
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x427a05
mov eax, dword [eax]
push 0x40
push eax
push dword [ebp - 0x274]
call fcn.0043c630
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 3
call fcn.0043aeb3
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
je 0x427a42
mov edx, dword [ebp - 0x264]
sub edx, ecx
push 1
call fcn.00427284
mov dword [ebp - 4], 4
push dword [ebx - 4]
call fcn.00441351
pop ecx
call fcn.00448e77
ret
Function at 0x43b002
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + edi]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 2
jb 0x43b011
mov eax, dword [ecx + 0x18]
pop edi
and eax, esi
pop esi
pop ebp
ret 4
Function at 0x405280
Capabilities:
Encode data using xor

Disassembly:
push 0x405334
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov ebx, 0x93ecd7ec
xor al, 0xfa
inc ebp
stosb byte es:[edi], al
adc eax, edi
pop esi
pushal
jg 0x40529c
mov al, byte [pe_dos_header]
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x69667670
insd dword es:[edi], dx
jo 0x405332
bound esp, qword fs:[edi]
jge 0x4052ed
xor ch, byte [esi]
cmp dword [eax], esi
cmp dword [ebx], esi
xor al, 0x30
xor dh, byte [ebx]
cmp byte [ebx + esi], dh
cmp dword [edx], esi
cmp byte [0x36353334], dh
xor eax, 0x34353634
add byte ss:[edi + ebp*2 + 0x6c], ah
xor ch, byte gs:[esi]
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
adc byte [eax + eax*2], al
add bh, bh
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [eax], dl
test byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
push esi
inc edx
xor eax, 0x2a263621
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [esi], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or al, byte [eax]
or dword [eax + eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x5a], bh
inc edx
add byte [ebp + edx*2 + 0x40], dl
add byte [edi], bh
invalid
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x405a12
pop dword [ebp - 0xc]
mov eax, 0x405a12
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x87809baa
sub dword [ebp - 0x1c], 0x392e565f
mov dword [ebp - 0x18], 0x3a95f9e4
add dword [ebp - 0x18], 0xf79d5261
mov dword [ebp - 0x14], 0xf626e24b
add dword [ebp - 0x14], 0x562561e3
mov dword [ebp - 0x10], 0x6c5d7b92
add dword [ebp - 0x10], 0x93a2846e
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x3994f10a
add dword [ebp - 0x1c], 0x3add784c
mov dword [ebp - 0x18], 0x397f7c2a
add dword [ebp - 0x18], 0x7ece54b
mov dword [ebp - 0x14], 0x287757d3
sub dword [ebp - 0x14], 0xc507eb67
mov dword [ebp - 0x10], 0x74901af1
add dword [ebp - 0x10], 0x8b6fe50f
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x336cc
push 0
call eax
mov ecx, 0x39c7
xor edx, edx
add edx, eax
mov ebx, 0x1b56e08b
sub ebx, 0x1b0ffc8b
add ebx, dword [ebp - 0xc]
mov esi, 0x422dc8bb
mov edi, dword [ebx]
xor dword [ebp - 8], ecx
sub edi, esi
mov dword [ebp - 4], 0xd5b0f49a
mov dword [edx], edi
sub dword [ebp - 8], 0x72b70250
add edx, 0xac7d4a69
add edx, 0x5382b59b
add ebx, 4
loop 0x405b1b
add eax, 0xd9ef
mov ebx, eax
add eax, 5
mov ecx, 0x8ea1ba5c
sub ecx, 0x8e61ba5c
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

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

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x12f23f5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x12f2558
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x12f2558
mov eax, dword [edi + 0x688]
test eax, eax
je 0x12f2558
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x12f2558
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x12f245d
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x12f2558
cmp dword [ebx + 8], 0x27debf2c
jne 0x12f2488
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.012f236f
add esp, 0xc
xor eax, eax
jmp 0x12f255d
cmp dword [ebx + 8], 0x88330560
jne 0x12f249d
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x12f2470
cmp dword [ebx + 8], 0xe892dd44
jne 0x12f24b2
push 0x4b406b8e
push 0x4b4068db
jmp 0x12f2470
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.012f2d7d
test eax, eax
js 0x12f255d
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x12f2558
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.012f3315
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x12f2528
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x12f2545
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.012f3315
test eax, eax
jne 0x12f2562
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.012f3315
test eax, eax
jne 0x12f2481
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x12f2475

Function at 0x12f319d
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x12f31bb
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x12f31bb
add eax, ecx
cmp dword [eax], 0x4550
je 0x12f31bd
xor eax, eax
ret