joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4ec0
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 0x4a4f09
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 0x4a5380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e1c0
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.004a4f30
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a4fb0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a4fb0
lea ecx, [esi + 0xc]
call fcn.0051fc85
lea ecx, [esi + 0x10]
call fcn.0051fc85
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a6540
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a6540
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a6540
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0051fcfa
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0051fcfa
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a6730
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 0x4a6796
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 0x4a6796
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4a6777
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4a6b60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.004a6960
pop edi
add esp, 0x104
ret 4

Function at 0x4a9a10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7fd45c]
xor edx, edx
cmp eax, edx
jne 0x4a9a36
xor eax, eax
mov byte [eax + 0x7fd35c], al
inc eax
cmp eax, 0x100
jl 0x4a9a1e
mov dword [0x7fd45c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7fd35c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a9ac7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a9a9a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a9a68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a9ad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a9b23
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a9b0a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b04a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e61e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b0dc0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6a2624
call fcn.0051fa3b
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b0533
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0051fa3b
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b052c
push 0
mov ecx, eax
call fcn.004a7640
mov dword [esi + 0xc], eax
jmp 0x4b0535
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b0535
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4c0ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4c0cc1
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4c0ca5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4c0bf7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4c0bd5
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4c1709
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4c1760
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4c1760
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4c1760
xor eax, eax
inc eax
jmp 0x4c1762
xor eax, eax
leave
ret 0x10

Function at 0x4c178b
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4c17f9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x6a64c4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c17f0
cmp dword [ebp - 0xc], 4
jne 0x4c17f0
cmp dword [ebp - 0x10], edi
je 0x4c17f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x7ba1a0], edi
xor eax, eax
jmp 0x4c1838
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x7ba1a0], edi
jge 0x4c1833
lea eax, [ebp - 0x34]
push eax
mov dword [0x7ba1a0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4c1833
cmp word [ebp - 0x14], 5
jb 0x4c1833
call fcn.004c1766
test eax, eax
je 0x4c1833
emms
mov dword [0x7ba1a0], 1
mov eax, dword [0x7ba1a0]
pop edi
leave
ret
Function at 0x4da710
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4da743
push esi
call fcn.004df440
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4da73c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4da7c9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4da7b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4da767
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4da7ae
cmp eax, 2
je 0x4da7b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4da75a
cmp eax, 3
je 0x4da78d
cmp eax, 1
jne 0x4da75a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4da75a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4da75a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004da800
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4da7e9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004da800
add esp, 4
pop esi
ret

Function at 0x52209e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5220d6
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.00520155
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0052012d
jmp 0x5220e2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x52378c
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 0x5237ce
call fcn.0052930d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5237ce
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5237c5
xor eax, eax
jmp 0x5237d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005237dc
pop edi
pop esi
pop ebx
ret 4
Function at 0x52983d
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 0x52986b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x529889
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005297a3
jmp 0x529889
mov eax, dword [esi + 0x14]
test eax, eax
je 0x529889
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005297a3
test edi, edi
mov eax, edi
jne 0x529873
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x10029a6
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002ea0
call fcn.01002bc4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x10027bb
cmp eax, esi
jne 0x10027ae
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x10027be
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1002795
xor esi, esi
inc esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x10027d1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100280c
mov eax, dword [0x100436c]
test eax, eax
jne 0x1002806
mov dword [0x100436c], esi
push 0x100119c
push 0x1001190
call fcn.01002712
pop ecx
pop ecx
test eax, eax
je 0x100280c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x10028d6
mov dword [0x1004034], esi
mov eax, dword [0x100436c]
cmp eax, esi
jne 0x1002830
push 0x100118c
push 0x1001184
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100436c], 2
cmp dword [ebp - 0x1c], ebx
jne 0x100283d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1004374], ebx
je 0x100285e
push 0x1004374
call fcn.01002b39
pop ecx
test eax, eax
je 0x100285e
push ebx
push 2
push ebx
call dword [0x1004374]
push dword [0x100401c]
push dword [0x1004020]
push dword [0x1004018]
call fcn.0100134b
add esp, 0xc
mov dword [0x1004030], eax
cmp dword [0x1004024], ebx
jne 0x10028bc
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004034], ebx
jne 0x10028ca
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004030]
call fcn.01002c09
ret
call fcn.01002ce7
jmp 0x1002773
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4269a8
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 7
pop ecx
lea edi, [ebp - 0x20]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x426a15
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1fc
push str.msuengine.cpp
call fcn.004037d3
push str.Failed_to_stop_wusa_service.
push esi
call fcn.0044012f
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042de36
mov esp, ebp
pop ebp
ret 4

Function at 0x429a57
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, 0x44b524
mov eax, dword [edi + 4]
test eax, eax
je 0x429a76
mov edx, dword [eax]
jmp 0x429a83
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x429a81
mov edx, dword [ecx]
jmp 0x429a83
mov edx, ebx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x429a8c
mov ebx, dword [ecx]
test eax, eax
je 0x429a9e
xor eax, eax
test ecx, ecx
setne al
add eax, 0x20000150
jmp 0x429aac
cmp dword [edi + 8], esi
mov eax, 0x2000014f
lea ecx, [eax + 3]
cmovne eax, ecx
push dword [ebp + 0xc]
push str.copy
push ebx
push edx
push eax
push 2
call fcn.0040550f
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push ebx
call fcn.00444315
test eax, eax
je 0x429b2a
mov eax, dword [ebp - 4]
test al, 1
je 0x429b2a
and eax, 0xfffffffe
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x538
push str.apply.cpp
call fcn.004037d3
push ebx
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.0044012f
add esp, 0xc
jmp 0x429ba8
push esi
lea eax, [edi + 0x20]
push eax
push edi
push fcn.0042993c
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x429ba8
cmp dword [edi + 0x20], esi
je 0x429b68
mov esi, 0x80070642
push esi
push 0x542
push str.apply.cpp
call fcn.004037d3
push ebx
push dword [ebp + 0xc]
push str.BA_aborted_copy_of_payload_from:__ls_to:__ls.
jmp 0x429b9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x546
push str.apply.cpp
call fcn.004037d3
push ebx
push dword [ebp + 0xc]
push str.Failed_attempt_to_copy_payload_from:__ls_to:__ls.
push esi
call fcn.0044012f
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401032
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x418004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
jmp 0x4010f0
test ecx, ecx
je 0x401118
lea eax, [ebp - 0x58]
push str.showStatusDialog
push eax
call fcn.00401c20
pop ecx
test eax, eax
lea eax, [ebp - 0x58]
pop ecx
je 0x4010c5
push 0x41644c
push eax
call fcn.00401c20
pop ecx
pop ecx
test eax, eax
je 0x401096
push 0
push 0x416450
push 0x416458
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x58]
push 0x4164d4
push eax
call fcn.00401c20
pop ecx
pop ecx
test eax, eax
je 0x4010be
push 0
push str.Unlock
push str.The_app_has_been_unlocked._Special_thanks_for_the_patch_maker._n_nRainCandy_Technology_nhttp:__raincandy.1337.moe_mathtype_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push str._completed_:_showStatusDialog__n
jmp 0x4010db
push str.State
push eax
call fcn.00401c20
pop ecx
pop ecx
test eax, eax
je 0x4010f0
push str._state_:0_n
call fcn.00401006
push 1
call fcn.00402a0f
push eax
call fcn.00402c21
add esp, 0xc
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x50
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x5c]
test eax, eax
setne al
mov byte [ebp + ecx - 0x58], 0
test al, al
jne 0x401052
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0040112b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401e40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.004012f0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
cmp ecx, 0xb
ja 0x401fd6
lea edx, [ebp - 0x40]
call fcn.00401c20
test eax, eax
je 0x401fd6
lea ecx, [ebp - 0x40]
call fcn.00401cf0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x1c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x2c], eax
mov dword [ebp + 0x14], 0
mov word [ebp + 0x11], 0xff00
mov byte [ebp + 0x10], 0
mov dword [ebp + 0xc], ebx
lea esp, [esp]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push eax
mov dword [ebx], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xcc0020
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [ebp + 8]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push 0
push 0
push dword [ebx]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x2c]
lea ecx, [ebp - 0x40]
mov ebx, dword [ebx]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x28]
mov edi, eax
imul edi, dword [ebp + 0x14]
cmp byte [ebp - 0x23], 0
mov dword [ebp + 0x1c], eax
setne byte [ebp + 0x13]
call fcn.00401520
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
push ecx
push eax
push 0
push edi
push dword [ebp - 0x18]
push ecx
push eax
push 0
push 0
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
lea ecx, [ebp - 0x40]
call fcn.00401a30
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
inc eax
add ebx, 4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ebx
cmp eax, 3
jl 0x401ed0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x401fb6
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
push eax
movdqu xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov word [ebp - 0x24], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x18]
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0x10], eax
xor esi, esi
jmp 0x401fdb
mov esi, 1
lea ecx, [ebp - 0x40]
call fcn.004013a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x403940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
push 0x10a8
push 0
lea ebx, [edi + 0x1560]
push ebx
call fcn.004164d0
push dword [ebp + 8]
push 0x800
push ebx
call fcn.00412f77
push dword [ebp + 0xc]
lea eax, [ebx + 0x880]
push 0x400
push eax
call fcn.00412f77
push dword [ebp + 0xc]
lea eax, [ebx + 0xc80]
push 0x400
push eax
call fcn.00412f77
mov dword [ebx + 0x1080], 2
mov dword [ebx + 0x1088], 1
mov dword [ebx + 0x1090], ebx
mov byte [ebx + 0x1094], 0
mov dword [ebx + 0x108c], ebx
mov eax, dword [edi]
mov dword [ebx + 0x1098], eax
mov eax, dword [edi + 0x155c]
mov dword [ebx + 0x10a0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x109c], eax
lea eax, [edi + 0x2608]
mov dword [ebx + 0x10a4], eax
lea eax, [edi + 4]
push 0x1558
push dword [edi]
push eax
call fcn.004171d0
push ebx
push 0
push 0x402740
call fcn.0041432b
add esp, 0x48
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x4047d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 0x288
call fcn.00412a36
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x40480e
push esi
call fcn.00412ac8
push dword [ebp - 4]
call fcn.00412a36
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x40485f
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
push 0x12
push dword [ebp + 8]
call fcn.004145e7
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret 4