joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
cmp byte [esi + 0xb], 0
push edi
jne 0x1003a4b3
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x1003a3b2
nop
mov edi, dword [eax + 0x18]
push eax
call fcn.100b3828
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x1003a3a0
mov eax, dword [esi + 0xc0]
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0xbc], ebx
cmp eax, ebx
je 0x1003a3d7
push eax
call fcn.100b3828
add esp, 4
mov cl, byte [esi + 0xa]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc0], ebx
cmp cl, 2
jb 0x1003a496
cmp byte [esi + 0x11], bl
je 0x1003a4ba
mov edi, dword [esi + 0x74]
cmp edi, ebx
je 0x1003a479
lea esp, [esp]
cmp byte [edi + 0x26], 0
je 0x1003a472
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
add ecx, eax
lea ebx, [ecx + edi + 0x38]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1003a426
push eax
push ecx
lea edx, [edi + 0x38]
push edx
call fcn.100b3090
add esp, 0xc
mov eax, dword [ebx]
test eax, eax
je 0x1003a435
push eax
call fcn.100b3828
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
je 0x1003a445
push eax
call fcn.100b3828
add esp, 4
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov byte [edi + 0x26], cl
mov word [edi + 0x24], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov eax, dword [esi + 0xb0]
cmp eax, ecx
je 0x1003a470
mov ecx, dword [esi + 0x30]
push ecx
lea edx, [edi + 0x38]
push edx
call eax
add esp, 8
xor ebx, ebx
mov edi, dword [edi + 0x18]
cmp edi, ebx
jne 0x1003a400
mov eax, dword [esi + 0x18]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], ebx
mov ebx, esi
mov dword [esi + 0x14], eax
call fcn.1003b540
mov byte [esi + 5], 0
mov byte [esi + 0xa], 1
xor ebx, ebx
mov eax, dword [esi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
add esp, 8
mov byte [esi + 0xa], 0
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x3c], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0xf], bl
je 0x1003a525
cmp byte [esi], bl
je 0x1003a525
mov al, byte [esi + 0xb]
test al, al
je 0x1003a4dc
cmp al, 0xd
je 0x1003a4dc
cmp cl, 4
jb 0x1003a496
mov eax, esi
call fcn.1003ac20
jmp 0x1003a496
cmp cl, 2
jne 0x1003a4f5
call fcn.1003aaa0
mov ebx, eax
mov eax, esi
call fcn.1003a540
test ebx, ebx
jne 0x1003a4fe
jmp 0x1003a4fc
mov eax, esi
call fcn.1003ac20
mov ebx, eax
mov dword [esi + 0x14], 0xffffffff
cmp ebx, 0xd
je 0x1003a51d
cmp ebx, 0xa
je 0x1003a51d
cmp ebx, 0xb
je 0x1003a51d
cmp ebx, 0xf
jne 0x1003a494
mov byte [esi + 0xb], bl
jmp 0x1003a494
mov eax, esi
call fcn.1003a540
mov dword [esi + 0x14], 0xffffffff
jmp 0x1003a496
Function at 0x1003b970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 2], 0
je 0x1003b9db
mov ebx, dword [edi + 0x50]
mov ecx, ebx
call fcn.10028980
mov esi, eax
test esi, esi
je 0x1003b9a5
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
push esi
setne bl
call fcn.100b3828
add esp, 4
jmp 0x1003b9b4
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x1003b9db
mov eax, dword [edi + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
add esp, 4
test eax, eax
jne 0x1003b9db
call fcn.1003b3b0
test eax, eax
jne 0x1003b9e1
mov eax, dword [edi + 0x50]
call fcn.10028b40
xor eax, eax
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10046b20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10046b30
xor eax, eax
pop edi
pop ebp
ret
cmp dword [0x10112c64], 0
push esi
je 0x10046b43
cmp dword [0x10112c70], 0
jg 0x10046b63
push 0x44
call fcn.100b3794
mov esi, eax
add esp, 4
test esi, esi
jne 0x10046b69
mov eax, 1
add dword [0x10112c70], eax
mov dword [0x10112c64], eax
pop esi
xor eax, eax
pop edi
pop ebp
ret
mov al, byte [edi + 5]
mov byte [esi + 5], al
mov ecx, dword [edi]
push ecx
call fcn.100467d0
mov dword [esi], eax
mov edx, dword [edi + 0xc]
push edx
call fcn.100468f0
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
call fcn.100466b0
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
call fcn.100467d0
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
call fcn.100466b0
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
push eax
call fcn.100467d0
mov dword [esi + 0x1c], eax
movzx ecx, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 0x20]
push edx
call fcn.10046b20
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
push eax
call fcn.100466b0
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
push ecx
call fcn.100466b0
mov dword [esi + 0x2c], eax
add esp, 0x24
or eax, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dl, byte [edi + 6]
mov byte [esi + 6], dl
movzx ecx, byte [edi + 7]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov byte [esi + 7], cl
mov word [esi + 8], 0
mov dword [esi + 0x24], 0
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10059620
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd752
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1010e07c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + 0x60]
mov dword [ebx], 0x100f7630
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [ebp - 4], ecx
mov dword [eax], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.100020a0
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.10006f40
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x100596c2
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.10001f30
mov dword [ebp - 4], 4
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.100067f0
mov byte [ebp - 4], 5
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x10113618]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10061620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1603
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], ebx
call fcn.1005c090
mov ecx, eax
call fcn.1005af50
mov dword [ebp - 4], 1
push 0x11
push str.liebaoUser_Data
lea ecx, [ebp - 0x2c]
call fcn.1000cbb0
cmp dword [ebp - 0x1c], ebx
je 0x100616c6
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10061689
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x100616c6
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x2c]
mov word [ebp - 0x48], cx
mov edi, 7
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.10005f30
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
lea ebx, [edi - 6]
jmp 0x100616f4
push ebx
xor eax, eax
mov edi, 7
push 0x100eb174
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
call fcn.10006a20
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 3
mov ebx, 2
mov dword [ebp - 0x68], ebx
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov word [esi], cx
push eax
mov ecx, esi
call fcn.100070c0
or ebx, 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 4], 2
test bl, 2
je 0x10061748
and ebx, 0xfffffffd
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x50], 8
jb 0x10061738
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov dword [ebp - 4], 1
test bl, 1
je 0x1006177c
and ebx, 0xfffffffe
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x34], 8
jb 0x1006176c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100b2678
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x10061792
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x100665f0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10069aa0
test eax, eax
jne 0x10066619
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x10066667
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x10066760
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e093d
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44c], ebx
mov edi, dword [eax]
mov dword [ebp - 0x45c], esi
cmp edi, ebx
jne 0x100667ac
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
push 0x206
lea ecx, [ebp - 0x21a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x21c], ax
call fcn.100b2ed0
push 0x206
lea eax, [ebp - 0x422]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x424], dx
call fcn.100b2ed0
add esp, 0x18
xor ecx, ecx
mov eax, 0x104
push 0x10
mov word [ebp - 0x440], cx
push str.SeDebugPrivilege
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
call fcn.10006a20
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.10065bf0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x42c], 8
jb 0x1006685a
mov edx, dword [ebp - 0x440]
push edx
call fcn.100b2678
add esp, 4
push edi
push ebx
xor eax, eax
push 0x400
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x1006693a
lea ecx, [ebp - 0x448]
push ecx
push 8
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1006693a
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x448]
lea edx, [ebp - 0x444]
push edx
push eax
push ebx
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100668cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1006693a
mov edx, dword [ebp - 0x444]
push edx
call fcn.100b3794
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x1006693a
mov ecx, dword [ebp - 0x444]
mov edx, dword [ebp - 0x448]
lea eax, [ebp - 0x444]
push eax
push ecx
push edi
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10066931
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x424]
push edx
mov edx, dword [edi]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
push edi
call fcn.100b3828
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10066952
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, esi
call fcn.10006a20
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x10069090
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db538
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, 0xf
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.10005b80
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x100690f3
push 0x14
push str.dwIr23Cew_T_R471_
lea ecx, [ebp - 0x2c]
call fcn.100065d0
cmp edi, ebx
jne 0x1006911a
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x10069110
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x18], esi
xor eax, eax
jmp 0x100691b2
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x30], bl
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
jae 0x1006915d
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x98]
call fcn.1006f240
cmp byte [ebp - 0x30], bl
jne 0x1006917c
mov ecx, esi
mov byte [ebp - 0x30], 1
call fcn.1006f2f0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push ecx
push edx
mov ecx, edi
call fcn.10068ea0
add esp, 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x100691a9
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x18], 0xf
mov eax, esi
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x100695e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10101c58
push 0x100b4220
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1010e07c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [esi], edx
xor edi, edi
mov eax, dword [ebp + 0xc]
cmp eax, 4
jl 0x10069764
mov ecx, eax
and ecx, 0x80000003
jns 0x1006963a
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x10069764
mov dword [ebp - 4], edx
mov dword [ebp - 0x28], edx
cmp edx, eax
jge 0x10069669
mov cl, byte [edx + ebx]
cmp cl, 0x80
jae 0x1006975d
movzx ecx, cl
cmp byte [ecx + 0x1010fcc0], 0xff
je 0x1006975d
inc edx
jmp 0x10069643
push eax
call fcn.100b21c0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0xc]
push edx
push 0
push eax
call fcn.100b2ed0
add esp, 0x10
cmp edi, dword [ebp + 0xc]
jge 0x1006972d
movzx eax, byte [edi + ebx]
mov cl, byte [eax + 0x1010fcc0]
inc edi
mov dword [ebp - 0x1c], edi
movzx edx, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
movzx eax, byte [edx + 0x1010fcc0]
mov ebx, eax
shr ebx, 4
and ebx, 3
movzx ecx, cl
add ecx, ecx
add ecx, ecx
or ebx, ecx
mov ecx, dword [esi]
mov edx, dword [ebp - 0x24]
mov byte [edx + ecx], bl
inc dword [esi]
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
mov ebx, dword [ebp + 8]
mov cl, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
cmp cl, 0x3d
je 0x10069730
movzx ecx, cl
movzx ecx, byte [ecx + 0x1010fcc0]
mov dword [ebp - 0x2c], ecx
shr ecx, 2
and ecx, 0xf
and eax, 0xf
shl eax, 4
or ecx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + edx], cl
inc dword [esi]
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
mov al, byte [edi + ebx]
inc edi
mov dword [ebp - 0x1c], edi
cmp al, 0x3d
je 0x10069730
movzx eax, al
mov al, byte [eax + 0x1010fcc0]
mov ecx, dword [ebp - 0x2c]
and ecx, 3
shl ecx, 6
movzx eax, al
or ecx, eax
mov eax, dword [ebp - 0x20]
mov byte [eax + edx], cl
inc dword [esi]
jmp 0x10069681
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 0xfffffffe
mov eax, edx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10069aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010e07c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.100b2ed0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10069b5a
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x10069b08
cmp dword [ebp - 0x110], 1
jne 0x10069b5a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10069b5a
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10069b2a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10069b42
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10069b5a
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
or eax, 0xffffffff
call fcn.100b2b2c
mov esp, ebp
pop ebp
ret
Function at 0x1006f210
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x10077ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0xc], edi
jmp 0x10077ad3
mov edi, dword [ebp - 0xc]
mov ebx, dword [esi + 0x3c]
sub ebx, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub ebx, eax
lea edx, [edi + ecx - 0x106]
mov dword [ebp - 4], ebx
cmp eax, edx
jb 0x10077b4d
mov eax, dword [esi + 0x38]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.100b3090
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
add esp, 0xc
sub dword [esi + 0x5c], edi
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x10077b21
sub eax, edi
jmp 0x10077b23
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10077b12
mov ecx, dword [esi + 0x40]
mov edx, edi
lea ecx, [ecx + edi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, edi
jb 0x10077b40
sub eax, edi
jmp 0x10077b42
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10077b31
add ebx, edi
mov dword [ebp - 4], ebx
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x10077c02
mov edx, dword [esi + 0x74]
add edx, dword [esi + 0x6c]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
mov ebx, eax
mov dword [ebp - 8], edx
cmp ebx, ecx
jbe 0x10077b73
mov ebx, ecx
test ebx, ebx
je 0x10077bc6
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x10077b95
mov edx, dword [edi]
mov ecx, dword [edi + 0x30]
mov eax, ebx
call fcn.10079e00
jmp 0x10077bae
cmp eax, 2
jne 0x10077bb4
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x10077ba7
xor eax, eax
jmp 0x10077bb1
mov edx, ebx
call fcn.1007a070
mov edx, dword [ebp - 8]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.100b3090
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x10077bee
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x10077c02
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x10077ad0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret