joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101409b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1019c380]
jne 0x101409bf
repz ret
jmp fcn.10142d96

Function at 0x10143fe9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1013feb2
and dword [ebp - 4], 0
cmp dword [0x1019db38], 0
mov ebx, eax
jne 0x1014409a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1014414b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1014414b
push eax
call fcn.1013fe40
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019db38], eax
call esi
push eax
call fcn.1013fe40
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019db3c], eax
call esi
push eax
call fcn.1013fe40
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019db40], eax
call esi
push eax
call fcn.1013fe40
pop ecx
mov dword [0x1019db48], eax
test eax, eax
je 0x1014409a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1013fe40
pop ecx
mov dword [0x1019db44], eax
mov eax, dword [0x1019db44]
cmp eax, ebx
je 0x101440f2
cmp dword [0x1019db48], ebx
je 0x101440f2
push eax
call fcn.1013febb
push dword [0x1019db48]
mov esi, eax
call fcn.1013febb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101440f2
test edi, edi
je 0x101440f2
call esi
test eax, eax
je 0x101440e9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101440e9
test byte [ebp - 0xc], 1
jne 0x101440f2
or dword [ebp + 0x10], 0x200000
jmp 0x1014412b
mov eax, dword [0x1019db3c]
cmp eax, ebx
je 0x1014412b
push eax
call fcn.1013febb
pop ecx
test eax, eax
je 0x1014412b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1014412b
mov eax, dword [0x1019db40]
cmp eax, ebx
je 0x1014412b
push eax
call fcn.1013febb
pop ecx
test eax, eax
je 0x1014412b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019db38]
call fcn.1013febb
pop ecx
test eax, eax
je 0x1014414b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1014414d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10145670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1019ba64], 0
mov byte [0x1019ba68], 0
mov dword [0x1019ba60], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1019ba58], 0x25fd
mov eax, dword [0x1019ba60]
add eax, 1
mov dword [0x1019ba60], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101456ab
xor eax, eax
mov ecx, 0x25fd
mov dword [0x1019ba60], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff560
mov dword [0x1019ba6c], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1019ba64]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1019ba6c], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1019ba64], edx
mov esi, dword [ebp - 0x28]
mov dword [0x1019ba58], esi
mov bl, byte [ebx + ecx]
mov byte [0x1019ba68], bl
mov dword [0x1019ba5c], 0x21ee
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1019ba68]
mov ecx, dword [0x1019ba64]
mov byte [esi + ecx], bl
mov ecx, dword [0x1019ba58]
add ecx, 0xfffff153
mov dword [0x1019ba58], ecx
mov edx, dword [0x1019ba60]
add edx, 1
mov dword [0x1019ba60], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
jl 0x101456f2
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101457bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1019ba58]
add esi, 0xffffeeb0
mov dword [0x1019ba58], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10145801
mov eax, dword [ebp - 0x34]
add eax, 0x136e
mov dword [0x1019ba5c], 0x20b8
mov dword [ebp - 0x38], eax
jmp 0x101458fd
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1018a7e8]
mov dh, byte [eax + str.geP4z]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10145801
lea eax, [ebp - 0x24]
mov dword [0x1019ba5c], 0x19f0
mov dword [ebp - 0x3c], eax
call fcn.101455c0
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.1014523c
xor ecx, ecx
mov dword [0x1019ba5c], 0x22ca
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
je 0x101458fd
mov dword [0x1019ba58], 0x16e2
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10145d5b
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019ba5c], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1019ba58], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x58], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 8], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x101457e7
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x10145c2d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x1019ba5c], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1019ba58], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10145cd0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x10145ce8
jmp 0x10145d4c
mov dword [0x1019ba5c], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x10145d2b
jmp 0x10145d4c
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x10145cd0
jmp 0x10145c6d
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10145c84
jmp 0x10145d4c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x10145c6d
jmp 0x10145ca6
mov dword [0x1019ba5c], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10145d4c
mov dword [0x1019ba58], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10145d4c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10145cbf
jmp 0x10145d4c
mov eax, 1
mov dword [0x1019ba58], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10145d53
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10145d53
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10146141
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101463a5
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1014617d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1019ba58], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1019ba5c], 0x241c
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101462a6
jmp 0x101461f7
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x10146223
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10146277
jmp 0x10146251
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x101461ea
jmp 0x101461c2
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x4c]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x30], eax
jb 0x10146209
jmp 0x101462a6
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1019ba5c], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x1019ba58], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10146519
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1019ba60], 0
mov dword [0x1019ba64], 0
mov dword [0x1019ba70], 0
mov ebx, dword [0x1019ba58]
add ebx, 0xffffec41
mov dword [0x1019ba5c], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x10146663
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x1019ba60], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1019ba64], edx
mov dword [0x1019ba5c], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1019ba68], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1019ba68]
mov edx, dword [0x1019ba64]
mov byte [ebx + edx], cl
mov edx, dword [0x1019ba60]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1019ba64]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1019ba70], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x1019ba5c], 0xff5
mov dword [0x1019ba58], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x10146663
mov eax, dword [0x1019ba60]
mov ecx, dword [0x1019ba64]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x10146584
mov dword [0x1019ba5c], 0x22fd
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10146675
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x1019ba58]
mov esi, edx
add esi, 0xffffddef
mov dword [0x1019ba5c], esi
add edx, 0xfffff1ae
mov dword [0x1019ba58], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10145e80
lea ecx, [0x1014539d]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], 0x162400
mov edx, dword [0x1019ba44]
mov dword [esp + 0x5c], edx
mov edx, dword [0x1019ba48]
mov dword [esp + 0x60], edx
mov dword [0x1019ba58], 0x1a6c
mov edx, dword [0x1019ba4c]
mov dword [esp + 0x68], edx
mov edx, dword [0x1019ba50]
mov dword [esp + 0x58], edx
mov edx, dword [0x1019ba54]
mov dword [esp + 0x50], edx
mov edx, dword [0x1019ba5c]
add edx, 0xc86
mov dword [0x1019ba5c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10146740
mov eax, dword [esp + 0x10]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x1014672e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1014672e
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [0x1019ba5c], 0x8e8
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
mov dword [0x1019ba58], 0x1277
call fcn.10145c2d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10146724
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101457bb
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1019ba5c], 0xd4a
mov dword [esp + 0x10], eax
jmp 0x10146724
Function at 0x417475
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x60d638
call fcn.0060bd28
sub esp, 0x30
push ebx
push esi
mov esi, ecx
or ebx, 0xffffffff
mov ecx, dword [ebp + 8]
cmp ecx, ebx
mov dword [ebp - 0x14], esi
sete al
test al, al
je 0x4174a4
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x417607
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4174d3
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x4174d3
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x417606
cmp dword [esi + 0x4c], 0
je 0x417604
mov ecx, esi
call fcn.00417729
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x417503
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.00416ea7
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x417604
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x3c], cl
lea ecx, [ebp - 0x3c]
push 8
mov byte [ebp - 0x10], al
mov dword [ebp - 0x28], 0xf
call fcn.0040984f
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x28]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmp edi, 0x10
lea edx, [ebp - 0x3c]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x3c]
cmovae edx, dword [ebp - 0x3c]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xf]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call dword [edi + 0x1c]
test eax, eax
js 0x4175f8
cmp eax, 1
jg 0x4175dd
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x20], edx
je 0x4175ae
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x3c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.005f2409
mov edx, dword [ebp - 0x20]
add esp, 0x10
cmp edx, eax
jne 0x4175f8
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x24], eax
jne 0x4175d8
test edx, edx
jne 0x41752e
cmp dword [ebp - 0x2c], 0x20
jae 0x4175f8
push edx
push 8
lea ecx, [ebp - 0x3c]
call fcn.0040a72d
jmp 0x41752b
mov ebx, dword [ebp + 8]
jmp 0x4175f8
cmp eax, 3
jne 0x4175f8
mov eax, dword [ebp - 0x14]
push dword [eax + 0x4c]
push dword [ebp - 0x10]
call fcn.00416ea7
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004097fa
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x419aa5
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60d804
call fcn.0060bd28
sub esp, 0x28
push ebx
push esi
push edi
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], str.wq.cloud.duba.net
mov dword [ebp - 0x18], str.221.228.204.36:80
mov dword [ebp - 0x14], str.122.193.207.36:80
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 4], 1
mov edi, ebx
push str.http:__
lea ecx, [ebp - 0x10]
call fcn.004060f8
push dword [ebp + edi*4 - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004062d3
push 0x2f
lea ecx, [ebp - 0x10]
call fcn.004062a6
push str.cityinfo
lea ecx, [ebp - 0x10]
call fcn.004062d3
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push ecx
push 0x1c
mov ecx, esi
call fcn.0041422b
add esp, 0x10
cmp dword [ebp - 0x24], 0
jne 0x419b49
inc edi
cmp edi, 3
jb 0x419af0
or edi, 0xffffffff
jmp 0x419b62
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.00406921
mov edi, ebx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004097fa
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41b522
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x60d9e4
call fcn.0060bd28
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], vtable.CObjectVector_struct_NArchive::N7z::CMethodFull_.0
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], vtable.CRecordVector_struct_NArchive::N7z::CBind_.0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
call fcn.0041ce9a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42102e
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x60e31e
call fcn.0060bd28
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
lea ecx, [edi + 0x240]
push dword [ecx + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea ecx, [edi + 0xc]
call fcn.00429c93
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
or dword [edi + 0x58], 0xffffffff
or dword [edi + 0x5c], 0xffffffff
mov dword [edi + 0x54], eax
mov dword [edi + 0x50], ebx
mov dword [edi + 0x10], 4
cmp ebx, dword [ebp + 0x14]
jge 0x421169
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [eax + ebx*4]
call fcn.0041ad91
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [ebp - 0x18], 0
jne 0x4210b6
mov esi, 0x80070057
jmp 0x42115c
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
shl eax, 4
add eax, dword [ebp + 0x10]
cmp word [ecx], 0x42
jne 0x42114c
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004212cd
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.00420fda
mov esi, eax
pop ecx
test esi, esi
jne 0x42115c
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x3a
jne 0x4210ac
push 1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004212cd
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00420fda
mov esi, eax
pop ecx
test esi, esi
jne 0x42115c
cmp dword [ebp - 0x18], eax
jne 0x4210ac
test esi, esi
jne 0x42115c
sub esp, 0x10
lea esi, [ebp - 0x2c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x240]
call fcn.0041d011
mov byte [ebp - 4], 0
push dword [ebp - 0x1c]
call fcn.0049991e
pop ecx
inc ebx
jmp 0x421082
push eax
push ecx
lea ecx, [edi + 0xc]
call fcn.00429cec
mov esi, eax
test esi, esi
je 0x421139
push dword [ebp - 0x1c]
call fcn.0049991e
pop ecx
mov eax, esi
jmp 0x421178
xor eax, eax
jmp 0x421178
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42b1ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, 0x80004005
cmp dword [eax + 0xc], ecx
je 0x42b1da
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x42b21a
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0042b686
test eax, eax
je 0x42b21a
xor esi, esi
jmp 0x42b21a
push edi
mov edi, dword [eax + 0x10]
cmp edi, 0xffffffff
je 0x42b219
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
push ecx
jmp 0x42b203
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
sub ebx, dword [ebp + 8]
je 0x42b216
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42b1f3
jmp 0x42b218
xor esi, esi
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x42b221
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x60ef00
call fcn.0060bd28
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp + 8]
call fcn.00406173
mov dword [ebp - 4], ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.0042b385
test eax, eax
jne 0x42b362
push ebx
push dword [ebp + 8]
call fcn.005f18b0
pop ecx
pop ecx
test eax, eax
jne 0x42b365
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s_d__x
push eax
call fcn.00406cc8
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp + 8]
call fcn.005f3794
pop ecx
pop ecx
test eax, eax
je 0x42b2e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_Rename_file_fail__error:_d
push 0x6c8880
call fcn.0048de60
push 0x697200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
add esp, 0x10
mov byte [ebp - 4], 2
jmp 0x42b313
lea ecx, [esi - 0x10]
call fcn.00404ea9
jmp 0x42b365
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b385
test eax, eax
jne 0x42b35a
push 0x697200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
mov ecx, edi
call fcn.0042b385
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
test edi, edi
je 0x42b2dc
push 0x697200
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0040aec1
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4