joyce8/EMBER2024-capa huggingface dataset:
Function at 0x513c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00513240
cmp dword [ebp - 8], 0
je 0x513c33
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x513c33
mov esi, 1
jmp 0x513c35
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x513c46
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x513c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x24]
call fcn.00513240
cmp dword [ebp - 8], 0
je 0x513c8a
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x513c8a
mov esi, 1
jmp 0x513c8c
xor esi, esi
cmp dword [ebp - 4], 8
jb 0x513c9d
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
test esi, esi
jne 0x513d02
lea eax, [ebp - 0x18]
mov dword [edi + 4], 3
push eax
lea ecx, [edi + 0x24]
call fcn.00513240
mov ebx, eax
lea esi, [edi + 8]
cmp esi, ebx
je 0x513ce8
cmp dword [esi + 0x14], 8
jb 0x513ccd
push dword [esi]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00440913
cmp dword [ebp - 4], 8
jb 0x513cf9
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ebx, [esi + 0xa]
jmp 0x513d10
mov eax, dword [edi + 0x8c]
sub eax, 0
je 0x513d5f
dec eax
je 0x513d39
dec eax
jne 0x513d89
sub esp, 0x18
lea ecx, [edi + 0x24]
push esp
call fcn.00513240
mov ecx, 0x5cf238
call fcn.004b6550
jmp 0x513d83
push 1
sub esp, 0x18
lea ecx, [edi + 0x58]
push esp
call fcn.00513240
sub esp, 0x18
lea ecx, [edi + 0x24]
push esp
call fcn.00513240
mov ecx, 0x5cf238
call fcn.004b6170
jmp 0x513d83
push 1
sub esp, 0x18
lea ecx, [edi + 0x58]
push esp
call fcn.00513240
sub esp, 0x18
lea ecx, [edi + 0x24]
push esp
call fcn.00513240
mov ecx, 0x5cf238
call fcn.004b6360
mov esi, eax
test esi, esi
jne 0x513dfc
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
dec ebx
test eax, eax
jg 0x513d10
mov ecx, 0x5cf238
call fcn.004b6b20
mov dword [edi + 4], eax
mov ecx, 0x5cf238
lea eax, [ebp - 0x18]
push eax
call fcn.004b6b30
mov ebx, eax
add edi, 8
cmp edi, ebx
je 0x513deb
cmp dword [edi + 0x14], 8
jb 0x513dd0
push dword [edi]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push ebx
mov word [edi], ax
call fcn.00440913
cmp dword [ebp - 4], 8
jb 0x513dfc
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x514380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
push 0
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004bd660
mov ecx, eax
call fcn.004be120
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5143b9
xor esi, esi
jmp 0x514416
push 1
lea eax, [esi + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004bd660
mov ecx, eax
call fcn.004be120
cmp dword [ebp - 4], 8
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x30]
cmovae ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], 8
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00450b1d
add esp, 8
mov esi, eax
cmp dword [ebp - 4], 8
jb 0x514402
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [ebp - 0x1c], 8
jb 0x514427
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5145c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
je 0x514664
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x5145e5
mov eax, dword [esi]
jmp 0x5145e7
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x514664
cmp dword [esi + 0x14], 8
jb 0x5145fc
mov eax, dword [esi]
jmp 0x5145fe
mov eax, esi
push eax
call fcn.00453893
add esp, 4
test eax, eax
je 0x514664
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00538910
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x514631
mov esi, dword [esi]
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.00454825
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x514649
mov edi, dword [edi]
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.005394fe
add esp, 8
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x516cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x60
push 0
push esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x40c], 0
call ebx
mov edi, eax
test edi, edi
jne 0x516cfe
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x516cfe
call fcn.00515b40
mov esi, eax
jmp 0x516dae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x516d1b
call fcn.00515b40
jmp 0x516da1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x516d30
call fcn.00515b40
jmp 0x516da1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x516d48
mov esi, 0x8007000e
jmp 0x516da3
push eax
lea ecx, [ebp - 0x40c]
call fcn.00515860
cmp dword [ebp - 0x40c], 0
jne 0x516d64
mov esi, 0x8007000e
jmp 0x516da3
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x516d84
call fcn.00515b40
jmp 0x516da1
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.00516b60
mov esi, eax
test edi, edi
je 0x516dae
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x516dc7
lea ecx, [ebp - 0x40c]
call fcn.00515fb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x517880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x517899
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5178a5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x5178a0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x519060
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi]
cmp esi, edi
je 0x51914f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x28]
mov dword [ebp - 0x14], 0
test ecx, ecx
jne 0x5190a5
mov dword [ebp - 0x14], ecx
jmp 0x5190b8
cmp ecx, eax
mov eax, dword [ecx]
jne 0x5190b1
lea edx, [ebp - 0x24]
push edx
jmp 0x5190b3
push 0
call dword [eax]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x519102
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0x34]
push ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0xc]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x519102
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [esi + 0xd], 0
jne 0x519147
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x51912c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x519147
jmp 0x519120
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x519120
jmp 0x519147
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x519145
cmp esi, dword [eax + 8]
jne 0x519145
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x519135
mov esi, eax
cmp esi, edi
jne 0x519077
mov eax, dword [ebx]
mov ecx, ebx
push eax
push dword [eax]
lea eax, [ebp - 0xc]
push eax
call fcn.00519df0
push dword [ebx]
call fcn.00412895
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x51a620
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x51a645
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x30], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x44], 0
test eax, eax
je 0x51a676
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x3c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x51a681
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 2
push 0
push dword [esi + 0x3c]
mov dword [esi + 0x38], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
cmp esi, eax
je 0x51a6e4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040759d
mov ecx, esi
call fcn.0051a410
mov dword [esi + 0x34], eax
test eax, eax
je 0x51a720
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x34], eax
lea eax, [ebp + 8]
push eax
mov dword [esi + 0x44], ecx
push ecx
mov ecx, esi
mov dword [ebp + 8], 0
call fcn.0051a560
test eax, eax
je 0x51a720
push dword [ebp + 8]
lea ecx, [esi + 0x18]
push eax
call fcn.0040eb6a
pop esi
pop ebp
ret 8
Function at 0x566a60
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5c8910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0054258c
mov dword [ebp - 0x14], eax
cmp dword [0x5d053c], esi
jne 0x566b53
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x566ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x566c33
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x566c33
push 0x591ec8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x566c33
push eax
call ebx
push 0x591ed4
push edi
mov dword [0x5d053c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5d0540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5d0544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d054c], eax
test eax, eax
je 0x566b50
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5d0548], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x566b78
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x566b6b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x566b8d
push 4
pop eax
jmp 0x566c35
cmp dword [ebp - 0x14], esi
je 0x566b8d
push dword [0x5d053c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x566b72
mov eax, dword [0x5d0548]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x566beb
cmp dword [0x5d054c], edi
je 0x566beb
push eax
call ebx
push dword [0x5d054c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x566beb
test eax, eax
je 0x566beb
call ecx
test eax, eax
je 0x566be0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x566be0
test byte [ebp - 8], 1
jne 0x566beb
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x566c1b
mov eax, dword [0x5d0540]
cmp eax, edi
je 0x566c18
push eax
call ebx
test eax, eax
je 0x566c18
call eax
mov esi, eax
test esi, esi
je 0x566c18
mov eax, dword [0x5d0544]
cmp eax, edi
je 0x566c18
push eax
call ebx
test eax, eax
je 0x566c18
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5d053c]
call ebx
test eax, eax
je 0x566c33
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x566c35
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret
Function at 0x5727b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x115000]
push edi
jmp 0x5727ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5727d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5727c0
mov eax, 1
add ebx, ebx
jne 0x5727e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5727f4
jne 0x572813
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x572813
dec eax
add ebx, ebx
jne 0x572800
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5727d8
add ebx, ebx
jne 0x57280f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x572865
xor ecx, ecx
sub eax, 3
jb 0x57282b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57289a
sar eax, 1
mov ebp, eax
jmp 0x572836
add ebx, ebx
jne 0x572836
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x572804
inc ecx
add ebx, ebx
jne 0x572844
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x572804
add ebx, ebx
jne 0x572851
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x572846
jne 0x572862
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x572846
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x572884
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x572876
jmp 0x5727c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x572884
add edi, ecx
jmp 0x5727c6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5728a2
cmp byte [edi], 0x11
jne 0x5728a2
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 al, bl
loop 0x5728a7
lea edi, [esi + 0x16b000]
mov eax, dword [edi]
or eax, eax
je 0x57291f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ff10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ff288]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5728d4
mov ecx, edi
jns 0x572903
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 + 0x1ff28c]
or eax, eax
je 0x572919
mov dword [ebx], eax
add ebx, 4
jmp 0x5728f1
call dword [esi + 0x1ff29c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x572950
cmp al, 0xef
ja 0x572943
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x572925
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x572932
mov ebp, dword [esi + 0x1ff290]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x572984
sub esp, 0xffffff80
jmp 0x420577
Function at 0x5b5d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13c000]
push edi
or ebp, 0xffffffff
jmp 0x5b5db2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b5db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b5da8
mov eax, 1
add ebx, ebx
jne 0x5b5dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b5ddc
jne 0x5b5dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b5dfb
dec eax
add ebx, ebx
jne 0x5b5de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5b5dc0
add ebx, ebx
jne 0x5b5df7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5b5e4d
xor ecx, ecx
sub eax, 3
jb 0x5b5e13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b5e82
sar eax, 1
mov ebp, eax
jmp 0x5b5e1e
add ebx, ebx
jne 0x5b5e1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b5dec
inc ecx
add ebx, ebx
jne 0x5b5e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b5dec
add ebx, ebx
jne 0x5b5e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b5e2e
jne 0x5b5e4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b5e2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b5e6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b5e5e
jmp 0x5b5dae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b5e6c
add edi, ecx
jmp 0x5b5dae
pop esi
mov edi, esi
mov ecx, 0x7907
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b5e8a
cmp byte [edi], 0x1c
jne 0x5b5e8a
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 al, bl
loop 0x5b5e8f
lea edi, [esi + 0x1b2000]
mov eax, dword [edi]
or eax, eax
je 0x5b5efe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b6924]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b6a20]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b5ebc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b6a28]
or eax, eax
je 0x5b5ef8
mov dword [ebx], eax
add ebx, 4
jmp 0x5b5ed9
call dword [esi + 0x1b6a24]
mov ebp, dword [esi + 0x1b6a2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x5b5f32
sub esp, 0xffffff80
jmp 0x517788
Function at 0x404253
Capabilities:
Encrypt data using chaskey

Disassembly:
add byte [eax], al
inc ecx
rol edx, 0x1b
call fcn.004050ba
xor eax, esp
add eax, edi
dec ebx
sub ecx, 0x93b29c64
pushfd
mov dl, 0x93
inc eax
add ebx, 0x31a37a3c
neg eax
ror ebx, 0x15
mov edi, 0x22fd922b
invalid
invalid
invalid

Function at 0x4057f1
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405842
xor eax, eax
jmp 0x405869
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405869
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x40583e
call esi
pop esi
leave
ret 4

Function at 0x4058a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x468250], 0x44
push eax
xor eax, eax
push 0x468250
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4058e2
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4058e6
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405984
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d8b
mov edi, eax
cmp edi, 0xffffffff
je 0x4059c5
test byte [esp + 0x10], 1
push esi
je 0x4059a7
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4059ad
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4059b6
xor eax, eax
inc eax
jmp 0x4059c7
test byte [esp + 0x10], 4
jne 0x4059c5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1d5864df
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x69b80e4f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219