joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51446c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5145a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x46db24]
call fcn.0046ec60
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x51457b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0046ed48
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004079d8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5145c0
call fcn.00407b88
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0046efc4
test al, al
je 0x514565
lea ecx, [ebp - 4]
mov edx, 0x514634
mov eax, dword [ebp - 0xc]
call fcn.0046f80c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00424aec
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x51455e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x51464c
mov eax, dword [ebp - 8]
push eax
call fcn.0040bf28
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x546618]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514565
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514582
mov eax, dword [ebp - 0xc]
call fcn.0040555c
ret

Function at 0x5146b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x5146f7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5146da
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5146eb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5146f7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x521e10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x54d4e8], 0
je 0x521f51
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x547398]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x521f51
mov eax, dword [0x54d4ec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x54d4e8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x521f20
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x54d4e8]
call fcn.0043ee50
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x521f18
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x521f18
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x521f18
mov eax, dword [ebp - 0x14]
call fcn.0052d7f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x521f18
push ebp
call fcn.00521dcc
pop ecx
test al, al
jne 0x521f18
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004057e4
test al, al
je 0x521f18
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004057e4
cmp byte [ebp - 1], 0
je 0x521f18
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.0040af04
test al, al
je 0x521f18
mov edx, dword [ebp - 0x14]
mov eax, dword [0x54d4ec]
call fcn.00521528
inc edi
dec ebx
jne 0x521e75
mov eax, dword [0x54d4ec]
cmp dword [eax + 8], 0
jle 0x521f38
mov eax, dword [0x54d4ec]
call fcn.005215e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x521f51
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00521c30
pop ecx
test al, al
jne 0x521f51
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52a36c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040aeec
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00524390
test ebx, ebx
jne 0x52a3bf
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0052a1e8
mov ebx, eax
test ebx, ebx
je 0x52a4b5
cmp esi, ebx
je 0x52a3e8
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x52a3fd
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x52a435
add eax, 0xffffff5f
sub eax, 2
jb 0x52a44d
dec eax
sub eax, 2
jb 0x52a461
dec eax
sub eax, 2
jb 0x52a457
jmp 0x52a46b
add eax, 0xfffffdff
sub eax, 2
jb 0x52a44d
dec eax
sub eax, 2
jb 0x52a461
dec eax
sub eax, 2
jb 0x52a457
jmp 0x52a46b
mov byte [esp + 0x120], 0
jmp 0x52a473
mov byte [esp + 0x120], 2
jmp 0x52a473
mov byte [esp + 0x120], 1
jmp 0x52a473
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004fac0c
mov esi, eax
call fcn.00520cc8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00525d68
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x52a4b7
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x535e00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xa]
dec eax
test eax, eax
jb 0x535e58
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
mov eax, dword [eax]
xor eax, dword [ebp - 0x14]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
shr eax, 8
mov edx, dword [ebp - 0x18]
xor eax, dword [edx*4 + 0x546810]
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x535e2a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x536d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
xor edx, edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407060
xor eax, eax
push ebp
push 0x536e70
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.004c7acc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x23c], 0x22c
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.004c7aec
mov dword [ebp - 0xc], eax
jmp 0x536e37
lea eax, [ebp - 0x244]
lea edx, [ebp - 0x218]
mov ecx, 0x104
call fcn.004079d8
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.0041ce18
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.0041e1fc
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x248]
call fcn.0041ce18
mov edx, dword [ebp - 0x248]
pop eax
call fcn.00407cc0
jne 0x536e26
push 0
mov eax, dword [ebp - 0x234]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 0x10]
call fcn.004c7b0c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x536db0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536e77
lea eax, [ebp - 0x24c]
mov edx, 4
call fcn.00406fdc
lea eax, [ebp - 4]
call fcn.00406f7c
ret

Function at 0x5371f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407060
mov eax, dword [ebp - 8]
call fcn.00407060
xor eax, eax
push ebp
push 0x5372dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00404d48
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 0x41
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040793c
push eax
mov eax, dword [ebp - 4]
call fcn.0040793c
push eax
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5372b1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5372b9
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5372e3
lea eax, [ebp - 0x6c]
call fcn.00406f7c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406fdc
ret
Function at 0x5f87e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x5f8805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x5f8878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x5f883a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x5f886d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x5f886b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x5f8831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5f87fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x9e0577
Capabilities:
Encode data using xor

Disassembly:
jmp [edi + 0x1b]
aaa
and ebx, ebx
inc esp
pop ebx
leave
or eax, 0x8c3f9a9f
pop esi
test al, 2
cmc
inc ebx
sbb byte [edx + 0x227dbbf4], al
sar byte [esi - 0x56], 1
call dword [ebp + edx*2 + 0x3f02005e]
or dl, al
or dword ss:[ebp - 0x19], ebp
out 0x5e, eax
stosb byte es:[edi], al
pop ds
lea ebp, [ebx]
aad 0x5e
or byte [ebx + 0x1a], 0xf6
xor eax, dword [ecx]
fcom qword [ebx + ebx*8 - 0x7b006683]
add byte [edi + 0x144f5755], bh
stc
xor edx, edx
xchg edx, eax
aam 0xe
pop ebp
cdq
mov edi, 0xf50a807c
push ebp
pop eax
adc byte [ecx + 0x6e], cl
aas
sub byte [eax], 9
sub byte [ecx], cl
sub byte [ecx], cl
cmp eax, 0x7e8c9fa1
add byte [edx], cl
push ebp
dec esp
sbb dword [edi + 0xfaddb1f], edi
lodsb al, byte [esi]
jge 0x9e0544
jg 0x9e0521
push ebp
jp 0x9e0510
das
inc esi
sbb edi, dword [ecx - 0x1e86b105]
in al, 0xdd
mov ecx, 0x55558cbf
pop esi
sub byte [ecx + 0x1b], 0xff
inc ebx
cmp al, dl
in al, dx
mov dh, 0xbf
cmp dword [edi + 0x6d], 0x5f
add byte [edi], ch
mov esi, 0x98051a4d
lodsd eax, dword ss:[esi]
and edx, ecx
lahf
sbb dword [esi], 0x76
push ebp
stosb byte es:[edi], al
add byte [eax], al
sbb byte ds:[ebp + 0x6971dc90], ah
add bh, bh
mov edi, dword [ebp + 0x77]
jmp [edx + 0x4a1d0000]

Function at 0x9f5547
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x2f3ac], 0
push ebx
push esi
push edi
je 0x9f558f
xor eax, eax
mov dword [0x2f3ac], eax
mov dword [0x2f3b0], eax
mov dword [0x2f3b4], eax
mov dword [0x2f3b8], eax
mov dword [0x2f3bc], eax
mov dword [0x2f3c0], eax
mov dword [0x2f3c4], eax
mov dword [0x2f3c8], eax
mov dword [0x2f3cc], eax
mov dword [0x2f3d0], eax
mov esi, dword [0x2d0ec]
xor eax, eax
mov dword [ebp - 6], eax
mov word [ebp - 2], ax
lea eax, [ebp - 8]
push eax
mov dword [0x2f3ac], 1
mov dword [ebp - 4], 0x2c1b6
mov dword [ebp - 8], 0x360034
call esi
mov dword [0x2f3b4], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c1ec
mov dword [ebp - 8], 0x320030
call esi
mov dword [0x2f3b8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c21e
mov dword [ebp - 8], 0x320030
call esi
mov dword [0x2f3bc], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c250
mov dword [ebp - 8], 0x2a0028
call esi
mov dword [0x2f3c0], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c100
mov dword [ebp - 8], 0x1c001a
call esi
mov dword [0x2f3b0], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c27a
mov dword [ebp - 8], 0x240022
call esi
mov dword [0x2f3c4], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c29e
mov dword [ebp - 8], 0x220020
call esi
mov dword [0x2f3c8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c2c0
mov dword [ebp - 8], 0x220020
call esi
mov dword [0x2f3cc], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 0x2c2e2
mov dword [ebp - 8], 0x220020
call esi
pop edi
pop esi
mov dword [0x2f3d0], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9fe917
Capabilities:
Get storage device properties

Disassembly:
test byte [ecx + 0x5589f475], 0xf8
mov dword [ebp - 4], edx
test edi, edi
je 0x9fe97b
mov ebx, edi
cmp edi, 0xffffffff
jae 0x9fe9ec
call dword [0x2d010]
cmp al, 2
lea eax, [esi + 1]
jb 0x9fe942
mov eax, dword [0x2f4d4]
push 0x2a677641
push ebx
push eax
call dword [0x2d140]
mov esi, eax
test esi, esi
je 0x9fe9e9
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x9fe96a
push 0
push eax
mov eax, dword [0x2d150]
call eax
lea eax, [esi + ebx]
mov ebx, dword [0x2d150]
mov dword [ebp - 0xc], esi
mov edx, esi
mov dword [ebp - 4], eax
sub edx, esi
cmp edx, edi
jae 0x9fe998
mov ecx, edi
lea eax, [esi + edx]
sub ecx, edx
je 0x9fe998
test eax, eax
je 0x9fe991
mov byte [eax], 0
inc eax
dec ecx
jne 0x9fe98a
mov esi, dword [ebp - 0xc]
lea eax, [esi + edi]
mov dword [ebp - 8], eax
sub eax, esi
push eax
push esi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push dword [ebp + 0xc]
call dword [0x2d110]
mov ecx, eax
call fcn.009f4e77
mov esi, dword [ebp - 0xc]
mov edi, eax
test edi, edi
js 0x9feb12
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x18]
dec eax
cmp eax, ecx
jae 0x9fe9f6
mov edi, 0xe0010045
jmp 0x9feb12
mov esi, dword [ebp - 0xc]
mov edi, 0xe0010001
jmp 0x9feb12
test ecx, ecx
jne 0x9fea04
mov edi, 0xe001004c
jmp 0x9feb12
xor edx, edx
lea edi, [esi + ecx]
mov byte [ebp - 0x33], 0
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
test edi, edi
jne 0x9fea21
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
jmp 0x9fea50
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x9fea27
sub ecx, edx
lea eax, [edi + ecx]
push eax
push edi
invalid
dec ebp

Function at 0xa04c79
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea eax, [esi + 0x50]
lock xadd dword [eax], ebx
dec ebx
jne 0xa04c93
mov ecx, esi
call fcn.00a003c7
push 0
push esi
call dword [0x2d150]

Function at 0xa04d67
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc esp
and al, 0x15
add dword [ebx + 0x7c83085d], ecx
and al, 0x18
add byte [edx + 0xf132444], cl
xchg cl, bl
add byte [eax], al
add byte [eax + eax*8 + 0xd1850f], al
add byte [eax], al
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x406793
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x4067bd
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x441060]
inc edi
sub esi, 1
jne 0x4067a5
pop edi
mov eax, edx
pop esi
ret 0xc

Function at 0x4069aa
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
cmp dword [edi], 2
lea esi, [edi + 4]
jne 0x406a00
mov eax, dword [esi]
push ebx
push ebp
push ebp
push ebp
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push dword [esp + 0x5c]
call fcn.00407094
mov edx, ebp
mov ebx, ebp
movzx eax, byte [esp + edx + 0x14]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl eax, cl
xor eax, ebx
inc edx
mov ebx, eax
cmp edx, 0x20
jb 0x4069e4
mov dword [esi], eax
pop ebx
cmp dword [edi], 3
jne 0x406a2c
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
push 0x20
push esi
push 0x20
push dword [esp + 0x58]
call fcn.00407094
push 0x20
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00422dc0
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x24
ret 8
Function at 0x40de43
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40de60
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40de58
cmp cl, byte [edx]
jne 0x40de9b
push esi
push edx
push 0xffffffffffffffff
call fcn.00406793
not eax
mov ecx, ebx
cmp dword [ecx + 0x440044], eax
jne 0x40de81
cmp dword [ecx + 0x440040], esi
je 0x40de8c
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40de71
jmp 0x40de9b
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x440048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0x4102f7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00422dc0
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x410377
cmp ebx, dword [ebp + 4]
jg 0x4104db
cmp edi, esi
jge 0x410364
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x410360
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410340
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x41036a
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x41032b
cmp ebx, dword [ebp + 4]
jg 0x4104db
mov edi, str.CreateFileMappingW
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x440098]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x410408
cmp esi, 1
jle 0x4103fc
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4103ea
sub dword [esp + 0x14], 1
jne 0x4103e7
xor edi, edi
test esi, esi
jle 0x4104ce
jmp 0x410486
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x410417
sub dword [esp + 0x14], 1
jne 0x410414
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x440098]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x410474
sub dword [esp + 0x14], 1
jne 0x410471
cmp ebx, dword [ebp + 4]
jg 0x4104d1
cmp edi, esi
jge 0x4104bb
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4104b7
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410497
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4104c1
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x410486
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x410385
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x41069c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x44a1f8]
test esi, esi
jne 0x4106ba
mov ecx, 0x44a1f0
call fcn.00410627
mov esi, dword [0x44a1f8]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
and eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x410705
test esi, esi
je 0x410729
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x434278]
call esi
test eax, eax
jne 0x41074d
push 0x434b64
mov esi, 0x4430c4
push esi
call fcn.004076e9
pop ecx
pop ecx
mov ecx, esi
call fcn.00407871
push 2
mov ecx, esi
call fcn.004076e4
jmp 0x41074d
mov esi, dword [0x44a1fc]
test esi, esi
je 0x410729
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x434278]
call esi
test eax, eax
jne 0x41074d
push 0x434b98
jmp 0x4106e6
push ebx
call dword [0x434058]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x41074c
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x4b]
add al, dl
lea ecx, [edx + esi]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x41073c
pop ebx
pop esi
pop ebp
ret 0x10