joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492580
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x944
push ebx
mov ebx, dword [esp + 0x94c]
push ebp
push esi
test ebx, ebx
push edi
je 0x4926ea
mov ebp, dword [esp + 0x95c]
test ebp, ebp
je 0x4926ea
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea eax, [esp + 0x158]
push str._s.
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x154]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x4926ea
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea ecx, [esp + 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4926da
mov edi, dword [esp + 0x960]
cmp dword [esp + 0x14], 0x10
jne 0x492669
lea edx, [esp + 0x40]
lea eax, [esp + 0x154]
push edx
push ebx
push 0x4c1704
push eax
call esi
lea ecx, [esp + 0x50]
lea edx, [esp + 0x564]
push ecx
push ebp
push 0x4c1704
push edx
call esi
add esp, 0x20
lea eax, [esp + 0x554]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x554]
push edi
lea edx, [esp + 0x158]
push ecx
push edx
call fcn.00492580
add esp, 0xc
jmp 0x4926c2
lea eax, [esp + 0x40]
lea ecx, [esp + 0x154]
push eax
push ebx
push 0x4c1704
push ecx
call esi
lea edx, [esp + 0x50]
lea eax, [esp + 0x564]
push edx
push ebp
push 0x4c1704
push eax
call esi
add esp, 0x20
lea ecx, [esp + 0x554]
lea edx, [esp + 0x154]
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esp + 0x554]
push eax
push 0x4c1758
call fcn.00491850
add esp, 8
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49260a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x944
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x944
ret
Function at 0x492790
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x948
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push edi
mov edi, dword [esp + 0x958]
lea eax, [esp + 0x554]
push edi
push str._s.
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x554]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0xc], esi
jne 0x4927e3
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x948
ret
lea eax, [esp + 0x14]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push eax
push esi
call ebp
lea ecx, [esp + 0x18]
push ecx
push esi
call ebp
test eax, eax
mov dword [esp + 0x14], eax
je 0x49294a
mov esi, dword [esp + 0x964]
mov ebp, dword [esp + 0x960]
cmp dword [esp + 0x18], 0x10
jne 0x492876
lea edx, [esp + 0x44]
lea eax, [esp + 0x558]
push edx
push edi
push 0x4c1704
push eax
call ebx
lea ecx, [esp + 0x54]
lea edx, [esp + 0x168]
push ecx
push ebp
push 0x4c1704
push edx
call ebx
add esp, 0x20
lea eax, [esp + 0x158]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x158]
push esi
lea edx, [esp + 0x55c]
push ecx
push edx
call fcn.00492790
add esp, 0xc
jmp 0x49291a
mov edx, dword [esi + 0x804]
mov ecx, dword [esi + 0x808]
inc edx
mov eax, edx
mov dword [esi + 0x804], edx
cmp eax, ecx
jne 0x49291a
lea eax, [esp + 0x44]
lea ecx, [esp + 0x558]
push eax
push edi
push 0x4c1704
push ecx
call ebx
lea edx, [esp + 0x54]
lea eax, [esp + 0x168]
push edx
push ebp
push 0x4c1704
push eax
call ebx
mov ecx, dword [esi + 0x800]
add esp, 0x20
lea edx, [esp + 0x158]
lea eax, [esp + 0x558]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edi, [esi + 0x400]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x80c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x159]
push ecx
push edx
call ebx
lea eax, [esp + 0x160]
push eax
push 0x4c1758
call fcn.00491850
mov edi, dword [esp + 0x96c]
add esp, 0x10
mov ecx, dword [esi + 0x804]
mov eax, dword [esi + 0x808]
cmp ecx, eax
jge 0x492946
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x492814
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x948
ret
Function at 0x493020
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0xc7af18
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493082
mov ecx, dword [esp]
push esi
lea edx, [esp + 0x14]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret

Function at 0x4930b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0xc7af18
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x493111
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
push edx
mov edx, dword [esp + 8]
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret

Function at 0x493120
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push 0xc7af18
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x493170
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push esi
push ecx
mov ecx, dword [esp + 8]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret

Function at 0x493180
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0xc7af18
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4931e7
mov edx, dword [esp + 0x10]
push esi
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [esp + 0x1c]
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 8
ret
or eax, 0xffffffff
add esp, 8
ret
Function at 0x4931f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
mov dword [esp + 4], 1
push eax
push 0xf003f
push 0
push 0xc7af18
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x493270
push ebx
push esi
lea ecx, [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
push eax
mov eax, dword [esp + 0x1c]
push edi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x49325c
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push esi
push edi
push ecx
call ebx
mov esi, eax
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
or eax, 0xffffffff
add esp, 0xc
ret

Function at 0x493ef0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov eax, dword [0xc8b928]
sub esp, 8
test eax, eax
je 0x493f49
push esi
push edi
rdtsc
mov dword [esp + 8], eax
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x1f4
jb 0x493f0e
rdtsc
sub eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
fild qword [esp + 8]
fmul qword [0x4bc608]
call fcn.004af4d8
pop edi
mov dword [0xc8b94c], eax
pop esi
add esp, 8
ret
Function at 0x499040
Capabilities:
Set registry value

Disassembly:
push 0x4c3c44
call fcn.00492fe0
add esp, 4
jmp fcn.00493020
Function at 0x49ad60
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
sub esp, 0x20
push edi
push str.KIZUATOR
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x30]
cmp eax, 0xb7
jne 0x49adb1
cmp byte [edi], 0
je 0x49ade5
push 0
push 0x4c70ec
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x49adb1
push 0
push 0x9c89
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push eax
push 0x4c70ec
call fcn.00498fe0
mov al, byte [edi]
add esp, 8
test al, al
je 0x49ae5e
xor esi, esi
test al, al
je 0x49adf2
cmp al, 0x20
je 0x49adee
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x49add6
jmp 0x49adf2
xor eax, eax
pop edi
add esp, 0x20
ret 0x10
mov byte [esi + edi], 0
push 0x4c7220
push edi
call fcn.004af500
add esp, 8
test eax, eax
jne 0x49ae10
mov dword [0x4c5d38], 1
jmp 0x49ae5e
push 0x4c721c
push edi
call fcn.004af500
add esp, 8
test eax, eax
jne 0x49ae29
mov dword [0x4c5d38], eax
jmp 0x49ae5e
cmp byte [esi + edi], 0x5c
je 0x49ae3f
dec esi
test esi, esi
jle 0x49ae3c
cmp byte [esi + edi], 0x5c
jne 0x49ae2f
jmp 0x49ae3f
or esi, 0xffffffff
lea eax, [esi + edi + 1]
mov edx, str.9999.sdt
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x49ae4a
mov dword [0x4c5d38], 3
push 1
call fcn.004914a0
add esp, 4
call fcn.00493f50
call fcn.004940b0
call fcn.00499060
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov edx, dword [0xc93c70]
mov ecx, dword [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0xc93c70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [0xc93c70]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0xc93c70]
push 0
push edx
call sub.USER32.dll_WINNLSEnableIME
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x49af04
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call edi
test eax, eax
je 0x49af0b
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
call ebp
jmp 0x49aed0
call fcn.004912a0
jmp 0x49aed0
mov eax, dword [0xc93c60]
pop esi
pop ebp
pop ebx
test eax, eax
je 0x49af25
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.004985c0
add esp, 0xc
call fcn.0049abd0
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [esp + 0xc]
add esp, 0x20
ret 0x10
Function at 0x49ba70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x49bb10
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x49bac2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4c7280]
xor eax, edx
inc esi
cmp esi, edi
jl 0x49baa3
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x49baeb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4c7280]
xor eax, edx
inc esi
cmp esi, edi
jl 0x49bace
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x4b3771
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ca518
cmp edx, dword [eax]
je 0x4b3793
add eax, 8
inc ecx
cmp eax, 0x4ca5a8
jl 0x4b3784
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ca518]
jne 0x4b38c1
mov eax, dword [0xc93fbc]
cmp eax, 1
je 0x4b389b
test eax, eax
jne 0x4b37c4
cmp dword [0x4c9e84], 1
je 0x4b389b
cmp edx, 0xfc
je 0x4b38c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b37fb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b81a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b2810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b383e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b2810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bee50
push edi
call fcn.004afc80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b81a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b81b0
lea eax, [ebp - 0xa0]
push 0x4c9898
push eax
call fcn.004b81b0
push dword [esi + 0x4ca51c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b81b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004b8b60
add esp, 0x2c
pop edi
jmp 0x4b38c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4ca51c]
push 0
push eax
push dword [esi]
call fcn.004b2810
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x409840
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [0x40e300]
cmp ebx, eax
jae 0x40986d
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x40e304]
test byte [edx + eax*8 + 4], 1
jne 0x40987f
mov dword [0x40d334], 9
or eax, 0xffffffff
jmp 0x40999c
push 1
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
je 0x4098a7
push 2
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x4098af
or eax, 0xffffffff
jmp 0x40999c
mov eax, dword [ebp + 0xc]
neg edi
add edi, eax
jle 0x409941
push 0x1000
push 1
call fcn.00409e10
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x40993b
push 0x8000
push ebx
call fcn.00409e70
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x1000
cmp edi, 0x1000
jge 0x4098f2
mov eax, edi
mov edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.004074e0
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x409910
or dword [ebp - 0xc], 0xffffffff
jmp 0x409922
mov eax, edi
sub eax, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0xc], 0
test eax, eax
jg 0x4098e3
mov eax, dword [ebp - 8]
push eax
push ebx
call fcn.00409e70
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.004040b0
pop ecx
jmp 0x40998d
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
mov dword [ebp - 0xc], 0
test edi, edi
jge 0x40998d
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00408af0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x409966
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
push ebx
call fcn.00407980
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x40998d
mov dword [0x40d334], 0xd
or dword [ebp - 0xc], 0xffffffff
push 0
push esi
push ebx
call fcn.00408af0
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x41208a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b1064
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41210a
arpl word [edx + esi], si
mov cl, 0xa5
cdq
invalid
invalid
Function at 0x8ddfb8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8ddfbe
pop ebp
sub ebp, 6
sub ebp, 0x4ddfb8
jmp 0x8de01c
jmp 0x8de025
mov eax, 0x4ddfb8
add eax, ebp
add eax, 0x93
mov ecx, 0x610
mov edx, 0x6a832ad
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de03c
jmp 0x8de04f
invalid
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 8]
add edx, 0xffffffcc
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ecx, 0x6f2
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x2c]
lea ebx, [ebp - 0x50]
xor ebp, 0x23c0
mov dword [esp + 0x10], edx
add esi, 0xffffffc0
mov dword [esp + 0x28], ecx
xor edi, 0xc9
mov dword [esp + 0x30], esi
lea eax, [ebp + 0x2549]
cmp ebp, eax
je 0x401192
mov eax, edi
xor eax, 0x70a
cmp edx, eax
jl 0x401192
cmp ebx, edi
je 0x4010f3
lea eax, [ecx + 0x6c]
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x82
push eax
lea eax, [ecx + 0xbf]
push eax
push ebx
push dword [0x645d9c]
call fcn.00407126
mov ebp, dword [esp + 0x3c]
lea eax, [ebx + 0x118]
xor esi, 0x777
add ebp, 0x12d
push esi
mov esi, dword [esp + 0x3c]
push eax
push esi
lea eax, [ebx + 0x33]
push eax
push ebp
call fcn.00401c1f
mov ecx, dword [esi + 0x2c]
mov edx, eax
mov eax, dword [0x645e7c]
push edx
push esi
lea eax, [eax + ecx*2]
add eax, 0x1038b
mov dword [esi + 0x2c], eax
mov eax, ebx
xor eax, 0xc7
push eax
lea eax, [ebp - 0x1d9]
push eax
lea eax, [edx + 0x18]
push eax
mov eax, dword [esp + 0x4c]
xor eax, 0x34
push eax
lea eax, [edi + 0x22a]
push eax
call fcn.0041b84f
add esp, 0x44
jmp 0x401192
mov eax, esi
mov dword [esp + 0x18], ebx
xor eax, 0x24c3
mov dword [esp + 0x1c], eax
cmp ebx, eax
jle 0x401192
lea eax, [esi + ebx]
imul ebp, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov edi, ebx
mov edx, dword [0x645d9c]
push ebp
push 0x645da0
mov esi, dword [eax + 0xd8]
xor esi, dword [0x645e2c]
and esi, dword [eax + 0x8c]
mov eax, dword [eax + 0x70]
add eax, dword [esp + 0x38]
imul eax, dword [edx + 0xd0]
sub edi, dword [edx + 0x118]
imul edi, ecx
mov ecx, dword [edx + 0x108]
sub ecx, dword [esp + 0x38]
push eax
push ecx
push esi
push edi
call fcn.00401856
mov dword [esp + 0x40], eax
add esp, 0x18
mov eax, dword [esp + 0x24]
imul ecx, dword [eax + 0x38], 0x23b7
push ecx
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jg 0x401114
pop edi
pop esi
pop ebp
lea eax, [ebx + 0x153]
pop ebx
pop ecx
ret
Function at 0x401680
Capabilities:
Suspend thread

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 0xdb]
xor ebx, 0x23ff
lea edx, [ecx + 0x11b]
push esi
mov esi, dword [esp + 0x34]
add ebp, 0xffffdc90
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], eax
add edi, 0xffffda58
lea eax, [ebx + 0x24c3]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebp
cmp edx, eax
je 0x401823
lea eax, [ecx + 0x23]
cmp edx, eax
jl 0x401775
mov eax, edi
xor ebp, 0x237e
xor eax, 0x2488
push eax
lea eax, [ebx + 0x23b7]
push eax
lea eax, [edx - 0x74]
push eax
lea eax, [ecx - 0x241c]
xor eax, 0x2370
push eax
push 0x645da0
push ebp
call fcn.0040119e
mov edx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x48]
add esp, 0x18
add eax, 0x52
sub edx, 0x1b9
xor eax, 0x637
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0xd8], eax
jne 0x401756
mov ecx, dword [0x645d9c]
mov eax, dword [ecx + 0x78]
sub eax, dword [esi + 0x10]
add eax, dword [0x645e68]
or dword [ecx + 0x24], eax
jmp 0x401823
mov eax, dword [esi + 0x108]
sub eax, dword [esi + 0x74]
xor eax, 0xffec747f
imul eax, dword [0x645dc4]
mov dword [0x645dc4], eax
jmp 0x401823
mov eax, dword [esi + 0xac]
mov ecx, edi
sub eax, 0x2474
mov dword [esp + 0x34], edi
cmp edi, eax
jne 0x401823
imul ebp, ebx
mov eax, ebp
mov dword [esp + 0x20], edi
sub eax, dword [esi + 0x70]
mov edx, edi
cmp edi, eax
je 0x401801
lea eax, [ebx + ebx]
mov dword [esp + 0x14], eax
cmp edi, eax
jg 0x4017e5
push 3
sub eax, edi
xor edx, edx
pop ecx
div ecx
inc eax
mov dword [esp + 0x38], eax
mov ebx, eax
mov eax, dword [0x645e30]
or eax, 0x22ee
or dword [esi + 0x48], eax
mov eax, dword [0x645d9c]
mov eax, dword [eax + 0xa8]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
sub ebx, 1
jne 0x4017bb
mov edx, dword [esp + 0x20]
mov eax, ebp
add edx, 2
sub eax, dword [esi + 0x70]
cmp edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
jne 0x4017a7
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0xac]
add ecx, 2
sub eax, 0x2474
mov dword [esp + 0x34], ecx
cmp ecx, eax
je 0x401791
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
xor ebp, 0x689
push edx
push ebp
add ecx, 0x1cb
xor edi, 0x23a3
push ecx
push esi
push edi
call fcn.0040705e
add esp, 0x14
xor ebx, 0x24c3
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret