joyce8/EMBER2024-capa huggingface dataset:
Function at 0x56ae00
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5808f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push esi
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x56aed2
lea edx, [esp + 0x24]
push eax
push edx
call fcn.005677a0
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
cmp eax, edi
je 0x56ae61
mov edx, dword [eax]
jmp 0x56ae63
xor edx, edx
xor ecx, ecx
push edi
xor eax, eax
push edx
push ecx
mov ecx, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push esi
push 2
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.00569050
mov eax, dword [esp + 0x44]
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x56aebf
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x56aebf
cmp esi, edi
je 0x56aebf
mov ecx, esi
call fcn.00562a00
push esi
call fcn.005701c8
add esp, 4
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push edi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00567990
add esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
cmp eax, edi
je 0x56aef5
mov eax, dword [eax]
jmp 0x56aef7
xor eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
push ebx
push esi
push eax
push ecx
push edx
call fcn.00566640
add esp, 0x10
mov bl, al
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x56af25
mov eax, dword [eax]
jmp 0x56af27
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
cmp esi, edi
je 0x56af76
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x56af76
cmp esi, edi
je 0x56af76
mov eax, dword [esi]
cmp eax, edi
je 0x56af5d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x56af6d
push eax
call fcn.005701c8
add esp, 4
push esi
call fcn.005701c8
add esp, 4
mov ecx, dword [esp + 0x18]
mov al, bl
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x56af90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x56affb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x56b035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.0056ae00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x56afc5
mov edi, 0x5858b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x56b035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0056ae00
add edi, 4
add esp, 0xc
cmp edi, 0x5858c0
jb 0x56b000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x56b070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00571082
mov esi, eax
add esp, 8
test esi, esi
je 0x56b107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x56b102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00570946
add esp, 8
test eax, eax
je 0x56b0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x56b0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00570946
add esp, 8
test eax, eax
jne 0x56b0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x56b102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x56bf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5809fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x56c002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0056fdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x56c002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.005676e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0057020b
push 0x10
call fcn.005701d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x56bfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0055c1c0
jmp 0x56bfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0056bb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x56bff0
mov ecx, edi
call fcn.0055c2c0
push edi
call fcn.005701c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x56c021
inc ebx
cmp ebx, 0x20
jb 0x56bf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x56d250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581808
push 0x571288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x56d329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x56d329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005701d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x56d329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x56d329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x56d32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0056d351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x56dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x56dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x56dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x56dd94
push eax
push esi
call fcn.0057020b
add esp, 8
pop esi
ret 0x10

Function at 0x56dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x56de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x586320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0056fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x56ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x56de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x56deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x586320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0056fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x56deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x56de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x56e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x56e131
push esi
call fcn.00571145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00560080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x56e131
push 0
push ebp
call fcn.005603a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00560260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x56e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005602f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x56e121
push 0x586918
push edi
call fcn.0056f3f0
push eax
push ebx
push esi
call fcn.0056df60
push 0x5868f8
push edi
call fcn.0056f3f0
push eax
push ebx
push esi
call fcn.0056df60
push 0x5868d8
push edi
call fcn.0056f3f0
push eax
push ebx
push esi
call fcn.0056df60
push 0x5868c0
push edi
call fcn.0056f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0056df60
push 0x5868a0
push edi
call fcn.0056f3f0
push eax
push ebx
push esi
call fcn.0056df60
push 0x586888
push edi
call fcn.0056f3f0
push eax
push ebx
push esi
call fcn.0056df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x56f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0056f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0056f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0056f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0056f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x56fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x56fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x58187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x56fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x56fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x6a86ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsx bx, dl
add edi, eax
shld ecx, edi, cl
mov ebx, dword [edx + 0x20]
movzx cx, al
sal cl, cl
or cx, bp
pushal
add ebx, eax
not cl
rol cl, 6
sub cx, 0x3e45
rol cl, cl
mov dword [ebp - 8], 0
add ch, dh
bt di, si
mov ecx, dword [edx + 0x18]
sub esp, 0xffffffe0
stc
cmp ecx, dword [ebp - 8]
pushfd
pushal
lea esp, [esp + 0x24]
jbe fcn.006b3e77
bsr di, ax
push ecx
sub ecx, 1
bts si, di
xor di, bx
bsr di, sp
pushfd
mov dword [ebp - 4], ecx
sub esp, 0xfffffff8
sbb ch, al
btc ecx, 0xf
mov ecx, dword [ebp - 8]
jmp 0x84da30
mov dword [esp + 8], 0xf1022ca5
test eax, eax
push 0x5e8f5e33
mov word [esp], di
lea esp, [esp + 0x10]
je fcn.006b3e77
xadd dx, si
btr esi, 0x18
mov esi, dword [eax + 0x3c]
neg dl
ror dx, 3
add esi, eax
inc dl
pushal
mov edx, dword [esi + 0x78]
jmp 0x869f71
push ss
fadd st(7)
inc esi
fmul dword [esi - 0x126f5062]
adc eax, 0xdc0f4e94
invalid
lodsb al, byte [esi]
xchg byte [ecx - 0x271a047a], ch
in eax, 0xd8
insd dword es:[edi], dx
push ebp
jne 0x6aa316
stosb byte es:[edi], al
mov eax, dword [0xa068d210]
invalid
inc ecx
loope 0x6aa301
call 0x6a9874
sti
pop esp
js 0x6aa37f
push edi
cmc
invalid
jno 0x6aa33a
stosd dword es:[edi], eax
inc ecx
jno 0x6aa306
sub al, 0x74
sbb byte [edx], 0x71
jne 0x6aa30a
push eax
sbb dword [eax + 0x2a9a6858], 6
xchg esi, eax
cli
std
mov bl, 0xe2
lahf
loop 0x6aa2db
jno 0x6aa35d
ret 0xe4ef
ficom word [esi]
mov edx, 0xa170f23a
inc eax
pop edi
pop es
pop eax
mov dl, 0xb1
sub eax, 0x6b8cadba
hlt
mov dh, dh
test al, 0xf7
invalid
add ecx, dword [ebp - 4]
test dh, ch
ror si, 1
shr ecx, 1
test cx, 0xc54b
shrd si, bx, 0xa
bswap esi
xchg si, di
mov edi, dword [ebx + ecx*4]
sbb si, bx
shrd si, cx, 3
sub si, 0xe8f7
add edi, eax
mov esi, ebp
pushfd
pushfd
mov word [esp + 4], bx
mov esi, dword [ebp + 0xc]
lea esp, [esp + 8]
jmp 0x869db8
mov cl, 0xd6
mov edi, dword [edx + 0x24]
shr bh, cl
jmp 0x6a69d7
add al, 0x29
cmc
jmp 0x6aa318
push eax
push 0x477ecb4f
pushal
not al
mov al, 0x3f
lodsb al, byte [esi]
clc
neg al
push dword [esp + 4]
jmp 0x869442
clc
test edx, edx
pushfd
pushfd
pushfd
lea esp, [esp + 0x2c]
je fcn.006b3e77
neg cx
add edx, eax
pushal
movzx cx, bl
mov ecx, dword [esi + 0x7c]
push dword [esp]
add ecx, edx
mov byte [esp + 8], 0x4d
mov dword [ebp - 0x10], ecx
ror cl, cl
not ecx
or cl, dl
sal cl, cl
mov ecx, dword [ebp + 0xc]
bt di, 3
clc
clc
mov word [esp], sp
cmp ecx, 0xffff
pushfd
push 0xbf757422
lea esp, [esp + 0x2c]
jbe 0x86e4e9
stc
ror bl, cl
jmp 0x85289c
bt sp, bp
cmp ax, 0x4f34
cmp al, 0x41
bt di, 0xd
sub ecx, dword [edx + 0x10]
call fcn.006a9a26
invalid
Function at 0x852f7c
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x60
bound eax, qword [ecx - 0x11]
inc ecx
out dx, eax
ljmp 0xd54:0x8ebe101a
pop edi
xchg ebp, eax
lea ebx, [eax + edx*8]
pop ebp
out dx, eax
out 0xb8, al
cld
inc ebp
sbb bl, byte fs:[eax - 7]
xor dh, byte [eax]
push ss
xor byte [esi], dl
pop ebx
add al, byte [esi - 0x1b]
xchg edi, eax
dec ebp
les edi, ds:[ebp - 0x26]
jbe 0x852f4b
mov eax, 0x7e59a4e7
or eax, 0x5161fe33
jle 0x852f6c
xor edi, esi
popal
push ecx
sub al, byte [edi - 0x48]
imul esi, dword [edi + ebx*2], 0x88b17020
jbe 0x852f3b
mov byte [esi - 0x34], dh
xlatb
xchg ah, bh
sal dword [ecx], 1
scasb al, byte es:[edi]
mov al, byte [0x6b1bc929]
stosb byte es:[edi], al
cmc
push esp
call fcn.006a79fc
outsb dx, byte [esi]
add byte [eax - 0x24], dl
xor al, 0x89
fst dword fs:[esi + ebp*4 + 0x68]
jno 0x852f1e
jne 0x852f5d
mov dword [edi - 0x66], eax
pop ss
outsb dx, byte [esi]
movsb byte es:[edi], byte [esi]
dec edx
js 0x852f1b
rcr byte [edi + 0x22], 1
and eax, 0x7a9ef2aa
aaa
out dx, eax
sal dword [ebx], 0x5e
insb byte es:[edi], dx
ror byte [edi + 0x5d], cl
iretd
Function at 0x401d40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42a608
push eax
mov dword fs:[0], esp
push esi
mov eax, dword [esp + 0x14]
push 0x447154
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401d83
push eax
push 0x44714c
push 0x44713c
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x401da0
push esi
push 1
push 0x11c4
push 0x44d4e0
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 4
Function at 0x420d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x460
lea eax, [esp + 0x50]
push esi
push eax
mov word [esp + 0x20], 0xf536
mov word [esp + 0x22], 0xd670
mov word [esp + 0x24], 0x5ad8
mov word [esp + 0x26], 0x10f3
mov word [esp + 0x28], 0x5c7c
mov word [esp + 0x2a], 0x8f9
mov word [esp + 0x2c], 0x1570
mov word [esp + 0x2e], 0x48f9
mov word [esp + 0x30], 0x7939
mov word [esp + 0x32], 0xf69b
mov word [esp + 0x34], 0x7cff
mov word [esp + 0x36], 0x51
mov word [esp + 0x38], 0xa499
mov word [esp + 0x3a], 0xb40a
mov word [esp + 0x3c], 0x92c
mov word [esp + 0x3e], 0x759d
mov word [esp + 0x40], 0x31d7
mov word [esp + 0x42], 0x943a
mov word [esp + 0x44], 0xc7d1
mov word [esp + 0x46], 0x1bec
mov word [esp + 0x48], 0xd7a7
mov word [esp + 0x4a], 0xddeb
mov word [esp + 0x4c], 0x6710
mov word [esp + 0x4e], 0x81ca
mov word [esp + 0x50], 0xfe0b
mov word [esp + 0x52], 0x3fe6
mov word [esp + 0x54], 0x7652
mov word [esp + 0x56], 0xc25b
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x64]
and ecx, 0xffff
lea eax, [esp + 0x14]
add ecx, 0x1306c0a
push edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x480]
push edx
push eax
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x420fe3
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
and eax, 0xffff
add ecx, edx
mov edx, dword [esp + 0x14]
add ecx, eax
and edx, 0xffff
add ecx, edx
lea eax, [esp + 0x64]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x480]
push eax
xor esi, esi
push ecx
push 0xf
mov dword [esp + 0x3c], esi
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x420fe3
mov eax, dword [esp + 0x58]
mov dx, word [esp + 4]
and eax, 0xffff
shl eax, 3
cmp dx, word [esp + eax + 0x1c]
jne 0x420fe3
mov cx, word [esp + 0xc]
cmp cx, word [esp + eax + 0x1e]
jne 0x420fe3
mov dx, word [esp + 0x10]
cmp dx, word [esp + eax + 0x20]
jne 0x420fe3
mov cx, word [esp + 0x14]
cmp cx, word [esp + eax + 0x22]
jne 0x420fe3
lea edx, [esp + 0x64]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x480]
push edx
push eax
push 0xe
mov dword [esp + 0x3c], 0xd
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x420fe3
mov cx, word [esp + 4]
pop esi
cmp cx, word [esp + 0x468]
sete al
add esp, 0x460
ret
mov al, 1
pop esi
add esp, 0x460
ret
Function at 0x4211e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x460
lea eax, [esp + 0x50]
push esi
push eax
mov word [esp + 0x20], 0xd74a
mov word [esp + 0x22], 0x521f
mov word [esp + 0x24], 0x687b
mov word [esp + 0x26], 0x4d51
mov word [esp + 0x28], 0x2859
mov word [esp + 0x2a], 0x73c5
mov word [esp + 0x2c], 0x1857
mov word [esp + 0x2e], 0xa0c7
mov word [esp + 0x30], 0x6170
mov word [esp + 0x32], 0x7d7d
mov word [esp + 0x34], 0xd4a4
mov word [esp + 0x36], 0xfd2a
mov word [esp + 0x38], 0x8545
mov word [esp + 0x3a], 0x23fd
mov word [esp + 0x3c], 0x6843
mov word [esp + 0x3e], 0xa8c7
mov word [esp + 0x40], 0x55d5
mov word [esp + 0x42], 0x746c
mov word [esp + 0x44], 0xc7fe
mov word [esp + 0x46], 0x79f0
mov word [esp + 0x48], 0x47d
mov word [esp + 0x4a], 0x98ba
mov word [esp + 0x4c], 0xa884
mov word [esp + 0x4e], 0x992c
mov word [esp + 0x50], 0x1ed6
mov word [esp + 0x52], 0x758
mov word [esp + 0x54], 0x908c
mov word [esp + 0x56], 0x9965
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x64]
and ecx, 0xffff
lea eax, [esp + 0x14]
add ecx, 0x1306c0a
push edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x480]
push edx
push eax
push 8
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x421432
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
and eax, 0xffff
add ecx, edx
mov edx, dword [esp + 0x14]
add ecx, eax
and edx, 0xffff
xor esi, esi
lea eax, [ecx + edx + 5]
lea ecx, [esp + 0x64]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x480]
push ecx
push edx
push 0xf
mov dword [esp + 0x3c], esi
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x421432
mov eax, dword [esp + 0x58]
mov cx, word [esp + 4]
and eax, 0xffff
shl eax, 3
cmp cx, word [esp + eax + 0x1c]
jne 0x421432
mov dx, word [esp + 0xc]
cmp dx, word [esp + eax + 0x1e]
jne 0x421432
mov cx, word [esp + 0x10]
cmp cx, word [esp + eax + 0x20]
jne 0x421432
mov dx, word [esp + 0x14]
cmp dx, word [esp + eax + 0x22]
jne 0x421432
mov eax, 0xd
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x64]
lea edx, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x480]
push eax
push ecx
push 0xe
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00427660
add esp, 0x24
test ax, ax
jne 0x421432
mov dx, word [esp + 4]
pop esi
cmp dx, word [esp + 0x468]
sete al
add esp, 0x460
ret
mov al, 1
pop esi
add esp, 0x460
ret