joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d40d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc4a3
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov eax, dword [ebp - 0x260]
add eax, 0xc
call fcn.00407b4d
movzx eax, al
test eax, eax
jne 0x4d4141
mov eax, dword [ebp - 0x260]
add eax, 8
call fcn.00407b4d
movzx ecx, al
test ecx, ecx
jne 0x4d4141
mov eax, dword [ebp - 0x260]
add eax, 0x10
call fcn.00407b4d
movzx edx, al
test edx, edx
je 0x4d4148
xor eax, eax
jmp 0x4d42e4
mov dword [ebp - 0x230], 0
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
or ecx, 0x20019
push ecx
push 0
mov eax, dword [ebp - 0x260]
add eax, 0xc
call fcn.00408545
push eax
mov edx, dword [ebp - 0x260]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x4d41a7
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4d42e4
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x228], 0x105
mov word [ebp - 0x224], 0
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.00497210
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x260]
add eax, 8
call fcn.00408545
push eax
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x22c], 0
jne 0x4d42e2
cmp dword [ebp - 0x10], 1
jne 0x4d42e2
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.00407fa9
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push ecx
call fcn.004d2f80
add esp, 4
push 0x105
lea esi, [ebp - 0x234]
call fcn.004078e4
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
or eax, 0xffffffff
lea esi, [ebp - 0x234]
call fcn.00409058
mov eax, dword [ebp - 0x260]
add eax, 0x10
call fcn.00408545
push eax
push 0x105
lea esi, [ebp - 0x234]
call fcn.004078e4
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
or eax, 0xffffffff
lea esi, [ebp - 0x234]
call fcn.00409058
lea edx, [ebp - 0x234]
push edx
call fcn.004d15f0
add esp, 4
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.0040853b
mov eax, dword [ebp - 0x238]
jmp 0x4d42e4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret 4
Function at 0x4d4970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00407b4d
movzx eax, al
test eax, eax
je 0x4d498f
xor eax, eax
jmp 0x4d49e2
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00408545
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4d49ae
xor eax, eax
jmp 0x4d49e2
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x4d49ce
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00408545
push eax
call fcn.004d4350
add esp, 4
jmp 0x4d49e2
mov eax, dword [ebp - 8]
add eax, 4
call fcn.00408545
push eax
call fcn.004d2b60
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x4d4a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbd72
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x518334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4ef438
lea eax, [ebp - 0x20]
push eax
call fcn.00407fa9
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x20019
call fcn.0040b16c
cmp eax, 2
jne 0x4d4aac
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x20]
call fcn.00408545
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4d4ad9
cmp dword [ebp - 0x14], 0
jne 0x4d4adb
jmp 0x4d4b35
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
push 0
push str.InstallDate
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4d4b1c
cmp dword [ebp - 0x24], 4
je 0x4d4b1e
jmp 0x4d4b35
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
xor ecx, ecx
jne 0x4d4a96
cmp dword [ebp - 0x14], 0
je 0x4d4b4c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0040853b
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d5430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc519
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x10], 0
mov word [ebp - 0x224], 0
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.00497210
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.0040ab9a
mov dword [ebp - 4], 0
push 1
push 0x23
lea ecx, [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d5553
push 0x104
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d54db
jmp 0x4d55da
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004080a1
lea edx, [ebp - 0x22c]
push edx
mov ecx, 1
lea eax, [ebp - 0x14]
call fcn.00408f63
mov dword [ebp - 0x280], eax
push 0x4ef568
mov eax, dword [ebp - 0x280]
push eax
call fcn.00408a7a
add esp, 8
mov byte [ebp - 0x225], al
lea ecx, [ebp - 0x22c]
call fcn.0040853b
movzx ecx, byte [ebp - 0x225]
test ecx, ecx
je 0x4d5543
push 0x4ef56c
lea edx, [ebp - 0x14]
push edx
call fcn.00408f40
push 0x4ef570
lea eax, [ebp - 0x14]
push eax
call fcn.00408f40
jmp 0x4d55bb
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004080a1
lea eax, [ebp - 0x234]
push eax
mov ecx, 1
lea eax, [ebp - 0x14]
call fcn.00408f63
mov dword [ebp - 0x284], eax
push 0x4ef5a8
mov ecx, dword [ebp - 0x284]
push ecx
call fcn.00408a7a
add esp, 8
mov byte [ebp - 0x22d], al
lea ecx, [ebp - 0x234]
call fcn.0040853b
movzx edx, byte [ebp - 0x22d]
test edx, edx
je 0x4d55bb
push 0x4ef5ac
lea eax, [ebp - 0x14]
push eax
call fcn.00408f40
push 0x4ef5b0
lea ecx, [ebp - 0x14]
push ecx
call fcn.00408f40
lea eax, [ebp - 0x14]
call fcn.00408545
push eax
call fcn.0040892c
add esp, 4
lea eax, [ebp - 0x14]
mov esi, dword [ebp + 8]
call fcn.00407654
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040853b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret
Function at 0x4d59a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xffffffff
push 0
push 0
push 2
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4d59e4
jmp 0x4d5a1f
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d5a14
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0x10]
je 0x4d5a18
jmp 0x4d5a1f
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0xffffffff
je 0x4d5a2f
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d7740
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc6c3
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54c], ecx
mov word [ebp - 0x4cc], 0
push 0x18e
push 0
lea eax, [ebp - 0x4ca]
push eax
call fcn.00497210
add esp, 0xc
push 0x324
push 0
lea ecx, [ebp - 0x33c]
push ecx
call fcn.00497210
add esp, 0xc
lea edx, [ebp - 0x4cc]
push edx
call fcn.004d9690
add esp, 4
test eax, eax
jne 0x4d77c4
mov eax, 1
jmp 0x4d79b1
lea eax, [ebp - 0x33c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 8
push ecx
call fcn.004080a1
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, 0x32
lea edx, [ebp - 0x4f8]
call fcn.00408ffe
mov dword [ebp - 0x550], eax
mov edx, dword [ebp - 0x550]
mov dword [ebp - 0x554], edx
mov dword [ebp - 4], 0
mov edi, dword [ebp + 8]
add edi, 8
mov eax, dword [ebp - 0x554]
call fcn.00407a9f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.0040853b
lea eax, [ebp - 0x1ac]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
call fcn.004080a1
mov eax, dword [ebp + 8]
add eax, 0xc
mov ecx, 0x32
lea edx, [ebp - 0x4fc]
call fcn.00408ffe
mov dword [ebp - 0x558], eax
mov edx, dword [ebp - 0x558]
mov dword [ebp - 0x55c], edx
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
add edi, 0xc
mov eax, dword [ebp - 0x55c]
call fcn.00407a9f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4fc]
call fcn.0040853b
lea eax, [ebp - 0x4cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004080a1
mov ecx, 0x32
lea edx, [ebp - 0x500]
mov eax, dword [ebp + 8]
call fcn.00408ffe
mov dword [ebp - 0x560], eax
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x564], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x564]
mov edi, dword [ebp + 8]
call fcn.00407a9f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x500]
call fcn.0040853b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x56c], eax
mov dword [ebp - 0x568], 0
fild qword [ebp - 0x56c]
fdiv qword [0x4fdc30]
sub esp, 8
fstp qword [esp]
push str._.2f_GHZ
mov eax, dword [ebp + 8]
add eax, 4
call fcn.00408fb3
add esp, 0xc
mov dword [ebp - 0x4f4], 0
xor ecx, ecx
mov dword [ebp - 0x4f0], ecx
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 0x4e0], ecx
mov dword [ebp - 0x4dc], ecx
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4d4], ecx
push 0x4ef6c4
push 0x4ef6d8
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x4d0], eax
cmp dword [ebp - 0x4d0], 0
jne 0x4d7993
lea edx, [ebp - 0x4f4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x4d79a0
lea eax, [ebp - 0x4f4]
push eax
call dword [ebp - 0x4d0]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4e0]
mov dword [ecx + 0x10], edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret 4
Function at 0x4d9820
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbb30
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x518334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.00407fa9
mov dword [ebp - 4], 0
lea eax, [ebp - 0x228]
call fcn.004079e3
cmp eax, 3
jl 0x4d98d4
mov ecx, 3
lea edx, [ebp - 0x66c]
lea eax, [ebp - 0x228]
call fcn.00408ffe
mov dword [ebp - 0x698], eax
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x69c], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x69c]
lea edi, [ebp - 0x228]
call fcn.00407a9f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x66c]
call fcn.0040853b
mov dword [ebp - 0x668], 0x104
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x444], 0x104
mov ecx, dword [ebp - 0x444]
push ecx
lea edx, [ebp - 0x664]
push edx
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x44c]
push edx
mov eax, dword [ebp - 0x668]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea eax, [ebp - 0x228]
call fcn.00408545
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationW]
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4d997c
mov dword [ebp - 0x670], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0040853b
mov eax, dword [ebp - 0x670]
jmp 0x4d99b5
mov edx, dword [ebp - 0x44c]
push edx
push 0x4ee3e4
mov eax, dword [ebp + 8]
call fcn.00408fb3
add esp, 8
mov dword [ebp - 0x674], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.0040853b
mov eax, dword [ebp - 0x674]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049c88a
mov esp, ebp
pop ebp
ret
Function at 0x4dac40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc9d6
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
mov eax, dword [0x518334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.004d2610
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4dac8c
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4dac91
jmp 0x4dad4c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4daca4
jmp 0x4dad4c
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004d25e0
test eax, eax
jne 0x4dacb9
jmp 0x4dad4c
lea eax, [ebp - 0x34]
call fcn.00475739
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004d3900
test eax, eax
jne 0x4dace3
mov byte [ebp - 4], 0
lea esi, [ebp - 0x34]
call fcn.00418278
jmp 0x4dad4c
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00491070
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x38]
push eax
call fcn.004daaa0
add esp, 0x14
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x38]
call fcn.004079e3
push eax
lea eax, [ebp - 0x38]
call fcn.00408545
push eax
push pe_nt_image_headers32
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0049aa24
add esp, 0x10
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x38]
call fcn.0040853b
mov byte [ebp - 4], 0
lea esi, [ebp - 0x34]
call fcn.00418278
xor edx, edx
jne 0x4dac7c
lea ecx, [ebp - 0x20]
call fcn.004d1750
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004d1830
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x416f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
jmp 0x416f9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f90
mov eax, 1
add ebx, ebx
jne 0x416fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416fa8
jne 0x416fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416fa8
xor ecx, ecx
sub eax, 3
jb 0x416fd8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41704a
mov ebp, eax
add ebx, ebx
jne 0x416fe3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416ff0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417014
inc ecx
add ebx, ebx
jne 0x417000
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416ff5
jne 0x417011
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416ff5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417034
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417025
jmp 0x416f96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417034
add edi, ecx
jmp 0x416f96
pop esi
mov edi, esi
mov ecx, 0x36d3
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x41706f
cmp byte [edi], 1
jne 0x417054
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x417052
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x4170c0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1792c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x179e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417075
mov ecx, edi
jns 0x4170a4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x179e4]
or eax, eax
je 0x4170ba
mov dword [ebx], eax
add ebx, 4
jmp 0x417092
call dword [esi + 0x179f4]
mov ebp, dword [esi + 0x179e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4170f4
sub esp, 0xffffff80
jmp 0x40485c

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x2fe96987
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x19b63c32
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
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 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push edi
mov edi, str.http:__youlovesosoplne.net_you.html_search
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x401030
push 1
push eax
push eax
push str.http:__youlovesosoplne.net_you.html_search
push str.OPEN
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
ret 0x10
Function at 0x4021f0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x148
mov eax, dword [0x40e3e0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebp
mov ebp, dword [esp + 0x154]
push esi
push edi
push 0x104
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00404c50
mov eax, dword [esp + 0x164]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
sub eax, 1
je 0x4022b0
sub eax, 1
je 0x40229e
sub eax, 1
jne 0x402300
lea ecx, [esp + 0x4c]
push ecx
push eax
push eax
push 0x23
push eax
call fcn.00403140
add esp, 0x14
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x40226c
mov byte [esp + eax + 0x4c], 0x5c
mov byte [esp + eax + 0x4d], 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402300
mov byte [ebp], 0
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00404c23
add esp, 0x148
ret
lea ecx, [esp + 0x4c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x402254
push 0x104
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x4c]
push edx
call edi
cmp byte [esp + eax + 0x4b], 0x5c
je 0x4022d4
mov byte [esp + eax + 0x4c], 0x5c
inc eax
lea esi, [esp + eax + 0x4c]
push str.Temp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x402280
push 0x40b28c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.240327210136759666405632
call edi
dec eax
cmp eax, 8
jl 0x402284
mov al, byte [eax + str.240327210136759666405632]
cmp al, 0x30
jl 0x402284
cmp al, 0x39
jg 0x402284
movsx esi, al
sub esi, 0x30
and esi, reloc.WS2_32.dll_closesocket
jns 0x40233a
dec esi
or esi, 0xfffffffc
inc esi
push str.240327210136759666405632
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea eax, [eax + str.240327210136759666405632]
nop
mov dl, byte [eax]
test dl, dl
je 0x4023b5
test esi, esi
jle 0x4023b5
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xc], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023aa
test esi, esi
jle 0x4023aa
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xd], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023ad
test esi, esi
jle 0x4023ad
add dl, dl
inc dl
inc eax
mov byte [esp + ecx + 0xe], dl
mov dl, byte [eax]
dec esi
test dl, dl
je 0x4023b2
test esi, esi
jle 0x4023b2
add dl, dl
inc dl
mov byte [esp + ecx + 0xf], dl
add ecx, 4
dec esi
inc eax
cmp ecx, 0x40
jb 0x402350
jmp 0x4023b5
inc ecx
jmp 0x4023b5
add ecx, 2
jmp 0x4023b5
add ecx, 3
mov byte [esp + ecx + 0xc], 0x2e
push 0x40b288
lea ecx, [esp + ecx + 0x11]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x4c]
push edx
call edi
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x54]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + eax + 0x54]
push ecx
call esi
push 0x103
lea edx, [esp + 0x50]
push edx
push ebp
call esi
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.00404c23
add esp, 0x148
ret