joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026d00
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor eax, eax
push edi
lea ecx, [esp + 0x18]
push ecx
mov word [esp + 0x1c], ax
xor ebx, ebx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x10]
mov ebp, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push str.System
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebx, eax
push 0
test ebx, ebx
jne 0x10026d76
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x10026d9a
mov ecx, esi
add ecx, 0x2ac18000
mov edx, edi
push 0x989680
adc edx, 0xfe624e21
push edx
push ecx
call fcn.100d5430
push 0
push eax
call fcn.10026c10
push 0
sub esi, eax
push 0x2710
sbb edi, edx
push edi
push esi
call fcn.100e67b0
pop edi
sub ebp, eax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x10026dc0
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10026deb
xor esi, esi
xor edi, edi
jmp 0x10026e13
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push str.System
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebx, eax
push 0
test ebx, ebx
jne 0x10026e3d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
add esi, 0x2ac18000
push 0x989680
adc edi, 0xfe624e21
push edi
push esi
call fcn.100d5430
push edx
push eax
call fcn.10026c10
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x10027380
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x18
push esi
push 0x10
push ebx
mov esi, eax
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x100274ce
cmp dword [esp + 0x10], eax
je 0x100274ce
push 0x10
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100274ce
push edi
push 0x400
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x100273e4
pop edi
pop esi
add esp, 0x18
ret
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
push ecx
push 1
push edx
push 0x6610
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov edx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
push edx
call esi
mov ecx, dword [esp + 8]
push 0
lea eax, [esp + 0x20]
push eax
push 3
push ecx
call esi
mov edx, dword [esp + 8]
push 0
push edi
push 1
push edx
call esi
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push ebx
push 0
push 1
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1002749f
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 8]
test eax, eax
je 0x100274ae
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100274bf
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
add esp, 0x18
ret
xor eax, eax
pop esi
add esp, 0x18
ret
Function at 0x100279e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc20
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0xc18], eax
push ebx
push ebp
push edi
push 0x400
lea eax, [esp + 0x20]
push 0
push eax
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], vtable.CIni.0
call fcn.100d4cc0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor eax, eax
add esp, 0xc
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push edi
mov dword [0x101e2fa8], eax
mov dword [0x101e2fac], eax
mov dword [0x101e2fb0], eax
mov dword [0x101e2fb4], eax
mov dword [0x101e2fb8], eax
mov dword [0x101e2fbc], eax
mov dword [0x101e2fc0], eax
mov dword [0x101e2fc4], eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x10027a83
xor eax, eax
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc18]
xor ecx, esp
call fcn.100d0738
add esp, 0xc20
ret
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x10
push 0x101e2fa8
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x10027a69
push 0
lea edx, [esp + 0x14]
push edx
push 0x10
push 0x101e2fb8
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str.HelpFileTime
lea eax, [esp + 0x20]
call fcn.10027ce0
lea edx, [esp + 0x820]
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10027af0
push esi
push str.OpenPCTime
lea eax, [esp + 0x20]
call fcn.10027ce0
lea edx, [esp + 0x420]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10027b10
lea eax, [esp + 0x420]
push eax
lea eax, [esp + 0x824]
call fcn.10027630
mov ebx, eax
push esi
add ebx, 0x3e8
push str.GetCurrentProcessorNumberOffset
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.10027c50
push esi
push str.GetCurrentProcessorNumberBase
lea eax, [esp + 0x20]
call fcn.10027c50
push esi
push str.GetActiveWindowOffset
lea eax, [esp + 0x20]
call fcn.10027c50
push esi
push str.GetActiveWindowBase
lea eax, [esp + 0x20]
call fcn.10027c50
xor ebp, ebp
jmp 0x10027b84
mov ebx, dword [esp + 0x14]
mov edi, 0x100000
sub ebx, ebp
jmp 0x10027b90
push esi
push str.GetClipboardOwnerOffset
lea eax, [esp + 0x20]
call fcn.10027c50
push eax
push esi
push str.GetCurrentThreadIdOffset
lea eax, [esp + 0x24]
call fcn.10027c50
push eax
push esi
push str.GetActiveWindowOffset
lea eax, [esp + 0x28]
call fcn.10027c50
push eax
push esi
push str.GetCurrentProcessorNumberOffset
lea eax, [esp + 0x2c]
call fcn.10027c50
push eax
push ebx
mov ecx, edi
call fcn.100274e0
cmp eax, 1
je 0x10027c0c
add edi, 0x10000
cmp edi, 0x20000000
jbe 0x10027b90
inc ebp
cmp ebp, 0x12c
jbe 0x10027b80
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc18]
xor ecx, esp
call fcn.100d0738
add esp, 0xc20
ret
mov ecx, dword [esp + 0xc24]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100d0738
add esp, 0xc20
ret
Function at 0x10027c50
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov esi, eax
push 0x400
xor edi, edi
add esi, 4
push edi
push esi
call fcn.100d4cc0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 0xc
push eax
push 0x3ff
push esi
push 0x10128b0a
push ecx
push str.GryphonUpload
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10027cca
mov al, byte [esi]
test al, al
je 0x10027cca
mov dl, al
sub dl, 0x61
cmp dl, 5
ja 0x10027ca0
add al, 0xa9
jmp 0x10027cba
mov cl, al
sub cl, 0x41
cmp cl, 5
ja 0x10027cae
add al, 0xc9
jmp 0x10027cba
sub al, 0x30
mov dl, 9
cmp dl, al
sbb cl, cl
not cl
and al, cl
movzx edx, al
mov al, byte [esi + 1]
inc esi
shl edi, 4
add edi, edx
test al, al
jne 0x10027c92
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x10027ce0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, eax
push 0x400
add esi, 4
push 0
push esi
call fcn.100d4cc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 0xc
push eax
push 0x3ff
push esi
push 0x10128b0a
push ecx
push str.GryphonUpload
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x10027d2a
mov edx, dword [str.NULL]
mov dword [esi], edx
mov al, byte [0x1012ce70]
mov byte [esi + 4], al
mov eax, esi
pop esi
ret 8
Function at 0x10027ea0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0xd04
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0xd00], eax
mov eax, dword [esp + 0xd08]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
push ebx
push ebx
push 0x208
mov esi, ecx
lea ecx, [esp + 0xec]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call edi
lea edx, [esp + 0xe0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push ebx
lea eax, [esp + 0x8fc]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x6f8]
push ecx
lea edx, [esp + 0x4f4]
push edx
push ebx
lea eax, [esp + 0x904]
push ebx
push eax
call fcn.100d3b4e
add esp, 0x14
mov ecx, 0x1012b558
lea eax, [esp + 0x6f8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10027f56
cmp dx, bx
je 0x10027f52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10027f56
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10027f30
xor eax, eax
jmp 0x10027f5b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x100280a1
lea eax, [esp + 0x4f0]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10027f70
push ebx
push ebx
push 0x208
sub eax, edx
lea ecx, [esp + 0x2f4]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x504]
push edx
push ebx
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x100280a1
lea eax, [edi + 3]
and eax, 0xfffffffc
cmp edi, eax
jge 0x10027fc8
sub eax, edi
mov esi, eax
push esi
lea ecx, [esp + edi + 0x2ec]
push 0x3d
push ecx
call fcn.100d4cc0
add esp, 0xc
add edi, esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2ec]
push ecx
lea ecx, [esp + 0xb08]
mov dword [esp + 0x14], ebx
call fcn.10027d30
mov edx, dword [esp + 0x14]
add esp, 8
cmp edx, ebx
je 0x100280a1
lea eax, [esp + 0xe0]
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10028000
sub eax, esi
cmp edx, eax
jne 0x100280a1
mov dword [esp + 0x54], edx
lea edx, [esp + 0x24]
lea eax, [esp + 0xb00]
lea ecx, [esp + 0xe0]
push edx
mov dword [esp + 0x4c], vtable.._AVCCrackKey__1__internal_keygen_GSupport3Decryptor__AAEHPB_W0_Z_.0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov byte [esp + 0xdc], bl
mov dword [esp + 0x14], vtable.._AVCSeedGenerator__2__internal_keygen_GSupport3Decryptor__AAEHPB_W0_Z_.0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0x28f5c28
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x48]
push eax
dec ecx
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.1002a1a0
add esp, 0xc
test eax, eax
jl 0x100280a1
cmp byte [esp + 0xd8], bl
je 0x100280a1
mov ecx, 0x20
lea esi, [esp + 0x58]
mov edi, 0x101e2d21
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x100280a3
xor eax, eax
mov ecx, dword [esp + 0xd0c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d0738
add esp, 0xd04
ret 4
Function at 0x10028210
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov esi, eax
xor edi, edi
imul esi, esi, 0x8088405
xor ecx, ecx
push ecx
mov eax, 0x80
push eax
push ecx
inc esi
push esi
call fcn.100d53f0
mov byte [edi + ebx], dl
inc edi
mov dword [esp + 8], eax
cmp edi, 0x80
jb 0x1002821f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10028320
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2624
call fcn.100d4920
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x2620], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
mov edi, edx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov ecx, 0x1012b558
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10028377
test dx, dx
je 0x10028373
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10028377
add ecx, 4
add eax, 4
test dx, dx
jne 0x10028351
xor eax, eax
jmp 0x1002837c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100284e0
push edi
lea eax, [esp + 0x424]
push eax
mov ecx, esi
call fcn.10028500
test eax, eax
je 0x100284e0
push 0x1012266c
push esi
call fcn.100d080d
mov edi, eax
add esp, 8
test edi, edi
je 0x100284e0
lea ecx, [esp + 0x420]
push 0x101226b0
push ecx
call fcn.100d080d
mov esi, eax
add esp, 8
mov dword [esp + 0x10], esi
test esi, esi
je 0x100284d7
push 0x101e2d21
lea edx, [esp + 0x1c]
push 0x80
push edx
call fcn.1006c7a0
add esp, 0xc
push edi
mov ebx, 0x10000
call fcn.100d1e39
add esp, 4
test eax, eax
jne 0x1002849e
test ebx, ebx
je 0x10028453
mov eax, 0x1000
cmp ebx, 0x1000
ja 0x10028417
mov eax, ebx
push edi
push eax
lea eax, [esp + 0x630]
push 1
push eax
call fcn.100d0bd3
lea ecx, [esp + 0x1638]
push ecx
lea edx, [esp + 0x63c]
mov esi, eax
push edx
lea eax, [esp + 0x30]
push esi
push eax
call fcn.1006c7b0
add esp, 0x20
sub ebx, esi
lea eax, [esp + 0x1628]
jmp 0x10028474
push edi
push 0x1000
lea ecx, [esp + 0x630]
push 1
push ecx
call fcn.100d0bd3
mov esi, eax
add esp, 0x10
lea eax, [esp + 0x628]
mov edx, dword [esp + 0x10]
push edx
push esi
push 1
push eax
call fcn.100d0d86
add esp, 0x10
cmp esi, eax
jne 0x100284ca
push edi
call fcn.100d1e39
add esp, 4
test eax, eax
je 0x10028404
mov esi, dword [esp + 0x10]
push esi
call fcn.100d11ec
add esp, 4
push edi
call fcn.100d11ec
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2620]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
call fcn.100d11ec
add esp, 4
push edi
call fcn.100d11ec
add esp, 4
mov ecx, dword [esp + 0x262c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100d0738
mov esp, ebp
pop ebp
ret
Function at 0x10028890
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2114
call fcn.100d4920
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x2110], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x1012266c
push eax
mov edi, ecx
mov ebx, edx
call fcn.100d080d
mov esi, eax
add esp, 8
test esi, esi
je 0x100288fd
push 2
push 0
push esi
call fcn.100d08ae
push esi
call fcn.100d1dcb
push 0
push 0
push esi
mov dword [esp + 0x28], eax
call fcn.100d08ae
add esp, 0x1c
test byte [esp + 0xc], 0xf
je 0x10028916
push esi
call fcn.100d11ec
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2110]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret 4
push 0x101226b0
push ebx
call fcn.100d080d
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100288f4
lea eax, [esp + 0x10]
push eax
lea ecx, [edi + 0x1c]
push 0x100
push ecx
call fcn.1006c040
mov edx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [esp + 0x114], edx
mov edx, dword [edi + 0x48]
push esi
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], edx
call fcn.100d1e39
add esp, 0x10
test eax, eax
jne 0x10028a07
jmp 0x10028980
push esi
push 0x1000
lea eax, [esp + 0x1120]
push 1
push eax
call fcn.100d0bd3
push 0
lea ecx, [esp + 0x11c]
push ecx
lea edx, [esp + 0x28]
push edx
mov edi, eax
push edi
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x113c]
push ecx
call fcn.1006c050
push esi
call fcn.100d1e39
add esp, 0x2c
test eax, eax
je 0x100289de
mov al, byte [esp + edi + 0x117]
cmp al, 0x10
movzx eax, al
jb 0x100289dc
mov eax, 0x10
sub edi, eax
push ebx
push edi
lea edx, [esp + 0x120]
push 1
push edx
call fcn.100d0d86
add esp, 0x10
cmp edi, eax
jne 0x10028a32
push esi
call fcn.100d1e39
add esp, 4
test eax, eax
je 0x10028980
push ebx
call fcn.100d11ec
push esi
call fcn.100d11ec
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2110]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret 4
push ebx
call fcn.100d11ec
push esi
call fcn.100d11ec
mov ecx, dword [esp + 0x2124]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100d0738
mov esp, ebp
pop ebp
ret 4
Function at 0x10028ab0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0
push 0x10
lea eax, [esp + 0x10]
push eax
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ReadMe.txt
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.100d3b9a
lea edx, [esp + 0x14]
push 0x1012266c
push edx
call fcn.100d080d
mov esi, eax
add esp, 0x14
test esi, esi
je 0x10028b34
push 0
push 0x2e
push esi
call fcn.100d08ae
push esi
push 0xf
push 1
add edi, 4
push edi
call fcn.100d0bd3
add esp, 0x1c
push esi
cmp eax, 0xf
je 0x10028b4a
call fcn.100d11ec
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret
call fcn.100d11ec
mov ecx, dword [esp + 0x218]
add esp, 4
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.100d0738
mov esp, ebp
pop ebp
ret
Function at 0x10028ee0
Capabilities:
Get system information on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x54]
push esi
push edi
test eax, eax
je 0x10029055
push 0x1012266c
push eax
call fcn.100d080d
mov esi, eax
add esp, 8
test esi, esi
je 0x10029055
push 0
push 0
push esi
call fcn.100d08ae
add esp, 0xc
push esi
push 0x10
lea eax, [esp + 0x84]
push 1
push eax
call fcn.100d0bd3
push esi
mov edi, eax
call fcn.100d11ec
add esp, 0x14
cmp edi, 0x10
jne 0x10029055
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x10029055
push 0x1012266c
push eax
call fcn.100d080d
mov esi, eax
add esp, 8
test esi, esi
je 0x10029055
push 0
push 0
push esi
call fcn.100d08ae
add esp, 0xc
push esi
push edi
lea ecx, [esp + 0x74]
push 1
push ecx
call fcn.100d0bd3
push esi
mov edi, eax
call fcn.100d11ec
add esp, 0x14
cmp edi, 0x10
jne 0x10029055
lea eax, [esp + 0x7c]
mov dword [esp + 0x50], eax
xor eax, eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x6c]
push ecx
mov dword [esp + 0x4c], vtable.DecryptEnum::CCrackKey.0
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], edi
mov byte [esp + 0x6c], 0
mov dword [esp + 0x14], vtable.DecryptEnum::CSeedGenerator.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], SysStringLen
mov dword [esp + 0x20], 0x36ee80
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x48]
push edx
dec eax
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.1002a1a0
add esp, 0xc
test eax, eax
jl 0x10029055
cmp byte [esp + 0x68], 0
je 0x10029055
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [ebx + 4], edx
mov dx, word [esp + 0x64]
mov dword [ebx + 8], eax
mov al, byte [esp + 0x66]
mov dword [ebx + 0xc], ecx
mov word [ebx + 0x10], dx
mov byte [ebx + 0x12], al
lea eax, [edi - 0xf]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.100d0738
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100d0738
mov esp, ebp
pop ebp
ret
Function at 0x10029100
Capabilities:
Check if file exists
Get common file path
Get file size

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0
push 0x10
lea eax, [esp + 0x10]
push eax
push 0
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ReadMe.txt
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.100d3b9a
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002920e
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x3e
pop ebx
jbe 0x1002920e
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002920e
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1002920e
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
test esi, esi
je 0x1002920e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str..razy
push esi
call edi
test eax, eax
je 0x100291f2
push str..mecpt
push esi
call edi
test eax, eax
je 0x100291f2
push str..lok
push esi
call edi
test eax, eax
je 0x100291f2
push 0x1012cf08
push esi
call edi
test eax, eax
je 0x100291f2
push str..monstro
push esi
call edi
test eax, eax
jne 0x1002920e
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100d0738
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.100d0738
add esp, 0x20c
ret
Function at 0x10029230
Capabilities:
Check if file exists
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x10139d00]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
push 0x10
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esp + 0x14], 0
call esi
push 0x1012cfe8
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.100d3b9a
add esp, 0xc
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10029382
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10029382
push eax
push 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
push 0x1012cff0
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.100d3b9a
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10029345
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 8], eax
add eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x10029362
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
add edx, 2
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 8], 0
je 0x1002935b
push str.me.blackhat20152015_mt2015.com
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x1002935b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100d0738
add esp, 0x210
ret
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100d0738
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.100d0738
add esp, 0x210
ret