joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70dccb9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, dword [0x70e7a4d8]
je 0x70dccc68
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, 0x70e6107c
push ebx
push 0x70e61070
push esi
call edi
test eax, eax
je 0x70dccc65
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push esi
call ebp
test eax, eax
je 0x70dccc65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x70dccc65
cmp dword [eax], 0x2e435269
jne 0x70dccc65
cmp dword [eax + 4], 0
jne 0x70dccc65
lea ecx, [eax + 0x10]
push ebx
mov dword [0x70e84020], ecx
mov eax, dword [eax + 0xc]
push 0x70e61068
push esi
mov dword [0x70e8402c], eax
call edi
test eax, eax
je 0x70dccc65
push eax
push esi
call ebp
test eax, eax
je 0x70dccc65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x70dccc6c
cmp dword [eax], 0x2e435269
jne 0x70dccc6c
cmp dword [eax + 4], 1
jne 0x70dccc6c
lea ecx, [eax + 0x10]
mov dword [0x70e84024], ecx
mov eax, dword [eax + 0xc]
add eax, ecx
mov dword [0x70e84028], eax
mov eax, dword [esp + 0x14]
mov dword [eax], 0x70dd396b
mov dword [eax + 4], 0x70dccb4a
mov dword [eax + 8], 0x70dccb7f
pop edi
pop ebp
pop ebx
pop esi
ret 4
mov dword [0x70e84024], 0x70e84030
jmp 0x70dccc65
Function at 0x70dd3321
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 [0x70e8402c]
inc edx
add esi, eax
cmp edi, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
jb 0x70dd34cd
mov eax, dword [0x70e84020]
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 0x70dd337b
lea edx, [ecx + 1]
mov dword [ebp - 8], edx
jmp 0x70dd3380
jbe 0x70dd3385
lea edi, [ecx - 1]
cmp edi, dword [ebp - 8]
jae 0x70dd3359
cmp edi, dword [ebp - 8]
jb 0x70dd34cc
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 0x70dd34c4
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
jae 0x70dd34cc
jmp 0x70dd3431
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 + 0x70e7dba0], 2
mov al, byte [ebx]
mov byte [ebp - 1], al
jl 0x70dd3431
test al, al
je 0x70dd3437
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
jae 0x70dd3437
movzx eax, byte [ebp - 1]
mov eax, dword [eax*4 + 0x70e7dba0]
cdq
push 2
pop ecx
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jne 0x70dd3431
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0xfffffffe
cmp ebx, eax
ja 0x70dd3437
cmp byte [ebx + 1], 0xec
je 0x70dd3431
cmp ebx, eax
je 0x70dd3437
cmp byte [ebx + 2], 0xec
jne 0x70dd3437
cmp byte [ebp - 1], 0x7f
ja 0x70dd33c3
cmp esi, edi
jae 0x70dd34b7
mov ecx, dword [ebp - 0x10]
push 2
pop edx
mov ax, word [esi]
cmp cx, ax
je 0x70dd3466
jb 0x70dd34b7
cmp esi, edi
jae 0x70dd34b7
cmp al, 2
jne 0x70dd3457
add esi, edx
jmp 0x70dd3460
add esi, edx
movzx eax, word [esi]
lea esi, [esi + eax*2 + 2]
cmp esi, edi
jb 0x70dd3441
jmp 0x70dd34b7
add esi, edx
cmp cx, dx
jne 0x70dd3478
push edx
push dword [ebp + 0xc]
call fcn.70dd27b8
jmp 0x70dd34b7
xor eax, eax
mov ax, word [esi]
add esi, edx
test ax, ax
mov dword [ebp - 0xc], eax
jbe 0x70dd34b7
mov ax, word [esi]
cmp word [ebp - 8], ax
je 0x70dd34a4
jbe 0x70dd34b0
add dword [ebp - 0xc], 0xffff
inc esi
inc esi
cmp word [ebp - 0xc], 0
ja 0x70dd3487
jmp 0x70dd34b7
movzx eax, cx
push eax
push dword [ebp + 0xc]
call fcn.70dd27b8
movzx eax, word [ebp - 0xc]
lea esi, [esi + eax*2]
cmp byte [ebp - 1], 0x80
jb 0x70dd34cc
mov eax, dword [ebp + 8]
cmp ebx, dword [eax]
ja 0x70dd34cc
cmp esi, edi
jb 0x70dd33b6
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x70dd9271
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x70e7a650]
push esi
xor esi, esi
cmp eax, esi
jne 0x70dd92bc
push 0x48
call fcn.70d0152c
cmp eax, esi
je 0x70dd9297
mov ecx, eax
call fcn.70dd911f
jmp 0x70dd9299
xor eax, eax
cmp eax, esi
mov dword [0x70e7a650], eax
je 0x70dd92af
cmp dword [eax], esi
je 0x70dd92bc
push 1
mov ecx, eax
call fcn.70d9f7a5
mov dword [0x70e7a650], esi
xor eax, eax
jmp 0x70dd9364
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 0x70dd9318
dec eax
je 0x70dd92ed
sub eax, 0xfe
jmp 0x70dd9360
mov esi, 0x3ff
and di, si
cmp di, 0x78
ja 0x70dd9360
and ebx, esi
mov ebx, dword [ebx*4 + 0x70e64e00]
lea eax, [ebx + ebx*4]
mov ax, word [eax*4 + 0x70e5dee8]
neg ax
sbb eax, eax
and eax, ebx
jmp 0x70dd9362
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x70dd934c
cmp dword [0x70e7a018], esi
je 0x70dd9369
push 0x14
lea eax, [ebp - 0x28]
push eax
push 0x13
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, 1
jbe 0x70dd934c
cmp word [ebp - 0x26], 0x31
jne 0x70dd9438
mov ecx, dword [0x70e7a650]
lea eax, [ebp + 0xb]
push eax
push ebx
or byte [ebp + 0xb], 0xff
call fcn.70dd91b8
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret 4
mov eax, 0xc01
cmp ebx, eax
ja 0x70dd93e9
je 0x70dd9438
cmp ebx, 0x447
ja 0x70dd93b5
cmp ebx, 0x446
jae 0x70dd9438
mov eax, ebx
sub eax, 0x401
je 0x70dd9438
sub eax, 0x1d
je 0x70dd9438
dec eax
dec eax
je 0x70dd9438
sub eax, 9
je 0x70dd9438
jmp 0x70dd934c
cmp ebx, 0x44a
jb 0x70dd934c
cmp ebx, 0x44b
jbe 0x70dd9438
cmp ebx, 0x44d
jbe 0x70dd934c
cmp ebx, 0x44f
jbe 0x70dd9438
cmp ebx, 0x457
je 0x70dd9438
cmp ebx, 0x801
jmp 0x70dd93ad
mov eax, 0x3001
cmp ebx, eax
ja 0x70dd9414
je 0x70dd9438
cmp ebx, 0x2001
je 0x70dd9438
cmp ebx, 0x2401
je 0x70dd9438
cmp ebx, 0x2801
je 0x70dd9438
cmp ebx, 0x2c01
jmp 0x70dd93ad
cmp ebx, 0x3401
je 0x70dd9438
cmp ebx, 0x3801
je 0x70dd9438
cmp ebx, 0x3c01
je 0x70dd9438
cmp ebx, 0x4001
jne 0x70dd934c
mov ecx, dword [0x70e7a650]
mov esi, 0x3ff
lea eax, [ebp + 0xb]
and di, si
cmp di, 0x78
push eax
push ebx
ja 0x70dd9357
mov byte [ebp + 0xb], 1
call fcn.70dd91b8
jmp 0x70dd92fb

Function at 0x70ddf834
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push edi
xor edi, edi
cmp dword [0x70e7a070], 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 0x70ddf86b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x70ddf8a0
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 0x70ddf8a0
push 0x104
push dword [ebp + 0x10]
lea eax, [ebp - 0x110]
push eax
call fcn.70d9b4fb
neg eax
sbb eax, eax
and eax, 0xfffffff3
add eax, 0xd
pop edi
leave
ret 0xc
Function at 0x70ddf907
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e7a070], 0
push dword [ebp + 0xc]
je 0x70ddf927
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x70ddf952
lea ecx, [ebp - 0x10c]
call fcn.70d28ece
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70ddf94f
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x70ddf952
push 0xd
pop eax
leave
ret 8

Function at 0x70ddf956
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x70e7a070], 0
je 0x70ddf98a
push dword [ebp + 0x10]
call fcn.70d01944
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70ddf9ed
push dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
call fcn.70d28ece
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10c]
call fcn.70d28ece
mov eax, 0x55464131
cmp dword [ebp - 0x218], eax
jne 0x70ddf9ea
cmp dword [ebp - 0x10c], eax
jne 0x70ddf9ea
mov eax, dword [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70ddf9c4
sub eax, edx
inc eax
push eax
push dword [ebp - 0x108]
push 1
push 0
push dword [ebp - 0x214]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70ddf9ed
push 0xd
pop eax
leave
ret 0xc

Function at 0x70ddf9f1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e7a070], 0
je 0x70ddfa1b
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70ddfa53
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d28ece
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70ddfa50
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70ddfa53
push 0xd
pop eax
leave
ret 0xc

Function at 0x70ddfa57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e7a070], 0
je 0x70ddfa81
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x70ddfab9
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d28ece
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70ddfab6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x70ddfab9
push 0xd
pop eax
leave
ret 0x10
Function at 0x70ddfabd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [0x70e7a070], 0
mov dword [ebp - 4], 4
je 0x70ddfaf1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x70ddfb27
push dword [ebp + 0xc]
lea ecx, [ebp - 0x110]
call fcn.70d28ece
cmp dword [ebp - 0x110], 0x55464131
jne 0x70ddfb37
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x10c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70ddfb3a
cmp dword [ebp + 0xc], 4
jne 0x70ddfb37
cmp dword [ebp - 4], 4
je 0x70ddfb3a
push 0xd
pop eax
leave
ret 0xc

Function at 0x70ddfb3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
cmp dword [0x70e7a070], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x14], edi
je 0x70ddfb72
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x70ddfba8
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10c]
call fcn.70d28ece
cmp dword [ebp - 0x10c], 0x55464131
jne 0x70ddfbb7
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp - 0x108]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70ddfbba
cmp dword [ebp + 0xc], 3
jne 0x70ddfbb7
cmp dword [ebp + 0x14], edi
je 0x70ddfbba
push 0xd
pop eax
pop edi
leave
ret 0x10

Function at 0x70de01ca
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push edi
mov ebp, 0x70e7a054
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x70e8405c]
cmp eax, 1
jne 0x70de01e9
xor edi, edi
jmp 0x70de02c2
push 2
pop ecx
cmp eax, ecx
mov edi, 0x80004005
je 0x70de02c2
push ebx
push 0x70e65394
mov dword [0x70e8405c], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
cmp eax, ebx
mov dword [0x70e84060], eax
je 0x70de02c1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70e65380
push eax
call esi
push 0x70e6536c
push dword [0x70e84060]
mov dword [0x70e84064], eax
call esi
push 0x70e65350
push dword [0x70e84060]
mov dword [0x70e84068], eax
call esi
push 0x70e6533c
push dword [0x70e84060]
mov dword [0x70e84070], eax
call esi
push 0x70e65328
push dword [0x70e84060]
mov dword [0x70e84078], eax
call esi
push 0x70e65310
push dword [0x70e84060]
mov dword [0x70e8406c], eax
call esi
cmp dword [0x70e84064], ebx
mov dword [0x70e84074], eax
pop esi
je 0x70de02c1
cmp dword [0x70e84068], ebx
je 0x70de02c1
cmp dword [0x70e8406c], ebx
je 0x70de02c1
cmp dword [0x70e84070], ebx
je 0x70de02c1
cmp eax, ebx
je 0x70de02c1
cmp dword [0x70e84078], ebx
je 0x70de02c1
mov dword [0x70e8405c], 1
xor edi, edi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop ebp
ret
Function at 0x70df4b0c
Capabilities:
Terminate process

Disassembly:
push 0x70e65660
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x70df4b31
push 0x70e65650
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x70df4b31
push dword [esp + 4]
call eax
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x70df4b4c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x70e7e678]
je 0x70df4b6c
inc eax
cmp eax, 0x12
jb 0x70df4b5d
shl eax, 3
cmp edx, dword [eax + 0x70e7e678]
mov dword [ebp + 8], eax
jne 0x70df4d0a
mov ecx, dword [0x70e8407c]
cmp ecx, 1
je 0x70df4cdf
test ecx, ecx
jne 0x70df4b9e
cmp dword [0x70e84080], 1
je 0x70df4cdf
cmp edx, 0xfc
je 0x70df4d0a
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x70df4bd9
push 5
pop ecx
mov esi, 0x70e65b4c
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df4be8
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x70df4c20
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df4c00
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x70e65b48
push ebx
call fcn.70d67df4
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df4c25
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x70e7e67c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70df4c3c
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.70d147bc
mov edx, esp
push 6
pop ecx
mov esi, 0x70e65b2c
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df4c68
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70df4c74
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x70df4c8d
mov eax, dword [ebp + 8]
mov esi, 0x70e65b28
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x70e7e67c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x70df4ca8
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x70df4cb4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x70e65b00
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.70df59cd
add esp, 0xc
jmp 0x70df4d0a
mov ecx, dword [eax + 0x70e7e67c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x70df4cea
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x70df59cd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x70e840a0], ebx
push esi
push edi
jne 0x70df5a4d
push 0x70d635a0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x70df5a88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x70e65bc4
push edi
call esi
test eax, eax
mov dword [0x70e840a0], eax
je 0x70df5a88
push 0x70e65bb4
push edi
call esi
push 0x70e65ba0
push edi
mov dword [0x70e840a4], eax
call esi
cmp dword [0x70e7b1d4], 2
mov dword [0x70e840a8], eax
jne 0x70df5a4d
push 0x70e65b84
push edi
call esi
test eax, eax
mov dword [0x70e840b0], eax
je 0x70df5a4d
push 0x70e65b6c
push edi
call esi
mov dword [0x70e840ac], eax
mov eax, dword [0x70e840ac]
test eax, eax
je 0x70df5a92
call eax
test eax, eax
je 0x70df5a79
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x70e840b0]
test eax, eax
je 0x70df5a79
test byte [ebp - 8], 1
jne 0x70df5a92
cmp dword [0x70e7b1e0], 4
jb 0x70df5a8c
or byte [ebp + 0x12], 0x20
jmp 0x70df5ab1
xor eax, eax
jmp 0x70df5ac1
or byte [ebp + 0x12], 4
jmp 0x70df5ab1
mov eax, dword [0x70e840a4]
test eax, eax
je 0x70df5ab1
call eax
mov ebx, eax
test ebx, ebx
je 0x70df5ab1
mov eax, dword [0x70e840a8]
test eax, eax
je 0x70df5ab1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x70e840a0]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x70df6bc3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.70d147bc
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x70df6c58
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x70e7b1d4]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x70df6c58
cmp eax, 1
je 0x70df6c70
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x70df6c58
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x70df6c2d
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x70df6c54
xor eax, eax
inc eax
jmp 0x70df6c8c
cmp esi, ebx
jae 0x70df6c5c
xor eax, eax
jmp 0x70df6c8c
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x70e7b1d4]
jmp 0x70df6c72
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x70e2251e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0xc]
mov cl, byte [esi]
mov dx, word [esi + 0xe]
push edi
mov byte [ebp - 1], al
push 0x20
pop eax
sub eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov al, 1
shl al, cl
dec al
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 8]
shr ebx, cl
mov cl, byte [esi]
and bl, al
xor eax, eax
inc eax
shl eax, cl
mov byte [ebp - 2], bl
cmp dx, ax
jne 0x70e22578
push edx
mov ecx, esi
call fcn.70e22413
mov ecx, esi
call fcn.70e1f227
movzx dx, bl
jmp 0x70e2261a
mov cl, byte [ebp - 1]
movzx eax, bl
mov ebx, eax
movzx edi, dx
shl eax, cl
shl ebx, 0xc
add ebx, edi
xor eax, edi
lea edi, [esi + eax*2 + 0x4020]
mov ax, word [edi]
jmp 0x70e225b2
movzx ecx, ax
mov ecx, dword [esi + ecx*4 + 0x20]
mov dword [ebp - 0xc], ecx
and ecx, 0xfffff
cmp ebx, ecx
je 0x70e225f5
mov eax, dword [ebp - 0xc]
shr eax, 0x14
test ax, ax
jne 0x70e22598
push edx
mov ecx, esi
call fcn.70e22413
xor eax, eax
mov ax, word [esi + 2]
cmp ax, 0xfff
jae 0x70e225f9
movzx ecx, word [edi]
inc eax
movzx edx, ax
shl ecx, 0x14
add ecx, ebx
mov dword [esi + edx*4 + 0x20], ecx
mov word [edi], ax
mov cl, byte [esi + 1]
mov word [esi + 2], ax
xor eax, eax
inc eax
shl eax, cl
cmp edx, eax
jl 0x70e22615
inc cl
mov byte [esi + 1], cl
jmp 0x70e22615
mov edx, eax
jmp 0x70e2261a
cmp byte [esi + 0xd], 0
jne 0x70e22615
mov cl, byte [esi]
xor eax, eax
inc eax
shl eax, cl
mov ecx, esi
push eax
call fcn.70e22413
mov ecx, esi
call fcn.70e1f227
movzx dx, byte [ebp - 2]
mov ecx, dword [ebp + 0xc]
sub dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], ecx
jl 0x70e22630
shl dword [ebp + 8], cl
mov al, byte [ebp - 3]
jmp 0x70e22547
pop edi
mov word [esi + 0xe], dx
pop esi
mov al, 1
pop ebx
leave
ret 0xc

Function at 0x70e2a4c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
xor ecx, ecx
cmp dword [esi + 0xc], ecx
push edi
mov edi, dword [esi + 0x20]
mov dword [ebp - 4], eax
mov dword [esi + 0x18], ebx
je 0x70e2a4e8
mov dl, byte [esi + 0x1c]
mov byte [ebx], dl
cmp dword [ebp + 0x10], ecx
jne 0x70e2a510
push 0xc
push esi
mov dx, 0x10
call fcn.70e2a147
push 0xc
push esi
mov dx, 0x10
call fcn.70e2a147
cmp dword [esi + 0xc], 0
je 0x70e2a569
inc dword [esi + 0x18]
jmp 0x70e2a569
cmp dword [esi + 0x14], eax
jne 0x70e2a524
push 0xc
push esi
mov dx, 0x10
mov dword [esi + 0x14], ecx
call fcn.70e2a147
mov edx, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.70e2a004
test eax, eax
jle 0x70e2a54f
mov ebx, eax
push dword [ebp - 4]
movzx eax, word [edi]
push esi
call fcn.70e2a1a2
xor dword [ebp - 4], 1
inc edi
inc edi
dec ebx
jne 0x70e2a537
mov ebx, dword [ebp + 0xc]
push 0xc
push esi
mov dx, 0x10
call fcn.70e2a147
cmp dword [esi + 0xc], 0
je 0x70e2a569
mov eax, dword [esi + 0x18]
mov al, byte [eax]
mov byte [esi + 0x1c], al
mov eax, dword [esi + 0x18]
pop edi
pop esi
sub eax, ebx
pop ebx
leave
ret 0xc
Function at 0x70e2a575
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 4]
push edi
mov edi, dword [esi + 0x20]
xor ebx, ebx
mov eax, edi
inc ebx
call fcn.70e2a004
mov ecx, dword [ebp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 0x18], ecx
jle 0x70e2a5b6
mov dword [ebp + 8], eax
movzx eax, word [edi]
push ebx
push esi
call fcn.70e2a1a2
inc edi
inc edi
xor ebx, 1
dec dword [ebp + 8]
jne 0x70e2a5a2
cmp dword [esi + 0xc], 0
je 0x70e2a5bf
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
sub eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc