joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bb1a0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x100bb1e9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x100bb660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e2480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.100bb210
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.100bb290
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.100bb290
lea ecx, [esi + 0xc]
call fcn.100cfdde
lea ecx, [esi + 0x10]
call fcn.100cfdde
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.100bc820
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.100bc820
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.100bc820
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.100cfe53
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.100cfe53
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x100bca10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x100bca76
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x100bca76
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x100bca57
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x100d227b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100d22b3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100d02ae
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100d0286
jmp 0x100d22bf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100d3a47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100d3a89
call fcn.100da0b9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100d3a89
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100d3a80
xor eax, eax
jmp 0x100d3a91
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100d3a97
pop edi
pop esi
pop ebx
ret 4
Function at 0x10003af0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [esp + 0x50]
mov ecx, dword [eax]
cmp ebx, 1
mov dword [ebp + 4], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x10], edx
mov dword [ebp], 0x10028528
jae 0x10003b35
mov eax, ebp
pop ebp
mov dword [0x10040544], 1
pop ebx
add esp, 0x40
ret 0xc
cmp ebx, 0x38
jbe 0x10003b3f
mov ebx, 0x38
mov ecx, ebx
push esi
mov esi, dword [esp + 0x50]
mov eax, ecx
push edi
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp + 0x14]
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x100274e0
mov edi, edx
mov dword [esp + 0x58], 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x5c]
mov ecx, 0x400
mov esi, 0x10027528
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
mov esi, edx
xor edx, edx
mov dword [esp + 0x5c], 4
mov edi, edx
xor edx, edx
mov dl, byte [ecx]
shl edi, 8
or edx, edi
inc ecx
inc eax
cmp eax, ebx
jne 0x10003baa
xor eax, eax
lea ecx, [esp + 0x18]
mov edi, dword [esp + 0x5c]
dec edi
mov dword [esp + 0x5c], edi
jne 0x10003b93
mov edi, dword [esi]
add esi, 4
xor edi, edx
mov edx, dword [esp + 0x58]
mov dword [esi - 4], edi
dec edx
mov dword [esp + 0x58], edx
jne 0x10003b89
xor edi, edi
lea esi, [ebp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.10003c80
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x12
jb 0x10003bd7
lea eax, [ebp + 0x5c]
mov dword [esp + 0x5c], 4
mov ebx, eax
xor edi, edi
mov esi, ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
call fcn.10003c80
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x100
jl 0x10003c0d
mov eax, dword [esp + 0x5c]
add ebx, 0x400
dec eax
mov dword [esp + 0x5c], eax
jne 0x10003c09
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 0xc
Function at 0x100049b0
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, ecx
call fcn.10004a00
push 0x400
call fcn.1001a636
add esp, 4
mov dword [esi + 4], eax
xor ecx, ecx
mov eax, ecx
mov edx, 8
test al, 1
je 0x100049de
shr eax, 1
xor eax, 0xedb88320
jmp 0x100049e0
shr eax, 1
dec edx
jne 0x100049d1
mov edx, dword [esi + 4]
inc ecx
cmp ecx, 0x100
mov dword [edx + ecx*4 - 4], eax
jl 0x100049ca
pop esi
ret

Function at 0x10004a20
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1010
call fcn.1001afc0
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [eax], 0xffffffff
mov eax, dword [ecx + 4]
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
jne 0x10004a82
lea ecx, [ebp - 0x1c]
push 0x100369a8
push ecx
mov dword [ebp - 0x1c], edi
call fcn.1001af79
mov dword [ebp - 0x14], 0x17
mov eax, 0x10004b35
ret
mov edx, dword [ebp + 8]
push edi
push 0x8000027
push 3
push edi
push 1
push 0x80000000
push edx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x18], esi
jne 0x10004ab1
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x10004b2e
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [ebp - 0x1020]
push 0x1000
push ecx
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x10004b2a
mov eax, dword [ebp + 8]
test eax, eax
je 0x10004b2a
push esi
push edi
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebx + 4]
lea esi, [ebp - 0x1020]
mov ebx, dword [ebp + 8]
lea edx, [esi + ebx]
xor eax, eax
mov bl, byte [esi]
mov al, cl
inc esi
xor al, bl
shr ecx, 8
mov ebx, dword [edi + eax*4]
xor ecx, ebx
cmp edx, esi
jne 0x10004aed
pop edi
pop esi
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + 8]
push 0
push edx
lea eax, [ebp - 0x1020]
push 0x1000
push eax
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 0x18]
jmp 0x10004ac9
test esi, esi
je 0x10004b35
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov edx, dword [eax]
pop ebx
not edx
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004c10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1800c
call fcn.1001afc0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor eax, eax
mov dword [esi], 0xffffffff
mov dword [ebp - 0x10], esp
mov ecx, dword [edi + 4]
mov dword [ebp - 0x14], eax
cmp ecx, eax
mov dword [ebp - 4], eax
jne 0x10004c71
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x100369a8
push eax
call fcn.1001af79
mov dword [ebp - 0x14], 0x17
mov eax, 0x10004cff
ret
mov ecx, dword [ebp + 8]
push eax
push 0x8000027
push 3
push eax
push 1
push 0x80000000
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], ebx
jne 0x10004ca7
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10004d02
lea edx, [ebp + 8]
push 0
push edx
lea eax, [ebp - 0x1801c]
push 0x18000
push eax
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
xor ecx, ecx
cmp ecx, 0x18000
jae 0x10004cf2
mov eax, dword [esi]
xor edx, edx
mov dl, byte [ebp + ecx - 0x1801c]
mov ebx, eax
and ebx, 0xff
xor edx, ebx
mov ebx, dword [edi + 4]
shr eax, 8
mov edx, dword [ebx + edx*4]
mov ebx, dword [ebp + 0xc]
xor edx, eax
inc ecx
mov dword [esi], edx
jmp 0x10004cc2
test ebx, ebx
je 0x10004d02
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10004d02
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
not eax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1000c
call fcn.1001afc0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
xor eax, eax
mov dword [esi], 0xffffffff
mov dword [ebp - 0x10], esp
mov ecx, dword [edi + 4]
mov dword [ebp - 0x14], eax
cmp ecx, eax
mov dword [ebp - 4], eax
jne 0x10004d81
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x100369a8
push eax
call fcn.1001af79
mov dword [ebp - 0x14], 0x17
mov eax, 0x10004e0f
ret
mov ecx, dword [ebp + 8]
push eax
push 0x8000027
push 3
push eax
push 1
push 0x80000000
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], ebx
jne 0x10004db7
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10004e12
lea edx, [ebp + 8]
push 0
push edx
lea eax, [ebp - 0x1001c]
push 0x10000
push eax
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
xor ecx, ecx
cmp ecx, 0x10000
jae 0x10004e02
mov eax, dword [esi]
xor edx, edx
mov dl, byte [ebp + ecx - 0x1001c]
mov ebx, eax
and ebx, 0xff
xor edx, ebx
mov ebx, dword [edi + 4]
shr eax, 8
mov edx, dword [ebx + edx*4]
mov ebx, dword [ebp + 0xc]
xor edx, eax
inc ecx
mov dword [esi], edx
jmp 0x10004dd2
test ebx, ebx
je 0x10004e12
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10004e12
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
not eax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10004f60
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [esp + 0xc]
mov eax, dword [esp + 4]
sub esp, 0x18c
cmp dl, 1
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x1a0]
push edi
jne 0x10004f8b
and eax, 0xfefefefe
and ecx, 0xfefefefe
mov ebx, dword [esp + 0x1ac]
xor esi, esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x100], eax
mov dword [esp + 0x10], esi
lea edi, [ebx + 2]
mov eax, dword [esp + esi + 0x64]
mov dword [esp + esi + 0x14], eax
mov eax, dword [esp + esi + 0x100]
mov ecx, dword [esp + esi + 0x10]
mov dword [esp + esi + 0x68], eax
mov edx, dword [esp + esi + 0x64]
xor ecx, eax
push ecx
push edx
mov ecx, ebp
call fcn.10004e50
mov dword [esp + esi + 0x104], eax
add esi, 4
shr eax, 0x10
mov word [esi + ebx - 4], ax
mov ax, word [esp + esi + 0x100]
mov word [edi], ax
add edi, 4
cmp esi, 0x4c
jle 0x10004fa6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18c
ret 0x10
Function at 0x10005110
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x108
push ebx
push esi
push edi
mov edx, dword [esp + 0x11c]
mov edi, ecx
xor eax, eax
xor ecx, ecx
mov esi, dword [esp + 0x118]
mov ax, word [edi + 0x40]
mov cx, word [edi + 0x42]
shl eax, 0x10
or eax, ecx
xor ecx, ecx
mov cx, word [edi + 0x44]
xor eax, edx
xor edx, edx
mov dword [esp + 0x90], eax
mov dx, word [edi + 0x46]
mov ebx, edi
shl ecx, 0x10
or ecx, edx
xor ecx, esi
xor ecx, eax
xor esi, esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + esi + 0xc]
xor eax, eax
mov ax, word [ebx]
push eax
push ecx
mov ecx, edi
call fcn.10005040
mov ecx, dword [esp + esi + 0x90]
add esi, 4
xor eax, ecx
add ebx, 2
mov dword [esp + esi + 0xc], eax
mov edx, dword [esp + esi + 8]
mov dword [esp + esi + 0x90], edx
cmp esi, 0x7c
jle 0x10005160
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x110]
xor eax, eax
xor esi, esi
mov ax, word [edi + 0x48]
mov si, word [edi + 0x4a]
shl eax, 0x10
xor ecx, edx
or eax, esi
xor eax, ecx
xor esi, esi
mov si, word [edi + 0x4e]
xor edx, eax
xor eax, eax
mov ax, word [edi + 0x4c]
pop edi
shl eax, 0x10
or eax, esi
xor esi, esi
xor ecx, eax
xor eax, eax
or eax, ecx
or edx, esi
pop esi
pop ebx
add esp, 0x108
ret 8
Function at 0x10005450
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c08
call fcn.1001afc0
push ebx
push ebp
push esi
xor esi, esi
push edi
xor ebx, ebx
jmp 0x10005466
xor esi, esi
push ebx
lea eax, [esp + 0x24]
push 0x100390cc
push eax
call fcn.1001b0dc
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
push esi
push 3
push esi
push 3
push esi
push ecx
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je case.default.0x10005596
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x508]
mov dword [esp + 0x14], edx
push esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edx
push eax
lea ecx, [esp + 0x510]
mov dword [esp + 0x24], edx
push 0x2710
push ecx
lea edx, [esp + 0x24]
push 0xc
push edx
push 0x2d1400
push ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x1000563b
mov eax, dword [esp + 0x520]
lea ecx, [esp + eax + 0x508]
push ecx
call fcn.10005290
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x120]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [0x1003efc4]
and ecx, 3
test al, al
rep movsb byte es:[edi], byte [esi]
jne 0x10005586
movsx ecx, byte [esp + 0x120]
push ecx
call fcn.1001b0ae
add esp, 4
test eax, eax
jne 0x1000555f
movsx edx, byte [esp + 0x133]
push edx
call fcn.1001b0ae
add esp, 4
test eax, eax
je 0x10005586
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x1003efc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp ebx, 3
ja case.default.0x10005596
jmp dword [ebx*4 + 0x10005648]
mov edi, 0x1003efc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x1003ebc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x1000561c
mov edi, 0x1003efc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, 0x1003e7c4
jmp 0x10005615
mov edi, 0x1003efc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x1003e3c4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x1000561c
mov edi, 0x1003efc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, 0x1003dfc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc ebx
cmp ebx, 4
jl 0x10005464
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c08
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c08
ret
Function at 0x10005fa0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.10006b20
mov byte [esi], 0x80
pop esi
ret

Function at 0x10007940
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push edi
push 0x100391cc
push 0x100391c0
call esi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call edi
test eax, eax
mov dword [fcn.1003f3d0], eax
jne 0x1000796b
pop edi
xor al, al
pop esi
ret
push 0x100391a8
push 0x100391c0
call esi
push eax
call edi
test eax, eax
mov dword [0x1003f3dc], eax
jne 0x10007988
pop edi
xor al, al
pop esi
ret
push 0x10039198
push 0x100391c0
call esi
push eax
call edi
test eax, eax
mov dword [fcn.1003f3d8], eax
jne 0x100079a5
pop edi
xor al, al
pop esi
ret
push 0x10039184
push 0x100391c0
call esi
push eax
call edi
test eax, eax
mov dword [fcn.1003f3d4], eax
jne 0x100079c2
pop edi
xor al, al
pop esi
ret
push 0x1003916c
push 0x100391c0
call esi
push eax
call edi
test eax, eax
mov dword [fcn.1003f3cc], eax
pop edi
setne al
pop esi
ret
Function at 0x1000a150
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov eax, ecx
mov esi, 0x1002c0b8
push edi
mov edx, eax
sub esi, eax
mov ecx, 8
mov edi, dword [esi + edx]
mov dword [edx], edi
add edx, 4
dec ecx
jne 0x1000a162
xor ecx, ecx
pop edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop esi
ret

Function at 0x1000a710
Capabilities:
Hash data using sha256

Disassembly:
mov edx, 0x1002c0b8
push esi
push edi
mov eax, ecx
sub edx, ecx
mov esi, 8
mov edi, dword [edx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x1000a720
xor eax, eax
pop edi
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x68], al
pop esi
ret
Function at 0x1000d840
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 0xc]
cmp eax, 1
jne 0x1000d8ac
mov ecx, dword [esp + 4]
cmp ecx, eax
jl 0x1000d898
mov eax, dword [esp + 8]
cmp eax, 1
jl 0x1000d898
mov edx, dword [esp + 0x10]
push esi
push edi
lea edi, [eax - 1]
lea esi, [ecx - 1]
mov eax, edx
shr eax, 0x10
mov cx, si
shr ax, cl
mov ecx, edi
and eax, 1
shl eax, cl
mov cx, si
shr dx, cl
mov ecx, edi
pop edi
and eax, 0xffff
pop esi
shl eax, 0x10
and edx, 1
shl edx, cl
and edx, 0xffff
or eax, edx
ret
push 0x10039398
call fcn.1001b268
add esp, 4
push 1
call fcn.1001b4de
cmp eax, 8
jne 0x1000d8f3
mov eax, dword [esp + 4]
cmp eax, 1
jl 0x1000d8df
mov edx, dword [esp + 8]
cmp edx, 1
jl 0x1000d8df
lea ecx, [eax*8 - 8]
mov eax, dword [esp + 0x10]
shr eax, cl
lea ecx, [edx*8 - 8]
and eax, 0xff
shl eax, cl
ret
push 0x10039398
call fcn.1001b268
add esp, 4
push 1
call fcn.1001b4de
mov eax, dword [esp + 4]
ret

Function at 0x1000d900
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
and esi, eax
xor eax, eax
mov edx, 1
lea ecx, [edx - 1]
mov edi, esi
shr edi, cl
and edi, 1
xor eax, edi
inc edx
cmp edx, 0x20
jle 0x1000d913
pop edi
pop esi
ret
Function at 0x1000f060
Capabilities:
Encrypt data using blowfish

Disassembly:
xor ecx, ecx
xor eax, eax
mov edx, dword [eax + 0x100393f4]
mov dword [eax + 0x1003f430], edx
mov edx, dword [eax + 0x100397f4]
mov dword [eax + 0x1003f830], edx
mov edx, dword [eax + 0x10039bf4]
mov dword [eax + 0x1003fc30], edx
mov edx, dword [eax + 0x10039ff4]
mov dword [eax + 0x10040030], edx
add eax, 4
cmp eax, 0x400
jl 0x1000f064
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
xor eax, eax
mov ebx, 4
movsx ebp, byte [ecx + edi]
shl eax, 8
or eax, ebp
inc ecx
cmp ecx, esi
jl 0x1000f0c3
xor ecx, ecx
dec ebx
jne 0x1000f0b3
mov ebx, dword [edx + 0x100393ac]
add edx, 4
xor ebx, eax
cmp edx, 0x48
mov dword [edx + 0x1004042c], ebx
jl 0x1000f0ac
xor eax, eax
mov esi, 0x10040434
mov dword [0x1004048c], eax
mov dword [0x10040488], eax
push 0x1004048c
push 0x10040488
call fcn.1000e640
mov eax, dword [0x10040488]
mov ecx, dword [0x1004048c]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esi, 8
add esp, 8
cmp esi, 0x1004047c
jl 0x1000f0ed
mov esi, 0x1003f434
mov edi, 0x80
push 0x1004048c
push 0x10040488
call fcn.1000e640
mov edx, dword [0x10040488]
mov eax, dword [0x1004048c]
mov dword [esi - 4], edx
mov dword [esi], eax
add esp, 8
add esi, 8
dec edi
jne 0x1000f124
cmp esi, 0x10040434
jl 0x1000f11f
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1000f1f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 8
test eax, eax
push ebx
push esi
jg 0x1000f206
pop esi
or eax, 0xffffffff
pop ebx
add esp, 8
ret
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.1000f060
mov ecx, dword [esp + 0x1c]
push 0x1003a41c
push ecx
call fcn.1001bc35
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000f234
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x18]
push 0x1003a418
push edx
call fcn.1001bc35
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1000f260
push esi
call fcn.1001bb87
add esp, 4
mov eax, 0xfffffffd
pop esi
pop ebx
add esp, 8
ret
push ebp
push edi
push 2
push 0
push esi
call fcn.1001bace
push esi
call fcn.1001b94b
push 0
push 0
push esi
mov edi, eax
call fcn.1001bace
push 0
call fcn.1001b86f
push eax
call fcn.1001af05
push 0
call fcn.1001b86f
mov dword [0x10040488], eax
call fcn.1001af12
push 0x1004048c
push 0x10040488
mov dword [0x1004048c], eax
call fcn.1000e640
mov eax, dword [0x10040488]
mov ecx, dword [0x1004048c]
push ebx
push 1
push 8
push 0x10040488
mov dword [0x10040480], eax
mov dword [0x10040484], ecx
call fcn.1001b736
add esp, 0x40
cmp edi, 8
jb 0x1000f355
mov ebp, edi
shr ebp, 3
push esi
push 1
push 8
push 0x10040488
call fcn.1001b61f
mov edx, dword [0x10040480]
mov eax, dword [0x10040488]
mov ecx, dword [0x1004048c]
xor eax, edx
mov dword [0x10040488], eax
mov eax, dword [0x10040484]
xor ecx, eax
push 0x1004048c
push 0x10040488
mov dword [0x1004048c], ecx
call fcn.1000e640
push ebx
push 1
push 8
push 0x10040488
call fcn.1001b736
mov ecx, dword [0x10040488]
mov edx, dword [0x1004048c]
add esp, 0x28
sub edi, 8
dec ebp
mov dword [0x10040480], ecx
mov dword [0x10040484], edx
jne 0x1000f2e2
push esi
push 1
lea eax, [esp + 0x18]
push edi
push eax
call fcn.1001b61f
add esp, 0x10
cmp edi, 7
mov ebp, edi
ja 0x1000f37c
call fcn.1001af12
mov byte [esp + ebp + 0x10], al
inc ebp
cmp ebp, 7
jbe 0x1000f36d
mov ecx, dword [0x10040480]
mov eax, dword [esp + 0x10]
mov edx, dword [0x10040484]
mov ebp, dword [esp + 0x14]
xor ecx, eax
xor edx, ebp
push 0x1004048c
push 0x10040488
mov dword [0x10040488], ecx
mov dword [0x1004048c], edx
call fcn.1000e640
mov eax, dword [0x10040488]
mov ecx, dword [0x1004048c]
push ebx
push 1
push 8
push 0x10040488
mov dword [0x10040480], eax
mov dword [0x10040484], ecx
call fcn.1001b736
call fcn.1001af12
mov dword [0x10040488], eax
call fcn.1001af12
mov edx, dword [0x10040480]
and al, 0xf0
add eax, edi
mov edi, dword [0x10040488]
xor edi, edx
mov edx, dword [0x10040484]
xor eax, edx
push 0x1004048c
push 0x10040488
mov dword [0x10040488], edi
mov dword [0x1004048c], eax
call fcn.1000e640
push ebx
push 1
push 8
push 0x10040488
call fcn.1001b736
push esi
call fcn.1001bb87
push ebx
call fcn.1001bb87
add esp, 0x38
mov eax, 1
pop edi
pop ebp
pop esi
pop ebx
add esp, 8
ret