joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10198628
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x101b12d4], 0x24f2
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, 0x13da
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov dword [0x101b12d4], 0x13da
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x101986a6
mov dword [0x101b12d4], 0x5bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101986ed
jmp 0x10198768
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10198671
jmp 0x10198768
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2], 0
mov esi, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], esi
je 0x1019868f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffe00
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [0x101b12d4], eax
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
jl 0x101986a6
jmp 0x1019868f
mov dword [0x101b12d8], 0x47
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10198768
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10198768
mov dword [0x101b12d4], 0xfffffa1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10198768
mov dword [0x101b12d8], 0x519
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10198768
mov eax, 1
mov dword [0x101b12d4], 0x24bd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x10198777
xor eax, eax
mov dword [0x101b12d4], 0x1321
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x10198b66
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x93e
xor ebx, ebx
mov dword [0x101b12dc], 0
mov dword [0x101b12e0], 0
mov dword [0x101b12ec], 0
mov dword [0x101b12d4], 0x1b7a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10198cf3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x109d
mov edi, 0x100
mov dword [0x101b12d4], 0xcd7
mov ebx, eax
add ebx, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101b12dc], edx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101b12e0], edx
mov dword [0x101b12d4], 0x1a1e
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x101b12e4], cl
mov dword [0x101b12d8], 0xfffff974
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101b12e4]
mov edx, dword [0x101b12e0]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x101b12d4], 0x6cf
mov edx, dword [0x101b12dc]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101b12e0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x101b12d4], 0x257e
and ecx, 0xff
mov dword [0x101b12ec], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
xor cl, byte [edx + edi]
mov byte [0x101b12f0], cl
mov dword [0x101b12d8], 0x16d0
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], cl
mov dword [0x101b12d4], 0x22d9
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], esi
je 0x10198cf3
mov eax, dword [0x101b12e0]
mov ecx, dword [0x101b12dc]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
jmp 0x10198bd1
mov eax, dword [ebp - 0x2c]
mov dword [0x101b12d4], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10198d03
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101b12d4], 0x1742
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10197f22
lea ecx, [0x10197a4b]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], 0x148400
mov edx, dword [0x101b12c0]
mov dword [esp + 0x44], edx
mov edx, dword [0x101b12c4]
mov dword [esp + 0x34], edx
mov dword [0x101b12d8], 0x848
mov edx, dword [0x101b12c8]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101b12cc]
mov dword [esp + 0x68], edx
mov edx, dword [0x101b12d0]
mov dword [esp + 0x50], edx
mov dword [0x101b12d4], 0x96b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10198dba
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10198dce
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10198d97
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [0x101b12d8], 0x58
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
mov dword [0x101b12d4], 0xc36
call fcn.10198628
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10198e5b
lea eax, [esp + 0x20]
mov dword [0x101b12d4], 0x996
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10197d2c
mov dword [0x101b12d4], 0x26f7
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x101b12d8]
add ecx, 0xfffff46a
mov dword [0x101b12d4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ed0
nop
mov ecx, 0x15b52e19
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4afc3ebe
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4065c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4065ed
xor eax, eax
test eax, eax
je 0x406600
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406600
xor ecx, ecx
jmp 0x406603
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x7a65c4], 0
push esi
jne 0x406763
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40673d
mov dword [ecx*4 + 0x7a65c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406738
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406794
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65c0]
xor eax, esi
inc ecx
dec edx
jne 0x406776
pop edi
not eax
pop esi
ret 0xc

Function at 0x401a2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401a3c
push esp
mov dword [ebp - 0x24], 0x401778
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401adb
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401abc
pop ebp
ret 0x10
Function at 0x406222
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406246
xor eax, eax
test eax, eax
je 0x406258
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406258
xor ecx, ecx
jmp 0x40625b
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x40633c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406316
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406311
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40636d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x40634f
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
jmp 0x4066ee
mov esi, dword [edx + 0x28]
jmp 0x4066fb
movzx ecx, word [edx + 0x26]
xor edi, edi
xor eax, eax
nop
lodsb al, byte [esi]
nop
cmp al, 0x61
jl 0x40671c
jmp 0x40671a
sub al, 0x20
jmp 0x40672b
ror edi, 0xd
add edi, eax
jmp 0x40673f
dec ecx
jmp 0x406750
jne 0x406701
nop
jmp 0x406761
push edx
jmp 0x40676f
push edi
nop
jmp 0x40677b
mov edx, dword [edx + 0x10]
nop
jmp 0x406789
mov eax, dword [edx + 0x3c]
jmp 0x40679d
add eax, edx
nop
jmp 0x4067b1
mov eax, dword [eax + 0x78]
nop
test eax, eax
jmp 0x4067c8
je 0x406972
jmp 0x4067de
add eax, edx
nop
push eax
jmp 0x4067f0
mov ecx, dword [eax + 0x18]
mov ebx, dword [eax + 0x20]
jmp 0x406800
add ebx, edx
jmp 0x40680f
jmp 0x406820
test ecx, ecx
nop
jmp 0x406834
je 0x40696f
jmp 0x40684b
dec ecx
nop
pop eax
nop
jmp 0x406986
pop edi
nop
jmp 0x406999
pop edx
nop
mov edx, dword [edx]
jmp 0x4069ac
jmp 0x4066e2
Function at 0x40a020
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x40a0cb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e394
push edx
call dword [sym.imp.msvcrt.dll_sprintf]
mov edi, 0x40e38c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x40a0b5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.msvcrt.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401860
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub esp, 0x558
xor eax, eax
push esi
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], eax
mov ecx, 0x10
lea edi, [esp + 0x1c]
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
mov cl, byte [0x40c168]
lea edi, [esp + 0x5d]
mov byte [esp + 0x5c], cl
mov ecx, 0x140
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x564]
xor esi, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 0x44
mov word [esp + 0x50], si
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x568]
cmp eax, esi
mov eax, str.__RegServer
jne 0x4018d4
mov eax, str.__UnregServer
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
lea eax, [esp + 0x18]
push edx
push eax
push esi
push esi
push 0x8000008
push esi
push esi
lea ecx, [esp + 0x78]
push esi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40194b
mov edx, dword [esp + 8]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40192c
mov eax, dword [esp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x80004005
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x558
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x401962
call esi
pop edi
pop esi
add esp, 0x558
ret
call esi
and eax, 0xffff
pop edi
or eax, 0x80070000
pop esi
add esp, 0x558
ret

Function at 0x401db0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x40c164
lea eax, [esp + 4]
push 0
push eax
push 0x401d30
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4063d7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40b818
cmp edx, dword [eax]
je 0x4063f9
add eax, 8
inc ecx
cmp eax, 0x40b8a8
jl 0x4063ea
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40b818]
jne 0x406527
mov eax, dword [0x40c174]
cmp eax, 1
je 0x406501
test eax, eax
jne 0x40642a
cmp dword [0x40b3a4], 1
je 0x406501
cmp edx, 0xfc
je 0x406527
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406461
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407110
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403b20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4064a4
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403b20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x409644
push edi
call fcn.00407680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407110
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407120
lea eax, [ebp - 0xa0]
push 0x409624
push eax
call fcn.00407120
push dword [esi + 0x40b81c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407120
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00407e40
add esp, 0x2c
pop edi
jmp 0x406527
lea eax, [ebp + 8]
lea esi, [esi + 0x40b81c]
push 0
push eax
push dword [esi]
call fcn.00403b20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x15b917bd
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d85017b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40303b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401f4b
and dword [ebp - 0x14], 0
cmp dword [0x40c480], 0
mov dword [ebp - 0x18], eax
jne 0x4030ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403196
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403196
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c480], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c484], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c488], eax
call edi
push eax
call esi
mov dword [0x40c490], eax
test eax, eax
je 0x4030ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c48c], eax
mov eax, dword [0x40c48c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403147
cmp dword [0x40c490], ecx
je 0x403147
push eax
call esi
push dword [0x40c490]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403147
test ebx, ebx
je 0x403147
call edi
test eax, eax
je 0x40313e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40313e
test byte [ebp - 8], 1
jne 0x403147
or dword [ebp + 0x10], 0x200000
jmp 0x40317a
mov eax, dword [0x40c484]
cmp eax, dword [ebp - 0x18]
je 0x40317a
push eax
call esi
test eax, eax
je 0x40317a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40317a
mov eax, dword [0x40c488]
cmp eax, dword [ebp - 0x18]
je 0x40317a
push eax
call esi
test eax, eax
je 0x40317a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c480]
call esi
test eax, eax
je 0x403196
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403198
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004033a6
leave
ret

Function at 0x4033a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b330]
jne 0x4033b0
repz ret
jmp fcn.004048bd
Function at 0x4065ce
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 0x4065f5
call fcn.00402870
mov dword [eax], esi
call fcn.0040285d
push 0x16
pop esi
mov dword [eax], esi
call fcn.0040280b
mov eax, esi
jmp 0x40664a
test dword [ebp + 0xc], 0xfffffff9
jne 0x4065db
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406622
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00402883
pop ecx
call fcn.0040285d
mov eax, dword [eax]
jmp 0x40664a
test al, 0x10
jne 0x406648
test al, 1
je 0x406648
test byte [ebp + 0xc], 2
je 0x406648
call fcn.00402870
mov dword [eax], 5
call fcn.0040285d
mov dword [eax], 0xd
jmp 0x406619
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
wait
fnstcw word [0x402140]
wait
fnclex
mov word [0x402142], 0x27f
fldcw word [0x402142]
fld qword [section..data]
push 0x402144
call fcn.004010a0
push 0
push 0x402080
push 0x402144
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
fldcw word [0x402140]
jmp 0x401378
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1000a0a3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a0e2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000a0e2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000a0e2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000a0e2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000a0e2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret