joyce8/EMBER2024-capa huggingface dataset:
Function at 0x539973
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [0x57cba8], eax
push 0
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [0x57cbb0], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [0x57cbb4], eax
mov eax, 0x11c
xchg edx, eax
mov eax, dword [0x57cbc4]
mov dword [eax], edx
push dword [0x57cbc4]
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
cmp eax, 5
jne 0x5399e1
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 8]
cmp eax, 1
jge 0x5399e1
jmp 0x5399e5
xor eax, eax
jmp 0x5399e8
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x5399f6
call fcn.0053972c
call fcn.0053a571
mov dword [0x57cd04], eax
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
cmp eax, 0xa
setge al
xor ah, ah
cwde
mov dword [0x57ccf8], eax
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
cmp eax, 0xa
jge 0x539a65
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
cmp eax, 6
jl 0x539a53
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 8]
cmp eax, 2
jl 0x539a53
jmp 0x539a57
xor eax, eax
jmp 0x539a5a
xor eax, eax
inc eax
cmp eax, 0
jne 0x539a65
xor eax, eax
jmp 0x539a68
xor eax, eax
inc eax
mov dword [0x57ccfc], eax
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
cmp eax, 6
setl al
xor ah, ah
cwde
mov dword [0x57cd00], eax
push 0x18
push dword [0x57b9ac]
call fcn.0044f463
mov dword [ebp - 0xc], eax
mov eax, 3
shl eax, 0x13
mov edx, eax
mov eax, 0x27
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 8]
shl eax, 8
xchg edx, eax
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 4]
or eax, edx
and eax, 0xffff
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
call fcn.00539779
mov eax, dword [0x57cd00]
xor al, 1
cmp eax, 0
je 0x539af4
call fcn.00522322
push 0
call fcn.005394fc
push dword [0x57cbb4]
call fcn.00524d42
push 0x19
push dword [0x57b9ac]
call fcn.0044f463
mov dword [ebp - 0x10], eax
mov eax, 0xb
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [0x57cbc4]
mov eax, dword [eax + 0xc]
cmp eax, 0x55f0
setge al
xor ah, ah
cwde
mov dword [0x57ccf4], eax
push 0x1a
push dword [0x57b9ac]
call fcn.0044f463
mov dword [ebp - 0x10], eax
mov eax, 0xb
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [0x57cbc4]
mov al, byte [eax + 0x11a]
and eax, 0xff
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
call fcn.00539862
mov eax, dword [0x57ccf8]
cmp eax, 0
je 0x539bce
push 0x57f904
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x539bce
push 0x84
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x57cd54], eax
call fcn.00539bda
mov dword [0x57cd50], eax
push 0x539959
call fcn.004a0534
leave
ret
Function at 0x53a1b6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53a1df
push 0
push dword [ebp + 0xc]
push 0xe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53a1f5
push 0
push dword [ebp + 0xc]
push 0x149
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
jl 0x53a2dc
push 3
push dword [ebp + 8]
call fcn.00538553
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53a231
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0044731d
mov eax, dword [ebp - 0xc]
cmp eax, 0
jne 0x53a248
push dword [ebp - 0x10]
call fcn.0044579b
jmp 0x53a2dc
mov eax, dword [ebp - 0xc]
inc eax
shl eax, 2
push eax
push dword [ebp - 0x10]
call fcn.00432edf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53a27d
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53a294
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push 0x148
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
call fcn.00432618
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.00525128
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x20
jne 0x53a2d5
push dword [0x57c440]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.00438f3d
push 1
call fcn.0048a839
leave
ret 8

Function at 0x53aa59
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [0x57cbc0]
cmp eax, 0
je 0x53aa75
call dword [sym.imp.USER32.DLL_ReleaseCapture]
call fcn.00537dbd
push 0xa
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_UpdateWindow]
mov eax, dword [0x57ccfc]
xor al, 1
cmp eax, 0
je 0x53aaac
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052bdd9
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push dword [ebp + 8]
call fcn.0053a012
leave
ret 4
Function at 0x53c996
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57c14c]
cmp eax, edx
jne 0x53c9d3
mov eax, dword [0x57ccf0]
sub eax, 0xc
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 2
and eax, edx
cmp eax, 0
je 0x53c9d3
jmp 0x53c9d7
xor eax, eax
jmp 0x53c9da
xor eax, eax
inc eax
cmp eax, 0
je 0x53c9fe
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x53c9f8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053906d
jmp 0x53c9fe
call dword [sym.imp.USER32.DLL_DestroyCaret]
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x53ca23
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57c14c]
cmp eax, edx
jne 0x53ca1c
mov eax, 8
jmp 0x53ca21
mov eax, 5
jmp 0x53ca28
mov eax, 0
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x57ccfc]
xor al, 1
cmp eax, 0
je 0x53ca55
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052bdd9
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57c178]
cmp eax, edx
jne 0x53ca85
mov eax, dword [0x57ccf0]
sub eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x57c168]
cmp eax, edx
jne 0x53ca9c
push 9
push dword [ebp + 8]
call fcn.0052df02
leave
ret 0x10
Function at 0x401af0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b9b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401b27
jmp 0x401b9b
cmp dword [0x4380c0], 0
jne 0x401b45
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401b45
xor eax, eax
jmp 0x401b9b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x64b60
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401b0d
mov esp, ebp
pop ebp
ret

Function at 0x40992c
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40992e
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x5a3b276e
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x1b644357
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401548
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x401575
push 6
call fcn.0040216c
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
mov eax, 0
sete al
jmp 0x401589
mov esp, ebp
pop ebp
ret 4

Function at 0x401616
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
jne 0x401631
call fcn.004016a1
mov dword [ebp + 8], eax
mov dword [ebp - 4], esp
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x40165d
push 6
call fcn.0040216c
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x401687
push 6
call fcn.0040216c
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
mov eax, 0
sete al
jmp 0x40169b
mov esp, ebp
pop ebp
ret 8

Function at 0x402420
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x402489
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00402300
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x402ba0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x402c32
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x402c24
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x402c1c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x402be5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x402c40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x402c81.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x402c81.2
jmp dword [eax*4 + 0x402d0c]
mov word [esp + 0x48], di
jmp 0x402cba
mov word [esp + 0x48], 2
jmp 0x402cba
mov word [esp + 0x48], 3
jmp 0x402cba
mov word [esp + 0x48], 4
jmp 0x402cba
mov word [esp + 0x48], 7
jmp 0x402cba
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x402d04
cmp dword [esp + 0x70], edi
je 0x402cf0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x482935
Capabilities:
Parse pe header

Disassembly:
pushal
xor edx, edx
mov esi, dword fs:[edx]
lodsd eax, dword [esi]
cmp eax, 0xffffffff
je 0x482945
mov esi, eax
jmp 0x48293b
mov edi, dword [esi + 4]
and edi, 0xffff0000
cmp word [edi], 0x5a4d
je 0x48295d
sub edi, 0x10000
jmp 0x48294e
mov ebx, edi
add ebx, dword [ebx + 0x3c]
cmp word [ebx], 0x4550
je 0x48296b
jmp 0x48294e
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x482971
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
pushal
mov ebx, dword [esp + 0x24]
mov ecx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
add ebx, ecx
mov edi, dword [ebx + 0x20]
add edi, ecx
xor esi, esi
lea edx, [edi + esi*4]
mov edx, dword [edx]
add edx, ecx
xor eax, eax
rol eax, 7
xor al, byte [edx]
inc edx
cmp byte [edx], 0
jne 0x482990
cmp eax, dword [esp + 0x28]
je 0x4829a7
inc esi
cmp esi, dword [ebx + 0x18]
jb 0x482987
mov edx, dword [ebx + 0x24]
add edx, ecx
movzx edx, word [edx + esi*2]
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov eax, dword [eax + edx*4]
add eax, ecx
mov dword [esp + 0x1c], eax
popal
ret 8
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40b48a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40b499
pop dword [ebp - 0x20]
mov eax, 0xda6960ce
add eax, 0x25d753cb
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x6ff91cde
sub dword [ebp - 0x30], 0x21a6d793
mov dword [ebp - 0x2c], 0x6c9ba56
sub dword [ebp - 0x2c], 0xd4966e11
mov dword [ebp - 0x28], 0x466d1967
sub dword [ebp - 0x28], 0xfa20d539
mov dword [ebp - 0x24], 0x6ce927e0
sub dword [ebp - 0x24], 0x6ce927e0
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x2240f96
add dword [ebp - 0x30], 0x724e59c0
mov dword [ebp - 0x2c], 0x289857c6
add dword [ebp - 0x2c], 0x18d409af
mov dword [ebp - 0x28], 0x6c1a0d39
sub dword [ebp - 0x28], 0x8aaa0cd
mov dword [ebp - 0x24], 0x4e9bf242
add dword [ebp - 0x24], 0xb1640dbe
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x28611ab5
add eax, 0xd7dfb593
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x376d2
push 0
call eax
mov ecx, 0x452da36a
add ecx, 0xbad29c7c
mov ebx, eax
mov esi, 0x778f9360
sub esi, 0x774de360
add esi, dword [ebp - 0x20]
mov edi, 0x9e9dde08
sub edi, 0xa397b818
xor dword [ebp - 0x18], edx
mov edx, dword [esi]
xor dword [ebp - 0x1c], 0xfd70020b
add edx, edi
sub dword [ebp - 4], 0xf6d50eae
mov dword [ebx], edx
add dword [ebp - 0x10], ecx
add ebx, 4
add esi, 0x16fc81f1
add esi, 0xe9037e13
loop 0x40b5b6
add eax, 0xc8db8e9b
sub eax, 0xc8da9c30
mov ebx, eax
add eax, 5
mov ecx, 0x14376dce
add ecx, 0xec089232
invalid
invalid
loopne 0x40b60f
invalid
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xfc1100
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0xfc5042], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push 0xfc5228
push 0xfc5290
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xfc114b
xor eax, eax
jmp 0xfc1166
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0xbc6058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xbc61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbc607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc606a
add dl, dl
jne 0xbc6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc60dc
xor eax, eax
add dl, dl
jne 0xbc6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc617d
add dl, dl
jne 0xbc60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbc60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbc6075
mov eax, 1
add dl, dl
jne 0xbc60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc60e1
sub eax, ebx
mov ebx, 1
jne 0xbc6128
mov ecx, 1
add dl, dl
jne 0xbc610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbc613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6136
cmp eax, 0x7d00
jae 0xbc616d
cmp eax, 0x500
jb 0xbc6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
cmp eax, 0x7f
ja 0xbc6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbc619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbc6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x6620f506
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ecx + 0x458df845]
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.6620f160
push eax
push esi
push dword [ebp + 8]
call fcn.6620f115
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.6620f160
push eax
push esi
push dword [ebp + 8]
call fcn.6620f115
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.6620f150
mov esi, 0x88e4ce7d
popfd
jl 0x6620f5d5
invalid
invalid

Function at 0x662111c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.6620f160
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.6620f115
add esp, 0xc
mov dword [ebp - 0x37c], eax

Function at 0x662112f7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
fdivp st(7)
push dword [ecx + 0x4c]
pop ds
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
inc eax
or al, 0x8b
jo 0x66211327
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401443
pop dword [ebp - 0x44]
mov eax, 0x8c119107
sub eax, 0x8bd17cc4
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xf539f03c
sub dword [ebp - 0x54], 0xa6e7aaf1
mov dword [ebp - 0x50], 0x129be73f
add dword [ebp - 0x50], 0x1f976506
mov dword [ebp - 0x4c], 0x7970b56f
add dword [ebp - 0x4c], 0xd2db8ebf
mov dword [ebp - 0x48], 0x9bd7b255
add dword [ebp - 0x48], 0x64284dab
lea eax, [ebp - 0x54]
push eax
mov eax, 0x7b8b2e19
add eax, 0x84b5432b
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xf156f065
add dword [ebp - 0x54], 0x831b78f1
mov dword [ebp - 0x50], 0x54498fb6
add dword [ebp - 0x50], 0xed22d1bf
mov dword [ebp - 0x4c], 0x979fe8b8
add dword [ebp - 0x4c], 0xcbcf83b4
mov dword [ebp - 0x48], 0x9f330e17
sub dword [ebp - 0x48], 0x9f330e17
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x4a1813b3
add eax, 0xb6285d5d
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b905
push 0
call eax
mov ecx, 0x55e0
mov esi, eax
mov edx, 0x1f3acd5e
add edx, 0xe10892a2
add edx, dword [ebp - 0x44]
mov ebx, 0xf44289e8
add ebx, 0xbfedf108
add dword [ebp - 0x24], 0x3a191dd4
mov edi, dword [edx]
xor edi, ebx
xor dword [ebp - 0x2c], esi
mov dword [esi], edi
xor dword [ebp - 0x40], edx
add esi, 4
add edx, 0xc8b7ed2d
add edx, 0x374812d7
loop 0x40155f
add eax, 0x14a53
mov ebx, eax
add eax, 0x86d15aad
sub eax, 0x86d15aa8
mov ecx, 0xc4da653b
sub ecx, 0xc49a653b
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x402a69
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x424010]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402afd
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402aba
cmp dword [ebp + 0x10], ebx
jne 0x402af1
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402acc
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402aa1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
call fcn.004060b1
cmp eax, ebx
je 0x402b04
push ebx
push dword [0x424010]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402afd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x424010], ebx
jne 0x402afa
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402afa
jmp 0x402afd