joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70d3c295
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov dword [0x70e6cb48], ecx
mov dword [0x70e6dd84], edi
call ebx
mov dword [0x70e6cb4c], eax
jmp 0x70d3c2c4
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
xor edi, edi
cmp dword [0x70e6dd60], edi
mov dword [0x70e6dd84], edi
je 0x70d3c2c8
call ebx
sub eax, dword [0x70e6cb4c]
cmp eax, 0x7530
sbb eax, eax
inc eax
mov dword [esp + 8], eax
jne 0x70d3c2cd
pop edi
pop ebx
pop ecx
ret
call fcn.70d3c2fc
cmp dword [0x70e6c880], edi
je 0x70d7e0da
cmp dword [0x70e6dd84], edi
je 0x70d3c28c
mov eax, dword [0x70e6dd60]
xor ecx, ecx
cmp eax, edi
je 0x70d3c280
mov edx, dword [eax + 0x40]
cmp edx, ecx
ja 0x70d3c2f8
mov eax, dword [eax + 0x4c]
jmp 0x70d3c2e8
mov ecx, edx
jmp 0x70d3c2f3
push esi
push 0x20000
push 0x70e75030
mov esi, 0x70d8e668
push esi
push 0x80000002
call fcn.70ded95a
push 0x40000
push 0x70e7502c
push esi
push 0x80000001
call fcn.70ded95a
pop esi
jmp 0x70d3c2d9
Function at 0x70d45796
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x70d44124
cmp dword [0x70e6d658], edi
je 0x70d77c0f
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0xffffffff
je 0x70d44124
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x70d4411b
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi]
jne 0x70d4411b
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 4]
jne 0x70d4411b
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
je 0x70d4411a
push edi
push edi
push edi
push 2
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [ebp + 0x10], eax
je 0x70d4411a
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
je 0x70d44111
xor ecx, ecx
inc ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov dword [ebp - 4], ecx
mov dword [esi + 0x10], eax
mov dword [esi + 8], ecx
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x70d457d3
push ebp
mov ebp, esp
sub esp, 0x118
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x70d44063
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x70d457c4
mov ecx, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x70d457d0
mov ecx, dword [esi + 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 0xc
push eax
lea ecx, [ebp - 0x118]
call fcn.70d1f3ac
cmp dword [ebp - 0x118], 0x55464131
jne 0x70d77c48
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x70d44091
or dword [ebp + 8], 0xffffffff
jmp 0x70d44094
Function at 0x70d48556
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0x14]
or word [eax + 0x84], 0xffff
push ebx
push esi
push edi
mov word [eax + 0x32], cx
mov cx, word [ebp + 0x10]
xor edx, edx
mov word [eax + 0x20], cx
push 9
pop ecx
mov ebx, 0x70d4863c
mov esi, ebx
lea edi, [eax + 0x44]
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebp + 0x14]
mov esi, dword [ebp + 0xc]
imul ecx, ecx, 0x38
mov byte [eax], 0x47
mov byte [eax + 1], 0x44
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x1c], 3
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], edx
mov dword [eax + 0x68], edx
mov word [eax + 0x22], 0x7fff
mov word [eax + 0x24], 0x7fff
mov word [eax + 0x26], 0x8000
mov word [eax + 0x28], 0x8000
mov word [eax + 0x86], dx
mov dword [eax + 0x88], edx
mov word [eax + 0x2a], dx
mov word [eax + 0x2e], dx
mov dword [eax + 0x34], 2
mov dword [eax + 0x38], edx
mov word [eax + 0x3c], dx
mov word [eax + 0x3e], dx
mov word [eax + 0x40], dx
mov word [eax + 0x42], dx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov dword [eax + 0x80], edx
mov esi, dword [esi + 8]
add ecx, esi
push 9
mov dword [eax + 0x8c], ecx
mov word [ecx + 0x28], dx
pop ecx
mov esi, ebx
lea edi, [eax + 0x90]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [eax + 0xb4], 1
pop ebx
pop ebp
ret 0x10
Function at 0x70da5317
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov eax, dword [ebp + 8]
je 0x70da5349
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
mov dl, byte [eax]
shr esi, 8
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov edx, dword [edx*4 + 0x70da5350]
xor edx, esi
inc eax
dec ecx
mov dword [ebp + 0x10], edx
jne 0x70da5325
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc
Function at 0x70db0238
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax]
push 9
pop edx
mov dword [ebp + 8], ecx
lea ecx, [eax + 2]
mov ax, word [ebp + 8]
xor ax, word [ecx]
inc ecx
inc ecx
dec edx
jne 0x70db0250
pop ebp
ret 4

Function at 0x70db62a4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
push esi
push edi
lea eax, [ebp - 8]
push eax
xor esi, esi
cmp dword [0x70e6d658], esi
mov edi, ecx
push 1
mov dword [ebp - 0x14], edi
push esi
je 0x70db62d8
push dword [0x70e6cadc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jmp 0x70db62e9
push dword [0x70e6dd94]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x70db6447
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x70db6321
mov eax, dword [edi + 4]
shl eax, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
push esi
push 0x70db6450
mov ecx, edi
call fcn.70db6194
cmp dword [ebp - 0x10], esi
jbe 0x70db6417
push ebx
mov ebx, 0x104
mov edi, 0x103
cmp dword [ebp - 0xc], edi
je 0x70db6413
cmp dword [0x70e6d658], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], 0x208
je 0x70db638c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x70db63b3
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x70db6413
cmp eax, esi
jne 0x70db6404
cmp dword [0x70e6d658], esi
jne 0x70db63f4
xor eax, eax
push ebx
mov ecx, 0x82
lea edi, [ebp - 0x334]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x334]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x334]
push eax
call fcn.70db6194
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jb 0x70db633d
mov edi, dword [ebp - 0x14]
pop ebx
cmp dword [edi], esi
je 0x70db643e
cmp dword [ebp + 8], esi
je 0x70db6437
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push dword [ebp - 8]
call fcn.70d36ea3
mov ecx, dword [edi + 0xc]
push eax
call fcn.70da6626
mov dword [edi + 0x14], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 4
Function at 0x70db6b1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push ebx
push edi
push 8
mov ebx, ecx
call fcn.70d51bec
xor edi, edi
cmp eax, edi
mov dword [ebx + 4], eax
je 0x70db6cdd
mov dword [eax], edi
mov eax, dword [ebx + 4]
push esi
mov dword [eax + 4], edi
xor esi, esi
mov al, 0x45
mov byte [ebp + esi - 0x120], al
mov al, byte [esi + 0x70db6ce9]
inc esi
test al, al
jne 0x70db6b4c
call dword [sym.imp.KERNEL32.dll_GetACP]
test eax, eax
jbe 0x70db6b8a
xor edx, edx
push 0xa
pop ecx
div ecx
add dl, 0x30
mov byte [ebp + edi - 0x10], dl
inc edi
cmp edi, 5
jl 0x70db6b64
jmp 0x70db6b8a
mov al, byte [ebp + edi - 0x10]
mov byte [ebp + esi - 0x120], al
inc esi
dec edi
jns 0x70db6b7e
and byte [ebp + esi - 0x120], 0
lea ecx, [ebp - 4]
push ecx
xor eax, eax
push 9
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x120]
push eax
push 0x80000001
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70db6ccd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x120]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 8]
mov esi, 0x104
push dword [ebp - 4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
mov dword [ebp - 0x10], eax
jne 0x70db6cc0
push esi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.70da68d1
test eax, eax
je 0x70db6bc5
push esi
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.70da68d1
test eax, eax
je 0x70db6bc5
cmp dword [ebp - 0x14], edi
je 0x70db6c67
push 0x70d8ab40
lea eax, [ebp - 0x42c]
push eax
call fcn.70d37159
test eax, eax
jne 0x70db6c67
lea eax, [ebp - 0x634]
push eax
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.70db6722
cmp eax, edi
je 0x70db6cc0
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
jmp 0x70db6cc0
mov eax, dword [0x70e6dcf4]
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x42c]
push eax
call fcn.70d37099
mov edi, eax
test edi, edi
je 0x70db6cc0
lea eax, [ebp - 0x634]
push eax
mov ecx, ebx
call fcn.70db6722
mov esi, eax
test esi, esi
je 0x70db6cc0
push 0xc
call fcn.70d51bec
test eax, eax
je 0x70db6cc0
mov dword [eax], edi
mov dword [eax + 4], esi
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x70db6cb7
mov dword [ecx + 4], eax
and dword [eax + 8], edx
jmp 0x70db6cc0
mov dword [eax + 8], edx
mov ecx, dword [ebx + 4]
mov dword [ecx + 4], eax
inc dword [ebp - 8]
cmp dword [ebp - 0x10], 0
je 0x70db6bc5
cmp dword [ebp - 4], 0
pop esi
je 0x70db6cdd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
leave
ret
Function at 0x70dc3c23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0x18]
and al, 2
sub al, 2
neg al
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sbb eax, eax
inc eax
xor ebx, ebx
cmp esi, ebx
mov edi, eax
je 0x70dc3c4e
neg eax
sbb eax, eax
and eax, 0x16
add eax, esi
jmp 0x70dc3c50
xor eax, eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.70dc3a9b
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x70dc3d63
cmp edi, ebx
je 0x70dc3d63
add dword [ebp + 0x18], 0x16
cmp esi, ebx
je 0x70dc3d63
lea eax, [ebp - 0x6c]
mov byte [esi], 0xd7
mov byte [esi + 1], 0xcd
mov byte [esi + 2], 0xc6
mov byte [esi + 3], 0x9a
push eax
mov byte [esi + 4], bl
mov byte [esi + 5], bl
push 0x6c
push dword [ebp + 8]
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
call sub.GDI32.dll_GetEnhMetaFileHeader
test eax, eax
je 0x70dc3d25
fild dword [ebp - 0x24]
fidiv dword [ebp - 0x1c]
fmul dword [0x70d05250]
fiadd dword [ebp - 0x20]
fidiv dword [ebp - 0x18]
fmul dword [0x70d05250]
fmul dword [0x70d520ec]
fild dword [ebp - 0x54]
fmul st(1)
call fcn.70d50574
fild dword [ebp - 0x50]
mov byte [esi + 6], al
mov byte [esi + 7], ah
fmul st(1)
call fcn.70d50574
fild dword [ebp - 0x4c]
mov byte [esi + 8], al
mov byte [esi + 9], ah
fmul st(1)
call fcn.70d50574
fild dword [ebp - 0x48]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], ah
fmul st(1)
call fcn.70d50574
fmul dword [0x70d05248]
mov byte [esi + 0xc], al
mov byte [esi + 0xd], ah
call fcn.70d50574
mov byte [esi + 0xe], al
mov byte [esi + 0xf], ah
jmp 0x70dc3d48
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0xa], 0xd0
mov byte [esi + 0xb], 7
mov byte [esi + 0xc], 0xd0
mov byte [esi + 0xd], 7
mov byte [esi + 0xe], 0x60
mov byte [esi + 0xf], bl
lea edx, [esi + 0x14]
cmp esi, edx
mov ecx, esi
mov dword [ebp + 8], ebx
mov ax, bx
jae 0x70dc3d60
xor ax, word [ecx]
inc ecx
inc ecx
cmp ecx, edx
jb 0x70dc3d57
mov word [ecx], ax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x70dcc9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
lea eax, [ebp - 4]
push eax
push 9
xor edi, edi
push edi
push 0x70dccaf8
push 0x80000002
mov dword [0x70e6dd64], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x70dccae7
call fcn.70d36627
cmp eax, edi
je 0x70dcc9e1
mov eax, dword [eax + 8]
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x70dcc9ef
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70dccae7
push ebx
mov dword [ebp - 0xc], edi
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], 8
push dword [ebp - 4]
mov dword [ebp - 0x10], 0x20
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, edi
mov dword [ebp - 0x18], eax
jne 0x70dccad0
cmp dword [ebp - 8], 6
mov esi, dword [ebp - 0x1e]
mov word [ebp - 0x1e], di
je 0x70dcca54
cmp dword [ebp - 8], 7
jne 0x70dccad0
cmp word [ebp - 0x1c], 0x30
jb 0x70dccad0
cmp word [ebp - 0x1c], 0x36
ja 0x70dccad0
cmp si, 0x31
jb 0x70dccad0
cmp si, 0x39
ja 0x70dccad0
push 0x70dccaec
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x70dccad0
cmp dword [ebp - 8], 7
jne 0x70dcca8c
movzx ecx, word [ebp - 0x1c]
movzx eax, si
lea eax, [eax + eax*4]
lea esi, [ecx + eax*2 - 0x211]
jmp 0x70dcca92
movzx esi, si
sub esi, 0x31
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push eax
call fcn.70d37099
mov ebx, eax
cmp ebx, edi
je 0x70dccad0
cmp dword [0x70e6dd64], edi
jne 0x70dccac8
push 0x40
call fcn.70d51bec
mov edi, eax
test edi, edi
mov dword [0x70e6dd64], edi
je 0x70dccadc
push 0x10
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, dword [0x70e6dd64]
mov dword [eax + esi*4], ebx
inc dword [ebp - 0xc]
cmp dword [ebp - 0x18], edi
je 0x70dcc9f4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop edi
leave
ret

Function at 0x70dcd4f1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x70dcd51c
xor eax, eax
jmp 0x70dcd546
push edi
mov edi, dword [ebp + 0x10]
push esi
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x70dcd53c
cmp edi, dword [ebp + 8]
jne 0x70dcd53c
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x70dda8fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, dword [0x70e6cb50]
je 0x70dda9c5
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, 0x70d8d35c
push ebx
push 0x70d8d350
push esi
call edi
test eax, eax
je 0x70dda9c2
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebp
test eax, eax
je 0x70dda9c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x70dda9c2
cmp dword [eax], 0x2e435269
jne 0x70dda9c2
cmp dword [eax + 4], 0
jne 0x70dda9c2
lea ecx, [eax + 0x10]
push ebx
mov dword [0x70e75000], ecx
mov eax, dword [eax + 0xc]
push 0x70dda9d8
push esi
mov dword [0x70e7500c], eax
call edi
test eax, eax
je 0x70dda9c2
push eax
push esi
call ebp
test eax, eax
je 0x70dda9c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x70dda9c9
cmp dword [eax], 0x2e435269
jne 0x70dda9c9
cmp dword [eax + 4], 1
jne 0x70dda9c9
lea ecx, [eax + 0x10]
mov dword [0x70e75004], ecx
mov eax, dword [eax + 0xc]
add eax, ecx
mov dword [0x70e75008], eax
mov eax, dword [esp + 0x14]
mov dword [eax], 0x70de4642
mov dword [eax + 4], 0x70dda8a7
mov dword [eax + 8], 0x70dda8dc
pop edi
pop ebp
pop ebx
pop esi
ret 4
mov dword [0x70e75004], 0x70e75010
jmp 0x70dda9c2
Function at 0x70de3ff8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
movzx esi, byte [eax]
lea ecx, [eax + 1]
movzx eax, byte [ecx]
xor edx, edx
shl esi, 8
push edi
mov edi, dword [0x70e7500c]
inc edx
add esi, eax
cmp edi, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
jb 0x70de41a4
mov eax, dword [0x70e75000]
push ebx
mov ecx, dword [ebp - 8]
add ecx, edi
shr ecx, 1
movzx edx, byte [eax + ecx*8 - 8]
movzx ebx, byte [eax + ecx*8 - 7]
shl edx, 8
add edx, ebx
cmp edx, esi
jae 0x70de4052
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
jmp 0x70de4057
jbe 0x70de405c
lea edi, [ecx - 1]
cmp edi, dword [ebp - 8]
jae 0x70de4030
cmp edi, dword [ebp - 8]
jb 0x70de41a3
mov ebx, dword [ebp - 0xc]
lea ecx, [eax + ecx*8]
mov esi, dword [ecx - 4]
mov edi, dword [ecx + 4]
add esi, eax
add edi, eax
mov al, byte [ebx]
mov dword [ebp - 8], 0xffff
mov dword [ebp - 0x10], 1
mov byte [ebp - 1], al
jmp 0x70de419b
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
jae 0x70de41a3
jmp 0x70de4108
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
and al, 0x7f
movzx ax, al
inc ecx
imul eax, ecx
inc dword [ebp - 0x10]
mov dword [ebp - 8], eax
movzx eax, byte [ebp - 1]
inc ebx
cmp dword [eax*4 + 0x70e6eb80], 2
mov al, byte [ebx]
mov byte [ebp - 1], al
jl 0x70de4108
test al, al
je 0x70de410e
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
jae 0x70de410e
movzx eax, byte [ebp - 1]
mov eax, dword [eax*4 + 0x70e6eb80]
cdq
push 2
pop ecx
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x70de4108
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x70de410e
cmp byte [ebx + 1], 0xec
je 0x70de4108
cmp ebx, eax
je 0x70de410e
cmp byte [ebx + 2], 0xec
jne 0x70de410e
cmp byte [ebp - 1], 0x7f
ja 0x70de409a
cmp esi, edi
jae 0x70de418e
mov ecx, dword [ebp - 0x10]
push 2
pop edx
mov ax, word [esi]
cmp cx, ax
je 0x70de413d
jb 0x70de418e
cmp esi, edi
jae 0x70de418e
cmp al, 2
jne 0x70de412e
add esi, edx
jmp 0x70de4137
add esi, edx
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
cmp esi, edi
jb 0x70de4118
jmp 0x70de418e
add esi, edx
cmp cx, dx
jne 0x70de414f
push edx
push dword [ebp + 0xc]
call fcn.70de343a
jmp 0x70de418e
xor eax, eax
mov ax, word [esi]
add esi, edx
test ax, ax
mov dword [ebp - 0xc], eax
jbe 0x70de418e
mov ax, word [esi]
cmp word [ebp - 8], ax
je 0x70de417b
jbe 0x70de4187
add dword [ebp - 0xc], 0xffff
inc esi
inc esi
cmp word [ebp - 0xc], 0
ja 0x70de415e
jmp 0x70de418e
movzx eax, cx
push eax
push dword [ebp + 0xc]
call fcn.70de343a
movzx eax, word [ebp - 0xc]
lea esi, [esi + eax*2]
cmp byte [ebp - 1], 0x80
jb 0x70de41a3
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
ja 0x70de41a3
cmp esi, edi
jb 0x70de408d
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x70dea0d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70e6dd68]
push esi
xor esi, esi
cmp eax, esi
jne 0x70dea11b
push 0x48
call fcn.70d51bec
cmp eax, esi
je 0x70dea0f6
mov ecx, eax
call fcn.70de9f7e
jmp 0x70dea0f8
xor eax, eax
cmp eax, esi
mov dword [0x70e6dd68], eax
je 0x70dea10e
cmp dword [eax], esi
je 0x70dea11b
push 1
mov ecx, eax
call fcn.70daab3b
mov dword [0x70e6dd68], esi
xor eax, eax
jmp 0x70dea1c3
push ebx
push edi
mov edi, dword [ebp + 8]
movzx ebx, di
mov ecx, ebx
sar ecx, 0x10
mov eax, dword [eax + ecx*4 + 4]
movzx edx, bh
mov eax, dword [eax + edx*4]
mov ecx, ebx
and ecx, 0xff
movzx eax, byte [eax + ecx]
sub eax, esi
je 0x70dea177
dec eax
je 0x70dea14c
sub eax, 0xfe
jmp 0x70dea1bf
mov esi, 0x3ff
and di, si
cmp di, 0x78
ja 0x70dea1bf
and ebx, esi
mov ebx, dword [ebx*4 + 0x70d8e318]
lea eax, [ebx + ebx*4]
mov ax, word [eax*4 + 0x70d8acb8]
neg ax
sbb eax, eax
and eax, ebx
jmp 0x70dea1c1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x70dea1ab
cmp dword [0x70e6d658], esi
je 0x70dea1c8
push 0x14
lea eax, [ebp - 0x28]
push eax
push 0x13
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jbe 0x70dea1ab
cmp word [ebp - 0x26], 0x31
jne 0x70dea297
mov ecx, dword [0x70e6dd68]
lea eax, [ebp + 0xb]
push eax
push ebx
or byte [ebp + 0xb], 0xff
call fcn.70dea017
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 4
mov eax, 0xc01
cmp ebx, eax
ja 0x70dea248
je 0x70dea297
cmp ebx, 0x447
ja 0x70dea214
cmp ebx, 0x446
jae 0x70dea297
mov eax, ebx
sub eax, 0x401
je 0x70dea297
sub eax, 0x1d
je 0x70dea297
dec eax
dec eax
je 0x70dea297
sub eax, 9
je 0x70dea297
jmp 0x70dea1ab
cmp ebx, 0x44a
jb 0x70dea1ab
cmp ebx, 0x44b
jbe 0x70dea297
cmp ebx, 0x44d
jbe 0x70dea1ab
cmp ebx, 0x44f
jbe 0x70dea297
cmp ebx, 0x457
je 0x70dea297
cmp ebx, 0x801
jmp 0x70dea20c
mov eax, 0x3001
cmp ebx, eax
ja 0x70dea273
je 0x70dea297
cmp ebx, 0x2001
je 0x70dea297
cmp ebx, 0x2401
je 0x70dea297
cmp ebx, 0x2801
je 0x70dea297
cmp ebx, 0x2c01
jmp 0x70dea20c
cmp ebx, 0x3401
je 0x70dea297
cmp ebx, 0x3801
je 0x70dea297
cmp ebx, 0x3c01
je 0x70dea297
cmp ebx, 0x4001
jne 0x70dea1ab
mov ecx, dword [0x70e6dd68]
mov esi, 0x3ff
lea eax, [ebp + 0xb]
and di, si
cmp di, 0x78
push eax
push ebx
ja 0x70dea1b6
mov byte [ebp + 0xb], 1
call fcn.70dea017
jmp 0x70dea15a

Function at 0x70df084b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push edi
xor edi, edi
cmp dword [0x70e6c670], edi
lea eax, [ebp - 0xc]
push eax
push edi
push edi
lea eax, [ebp - 4]
push edi
mov dword [ebp - 4], 0x104
push eax
je 0x70df0882
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x70df08b7
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
jne 0x70df08b7
push 0x104
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push eax
call fcn.70da68d1
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop edi
leave
ret 0xc