joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410f7b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x411018
push ebx
push esi
call fcn.00410f44
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00410e8d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x410fc5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411017
push edi
push eax
call fcn.0040f95b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x410fe5
call fcn.0040f9a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411016
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00410e8d
add esp, 0x20
test eax, eax
jne 0x411004
push edi
call fcn.0040f9a9
jmp 0x41100c
push ebx
call fcn.0040f9a9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x412210
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b4b8
push 0x41b4b0
push str.FlsAlloc
push 0x1e
call fcn.004120d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x412244
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
jmp 0x41224a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41228e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b4c8
push 0x41b4c0
push str.FlsGetValue
push 0x20
call fcn.004120d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4122c5
push dword [ebp + 8]
mov ecx, esi
call dword [0x418130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4176b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4176dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4176dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401060
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x845368], 0x594
mov dword [ebp - 8], eax
jne 0x40108c
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x4260c8]
mov edx, dword [0x4260cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
call fcn.00401050
mov eax, dword [0x4260d0]
mov ecx, dword [0x4260d4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x20
jmp 0x4010d0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x845368]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401156
push edi
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00403250
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], dx
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push str.Jahuk
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x845368]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401170
mov dword [0x844904], 0xedeb2e40
jmp 0x401190
cmp ecx, 0x3eb
jne 0x401190
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x8442b4], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0x844900], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401040
sub ebx, 1
jne 0x4010d0
cmp dword [0x845368], 0xa6d
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
jne 0x401233
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401670
Capabilities:
Get system information on windows
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x845368], 0x400
push esi
push edi
jne 0x4016b5
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.voyapamujopemopubefetexo
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
lea eax, [ebp - 0x24]
call fcn.00401780
lea esi, [ebp - 0x24]
call fcn.004017a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x4016d3
cmp ebx, 0x78abdb45
jne 0x4016dc
inc esi
cmp esi, 0x1c5d
jl 0x4016c1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40170d
inc esi
cmp esi, 0x4f6a4
jl 0x4016f0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40172c
cmp ebx, 0x785074d5
jne 0x401735
inc esi
cmp esi, 0x11915
jl 0x401718
mov ecx, dword [0x42630c]
mov dword [0x845368], ecx
call fcn.004013b0
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov edi, 0x3078f
pop ebx
cmp dword [0x845368], 0x51f
jne 0x401764
lea edx, [ebp - 0x2c]
push edx
call esi
sub edi, 1
jne 0x401752
mov eax, dword [0x8442b8]
mov dword [0x8448fc], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4036c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425248]
jne 0x4036ca
repz ret
jmp fcn.00407a11
Function at 0x407734
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.0040442a
and dword [ebp - 4], 0
cmp dword [0x426cf8], 0
mov ebx, eax
jne 0x4077e5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407896
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407896
push eax
call fcn.004043b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x426cf8], eax
call esi
push eax
call fcn.004043b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x426cfc], eax
call esi
push eax
call fcn.004043b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x426d00], eax
call esi
push eax
call fcn.004043b8
pop ecx
mov dword [0x426d08], eax
test eax, eax
je 0x4077e5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004043b8
pop ecx
mov dword [0x426d04], eax
mov eax, dword [0x426d04]
cmp eax, ebx
je 0x40783d
cmp dword [0x426d08], ebx
je 0x40783d
push eax
call fcn.00404433
push dword [0x426d08]
mov esi, eax
call fcn.00404433
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40783d
test edi, edi
je 0x40783d
call esi
test eax, eax
je 0x407834
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407834
test byte [ebp - 0xc], 1
jne 0x40783d
or dword [ebp + 0x10], 0x200000
jmp 0x407876
mov eax, dword [0x426cfc]
cmp eax, ebx
je 0x407876
push eax
call fcn.00404433
pop ecx
test eax, eax
je 0x407876
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407876
mov eax, dword [0x426d00]
cmp eax, ebx
je 0x407876
push eax
call fcn.00404433
pop ecx
test eax, eax
je 0x407876
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426cf8]
call fcn.00404433
pop ecx
test eax, eax
je 0x407896
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407898
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402f70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
dec edx
rcr eax, 0x95
neg esi
imul esi
bswap eax
dec ebx
add esi, 0x70
inc esi
inc esi
dec esi
rol edx, 0x49
sbb esi, 0xb6
dec edi
dec edi
inc edx
bswap edx
and edi, 0xfd
and ebx, 0xb
neg esi
dec ebx
ror ebx, 0x8a
or ebx, 0x40
rcl esi, 0xfc
not edi
imul eax
mov edx, 0x14
dec edx
mov edx, 0xd
rol eax, 0x90
imul eax
mov eax, 0x3a
sbb ebx, 0xed
not ebx
dec esi
and edx, 0xf8
rcl esi, 6
not ebx
neg edi
imul edx
dec edx
inc edx
not eax
dec esi
imul edx
bswap ebx
or ebx, 0xb4
add ebx, 0x85
rcr edx, 0x25
add eax, 0xa4
add ebx, 0x97
xor ecx, ecx
xor edi, edi
bswap esi
rcl eax, 0xb5
imul edx
imul ebx
sub edi, 0x68
add ebx, 0x27
ror ebx, 0xbf
or edi, 3
rcl ebx, 0x4f
neg ebx
neg edi
mov eax, 0xf2
rol edi, 0xa8
rcl eax, 0x31
rol esi, 0xfe
dec eax
add eax, 0x34
imul ebx
neg edx
inc edi
sub eax, 0xbc
ror esi, 0x43
inc edx
and ebx, 0x24
or esi, 0xe9
inc eax
rcr eax, 0xd
add eax, 0x88
neg esi
not ebx
sbb edx, 0x52
inc edi
imul edx
dec eax
mov esi, 0x3c
rcr edi, 0xaa
or eax, 0x2f
sub esi, 0x42
bswap eax
mov ebx, 0x6d
add ebx, 0x26
inc eax
and esi, 0
inc esi
not edx
add edx, 0x46
and eax, 0x51
bswap edx
inc ebx
rol esi, 0x10
mov ecx, dword [ebp + 0xc]
add eax, 0x2a
not edi
rcl edi, 0x26
and edi, 0x4c
add edi, 0xa2
ror edx, 0xee
dec edi
add esi, 0xb3
add esi, 0xf8
rol esi, 0x15
rcl ebx, 0x88
neg esi
or eax, 0xa3
bswap edi
not eax
rol eax, 0x9e
not edx
rcl edx, 0x15
and esi, 0x63
add esi, 0xef
neg edi
neg edi
dec eax
rol esi, 0xa7
inc esi
inc ebx
not esi
sub edx, 0x6b
or eax, 0x24
or eax, 0x10
rol ebx, 0xcd
neg edx
neg edx
not edx
sub eax, 0x68
rcl edi, 0xd
sbb esi, 0x29
inc esi
not eax
bswap ebx
rcl edi, 0x5b
add edi, 0xd4
or edi, 0x9d
sbb edx, 0xdd
not ebx
and edx, 0x3d
sbb eax, 0xe6
sub esi, 0x2d
ror edx, 0x4c
imul edi
mov edi, dword [ebp + 8]
mov ebx, ebx
xor ebx, esi
xor eax, esi
mov ebx, ebx
mov eax, eax
xor esi, esi
mov esi, ebx
mov ebx, ebx
mov esi, eax
mov esi, esi
mov ebx, ebx
mov eax, ebx
not byte [edi]
xor esi, eax
mov esi, eax
mov esi, eax
mov ebx, esi
mov ebx, eax
mov esi, eax
mov ebx, ebx
mov esi, eax
xor eax, eax
sub byte [edi], 0x36
mov eax, eax
xor esi, eax
mov ebx, ebx
xor eax, esi
mov ebx, eax
mov esi, ebx
xor ebx, eax
xor eax, esi
mov ebx, eax
add byte [edi], 0x87
mov eax, eax
mov esi, eax
mov eax, ebx
xor eax, ebx
mov ebx, ebx
mov ebx, ebx
mov esi, ebx
mov ebx, eax
mov ebx, esi
imul byte [edi]
inc edi
loop 0x40312e
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x425070
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424ee1

Function at 0x42546a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0042cb50
mov eax, dword [0x4d20d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041f5d1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4254ac
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x425608
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042c980
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d3838]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00426461
mov ecx, dword [esi*4 + 0x4d3838]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x425601
cmp eax, dword [edi + ecx + 0x24]
jne 0x425601
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425601
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00426461
add esp, 0x14
test edx, edx
jl 0x425601
jg 0x425577
test eax, eax
jb 0x425601
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x425601
jl 0x425591
cmp dword [ebp - 0x1008], eax
ja 0x425601
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4255af
test ebx, ebx
je 0x4255e8
cmp ecx, edi
jae 0x4255e8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4255c9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4255d5
cmp byte [ecx + 1], 0xa
jne 0x4255d5
inc ecx
jmp 0x4255d5
movzx eax, al
movsx eax, byte [eax + 0x4d2878]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4255af
cmp edx, ebx
jne 0x4255af
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x425606
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040f1a6
leave
ret
Function at 0x4258ff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d3838]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42593f
cmp byte [ebx], 0xa
jne 0x42593f
or byte [eax + edi + 0x28], 4
jmp 0x425944
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x425a42
mov al, byte [edx]
cmp al, 0x1a
je 0x425a24
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x425973
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x425998
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4259a2
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x425955
jmp 0x425a42
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425a1f
cmp dword [ebp - 0xc], 0
je 0x425a1f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d3838]
test byte [eax + edi + 0x28], 0x48
je 0x4259f9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4259e4
mov byte [esi], dl
jmp 0x4259f5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d3838]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x425a42
cmp byte [ebp - 1], 0xa
jne 0x425a08
cmp esi, ebx
jne 0x425a08
mov byte [esi], 0xa
jmp 0x425a41
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042647f
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x425a42
mov byte [esi], 0xd
jmp 0x425a41
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d3838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425a3e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425a42
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x425a4b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4d3838]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x425a8e
cmp word [esi], dx
jne 0x425a8e
or byte [edi + eax + 0x28], 4
jmp 0x425a93
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x425be6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x425bc6
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x425ad5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x425b0b
cmp eax, edx
jae 0x425b17
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x425aad
jmp 0x425be6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425bc2
cmp dword [ebp - 0x14], 0
je 0x425bc2
mov eax, dword [ebx*4 + 0x4d3838]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x425b9a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x425b63
mov word [esi], cx
jmp 0x425b96
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4d3838]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4d3838]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4d3838]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x425be6
pop ebx
cmp word [ebp - 4], bx
jne 0x425bab
cmp esi, dword [ebp + 0xc]
jne 0x425bab
mov word [esi], bx
jmp 0x425be3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042647f
add esp, 0x10
cmp word [ebp - 4], bx
je 0x425be6
push 0xd
jmp 0x425bdf
mov ecx, dword [ebx*4 + 0x4d3838]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x425bdd
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x425be6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
nop
mov ecx, 0x68af63a4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4b2508b
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219