joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59af58
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040a1c8
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x59afaa
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x59afa3
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040b318
jmp 0x59afaa
mov eax, esi
call fcn.0040a1c8
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a0838
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 0x5a0997
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6ccb88], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4e4cdc]
call fcn.004e5d14
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5a096d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004e5dc0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040b318
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5a09b0
call fcn.0040b4c8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004e5e24
test al, al
je 0x5a0957
lea ecx, [ebp - 4]
mov edx, 0x5a0a24
mov eax, dword [ebp - 0xc]
call fcn.004e6234
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042b848
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5a0957
xor edx, edx
push ebp
push 0x5a0950
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5a0a3c
mov eax, dword [ebp - 8]
push eax
call fcn.00414020
test eax, eax
je 0x5a0939
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5a0939
call fcn.005a07c4
test eax, eax
je 0x5a0929
mov eax, dword [ebx + 0x50]
jmp 0x5a092c
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6ccb88]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0957
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a0974
mov eax, dword [ebp - 0xc]
call fcn.00408444
ret

Function at 0x5a0aa0
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 0x5a0ae7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0aca
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a0adb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x5a0ae7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5ab9fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5aba1d
test edi, 0x40000
je 0x5aba37
test bl, bl
jne 0x5abab8
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5abab8
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x5aba6a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5aba7f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x5aba8e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5aba9f
cmp byte [esp + 2], 0
je 0x5abab8
cmp byte [esp + 2], 0
je 0x5abab0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5abab8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5abd5c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x5abd82
mov eax, esp
push eax
push 0x5abd24
call sub.user32.dll_EnumWindows
jmp 0x5abd95
mov eax, esp
push eax
push 0x5abd04
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x5abe58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5abea8]
test bl, 4
je 0x5abe6c
or si, 1
test bl, 8
je 0x5abe75
or si, 4
test bl, 1
je 0x5abe7e
or si, 8
test bl, 2
je 0x5abe87
or si, 0x10
test bl, 0x10
je 0x5abe90
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abea0
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5abeac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5abee8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abec7
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5abed7
or bx, 4
test esi, 0x20000000
je 0x5abee3
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x40cb23
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00401200
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40cd5a
push esi
call fcn.0040b0aa
cmp eax, 0x3f6
jae 0x40cd5a
push edi
push 0x3c
pop edi
push edi
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.0040ad7b
movzx ecx, word [esi]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0x5c0
cmp cx, 0x22
jne 0x40cb7a
lea eax, [esi + 2]
mov dword [ebp - 0x30], eax
jmp 0x40cb7d
mov dword [ebp - 0x30], esi
xor eax, eax
cmp cx, bx
je 0x40cbd3
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40cba5
jmp 0x40cb95
cmp word [esi + eax*2], 0x22
je 0x40cb9e
inc eax
cmp word [esi + eax*2], bx
jne 0x40cb8e
jmp 0x40cba5
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40cbbf
cmp word [esi + eax*2 + 2], 0x2f
je 0x40cbbf
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40cb86
jmp 0x40cbd3
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40cbcd
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x2c], eax
cmp byte [ebp + 8], bl
jne 0x40cbe8
cmp word [0x41ca12], bx
je 0x40cbe8
mov dword [ebp - 0x2c], 0x41ca12
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 1
call fcn.00407f4c
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40cc14
push str..inf
push eax
call fcn.0040f20f
test eax, eax
jne 0x40cc14
mov dword [ebp - 0x34], str.Install
push dword [ebp - 0x30]
call fcn.00405e34
mov bl, al
test bl, bl
je 0x40cc3a
lea eax, [ebp - 0x1040]
push eax
push dword [ebp - 0x30]
call fcn.00407a73
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], 0
je 0x40cc78
test bl, bl
jne 0x40cc78
push dword [ebp - 0x30]
lea eax, [ebp - 0x840]
push eax
call fcn.0040b0d4
push str..exe
lea eax, [ebp - 0x840]
push eax
call fcn.0040b141
lea eax, [ebp - 0x840]
push eax
call fcn.00405e34
test al, al
je 0x40cd59
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [ebp - 0x40]
push eax
call edi
test eax, eax
setne al
test al, al
jne 0x40ccaa
and dword [ebp - 0x3c], 0xfffffbff
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], esi
call edi
test eax, eax
setne al
test al, al
je 0x40cd59
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
xor bl, bl
cmp byte [0x41c208], bl
jne 0x40ccbf
cmp byte [ebp + 8], bl
je 0x40ccf5
mov eax, dword [0x41c200]
test eax, eax
je 0x40ccdf
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40ccdf
push 0
push dword [0x41c200]
call esi
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 8]
call fcn.0040c413
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x40cd15
push str..exe
push dword [ebp - 4]
call fcn.0040f20f
test eax, eax
je 0x40cd45
cmp byte [0x41c208], 0
je 0x40cd2b
cmp byte [ebp + 8], 0
jne 0x40cd2b
push 0x1b58
jmp 0x40cd3f
xor eax, eax
cmp byte [ebp + 8], al
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, bl
je 0x40cd59
cmp byte [ebp + 8], 0
je 0x40cd59
push 1
push dword [0x41c200]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40e749
Capabilities:
Hash data using sha1

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

Function at 0x41270e
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x1051a320
Capabilities:
Access peb ldr_data
Packed with generic packer
Parse pe header

Disassembly:
popfd
lea esp, [esp + 4]
call fcn.1051a291
call fcn.1051a27b
push ax
lea esp, [esp + 3]
mov dword [esp + 4], eax
mov dword [esp], ecx
push di
push word [esp]
jmp 0x1051a2b3
mov dx, word [esp + 1]
inc dx
mov dh, 0xdb
lea esp, [esp + 2]
mov edx, dword [esp + 0x20]
lea esp, [esp + 0x24]
jmp 0x1051a23b
lea esp, [esp + 2]
mov byte [esp], dl
lea esp, [esp + 2]
mov dword [esp + 0x18], esp
call fcn.1051a30c
jae 0x1051a31d
mov word [esp + 1], si
mov byte [esp], bl
pushal
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebx
pushfd
jmp 0x1051a29d
mov word [esp + 1], dx
cmc
mov ecx, dword [esp + 4]
mov dx, word [esp]
sub esp, 0x1a
mov dx, 0xa10a
jmp 0x1051a264
add byte [eax], al
add byte [ecx - 0x14fcdbbc], cl
mov dword [esp + 3], eax
jmp 0x1051a35d
push ecx
rcl dword [ecx + 0x30], 0xc3
and edx, edx
inc edi
xlatb
mov dl, 0x41
cmpsb byte [esi], byte es:[edi]
jp 0x1051a389
les esi, [edi + 0x66]
mov edx, dword [esp]
bswap ecx
mov ch, 0xa3
lea esp, [esp + 1]
inc dl
pushfd
jmp 0x1051a2dc
invalid
invalid
invalid
push esp

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

Disassembly:
mov eax, section..reloc
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x73391148
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
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
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x48a575c9
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401700
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edx + 0x3c]
add ecx, edx
mov edx, 0x10b
movzx eax, word [ecx + 0x18]
cmp ax, dx
je 0x401728
mov edx, 0x20b
cmp ax, dx
jne 0x401790
movzx eax, word [ecx + 0x14]
lea esi, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
cmp edi, dword [esi + 0x14]
jae 0x401749
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor eax, eax
cmp cx, bx
jae 0x401790
movzx edx, ax
lea ecx, [edx + edx*4]
mov esi, dword [esi + ecx*8 + 0xc]
cmp edi, esi
jb 0x401770
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + ecx*8 + 0x10]
mov ebx, dword [ebp - 8]
add ecx, esi
cmp edi, ecx
jb 0x40177b
inc eax
cmp ax, bx
jae 0x401790
mov esi, dword [ebp - 4]
jmp 0x401752
mov ecx, dword [ebp - 4]
lea eax, [edx + edx*4]
mov eax, dword [ecx + eax*8 + 0x14]
sub eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
mov eax, dword [edx + 0x3c]
mov dword [ebp - 8], edx
mov ecx, dword [eax + edx + 0x78]
mov eax, dword [eax + edx + 0x7c]
add ecx, edx
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 4], ecx
test eax, eax
je 0x4033e7
mov esi, dword [ecx + 0x20]
xor edi, edi
mov ebx, dword [ecx + 0x24]
add esi, edx
add ebx, edx
cmp dword [ecx + 0x18], edi
jbe 0x4033e7
mov ecx, dword [esi]
add ecx, edx
xor edx, edx
cmp byte [ecx], dl
je 0x4033c7
nop word [eax + eax]
inc edx
cmp byte [edx + ecx], 0
jne 0x4033c0
push ecx
call fcn.004056b0
add esp, 4
cmp eax, dword [ebp - 0xc]
je 0x4033f9
mov eax, dword [ebp - 4]
inc edi
mov edx, dword [ebp - 8]
add esi, 4
add ebx, 2
cmp edi, dword [eax + 0x18]
jb 0x4033b0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
call fcn.00402f50
push dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov esi, eax
mov ecx, esi
call fcn.00402c50
add esp, 8
test eax, eax
je 0x403427
mov ecx, esi
call fcn.00401c30
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4056b0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, edx
lea eax, [ebp - 0x44]
push edi
mov edx, 0x40
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub edx, 1
jne 0x4056d0
push ebx
mov ebx, esi
lea edx, [ebp - 0x44]
shr ebx, 2
mov edi, ebx
test edi, edi
je 0x4056ff
nop word [eax + eax]
mov eax, dword [ecx]
add ecx, 4
mov dword [edx], eax
add edx, 4
sub edi, 1
jne 0x4056f0
mov edi, esi
and edi, 3
je 0x405713
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
sub edi, 1
jne 0x405708
xor edx, edx
test esi, esi
jle 0x405737
nop dword [eax]
mov cl, byte [ebp + edx - 0x44]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x405732
add cl, 0x20
mov byte [ebp + edx - 0x44], cl
inc edx
cmp edx, esi
jl 0x405720
mov dword [ebp - 0x48], esi
lea edx, [ebp - 0x44]
mov edi, 0xff889912
cmp esi, 4
jl 0x405773
mov eax, ebx
neg eax
lea esi, [esi + eax*4]
nop
imul ecx, dword [edx], 0x5bd1e995
add edx, 4
imul edi, edi, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor edi, ecx
sub ebx, 1
jne 0x405750
xor ecx, ecx
pop ebx
sub esi, 1
je 0x405795
sub esi, 1
je 0x40578c
sub esi, 1
jne 0x40579a
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor ecx, eax
imul edx, dword [ebp - 0x48], 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, edi, 0x5bd1e995
pop edi
pop esi
xor ecx, eax
mov eax, edx
shr eax, 0x18
xor eax, edx
imul ecx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor ecx, eax
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bff4
mov esp, ebp
pop ebp
ret
Function at 0x41b0d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x19
push 0xf2f7da4c
mov edx, 0xf
mov edi, ecx
call fcn.00405390
add esp, 8
push 0
push 2
call eax
mov ebx, eax
mov dword [ebp - 0x250], ebx
test ebx, ebx
je 0x41b30c
push 0xb
push 0x8dcd453a
mov edx, 0xf
mov dword [ebp - 0x230], 0x22c
call fcn.00405390
add esp, 8
lea ecx, [ebp - 0x230]
push ecx
push ebx
call eax
test eax, eax
jne 0x41b162
push 0x59
push 0x3d7344ad
lea edx, [eax + 0xf]
call fcn.00405390
add esp, 8
push ebx
call eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bff4
mov esp, ebp
pop ebp
ret
push esi
nop dword [eax]
nop word [eax + eax]
mov byte [ebp - 0x24c], 0
mov byte [ebp - 0x24b], 0x5e
mov byte [ebp - 0x24a], 0x39
mov byte [ebp - 0x249], 0x17
mov byte [ebp - 0x248], 0x39
mov byte [ebp - 0x247], 0x5d
mov byte [ebp - 0x246], 0x39
mov byte [ebp - 0x245], 1
mov byte [ebp - 0x244], 0x39
mov byte [ebp - 0x243], 0x46
mov byte [ebp - 0x242], 0x39
mov byte [ebp - 0x241], 0xc
mov byte [ebp - 0x240], 0x39
mov byte [ebp - 0x23f], 0x5e
mov byte [ebp - 0x23e], 0x39
mov byte [ebp - 0x23d], 0xc
mov byte [ebp - 0x23c], 0x39
mov byte [ebp - 0x23b], 0x63
mov byte [ebp - 0x23a], 0x39
mov byte [ebp - 0x239], 0x5e
mov byte [ebp - 0x238], 0x39
mov byte [ebp - 0x237], 0x17
mov byte [ebp - 0x236], 0x39
mov byte [ebp - 0x235], 0x5e
mov byte [ebp - 0x234], 0x39
mov byte [ebp - 0x233], 0x39
mov byte [ebp - 0x232], 0x39
mov al, byte [ebp - 0x24b]
cmp byte [ebp - 0x24c], 0
jne 0x41b271
xor esi, esi
lea ebx, [esi + 0x7f]
mov al, byte [ebp + esi - 0x24b]
mov ecx, 0x39
movzx eax, al
sub ecx, eax
imul eax, ecx, 0xb
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [ebp + esi - 0x24b], dl
inc esi
cmp esi, 0x1a
jb 0x41b241
mov ebx, dword [ebp - 0x250]
push 0x2d
push 0x6a52db9
mov edx, 0xf
call fcn.00405390
add esp, 8
lea ecx, [ebp - 0x24b]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
call eax
test eax, eax
jne 0x41b2ce
push 0xc
call fcn.0041e3c4
xorps xmm0, xmm0
add esp, 4
movq qword [eax], xmm0
mov dword [eax + 8], 0
test eax, eax
je 0x41b2f4
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 4]
mov dword [ecx], eax
add eax, 4
mov dword [edi + 4], eax
push 0x50
push 0xd91f548a
mov edx, 0xf
call fcn.00405390
add esp, 8
lea ecx, [ebp - 0x230]
push ecx
push ebx
call eax
test eax, eax
jne 0x41b170
push 0x59
push 0x3d7344ad
mov edx, 0xf
call fcn.00405390
add esp, 8
push ebx
call eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0041bff4
mov esp, ebp
pop ebp
ret
Function at 0x410b3d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x250]
push esi
xor esi, esi
push edi
mov edi, esi
cmp eax, 0xffffffff
jne 0x410b5a
inc edi
jmp 0x410c31
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx + 0x250], 0xffffffff
cmp dword [ebp + 8], esi
je 0x410c31
cmp dword [ebx + 0x14], esi
jne 0x410c31
push esi
push esi
push 3
push esi
push esi
push 0xc0000000
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x250], eax
cmp eax, 0xffffffff
jne 0x410bb8
call esi
mov edi, eax
test edi, edi
jle 0x410bb6
and edi, 0xffff
or edi, 0x80070000
test edi, edi
js 0x410c31
push 0
push 0
push dword [ebx + 0x244]
push dword [ebx + 0x240]
push dword [ebx + 0x250]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x410bf0
call esi
mov edi, eax
test edi, edi
jle 0x410bee
and edi, 0xffff
or edi, 0x80070000
test edi, edi
js 0x410c31
push dword [ebx + 0x250]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x410c18
call esi
mov edi, eax
test edi, edi
jle 0x410c16
and edi, 0xffff
or edi, 0x80070000
test edi, edi
js 0x410c31
mov eax, dword [ebx + 0x244]
mov edx, dword [ebx + 0x240]
mov esi, dword [ebx + 0x20]
mov ecx, dword [esi]
push eax
push edx
push eax
push edx
push esi
call dword [ecx + 0x50]
mov eax, dword [ebx + 0x250]
cmp eax, 0xffffffff
je 0x410c4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx + 0x250], 0xffffffff
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41106e
Capabilities:
Encode data using xor

Disassembly:
test bh, al
mov ch, 0x3c
mov ebp, 0xfffff371
add edi, edx
xor ebp, 0x5f2
test bh, 0xdb
xor ebp, 0x3bb
bswap ebx
xadd edx, ebp
lea edi, [0x2403c753]
add edx, 0xac9
mov eax, ebx
sbb eax, 0x5f3a9b84
cmp ebx, 0x6ac7bcf1
sti
int1
mov esp, 0xfa816ac7
xor al, byte [ecx]
add byte [eax], al
jb 0x411030
movd ebp, mm4
jae 0x411078
imul ebx, esi
and eax, 0x6c64593
lea edi, [0x888b9c44]
bswap edi
cmp ecx, 0x7c09
je 0x411096
imul edi, edi
test edx, 0xff3f15af
mov esi, 0x1ba79
mov bl, 0x53
xor esi, 0xd737
imul edi, ebp
not ecx
sub eax, edx
dec eax
imul ebx, ebp, 0x3adda780
mov edi, 0x12269a
imul ebx, esi
xor edi, 0xca7f
test al, 0xe3
sub edi, 0xcc172
lea edx, [edi]
movzx ebx, dl
sub edx, 0x62b73
mov edx, esi
sub edx, 0x8a
ja 0x4110ea
mov ecx, 0x16dc0347
mov cl, ah
xchg ebx, eax
sub ch, al
xadd ebp, edx
jo 0x4110f5
xor ecx, 0x4bdc8d8b
sub ebp, 0x60e
jo 0x411109
bswap esi
inc eax
movsx edx, ch
imul esi, eax, 0xa8a9b039
add eax, ecx
xchg edi, ecx
imul edx, ecx
lea esi, [edi]
bswap edx
mov eax, esi
imul ebx, edx
xchg edx, edi
test bl, bl
jmp ebp
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp loc.00401219