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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49cb60
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0049437f
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x46bdf3
xor al, al
jmp 0x46bf1f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x46be15
xor al, al
jmp 0x46bf1f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x46be28
xor al, al
jmp 0x46bf1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x46be3c
xor al, al
jmp 0x46bf1f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.00488340
test eax, eax
jne 0x46be70
xor al, al
jmp 0x46bf1f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x5f074c
mov dword [esp + 0x20], ebp
call fcn.0049437f
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.00491177
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004911ce
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x46bf04
mov ax, word [ebx]
test ax, ax
je 0x46bef6
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.0046bf40
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x46beda
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004911ce
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x46c480
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00492863
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x46c4c6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.00478cb8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x60e8e4
push ecx
call fcn.0047a3a2
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x46c600
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46c666
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46c666
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46c647
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x46d1a0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046d2f0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46d1c0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46d1a1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046d2f0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46d1c0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46d1f0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46d247
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x46d25d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0046d280
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x46d280
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x46d310
Capabilities:
Get socket status

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

Disassembly:
push 0xffffffffffffffff
push 0x49ce50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046d380
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046d400
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046d400
lea ecx, [esi + 0xc]
call fcn.0048a1e6
lea ecx, [esi + 0x10]
call fcn.0048a1e6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046fc30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046fc30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046fc30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048a25b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048a25b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46e478
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d078
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46e488
call fcn.0046e9a0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46e56b
cmp byte [edi], 0
je 0x46e56b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46e4ad
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0046d1a0
test eax, eax
jne 0x46e4cd
push 0x60eb54
lea ecx, [esi + 0x38]
call fcn.0048a3e4
jmp 0x46e56b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0046d1f0
test eax, eax
jne 0x46e4fc
mov ecx, esi
call fcn.0046d2f0
push edi
add esi, 0x38
push 0x60eb30
push esi
call fcn.00487351
add esp, 0xc
jmp 0x46e56b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0046f220
test eax, eax
je 0x46e564
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0046e640
test eax, eax
jne 0x46e580
push edi
lea eax, [esi + 0x38]
push 0x60eb0c
push eax
call fcn.00487351
add esp, 0xc
mov ecx, esi
call fcn.0046e9a0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x46e628
mov ecx, dword [0x60edc4]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00487351
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0046d2a0
test eax, eax
jne 0x46e5ea
push 0x60eaf0
lea ecx, [esi + 0x38]
call fcn.0048a3e4
jmp 0x46e5fa
push 0xfa
mov ecx, esi
call fcn.0046f220
test eax, eax
jne 0x46e617
mov ecx, esi
call fcn.0046e9a0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048a25b
jmp 0x46e56b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048a25b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x48c65d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48c695
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048a702
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048a6da
jmp 0x48c6a1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48de5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48de9d
call fcn.0049437f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48de9d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48de94
xor eax, eax
jmp 0x48dea5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048deab
pop edi
pop esi
pop ebx
ret 4

Function at 0x4948af
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4948dd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4948fb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00494815
jmp 0x4948fb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4948fb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00494815
test edi, edi
mov eax, edi
jne 0x4948e5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10006569
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006422a
call fcn.10063a38
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x18], 0x2fb6
mov ebx, ecx
cmp dword [ebp - 0x18], 0x317b
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], ebx
jle 0x100065dd
xor esi, esi
mov dword [ebp - 0x14], esi
xor edi, edi
and dword [ebp - 0x20], 0
mov ebx, esi
mov esi, dword [ebp - 0x20]
mov ecx, edi
shl ebx, cl
mov eax, ebx
mov ecx, 0x10081ef8
xor eax, esi
cdq
push edx
push eax
call fcn.10003ea0
inc esi
cmp esi, 0x4c8b
jl 0x100065a8
mov esi, dword [ebp - 0x14]
inc edi
cmp edi, 0x6867
jl 0x1000659b
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x2cc5
jl 0x10006599
mov ebx, dword [ebp - 0x1c]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x2c99
jge 0x10006618
mov edx, str.smxs_kicpc_qhvnr_largdrnd_zndkcmjig_jxhrb_ryxwoelk_eiewstxd_epb_dmnr
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x10006618
cmp byte [ebp + 8], 0
je 0x10006637
mov edi, dword [ebx]
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebx]
mov eax, dword [ebp + 0x18]
mov edx, dword [esi]
mov ecx, dword [eax]
mov eax, dword [esi]
imul ecx, dword [edx + edi*4]
mov dword [eax + ebx*4], ecx
jmp 0x1000665a
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1000665a
mov esi, dword [ebp - 0x24]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x514f
inc dword [edx]
cmp dword [edx], 3
jl 0x10006648
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007768
Capabilities:
Resume thread

Disassembly:
mov eax, 0x100642d5
call fcn.10063a38
sub esp, 0x2c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], edx
je 0x100078a0
mov dword [ebp - 0x18], 0x5fd2
cmp dword [ebp - 0x18], 0x605d
jle 0x100077cd
xor esi, esi
mov edi, esi
mov dword [ebp - 0x14], 0x7e87
xor ebx, ebx
lea eax, [edi + ebx]
mov ecx, 0x10081ef8
cdq
push edx
push eax
call fcn.10003ea0
inc ebx
cmp ebx, 0x395a
jl 0x100077a5
dec edi
dec dword [ebp - 0x14]
jne 0x100077a3
inc esi
cmp esi, 0xdd
jl 0x1000779a
mov dword [ebp - 0x14], 0x1b82
cmp dword [ebp - 0x14], 0x1f4d
jle 0x10007840
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor esi, esi
xor edi, edi
xor ebx, ebx
lea ecx, [ebx + edi]
mov eax, esi
sar eax, cl
lea ecx, [ebp - 0x34]
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10007807
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.10003049
inc ebx
cmp ebx, 0x6cd4
jl 0x100077eb
inc edi
cmp edi, 0x3c64
jl 0x100077e9
inc esi
cmp esi, 0x4f6e
jl 0x100077e7
push 0x1e6a
call dword [sym.imp.GDI32.dll_SaveDC]
cmp dword [ebp - 0x14], 0x1ad6
jge 0x10007854
push str.ykpk_gag_zeqmgjw_jrhziyzly_aetkbpoja
call fcn.1004bc39
pop ecx
mov eax, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
push dword [eax]
call fcn.10008cc0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x18], 0x5e79
jge 0x10007884
mov edx, str.ngkinxwz_dibadec_cvwljtmj
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x100078ab
push 0x1ba7
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007926
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x100642df
call fcn.10063a38
sub esp, 0x20
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x18], cl
je 0x1000798c
cmp byte [ebp + 0x10], 0
je 0x1000797d
mov esi, dword [ebp + 0x1c]
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x10007a7d
mov edi, dword [ebp + 8]
call fcn.1000651d
push 0xa
pop ecx
xor edx, edx
div ecx
mov ecx, dword [ebp + 0x18]
add dx, word [edi]
movzx eax, dx
push eax
call fcn.10008c89
inc ebx
cmp ebx, dword [esi]
jb 0x10007958
jmp 0x10007a7d
push dword [edx]
mov ecx, dword [ebp + 0x14]
call fcn.10008cc0
jmp 0x10007a7d
xor ebx, ebx
test cl, cl
je 0x10007a5a
mov dword [ebp - 0x24], 0x5a50
cmp dword [ebp - 0x24], 0x5c32
jle 0x10007a0f
mov esi, ebx
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov eax, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov ecx, eax
lea ebx, [edi + esi]
mov esi, dword [ebp - 0x28]
shl ebx, cl
mov ecx, esi
mov eax, ebx
sar eax, cl
mov ecx, 0x10081ef8
cdq
push edx
push eax
call fcn.10003ea0
inc esi
cmp esi, 0x1b82
jl 0x100079bf
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
push 0
pop ebx
cmp eax, 0x2fff
jl 0x100079b2
inc edi
cmp edi, 0x2e78
jl 0x100079ad
inc esi
mov dword [ebp - 0x20], esi
cmp esi, 0x5831
jl 0x100079ab
push 0x907
call dword [sym.imp.USER32.dll_GetKeyState]
lea eax, [ebp + 0xf]
mov byte [ebp + 0xf], bl
push eax
xor dl, dl
mov ecx, 0x6aa6
call fcn.10007ae1
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x24], 0x5976
pop ecx
jge 0x10007a3e
mov edx, str.eeosby_ifbqarvz_awbut_mglss_kkodpiv_cfhiw
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x10007a7d
mov byte [ebp - 0x11], bl
cmp byte [ebp - 0x11], bl
je 0x10007a7d
push 0x157a
push 0x628
push 0x1569
push 0xf22
push ebx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007afd
Capabilities:
Get disk size

Disassembly:
mov eax, 0x100642e9
call fcn.10063a38
sub esp, 0x3c
push ebx
push esi
mov byte [ebp - 0x14], cl
xor esi, esi
mov dword [ebp - 0x1c], 0x1890
cmp dword [ebp - 0x1c], 0xd57
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
jge 0x10007bbc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
call fcn.10008f21
lea eax, [ebp - 0x18]
push eax
push 0x1006cb3c
call fcn.1004be36
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
push 5
pop ebx
mov ecx, ebx
and eax, 0x80000001
jns 0x10007b6c
dec eax
or eax, 0xfffffffe
inc eax
mov dword [edi + ecx*4], eax
mov eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
dec ecx
mov dword [ebp - 0x18], eax
jns 0x10007b60
mov ecx, dword [edi + 4]
xor edx, edx
mov eax, dword [edi + 0x14]
inc edx
mov dword [edi + 4], eax
mov dword [edi + 0x14], ecx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov ecx, esi
mov eax, dword [edi + ebx*4]
imul eax, edx
add edx, edx
add ecx, eax
dec ebx
jns 0x10007b9a
push ecx
push str._ld_n
call fcn.1004bc39
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.100028c3
cmp byte [ebp - 0x14], 0
je 0x10007c5b
mov dword [ebp - 0x1c], 0x1a19
cmp dword [ebp - 0x1c], 0x1ad7
jle 0x10007c1c
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x24], esi
mov eax, ebx
mov ecx, 0x10081ef8
cdq
idiv esi
mov eax, edi
sub eax, edx
cdq
push edx
push eax
call fcn.10003ea0
inc esi
cmp esi, 0x2c30
jl 0x10007bdd
inc ebx
push 0
pop esi
cmp ebx, 0x7336
jl 0x10007bda
inc edi
cmp edi, 0x48cb
jl 0x10007bd8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], 0x1917
jge 0x10007c37
mov edx, str.sbnp_fkqhbtpx_ujmsaucr_tsu_hydb_xfmzhkhuk_not
mov ecx, 0x10081ef8
call fcn.10005908
mov eax, dword [ebp + 0xc]
inc dword [eax]
jmp 0x10007cd9
mov dword [ebp - 0x1c], 0x67de
cmp dword [ebp - 0x1c], 0x6a05
jle 0x10007cac
mov edi, esi
mov ebx, esi
mov eax, ebx
lea ecx, [ebp - 0x48]
and eax, edi
cdq
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10007c88
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.10003049
inc ebx
cmp ebx, 0x15ab
jl 0x10007c6f
inc edi
cmp edi, 0x2370
jl 0x10007c6d
mov eax, dword [ebp - 0x24]
cmp byte [eax], 0
je 0x10007cc5
push 0x1b40
push 0xfdc
push esi
call dword [sym.imp.GDI32.dll_PtInRegion]
cmp dword [ebp - 0x1c], 0x65a9
jge 0x10007cd9
push str.msctmb_tzoitllkv_rugbjuw_quimhrp_wkstrz_ljqls
call fcn.1004bc39
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008f54
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x10008f6b
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x10008f8d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x10390054
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x103903e0
jl 0x10008f9b
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x10390684
jl 0x10008fdb
mov ecx, dword [0x103913d0]
xor ecx, dword [0x10390054]
and ecx, edi
xor ecx, dword [0x103913d0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x10390050], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x10390684]
mov dword [0x10390a10], eax
pop esi
ret
Function at 0x100248a1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10064cf3
call fcn.10063a38
sub esp, 0x34
mov byte [ebp - 0x18], dl
push ebx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test dl, dl
je 0x1002496a
mov dword [ebp - 0x20], 0x18ae
cmp dword [ebp - 0x20], 0x1a8a
jle 0x10024938
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x1c], 0x4314
xor edi, edi
lea eax, [ebx + edi]
cdq
lea ecx, [ebp - 0x3c]
push edx
push eax
call fcn.10003a70
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100248f9
mov eax, dword [eax]
push eax
call fcn.1004bc39
pop ecx
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.10003049
inc edi
cmp edi, 0x6de1
jl 0x100248e1
dec ebx
dec dword [ebp - 0x1c]
jne 0x100248df
inc esi
cmp esi, 0x652
jl 0x100248d6
push 0
push 0x2267
push 0
push 0xa9
call dword [sym.imp.USER32.dll_SetTimer]
lea eax, [ebp - 0x11]
mov byte [ebp - 0x11], 0
push eax
xor dl, dl
mov ecx, 0x58e5
call fcn.100266ed
cmp dword [ebp - 0x20], 0x16e8
pop ecx
jge 0x10024a0e
push str.jtzn_dim_atfqbo_ddrzg_rbvetwqq_omgyp
call fcn.1004bc39
pop ecx
jmp 0x10024a0e
mov dword [ebp - 0x20], 0x3b6d
cmp dword [ebp - 0x20], 0x3c9e
jle 0x100249b3
xor esi, esi
xor edi, edi
xor ebx, ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x10081ef8
xor eax, esi
cdq
push edx
push eax
call fcn.10003ea0
inc ebx
cmp ebx, 0x2486
jl 0x10024980
inc edi
cmp edi, 0x5c0
jl 0x1002497e
inc esi
cmp esi, 0x342e
jl 0x1002497c
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x20], 0x3821
jge 0x100249f1
mov edx, str.fjmu_wagay_abk_bgk_ukm
mov ecx, 0x10081ef8
call fcn.10005908
jmp 0x100249f1
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x10024a09
mov ecx, dword [edx]
mov eax, dword [ebx]
mov dword [eax + ecx*4], 0x4b66
inc dword [edx]
cmp dword [edx], 3
jl 0x100249fc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret