joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e90
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
xor edx, edx
test esi, esi
je 0x412eb1
mov ecx, 0x100
mov eax, esi
cmp word [eax], 0
je 0x412eb6
add eax, 2
dec ecx
jne 0x412ea5
pop edi
xor eax, eax
pop esi
ret
test ecx, ecx
je 0x412eb1
lea eax, [esp + 0x10]
test eax, eax
je 0x412ec9
mov edx, 0x100
sub edx, ecx
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x412ed4
lea edi, [edx + edx]
mov edx, dword [esp + 0xc]
push edi
push esi
push 1
push edx
push str.SOFTWARE360Safe_safemon
push 0x80000002
call dword [0x4224dc]
test eax, eax
jne 0x412eb1
pop edi
mov eax, 1
pop esi
ret

Function at 0x413190
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x42b9bc]
sub esp, 0x80c
test eax, eax
push ebx
push esi
mov ebx, ecx
jne 0x41332b
mov eax, dword [0x42b9c0]
test eax, eax
jne 0x4132c4
push edi
lea eax, [esp + 0x18]
push 0x400
push eax
push 0
call dword [0x4220c8]
mov edi, dword [0x4224f0]
lea ecx, [esp + 0x18]
push ecx
call edi
mov eax, dword [0x42b890]
xor esi, esi
test eax, eax
jle 0x4131f0
lea edx, [esp + 0x18]
push edx
call edi
mov eax, dword [0x42b890]
inc esi
cmp esi, eax
jl 0x4131df
lea eax, [esp + 0x18]
push str.360Common.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x4224e0]
call dword [0x4220b4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], 0
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
je 0x41326e
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esp + 0x14]
push 4
push eax
lea ecx, [esp + 0x20]
push 4
push ecx
push 0x22204c
push esi
call dword [0x4220bc]
push esi
mov edi, eax
call dword [0x422158]
test edi, edi
je 0x41326e
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4132af
lea edx, [esp + 0x18]
test edx, edx
je 0x4132ab
lea eax, [esp + 0x18]
push eax
call dword [0x4224ec]
test eax, eax
je 0x4132af
lea ecx, [esp + 0x18]
push ecx
call fcn.00401ac0
add esp, 4
test eax, eax
jne 0x4132af
push 1
call fcn.0041ef80
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.0041f210
add esp, 0xc
xor eax, eax
jmp 0x4132ba
lea eax, [esp + 0x18]
push eax
call dword [0x4220cc]
test eax, eax
mov dword [0x42b9c0], eax
pop edi
je 0x413322
mov esi, dword [0x4220d0]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x42b9c0]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x42b9bc], eax
call esi
mov edx, dword [0x42b9c0]
push str.Create360FireWareStateFunction
push edx
mov dword [0x42b9b8], eax
call esi
mov dword [0x42b9b4], eax
mov eax, dword [0x42b9c0]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x42b9c0]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x42b9b0], eax
call esi
mov dword [0x42b9ac], eax
mov eax, dword [0x42b9bc]
test eax, eax
je 0x41335f
call eax
test eax, eax
je 0x41335f
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x41335f
mov eax, dword [esi]
lea ecx, [ebx + 4]
push 0x104
push ecx
push esi
call dword [eax + 8]
mov edx, dword [esi]
push 1
add ebx, 0x20c
push 0x104
push ebx
push esi
call dword [edx + 0x2c]
pop esi
pop ebx
add esp, 0x80c
ret
Function at 0x4134a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 4]
lea edx, [esp + 8]
push eax
push ecx
push edx
push str.EnableUE
push str.Software360Safe
push 0x80000001
mov dword [esp + 0x18], 1
call dword [0x4224d8]
test eax, eax
mov eax, dword [esp]
je 0x4134e9
mov eax, 1
add esp, 0xc
ret
Function at 0x41b350
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41cb00
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [0x42200c]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x41cb30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [0x422008]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x41cb60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [0x422004]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x41d320
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x41f030
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push 0x80000002
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [0x4224d8]
test eax, eax
je 0x41f094
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push str.360ver.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [0x4224e0]
lea edx, [esp + 0x10]
push edx
call dword [0x4224ec]
test eax, eax
jne 0x41f0c6
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push eax
call fcn.0041f130
add esp, 4
test eax, eax
jne 0x41f0e5
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea ecx, [esp + 0x10]
push ecx
call dword [0x4220cc]
mov esi, eax
test esi, esi
jne 0x41f104
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
push str.IsBetaVersion
push esi
call dword [0x4220d0]
call eax
push esi
mov edi, eax
call dword [0x4220d4]
mov eax, edi
pop edi
pop esi
add esp, 0x808
ret
Function at 0x41f210
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.00414240
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x42b820
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [esp + 0x101c]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea ecx, [esp + 0x18]
push edi
push ecx
call esi
push 0x800
lea edx, [esp + 0x24]
push 0x42b7f4
push edx
call esi
push 0x800
lea eax, [esp + 0x30]
push edi
push eax
call esi
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call esi
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x42b7b4
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push edi
push edx
call dword [0x42259c]
push eax
call dword [0x422598]
mov esi, eax
cmp esi, 6
jne 0x41f305
call fcn.0041f010
test eax, eax
je 0x41f2ed
call fcn.0041f030
test eax, eax
je 0x41f2ed
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x41f2f8
push 5
push 0
push 0
push 0x42b38c
push str.open
push 0
call dword [0x4224cc]
mov eax, dword [esp + 0x1014]
test eax, eax
je 0x41f318
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, esi
pop edi
pop esi
add esp, 0x1000
ret

Function at 0x41f330
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [0x4220b8]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f366
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [0x422128]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x41f3e1
cmp dword [esp + 0xc], 0x40
jne 0x41f3e1
cmp word [esp + 0x10], 0x5a4d
jne 0x41f3e1
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [0x422140]
cmp eax, dword [esp + 0x4c]
jne 0x41f3e1
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x41f3e1
cmp dword [esp + 0xc], 0xf8
jne 0x41f3e1
cmp dword [esp + 0x50], 0x4550
jne 0x41f3e1
cmp word [esp + 0x56], 0
je 0x41f3e1
mov ebx, 1
push esi
call dword [0x422158]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40201d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x404218
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402076
push dword [0x404214]
push section..data
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
leave
ret 8
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp + 8]
mov ecx, 0x200
mul ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x10]
push eax
push 0x200
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
or eax, eax
je 0x4020bc
cmp dword [ebp - 0x10], 0
jne 0x4020e9
push dword [ebp + 8]
push 0x404011
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
jmp 0x4020ee
mov eax, 1
push eax
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
pop eax
leave
ret 8

Function at 0x4020fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x404218
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402155
push dword [0x404214]
push section..data
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
leave
ret 8
mov dword [ebp - 4], eax
xor edx, edx
mov eax, dword [ebp + 8]
mov ecx, 0x200
mul ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x10]
push eax
push 0x200
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
or eax, eax
je 0x40219b
cmp dword [ebp - 0x10], 0
jne 0x4021c8
push dword [ebp + 8]
push 0x404023
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_wsprintfA
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x110]
push eax
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
jmp 0x4021cd
mov eax, 1
push eax
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
pop eax
leave
ret 8
Function at 0x4021db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push 0x100
lea eax, [ebp - 0x100]
push eax
push dword [0x404210]
call sub.kernel32.dll_GetModuleFileNameA
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402220
jmp 0x40227d
mov dword [ebp - 0x104], eax
push 2
push 0
push dword [ebp + 8]
push dword [ebp - 0x104]
call sub.kernel32.dll_SetFilePointer
or eax, eax
jne 0x40223e
jmp 0x40227d
push 0
lea eax, [ebp - 0x108]
push eax
push 0x200
push dword [ebp + 0xc]
push dword [ebp - 0x104]
call sub.kernel32.dll_ReadFile
or eax, eax
je 0x402267
cmp dword [ebp - 0x108], 0
jne 0x402269
jmp 0x40227d
push dword [ebp - 0x104]
call sub.kernel32.dll_CloseHandle
mov eax, 1
leave
ret 8
push 0x10
push 0
push 0x4041c0
push 0
call sub.user32.dll_MessageBoxA
push dword [ebp - 0x104]
call sub.kernel32.dll_CloseHandle
xor eax, eax
leave
ret 8
Function at 0x4883ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [eax + 0x1c], 0x18
je 0x48839e
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004861da
invalid
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004861da
jbe 0x488396
or byte [ecx - 0x75], 0x34
mov eax, dword [ebx]
idiv dword [eax + 0x50746547]
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4883c7
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4883c7
call fcn.004861da
xor dl, bh
xchg edi, eax
pop esp
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004861da
hlt

Function at 0x49f2ab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049ef52

Function at 0x49f2b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f0dc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40397d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x4039a8
mov eax, dword [0x40fc4c]
test eax, eax
je 0x40399c
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push eax
mov dword [0x40fc4c], 0
jmp 0x403a17
cmp dword [0x40fc4c], 0
je 0x4039c0
mov dword [esp], 0
call fcn.00408270
push ecx
jmp 0x403a17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x7a63b8]
jbe 0x403a17
mov eax, dword [0x7a63d0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4038c8
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
sub esp, 0x14
mov dword [0x40fc4c], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edx
push edx
leave
ret

Function at 0x403a19
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edx, edx
sub esp, 0x14
test eax, eax
je 0x403a5c
xor edx, edx
cmp dword [ebp - 0xc], ebx
sete dl
mov eax, edx
mov ebx, dword [ebp - 4]
leave
ret 8
Function at 0x407254
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [0x7a4978], 0x44
mov dword [esp + 0x20], 0x7a4978
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x4072d0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push eax
mov eax, edx
leave
ret 4

Function at 0x407580
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
je 0x4075ab
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x4075b2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, 0
cmp eax, 0xffffffff
push ecx
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [ebp - 4]
sub esp, 0x1c
leave
ret 0xc

Function at 0x40760e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0x65
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x1c]
jmp 0x40766c
mov dword [ebp - 0x1c], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [ebp - 0x2c], eax
div ecx
mov dword [ebp - 0x30], edx
mov cl, byte [ebp - 0x30]
add ecx, 0x61
mov byte [ebp - 0x1a], cl
mov ecx, dword [ebp + 0xc]
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
jne 0x407674
dec esi
jne 0x407624
mov byte [ebx], 0
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x4082c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x7a5f00], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408301
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x4082de
mov dword [edx*4 + 0x7a5efc], eax
inc edx
cmp edx, 0x100
jne 0x4082d7
mov eax, dword [ebp + 8]
not eax
jmp 0x40831b
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x7a5efc]
test ebx, ebx
jne 0x408308
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x407200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x407222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407218
mov eax, 1
add ebx, ebx
jne 0x40723b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407230
jne 0x40724c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407230
xor ecx, ecx
sub eax, 3
jb 0x407260
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4072d2
mov ebp, eax
add ebx, ebx
jne 0x40726b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40729c
inc ecx
add ebx, ebx
jne 0x407288
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40727d
jne 0x407299
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40727d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4072bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4072ad
jmp 0x40721e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4072bc
add edi, ecx
jmp 0x40721e
pop esi
mov edi, esi
mov ecx, 8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4072da
cmp byte [edi], 0
jne 0x4072da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4072df
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x40734e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7058]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x70bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40730c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x70c0]
or eax, eax
je 0x407348
mov dword [ebx], eax
add ebx, 4
jmp 0x407329
call dword [esi + 0x70c4]
popal
jmp 0x4016b0
Function at 0x41c830
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e6a9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004d84a2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c8b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d51b7
mov eax, dword [eax]
push 0x5ae278
push eax
call fcn.004b4e84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d872d
test bl, bl
je 0x41c8b2
push 0x5ae278
lea ecx, [esp + 0xc]
call fcn.004d8b09
push 0x5b1e08
lea ecx, [esp + 0xc]
call fcn.004d8b09
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41c8ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d872d
jmp 0x41c9b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41c972
lea edx, [esp + 0x7c]
push 0x5b1e04
push edx
call fcn.004b4e84
add esp, 8
test eax, eax
je 0x41c972
lea eax, [esp + 0x7c]
push 0x5b1e00
push eax
call fcn.004b4e84
add esp, 8
test eax, eax
je 0x41c972
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c902
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004d872d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41dc10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41dc72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc