joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404300
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov dword [ebp - 0x1c], edx
mov ebx, ecx
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
push eax
call fcn.0040a28b
add esp, 4
mov esi, eax
push eax
push edi
xor eax, eax
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x404382
lea eax, [ebp - 0x14]
mov dword [eax], esi
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0x42cfbe
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4043ad
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ebp + 8]
movzx edx, word [eax + 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
movzx edx, word [eax + 0xe]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x10]
movzx eax, word [eax + 0xc]
mov dword [ecx], eax
xor edi, edi
inc edi
jmp 0x4043e5
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x404402
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_obtain_file_info_of_old_service.____lu_
jmp 0x4043d6
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x404441
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_query_file_version_info_of_old_service.____lu_
push 0x4336f0
call fcn.00408760
add esp, 0xc
xor edi, edi
push esi
call fcn.0040a59c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x40439f
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x40439f
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x4043ca
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x4043ca
Function at 0x404490
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
push 0xf003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x404546
mov esi, eax
push 0xf01ff
push str.MozillaMaintenance
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x404580
mov edi, eax
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40451d
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 0x28], 1
je 0x40451d
mov eax, dword [ebp - 0x14]
add esi, eax
add esi, 0xa
cmp esi, 0xea60
ja 0x40451d
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4044f3
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
test eax, eax
jne 0x40453a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x430
sete bl
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [ebp - 0x30]
jmp 0x4045b8
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4045d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_service_manager.____lu_
push 0x4336f0
call fcn.00408760
add esp, 0xc
xor ebx, ebx
jmp 0x4045bf
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x404616
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_open_service.____lu_
push 0x4336f0
call fcn.00408760
add esp, 0xc
xor ebx, ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x404563
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x404563
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x40459d
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x40459d
Function at 0x405810
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x210
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp word [ecx], 0
je 0x405900
mov esi, ecx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x405886
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x405886
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x405914
push esi
push str.Could_not_delete_service_updater_path:__ls.
push 0x4336f0
call fcn.00408760
add esp, 0xc
lea edi, [ebp - 0x216]
push 0x20a
push 0
push edi
call fcn.0040cc90
add esp, 0xc
push str.updater.ini
push esi
push edi
call fcn.00408d80
add esp, 0xc
test eax, eax
je 0x405900
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x405900
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x405900
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x405900
mov eax, dword [0x4338fc]
mov ecx, dword [0x432ae4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x405957
push edi
push str.Could_not_delete_service_updater_INI_path:__ls.
push 0x4336f0
call fcn.00408760
add esp, 0xc
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040ad81
add esp, 0x210
pop esi
pop edi
pop ebp
ret
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x405873
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x405873
push 0x4338fc
call fcn.0040a687
add esp, 4
cmp dword [0x4338fc], 0xffffffff
jne 0x4058ed
mov dword [0x4336f0], 0
push 0x402530
call fcn.0040a8fc
add esp, 4
push 0x4338fc
call fcn.0040a6d9
add esp, 4
jmp 0x4058ed
Function at 0x408760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [esi], 0
je 0x4087c9
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
inc eax
push dword [esi]
push eax
push 0xd
push str._Warning:
call fcn.00413a47
add esp, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [esi]
call fcn.00401060
push ebx
push 0
push dword [ebp + 0xc]
push edi
push dword [eax + 4]
push dword [eax]
call fcn.0040a4f3
add esp, 0x18
push dword [esi]
xor eax, eax
inc eax
push eax
push 4
push str._n
call fcn.00413a47
add esp, 0x10
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408dd0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, ecx
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x8000
push section..rdata
call sub.SHELL32.dll_SHGetKnownFolderPath
xor esi, esi
test eax, eax
js 0x408e1a
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0040a3cb
add esp, 4
cmp eax, 0x105
jb 0x408e2e
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x105
push ebx
push edi
call fcn.0040a5a1
add esp, 0xc
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.Mozilla_Maintenance_Service
push edi
call fcn.00426b00
add esp, 8
test eax, eax
je 0x408e1a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408e72
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408e1a
push str.UpdateLogs
push edi
call fcn.00426b00
add esp, 8
test eax, eax
je 0x408e1a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x408ea2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x408e1a
xor esi, esi
inc esi
jmp 0x408e1a
Function at 0x4094c0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
push 5
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
je 0x409587
mov ebx, eax
push 4
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x4095ad
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 0xcf
imul esi, eax, 0x3e8
test esi, esi
je 0x4095d5
mov dword [ebp - 0x3c], ebx
xor ebx, ebx
lea eax, [ebp - 0x38]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x40953e
cmp dword [ebp - 0x30], 1
jne 0x40956a
jmp 0x409611
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
jle 0x4095f8
lea ecx, [eax - 0x41c]
cmp ecx, 0xa
ja 0x409642
mov edx, 0x601
bt edx, ecx
jae 0x409642
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x32
cmp ebx, esi
jb 0x40951c
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
jmp 0x40967b
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
sete cl
xor ecx, 0xff
cmp eax, 5
mov esi, 0xfd
cmovne esi, ecx
jmp 0x40968a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x4095e1
cmp edi, 5
je 0x409619
cmp edi, 6
jne 0x409627
mov esi, 0xec
jmp 0x40968a
mov dword [ebp - 0x40], 0xcf
jmp 0x40967b
cmp edi, 0x7b
je 0x409620
cmp edi, 0x424
jne 0x409627
mov esi, 0xee
jmp 0x40968a
cmp eax, 0x56
jg 0x40962e
cmp eax, 5
mov ebx, dword [ebp - 0x3c]
je 0x409658
cmp eax, 6
jne 0x409666
mov eax, 0xd9
jmp 0x409675
mov ebx, dword [ebp - 0x3c]
xor eax, eax
inc eax
jmp 0x409678
mov esi, 0xeb
jmp 0x40968a
mov esi, 0xed
jmp 0x40968a
mov esi, 0xef
jmp 0x40968a
cmp eax, 0x57
mov ebx, dword [ebp - 0x3c]
je 0x40965f
cmp eax, 0x7a
jne 0x409666
mov eax, 0xdb
jmp 0x409675
cmp eax, 0x7c
je 0x40966d
cmp eax, 0x45b
mov ebx, dword [ebp - 0x3c]
jne 0x409666
mov eax, 0xde
jmp 0x409675
mov eax, 0xda
jmp 0x409675
mov eax, 0xdc
jmp 0x409675
mov eax, 0xdf
jmp 0x409675
mov eax, 0xdd
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
mov esi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4096a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x41c
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x424]
push 0x20a
push 0
push edi
call fcn.0040cc90
add esp, 0xc
mov ecx, edi
call fcn.00408dd0
xor esi, esi
test eax, eax
je 0x409704
lea ebx, [ebp - 0x21a]
push 0x20a
push 0
push ebx
call fcn.0040cc90
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, str..status
push ebx
call fcn.00408eb0
add esp, 4
test eax, eax
jne 0x40971b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, esi
add esp, 0x41c
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
push edi
call fcn.00426b00
add esp, 8
test eax, eax
je 0x409704
sub esp, 0x1c
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
movaps xmm0, xmmword [0x42a4e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x409704
mov edi, eax
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00426ab0
add esp, 0xc
push ebx
call fcn.004141b0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x428]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne al
lea ecx, [ebp - 0x428]
cmp dword [ecx], esi
sete cl
and cl, al
movzx esi, cl
jmp 0x409704

Function at 0x4097b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x230
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, 0x102
cmp dword [ebp + 0xc], 0
je 0x409877
mov ebx, dword [ebp + 8]
xor esi, esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x409831
mov edi, eax
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40983b
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.00412326
add esp, 8
test eax, eax
je 0x409845
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x409805
mov ebx, 0x490
jmp 0x409847
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x40984e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x409847
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x490
je 0x409875
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
jne 0x4097da
mov esi, 0x102
jmp 0x409877
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, esi
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4098e0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov ebx, dword [ebp + 8]
mov eax, dword [0x43200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.0040cc90
add esp, 0xc
push ebx
call fcn.0040a3cb
add esp, 4
xor esi, esi
cmp eax, 0x104
ja 0x40994e
mov esi, dword [ebp + 0xc]
push 0x104
push ebx
push edi
call fcn.0040a5a1
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [esi], ecx
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ad81
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41aed9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b124

Function at 0x41e720
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041e72b
Function at 0x406752
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 0x406776
xor eax, eax
test eax, eax
je 0x406789
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406789
xor ecx, ecx
jmp 0x40678c
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 0x4068b5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068ec
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 0x4068c6
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4068c1
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40691d
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068ff
pop edi
not eax
pop esi
ret 0xc

Function at 0x4936e6
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0x99
jge 0x4936c9
cmp dword [eax - 0x71], ebx
mov esi, 0x838ed47
inc edi
in eax, dx
cmp byte [eax], cl
invalid
push edx
or edx, esp

Function at 0x4c6f71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ce378
cmp edx, dword [eax]
je 0x4c6f93
add eax, 8
inc ecx
cmp eax, 0x4ce408
jl 0x4c6f84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ce378]
jne 0x4c70c1
mov eax, dword [0x4d3da0]
cmp eax, 1
je 0x4c709b
test eax, eax
jne 0x4c6fc4
cmp dword [0x4ce2a4], 1
je 0x4c709b
cmp edx, 0xfc
je 0x4c70c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6ffb
lea eax, [ebp - 0x1a4]
push 0x4cc6c0
push eax
call fcn.004c7950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c703e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cc6bc
push edi
call fcn.004c9cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cc6a0
push eax
call fcn.004c7950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7960
lea eax, [ebp - 0xa0]
push 0x4cc69c
push eax
call fcn.004c7960
push dword [esi + 0x4ce37c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7960
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cc674
push eax
call fcn.004c9c24
add esp, 0x2c
pop edi
jmp 0x4c70c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4ce37c]
push 0
push eax
push dword [esi]
call fcn.004c7de0
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 0x401dc9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.DLL_FindResourceExA]
mov ebx, eax
movzx eax, word [0x4197b0]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x401e0d
push 0x409
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call esi
mov edi, eax
test edi, edi
je 0x401e33
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x401e1e
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [esi], eax
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x401e33
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
jmp 0x401ead
cmp dword [0x4197c0], 0
jne 0x401eab
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.SetProcessPreferredUILanguages
mov ebx, str.kernel32
push ebx
mov dword [0x4197c0], 1
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push 0
mov dword [ebp - 4], eax
movzx eax, word [0x4197b0]
push 0x409
push 0
push eax
lea eax, [ebp - 0x44]
push str._04X_c_04X_c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
cmp dword [ebp - 4], 0
jne 0x401ea0
push str.SetThreadPreferredUILanguages
push ebx
call esi
push eax
call edi
test eax, eax
mov dword [ebp - 4], eax
je 0x401eab
push 0
lea eax, [ebp - 0x44]
push eax
push 4
call dword [ebp - 4]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4022a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4022db
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4022c2
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4022d3
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4022dd
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4022b8
xor eax, eax
pop edi
pop esi
ret
Function at 0x40244e
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
adc cl, byte [ebx - 0x24ccefbb]
cmp eax, ebx
je 0x402a59
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00402260
stc
std
cmp dword es:[edi], ecx
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00402260
sub dword [eax + eax*2 + 0x76], eax
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x4024ba
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4024b4
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4024a5
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00402260
popaw
inc esi
mov ebx, 0x50a8458d
call fcn.00402270
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00402225
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40254e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00402260
cmp eax, 0x8d30c061
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x40269a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x4026fb
dec edx
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00402270
push eax
push esi
push dword [ebp + 8]
call fcn.00402225
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00402260
cli
pop edi
pop esi
push 0xffffffffffffff88
popfd
jl 0x4026e5
invalid
invalid
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
invalid
inc ebp