joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b140
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4c0100]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x43b199
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x43b186
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x43b180
shr eax, 8
cmp al, 2
je 0x43b199
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret
call fcn.004529a0
test eax, eax
jne 0x43b1fb
push str.iphlpapi.dll
call fcn.0043ae30
add esp, 4
mov dword [0x4c1dc8], eax
test eax, eax
je 0x43b1d5
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x4c1dc4]
test eax, eax
cmovne ecx, eax
mov dword [0x4c1dc4], ecx
push 3
push 2
push 0
push 6
call fcn.0043afd0
add esp, 0x10
test al, al
setne byte [0x4c3838]
push 0x4c3840
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004728e8
mov esp, ebp
pop ebp
ret

Function at 0x43d630
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x14]
push esi
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call fcn.004748f0
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push dword [ebp + 0x18]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43d6fe
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43d6e0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43d6e0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x43d6e0
cmp esi, dword [ebp - 0xc]
jb 0x43d6e0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43d6ee
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x43d6fe
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x440ba0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00440b00

Function at 0x442e90
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x548], 2
jne 0x442ea8
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00442e50
mov al, 1
pop ebp
ret
Function at 0x443040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x44306b
cmp dword [esi + 0x80], 0
je 0x44306b
push 2
push 3
push esi
call fcn.0043d040
push dword [ebp + 0xc]
call fcn.004429d0
add esp, 0x10
jmp 0x44307a
push dword [ebp + 0xc]
call fcn.004429d0
add esp, 4
test esi, esi
je 0x44308e
cmp dword [esi + 0x80], 0
je 0x44308e
push 3
push esi
call fcn.0043d090
add esp, 8
pop esi
pop ebp
ret
Function at 0x406770
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
jne 0x4067aa
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea esi, [edi + 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esi]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
add ecx, eax
mov dword [edi + 0x1c], eax
adc edx, 0
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
lea eax, [esi + 3]
push eax
call fcn.0050491e
add esp, 4
mov dword [edi + 0x20], eax
test eax, eax
jne 0x406818
push 0x103
mov esi, 0x100
call fcn.0050491e
add esp, 4
mov dword [edi + 0x20], eax
test eax, eax
jne 0x406818
mov eax, dword [edi + 0x14]
test eax, eax
je 0x406804
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x14], 0
mov eax, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [edi], esi
xor eax, eax
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x406840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
xor ecx, ecx
add eax, ebx
push edi
mov edi, dword [ebp + 0xc]
adc ecx, edi
mov edx, dword [esi]
mov dword [ebp - 4], edx
add edx, dword [esi + 0x28]
mov dword [ebp - 8], eax
mov eax, 0
adc eax, dword [esi + 0x2c]
cmp ecx, eax
ja 0x406884
jb 0x406878
cmp dword [ebp - 8], edx
ja 0x406884
cmp edi, dword [esi + 0x2c]
jb 0x406884
ja 0x4068dd
cmp ebx, dword [esi + 0x28]
jae 0x4068dd
push 0
push dword [ebp - 4]
push edi
push ebx
call fcn.0059bf90
mov ecx, ebx
sub ecx, eax
mov eax, dword [esi + 0x20]
push 0
mov dword [ebp + 0xc], eax
sbb edi, edx
lea eax, [esi + 0x18]
mov dword [esi + 0x28], ecx
push eax
mov dword [esi + 0x2c], edi
push ecx
push dword [esi + 0x14]
mov dword [eax], edi
mov dword [esi + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x4068ff
mov eax, dword [ebp - 4]
lea edi, [esi + 0x10]
push 0
push edi
add eax, 3
push eax
push dword [ebp + 0xc]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4068dd
cmp dword [edi], eax
je 0x4068ff
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x28]
push dword [ebp + 0x14]
add eax, ebx
push eax
push dword [ebp + 0x10]
call fcn.005010e0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x407070
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push 0
and edx, 1
mov esi, ecx
push 0x80
lea eax, [edx + 3]
push eax
push 0
lea eax, [edx + 2]
push 3
shl eax, 0x1e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [esi + 0xc], ecx
cmp ecx, 0xffffffff
jne 0x4070af
mov eax, 1
pop esi
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x14]
lea edx, [esi + 0x10]
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
or eax, ebx
je 0x4070fa
push 0
push edx
push edi
push ecx
mov dword [edx], ebx
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4070e1
pop edi
pop ebx
mov eax, 2
pop esi
pop ebp
ret 0x10
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x40710f
pop edi
pop ebx
mov eax, 3
pop esi
pop ebp
ret 0x10
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [esi + 0x10]
xor edi, edi
add edi, eax
mov dword [esi + 0x14], eax
adc ebx, 0
mov dword [esi], edi
xor eax, eax
pop edi
mov dword [esi + 4], ebx
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4109e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
test edx, edx
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 3
push closesocket
lea ebx, [ebp - 8]
push ecx
cmovne ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410a18
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebx], eax
call fcn.0050491e
mov edi, eax
add esp, 4
test edi, edi
jne 0x410a43
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebx]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410a6e
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
jne 0x410a6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00504903
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410a90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, edx
lea edx, [ebp - 4]
push edi
mov dword [ebp - 8], ebx
call fcn.004109e0
mov edi, eax
test edi, edi
jne 0x410ab4
lea eax, [edi + 0xc]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp - 4]
xor eax, eax
test esi, esi
jle 0x410bf4
cmp esi, 8
jb 0x410bcb
cmp dword [0x9143e4], 2
jl 0x410bcb
movaps xmm3, xmmword [0x618370]
mov ecx, esi
and ecx, 0x80000007
jns 0x410aee
dec ecx
or ecx, 0xfffffff8
inc ecx
movups xmm2, xmmword [0x6183b0]
mov ebx, esi
mov edx, edi
movd xmm0, esi
sub ebx, ecx
mov esi, 4
pshufd xmm4, xmm0, 0
sub esi, edi
nop dword [eax + eax]
movd xmm0, eax
lea ecx, [esi + edx]
pshufd xmm0, xmm0, 0
lea edx, [edx + 8]
paddd xmm0, xmm3
movaps xmm1, xmm4
psubd xmm1, xmm0
add eax, 8
pmulld xmm1, xmm0
pmulld xmm1, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm1
andps xmm0, xmm2
paddd xmm0, xmm1
psrad xmm0, 8
pslld xmm0, 8
psubd xmm1, xmm0
movd xmm0, dword [edx - 8]
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
xorps xmm1, xmm0
movd xmm0, ecx
movd dword [edx - 8], xmm1
movaps xmm1, xmm4
pshufd xmm0, xmm0, 0
paddd xmm0, xmm3
psubd xmm1, xmm0
pmulld xmm1, xmm0
pmulld xmm1, xmm0
xorps xmm0, xmm0
pcmpgtd xmm0, xmm1
andps xmm0, xmm2
paddd xmm0, xmm1
psrad xmm0, 8
pslld xmm0, 8
psubd xmm1, xmm0
movd xmm0, dword [edx - 4]
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
xorps xmm1, xmm0
movd dword [edx - 4], xmm1
cmp eax, ebx
jl 0x410b10
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
cmp eax, esi
jge 0x410bf4
mov edx, esi
sub edx, eax
mov ecx, edx
imul ecx, eax
imul ecx, eax
and ecx, 0x800000ff
jns 0x410beb
dec ecx
or ecx, 0xffffff00
inc ecx
xor byte [edi + eax], cl
dec edx
inc eax
cmp eax, esi
jl 0x410bd3
push 3
push esi
push edi
mov ecx, ebx
call fcn.00486a70
pop esi
push edi
test al, al
jne 0x410c18
call fcn.00504903
add esp, 4
mov eax, 0xd
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00504903
add esp, 4
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x916c4c], 0
je 0x411f76
mov eax, 0x3c
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 4]
test dl, dl
push eax
push 0
lea eax, [ecx + 0x10]
cmove eax, ecx
push eax
push 0x411ad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x411fa3
lea eax, [esi + 3]
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x635511], 0
je 0x411fb5
push 0xfffffffffffffff1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41a440
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, dword [0x921c78]
push 0
push edi
push 0x130c
push dword [0x91708c]
call ebx
xor esi, esi
push 0
push 0
push 0x8002
push dword [esi*4 + 0x917070]
call ebx
xor eax, eax
mov ecx, 5
cmp esi, edi
cmove eax, ecx
push eax
push dword [esi*4 + 0x917070]
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 5
jl 0x41a465
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ea20
Capabilities:
Copy file
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.Settings
mov esi, edx
lea eax, [ebp - 0x110]
push esi
push str.Profile__s_s
push 0x104
push eax
mov edi, ecx
call fcn.00407c20
add esp, 0x14
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
call fcn.0042d780
lea eax, [ebp - 0x218]
push eax
push 0x91f0b0
push edi
call fcn.0040d460
add esp, 0x1c
test eax, eax
jne 0x41ecaf
push str.Options0
push esi
push str.Profile__s_s
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00407c20
add esp, 0x14
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
call fcn.0042d780
lea eax, [ebp - 0x218]
push eax
push 0x920c54
push edi
call fcn.0040d5d0
add esp, 0x1c
lea eax, [ebp - 0x110]
push str.Options1
push esi
push str.Profile__s_s
push 0x104
push eax
call fcn.00407c20
add esp, 0x14
lea eax, [ebp - 0x218]
push 0
push eax
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
call fcn.0042d780
lea eax, [ebp - 0x218]
push eax
push 0x920c68
push edi
call fcn.0040d5d0
add esp, 0x1c
test edi, edi
jne 0x41ecaf
push esi
push 0x104
push 0x635978
call fcn.005048a9
add esp, 0xc
push esi
push 0x104
push 0x91f0b0
call fcn.005048a9
add esp, 0xc
lea eax, [ebp - 0x110]
push str.EarthView.bmp
push 0x635978
push 0x911734
push str._sProfile__s_s
push 0x104
push eax
call fcn.00407c20
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x110]
add esp, 0x18
push edi
push 0x91f410
push eax
call esi
push str.EVScrsvr.bmp
push 0x635978
push 0x911734
push str._sProfile__s_s
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00407c20
add esp, 0x18
lea eax, [ebp - 0x110]
push edi
push 0x91f1d8
push eax
call esi
mov eax, dword [0x91709c]
test eax, eax
je 0x41ebf7
push 0x635978
push edi
push 0x14d
push 0x513
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
push edi
push 0x8001
push dword [0x91709c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x920c58]
movsx ecx, byte [eax + 0x88]
call fcn.0042cb00
mov eax, dword [0x920c6c]
lea ecx, [ebp - 0x23c]
push ecx
push 0
movsx eax, byte [eax + 0x88]
push eax
push 0x42c950
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x635978
push 0x911734
push str._sProfile__s.tmp
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00407c20
lea eax, [ebp - 0x110]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x230], eax
add esp, 0x14
mov eax, 0x494
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x228], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x238]
movlpd qword [ebp - 0x226], xmm0
push eax
mov dword [ebp - 0x21e], 0
mov dword [ebp - 0x234], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
Function at 0x420680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp byte [0x91f2df], 0
je 0x4206b6
mov eax, esi
inc esi
cmp eax, 0x64
jge 0x4206b6
push 1
push 0x32
mov ecx, 0x911000
mov byte [0x91f1cb], 1
call fcn.00440020
cmp byte [0x91f2df], 0
jne 0x420690
lea eax, [ebp - 4]
mov dword [0x91f400], 0
push eax
push 0
push 0
push 0x420300
push 0
push 0
mov byte [0x91f1cb], 0
mov byte [0x91f2df], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
test eax, eax
jne 0x420702
mov byte [0x91f2df], al
mov eax, 3
mov dword [0x91f400], 3
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x91f400]
mov esp, ebp
pop ebp
ret

Function at 0x420a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp byte [0x91f2de], 0
je 0x420aa6
mov eax, esi
inc esi
cmp eax, 0x64
jge 0x420aa6
push 2
push 0x32
mov ecx, 0x911000
mov byte [0x91f1ca], 1
call fcn.00440020
cmp byte [0x91f2de], 0
jne 0x420a80
lea eax, [ebp - 4]
mov byte [0x91f1ca], 0
push eax
push 0
push 0
push 0x420720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
test eax, eax
jne 0x420ae1
mov byte [0x91f2de], al
mov eax, 3
mov dword [0x91f3fc], 3
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x91f3fc]
mov esp, ebp
pop ebp
ret
Function at 0x421400
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x2c]
push ebx
push esi
push edi
mov esi, dword [eax]
mov ebx, ecx
mov eax, dword [0x11aa2e0]
mov dword [ebp - 4], edx
cmp eax, dword [esi + 4]
jle 0x42144d
push 0x11aa2e0
call fcn.004ff2c6
add esp, 4
cmp dword [0x11aa2e0], 0xffffffff
jne 0x42144d
push 0
call fcn.0050e3e0
push 0x11aa2e0
call fcn.004ff275
add esp, 8
xor edi, edi
test ebx, ebx
jns 0x42146c
cmp dword [0x91f518], edi
jne 0x421494
cmp dword [0x91f51c], edi
jne 0x421494
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
je 0x42148a
cmp ebx, 1
jne 0x42147b
mov dword [0x91f51c], ebx
jmp 0x421494
cmp ebx, 2
jne 0x421494
mov dword [0x91f51c], 1
mov dword [0x91f518], 1
xor edx, edx
cmp dword [ebp - 4], 1
cmovle edx, dword [ebp - 4]
cmp byte [ebp + 8], 0
mov dword [0x91f408], edx
je 0x4214fd
xor esi, esi
nop dword [eax]
cmp byte [esi + 0x91f2dc], 0
je 0x4214f1
nop dword [eax]
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x4214f1
push 3
push 0x32
mov ecx, 0x911000
mov byte [esi + 0x91f1c8], 1
mov dword [esi*4 + 0x91f518], 1
call fcn.00440020
cmp byte [esi + 0x91f2dc], 0
jne 0x4214c0
inc esi
cmp esi, 2
jl 0x4214b0
mov edx, dword [0x91f408]
cmp byte [0x91f2dc], 0
jne 0x421463
cmp byte [0x91f2dd], 0
jne 0x421463
xor ecx, ecx
mov eax, 1
nop
cmp edx, 1
mov esi, ecx
cmove esi, eax
cmp dword [esi*4 + 0x91f518], 1
jne 0x42153b
cmp byte [esi + 0x91f2dc], 0
je 0x42154b
dec eax
inc ecx
cmp eax, 0xffffffff
jg 0x421520
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi*4 + 0x91f518], 0
cmp esi, 5
jae 0x4215cd
lea eax, [ebp - 8]
mov byte [esi + 0x91f1c8], 0
push eax
push 0
push esi
push 0x420eb0
push 0
push 0
mov byte [esi + 0x91f2dc], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4215a0
mov byte [esi + 0x91f2dc], al
lea eax, [edi + 3]
pop edi
mov dword [esi*4 + 0x91f3f4], 3
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x635511], 0
je 0x4215b2
push 0xfffffffffffffff1
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi*4 + 0x91f3f4], 0
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ff6cf
int3
Function at 0x428590
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push ecx
mov edi, edx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
je 0x42866f
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x18]
xor edx, edx
add edx, eax
lea eax, [ebp - 0x18]
push 0
adc ecx, 0
add edx, 0xfffffff4
push eax
push edx
adc ecx, 0xffffffff
push ebx
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42866f
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0xc
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42866f
cmp dword [ebp - 0x1c], 0xc
jne 0x42866f
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test edi, edi
je 0x428649
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x40], eax
mov eax, ecx
shr eax, 4
and al, 1
mov dword [edi + 0x44], edx
mov byte [edi + 0x48], al
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x42865c
movq xmm0, qword [ebp - 0x14]
movq qword [eax], xmm0
mov dword [eax + 8], edx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
Function at 0x42c880
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00501660
add esp, 0xc
lea eax, [ebp - 0x108]
push str.SYSTEM.INI
push 0x104
push eax
push 0x615266
push str.SCRNSAVE.EXE
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
push 0xe
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x108]
push 0x91f2f0
push eax
call fcn.00505203
add esp, 8
test eax, eax
jne 0x42c937
mov eax, 0x88888889
imul dword [ebp - 0x10c]
mov eax, dword [0x920c6c]
add edx, dword [ebp - 0x10c]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + 0x8c], ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret

Function at 0x42ca40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.00501660
add esp, 0xc
lea eax, [ebp - 0x108]
push str.WIN.INI
push 0x104
push eax
push 0x615266
push str.Wallpaper
push str.Desktop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push str.EarthView.bmp
push eax
call fcn.00500b90
add esp, 8
test eax, eax
jne 0x42cae3
cmp byte [0x635515], al
jne 0x42cad3
mov eax, dword [0x920c58]
cmp byte [eax + 0x88], 0
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret