joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d91
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov ebx, ecx
lea esi, [ebp - 0x418]
push edi
mov dword [ebp - 8], ebx
mov edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x413dac
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x413dc6
mov eax, dword [0x45e2f8]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x45e2fc]
mov word [ecx + 4], ax
mov ecx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x413ded
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x413e07
mov eax, dword [0x4586b8]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x413f7b
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x413e3b
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x413f62
lea ecx, [ebp - 0x63c]
call fcn.00413d1b
test eax, eax
jne 0x413efb
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x413e86
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x413e9c
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x668], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x413f18
lea ecx, [ebp - 0x210]
call fcn.00413d91
test eax, eax
je 0x413f74
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x413ee3
mov al, byte [ebp - 1]
test al, al
jne 0x413e57
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x413f7d
test byte [ebp - 0x668], 1
je 0x413f33
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x413f74
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x413f48
jmp 0x413efb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x413f74
xor eax, eax
mov byte [ebp - 1], al
jmp 0x413efe
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413f84
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ecx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 8]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413fb6
xor al, al
jmp 0x413fd5
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x413fcc
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413fdc
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41400a
xor al, al
jmp 0x414048
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.00406109
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.00402028
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41403f
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41437b
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x414427
sub ecx, 1
je 0x414419
sub ecx, 1
je 0x41440b
sub ecx, 1
je 0x4143d8
sub ecx, 1
jne 0x414469
push 1
sub esp, 0x18
mov ecx, esp
push 0x4585d0
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040ca19
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4585cc
jmp 0x414455
push 1
sub esp, 0x18
mov ecx, esp
push 0x45df10
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040ca19
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x4585d0
jmp 0x414455
push 1
sub esp, 0x18
mov ecx, esp
push 0x45e27c
jmp 0x4143e4
push 1
sub esp, 0x18
mov ecx, esp
push 0x4585b8
jmp 0x4143e4
push 1
sub esp, 0x18
mov ebx, 0x4585d0
mov ecx, esp
push ebx
call fcn.00402178
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.0040ca19
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402178
push str.TileWallpaper
mov edx, esi
call fcn.0040ca19
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x4146c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x466a18]
test bl, bl
mov dword [0x466a2c], eax
pop ebx
jne 0x4146f0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.00433473
push eax
push 0x45e5f0
push str.CONOUT_
call fcn.00436dd9
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.00414685
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.0042e260
lea edi, [ebp - 0x64]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414730
mov esi, str._n_tRemcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x414746
mov esi, str.4.8.0_Light
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41475a
push 6
pop ecx
mov esi, 0x45e6f8
lea eax, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00412f7d
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41997f
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x4199aa
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x4199aa
cmp al, 0xc0
je 0x4199aa
cmp al, 0xcc
je 0x4199aa
add edx, 2
cmp dx, cx
jb 0x41998f
pop esi
ret
Function at 0x41c3df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.0041c379
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x41c3fb
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x41c409
pop edi
pop esi
pop ebp
ret

Function at 0x41e4e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x41e500
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x41e4f3
pop esi
pop ebp
ret

Function at 0x41e503
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x41e520
shr esi, 2
push esi
call fcn.0041e4e6
pop ecx
jmp 0x41e531
test esi, esi
je 0x41e531
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x41e526
pop esi
pop ebp
ret

Function at 0x41e534
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x41e55a
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x41e549
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41e55f
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x45a148
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x41e569
cmp ecx, str.SHA256wECDSA
jl 0x41e566
ret
Function at 0x4262ef
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
je 0x4263e8
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0xc]
jne 0x426311
test esi, esi
jne 0x4263e8
cmp edx, 3
je 0x426347
cmp edx, 4
je 0x426347
cmp edx, 5
je 0x426347
cmp edx, 6
je 0x426347
cmp edx, 7
je 0x426347
cmp edx, 8
je 0x426347
cmp edx, 0xa
je 0x426347
cmp edx, 0xb
je 0x426347
cmp edx, 0xc
je 0x426347
cmp edx, 0xd
jne 0x4263e8
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.004262d2
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x4263ed
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x4263e8
cmp esi, 0x40
ja 0x42638c
cmp dword [ebp + 8], ebx
je 0x4263b3
push esi
push dword [ebp + 8]
push ecx
call fcn.0042e7d0
add esp, 0xc
jmp 0x4263b0
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.0042af30
pop ecx
test eax, eax
jne 0x4263ed
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.0042b001
mov dword [ebp - 4], eax
test eax, eax
jne 0x4263ed
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x4263cb
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.0042e260
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x4263cb
mov eax, dword [ebp - 4]
jmp 0x4263ed
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a87f
Capabilities:
Hash data using sha256

Disassembly:
mov edx, ecx
test edx, edx
jne 0x42a833
mov eax, 0xffffff53
ret
push edi
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
mov dword [edx], 0x6a09e667
mov dword [edx + 4], 0xbb67ae85
mov dword [edx + 8], 0x3c6ef372
mov dword [edx + 0xc], 0xa54ff53a
mov dword [edx + 0x10], 0x510e527f
mov dword [edx + 0x14], 0x9b05688c
mov dword [edx + 0x18], 0x1f83d9ab
mov dword [edx + 0x1c], 0x5be0cd19
mov dword [edx + 0x60], eax
mov dword [edx + 0x64], eax
mov dword [edx + 0x68], eax
pop edi
ret
test ecx, ecx
jne 0x42a889
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x42a827
Function at 0x42af54
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x42af62
mov eax, 0xffffff53
pop esi
ret
mov eax, dword [esi + 0x60]
push ebx
push edi
lea edi, [esi + 0x20]
mov byte [edi + eax], 0x80
inc dword [esi + 0x60]
mov ecx, dword [esi + 0x60]
push 0x38
pop ebx
cmp ecx, ebx
jbe 0x42afaf
push 0x40
pop eax
sub eax, ecx
push eax
lea eax, [ecx + edi]
push 0
push eax
call fcn.0042e260
push 0x40
pop eax
push eax
mov edx, edi
mov dword [esi + 0x60], eax
mov ecx, edi
call fcn.0042a7fa
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0042a891
test eax, eax
jne 0x42affd
and dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
sub ebx, eax
push ebx
add eax, edi
push 0
push eax
call fcn.0042e260
mov ecx, dword [esi + 0x64]
mov edx, edi
mov eax, dword [esi + 0x68]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
mov ecx, edi
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x64]
shl eax, 3
mov dword [esi + 0x64], eax
call fcn.0042a7fa
mov eax, dword [esi + 0x68]
add esp, 0x10
mov dword [edi + 0x38], eax
mov edx, edi
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [edi + 0x3c], eax
pop edi
pop ebx
pop esi
jmp fcn.0042a891
pop edi
pop ebx
pop esi
ret

Function at 0x42b001
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x42b036
test edi, edi
je 0x42b036
call fcn.0042af54
test eax, eax
jne 0x42b03b
push esi
push 0x20
mov edx, ebx
mov ecx, ebx
call fcn.0042a7fa
pop ecx
push 8
pop ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x42a827
mov eax, 0xffffff53
pop edi
pop ebx
ret

Function at 0x42b0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, edx
mov esi, ecx
neg eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
test esi, esi
je 0x42b18d
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x42b18d
mov edx, dword [esi]
mov ecx, ebx
inc edx
call fcn.00426a3d
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42b192
xor edx, edx
push edi
cmp dword [esi], edx
jle 0x42b152
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042b0da
mov ecx, ebx
mov esi, eax
call fcn.0042b0da
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [esi]
jl 0x42b12b
jmp 0x42b178
mov ecx, dword [ebp - 4]
jmp 0x42b178
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.0042b0da
mov ecx, ebx
mov esi, eax
call fcn.0042b0da
mov ecx, dword [ebp - 4]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
mov esi, dword [ebp - 8]
cmp edx, dword [ebx]
jl 0x42b157
mov eax, dword [ebp - 8]
pop edi
mov eax, dword [eax]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [ebp - 0xc]
jmp 0x42b192
mov eax, 0xffffff53
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43df17
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043dd96

Function at 0x4411bf
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440b2d
Function at 0x4411ca
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440d68

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 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435004]
jne 0x40100a
repz ret
jmp fcn.00401221

Function at 0x4054dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402bfb
and dword [ebp - 4], 0
cmp dword [0x438df0], 0
mov ebx, eax
jne 0x40558d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40563e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40563e
push eax
call fcn.00402b89
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438df0], eax
call esi
push eax
call fcn.00402b89
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438df4], eax
call esi
push eax
call fcn.00402b89
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438df8], eax
call esi
push eax
call fcn.00402b89
pop ecx
mov dword [0x438e00], eax
test eax, eax
je 0x40558d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402b89
pop ecx
mov dword [0x438dfc], eax
mov eax, dword [0x438dfc]
cmp eax, ebx
je 0x4055e5
cmp dword [0x438e00], ebx
je 0x4055e5
push eax
call fcn.00402c04
push dword [0x438e00]
mov esi, eax
call fcn.00402c04
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4055e5
test edi, edi
je 0x4055e5
call esi
test eax, eax
je 0x4055dc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4055dc
test byte [ebp - 0xc], 1
jne 0x4055e5
or dword [ebp + 0x10], 0x200000
jmp 0x40561e
mov eax, dword [0x438df4]
cmp eax, ebx
je 0x40561e
push eax
call fcn.00402c04
pop ecx
test eax, eax
je 0x40561e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40561e
mov eax, dword [0x438df8]
cmp eax, ebx
je 0x40561e
push eax
call fcn.00402c04
pop ecx
test eax, eax
je 0x40561e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438df0]
call fcn.00402c04
pop ecx
test eax, eax
je 0x40563e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405640
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4073ff
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1baf304], 0x930
jne 0x40741c
push str.xafewibiwucijamojamejuhuyewo
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1baf304], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1baf148], eax
jne 0x40743c
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x41a87e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x41a88d
pop dword [ebp - 0x40]
mov eax, 0x48dc08f
sub eax, 0x44c1802
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x41c52e9d
sub dword [ebp - 0x50], 0xf372e952
mov dword [ebp - 0x4c], 0x50f78729
sub dword [ebp - 0x4c], 0x1ec43ae4
mov dword [ebp - 0x48], 0x4770ce2b
add dword [ebp - 0x48], 0x4db7603
mov dword [ebp - 0x44], 0xa4e10020
add dword [ebp - 0x44], 0x5b1effe0
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x346315d7
sub dword [ebp - 0x50], 0xbff0ac81
mov dword [ebp - 0x4c], 0xd29b95fb
add dword [ebp - 0x4c], 0x6ed0cb7a
mov dword [ebp - 0x48], 0x844ecc42
sub dword [ebp - 0x48], 0x20df5fd6
mov dword [ebp - 0x44], 0xbed62602
sub dword [ebp - 0x44], 0xbed62602
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x583d584
sub eax, 0x541a460
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e5a5
push 0
call eax
mov ecx, 0x45d9
xor edx, edx
add edx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x40]
mov esi, 0x9edec0ed
mov ebx, dword [edi]
sub dword [ebp - 0x20], 0x944774b0
add ebx, esi
xor dword [ebp - 0x34], esi
mov dword [edx], ebx
xor dword [ebp - 0x24], esi
add edx, 4
add edi, 4
loop 0x41a99a
add eax, 0x10a37
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4014ef
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x431d24]
push ebx
xor eax, ebp
push esi
push edi
mov dword [ebp + 0x194], eax
call fcn.0040143a
mov edx, eax
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x74], bx
mov ecx, 0x81
lea edi, [ebp - 0x72]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x74]
push eax
push edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x7c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x401564
lea eax, [esi + esi]
push eax
call fcn.004114ba
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x40156b
xor eax, eax
jmp 0x4015f6
push edi
push esi
push ebx
lea eax, [ebp - 0x74]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov esi, 0x433108
je 0x4015e2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x424860
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4015e2
mov eax, dword [ebp - 0x78]
push dword [eax + 0x30]
mov ecx, dword [eax + 0xc]
push dword [eax + 0x2c]
mov edx, dword [eax + 8]
push dword [eax + 0x28]
movzx ebx, cx
push dword [eax + 0x24]
push dword [eax + 0x20]
push dword [eax + 0x18]
push dword [eax + 0x1c]
push dword [eax]
push dword [eax + 0x14]
push dword [eax + 0x10]
movzx eax, dx
push ecx
push edx
push ebx
shr ecx, 0x10
push ecx
push eax
shr edx, 0x10
push edx
push str.FileVersion_:__d._d._d._d___FileVersionMS_:_0x_08x__FileVersionLS_:_0x_08x__ProductVersionMS_:_0x_08x__ProductVersionLS_:_0x_08x__Signature_:_0x_08x__FileFlags_:_0x_08x__FileFlagsMask_:_0x_08x__FileOS_:_0x_08x__FileType_:_0x_08x__FileSubType_:_0x_08x__FileDateMS_:_0x_08x__FileDateLS_:_0x_08x__
push 0x168
push esi
call fcn.0041403d
add esp, 0x4c
push edi
call fcn.00414259
mov ax, word [0x433108]
neg ax
pop ecx
sbb eax, eax
and eax, esi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041428f
add ebp, 0x198
leave
ret
Function at 0x40e3a6
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.0040dff0
cmp dword [esi + 0x18], 8
pop ecx
mov bl, al
jb 0x40e3c0
mov eax, dword [esi + 4]
jmp 0x40e3c3
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x40e3df
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.0040dff0
pop ecx
mov bl, al
pop esi
mov al, bl
pop ebx
ret

Function at 0x40e4d2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x40e505
lea edx, [ebp + 8]
push edx
push ecx
push eax
push 0x40d424
push ecx
push ecx
mov dword [eax], 0xc11
mov dword [ebp + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebp
ret

Function at 0x40f2d6
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x423420
call fcn.00414c98
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebp
push ebx
push dword [ebp - 0x10]
push str.int___thiscall_CCmdlineParser::Parser_const_wchar_t__
call fcn.0040c4cf
mov edi, eax
add esp, 0xc
cmp edi, ebx
mov eax, 0x429380
jne 0x40f30e
mov edi, eax
push ebx
push ebx
push ebx
push esi
push eax
push 0x429350
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b312
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x40f32a
push ebp
pop ebp
mov ecx, esi
call fcn.0040d93b
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x40f340
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push edi
call fcn.00413e1d
lea eax, [eax + eax + 2]
push eax
call fcn.004114ba
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 0x1c], eax
je 0x40f389
cmp edi, ebx
je 0x40f361
push edi
push eax
jmp 0x40f36b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push dword [esi + 0x1c]
call fcn.00414f86
pop ecx
pop ecx
mov ecx, esi
call fcn.0040d9c7
test eax, eax
jne 0x40f386
mov ecx, esi
call fcn.0040d93b
jmp 0x40f389
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040cd39
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret 4