joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x144
mov ecx, 0x41
xor eax, eax
push ebp
push esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x154]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
je 0x4023bf
dec eax
je 0x402371
dec eax
jne 0x402421
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x23
push 0
call fcn.004038d0
add esp, 0x14
lea ecx, [esp + 0xc]
push ecx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402347
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov eax, dword [esp + 0x158]
mov byte [eax], 0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x144
ret
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xc]
push edx
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x402399
mov byte [esp + eax + 0xc], 0x5c
mov byte [esp + eax + 0xd], 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402421
mov ecx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [ecx], 0
pop ebp
add esp, 0x144
ret
lea edx, [esp + 0xc]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc]
push eax
call edi
cmp byte [esp + eax + 0xb], 0x5c
je 0x4023e3
mov byte [esp + eax + 0xc], 0x5c
inc eax
lea esi, [esp + eax + 0xc]
push str.Temp
push esi
call ebp
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402415
mov edx, dword [esp + 0x158]
pop edi
pop esi
xor eax, eax
mov byte [edx], 0
pop ebp
add esp, 0x144
ret
push 0x409368
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.240127190428354305849276
call edi
dec eax
cmp eax, 8
jl 0x402365
mov al, byte [eax + str.240127190428354305849276]
cmp al, 0x30
jl 0x402365
cmp al, 0x39
jg 0x402365
movsx esi, al
sub esi, 0x30
and esi, 0x80000003
jns 0x40245b
dec esi
or esi, 0xfffffffc
inc esi
push str.240127190428354305849276
add esi, 4
call edi
sub eax, esi
dec eax
xor ecx, ecx
lea edx, [eax + str.240127190428354305849276]
mov al, byte [edx]
test al, al
je 0x40248d
test esi, esi
jle 0x40248d
add al, al
inc al
dec esi
mov byte [esp + ecx + 0x110], al
inc edx
inc ecx
cmp ecx, 0x40
jb 0x402470
lea eax, [esp + ecx + 0x111]
push 0x409364
push eax
mov byte [esp + ecx + 0x118], 0x2e
call ebp
lea ecx, [esp + 0xc]
push ecx
call edi
mov edx, 0x104
lea ecx, [esp + 0xc]
sub edx, eax
lea eax, [esp + 0x110]
push edx
push eax
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [esp + eax + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x158]
lea eax, [esp + 0xc]
push 0x103
push eax
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x144
ret
Function at 0x402530
Capabilities:
Rebuild import table

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x88
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x40b9a4], eax
je 0x402785
mov ecx, 0x22
xor eax, eax
lea edi, [esp + 0x10]
push 0x30
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push str.240127190428354305849276
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [0x40b9a4]
mov edx, dword [0x40ba14]
mov eax, dword [0x40ba18]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Load
push ecx
mov dword [esp + 0x48], 0x40ba1c
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], fcn.00404530
mov dword [esp + 0x58], fcn.00404740
mov dword [esp + 0x5c], fcn.00404840
mov dword [esp + 0x60], fcn.00404870
mov dword [esp + 0x64], fcn.00403f00
mov dword [esp + 0x68], fcn.00403ff0
mov dword [esp + 0x6c], fcn.00404070
mov dword [esp + 0x70], fcn.00404080
mov dword [esp + 0x74], fcn.004040a0
mov dword [esp + 0x78], fcn.00404200
mov dword [esp + 0x7c], fcn.00404260
mov dword [esp + 0x80], fcn.004042f0
mov dword [esp + 0x84], 0x404390
mov dword [esp + 0x88], 0x4043f0
mov dword [esp + 0x8c], fcn.00404420
mov dword [esp + 0x90], fcn.00404490
mov dword [esp + 0x94], fcn.00401280
mov dword [esp + 0x98], fcn.004021c0
mov dword [esp + 0x9c], fcn.00402fc0
call esi
mov edx, dword [0x40b9a4]
push 0x409384
push edx
mov ebp, eax
call esi
mov edi, eax
mov eax, dword [0x40b9a4]
push str.Stop
push eax
call esi
mov ecx, dword [0x40b9a4]
push str.Unload
push ecx
mov ebx, eax
call esi
mov esi, eax
mov al, byte [0x409080]
cmp al, 0xb9
jne 0x40269e
push 0x50
push 0x409080
push 0x409080
call fcn.00403ae0
add esp, 0xc
test ebp, ebp
jne 0x4026b9
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x409080
jmp 0x402759
test edi, edi
jne 0x4026d4
mov edx, dword [esp + 0xa4]
push edx
push 0x409384
push 0x409080
jmp 0x402759
test ebx, ebx
jne 0x4026ec
mov edx, dword [esp + 0xa4]
push edx
push str.Stop
push 0x409080
jmp 0x402759
test esi, esi
jne 0x402704
mov edx, dword [esp + 0xa4]
push edx
push str.Unload
push 0x409080
jmp 0x402759
lea edx, [esp + 0x10]
push edx
push 0x88
call ebp
test eax, eax
je 0x40272a
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
push eax
push ecx
call edi
call esi
jmp 0x40276e
cmp byte [0x4090d0], 0xb9
jne 0x402747
push 0x6c
push 0x4090d0
push 0x4090d0
call fcn.00403ae0
add esp, 0xc
mov edx, dword [esp + 0xa4]
push edx
push str.Load
push 0x4090d0
mov eax, dword [esp + 0xa8]
push 0x83
push eax
call fcn.00404840
add esp, 0x14
mov ecx, dword [0x40b9a4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x40b9a4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov edx, eax
cmp dword [ebp + 0xc], eax
jbe 0x401026
push esi
mov esi, dword [ebp + 8]
movzx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x401010
pop esi
pop ebp
ret

Function at 0x4018ec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push str.Filling_hash_with__d_entries._n
call fcn.00402734
xor edi, edi
mov dword [ebp - 4], edi
pop ecx
pop ecx
test esi, esi
je 0x40196b
push ebx
mov ebx, section..data
push dword [ebx]
push str.__Putting_entry___s_...
call fcn.00402734
pop ecx
pop ecx
push dword [ebx]
mov ecx, dword [ebp + 8]
call fcn.00402ed6
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4019f6
push str.OK...
call fcn.00402734
mov eax, dword [ebp + 0xc]
pop ecx
cmp dword [eax + 4], edi
jne 0x4019e3
push 0x40527c
call fcn.00402734
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [eax + 4], ebx
add ebx, 8
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, esi
jb 0x401911
pop ebx
push str.Testing_Get:_n
call fcn.00402734
pop ecx
test esi, esi
je 0x4019b7
push dword [edi*8 + section..data]
push str.__Getting_entry___s_...
call fcn.00402734
pop ecx
pop ecx
push dword [edi*8 + section..data]
mov ecx, dword [ebp + 8]
call fcn.004033d0
test eax, eax
je 0x401a05
mov eax, dword [eax + 4]
push dword [eax + 4]
push str.Found__u_n
call fcn.00402734
inc edi
pop ecx
pop ecx
cmp edi, esi
jb 0x40197a
push str.Testing_nonexistent_entries...
call fcn.00402734
mov ecx, dword [ebp + 8]
mov dword [esp], str.xxxy
call fcn.004033d0
test eax, eax
je 0x401a14
push str.FOUND__BAD__n
call fcn.00402734
pop ecx
push 5
jmp 0x4019f0
push str.entry_already_exists__n
call fcn.00402734
pop ecx
push 3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.FAILED_n
call fcn.00402734
pop ecx
push 2
jmp 0x4019f0
push str.FAILED_n
call fcn.00402734
pop ecx
push 4
jmp 0x4019f0
push str.not_found__good._n
call fcn.00402734
mov dword [esp], str.Enumerating:_n
call fcn.00402734
push dword [ebp + 8]
call fcn.00401794
pop ecx
pop ecx
pop edi
cmp eax, esi
pop esi
je 0x401a49
push str.__Bad_count__n
call fcn.00402734
pop ecx
push 6
jmp 0x4019f0
mov esp, ebp
pop ebp
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4e4553b7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7a7a1eea
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x5550b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x641030]
jne 0x5550ba
repz ret
jmp fcn.0055d8c7

Function at 0x56948d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0055da47
and dword [ebp - 4], 0
cmp dword [0x6469e4], 0
mov ebx, eax
jne 0x56953e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5695ef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x6130e8
push edi
call esi
test eax, eax
je 0x5695ef
push eax
call fcn.0055d9d5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6469e4], eax
call esi
push eax
call fcn.0055d9d5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6469e8], eax
call esi
push eax
call fcn.0055d9d5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6469ec], eax
call esi
push eax
call fcn.0055d9d5
pop ecx
mov dword [0x6469f4], eax
test eax, eax
je 0x56953e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0055d9d5
pop ecx
mov dword [0x6469f0], eax
mov eax, dword [0x6469f0]
cmp eax, ebx
je 0x569596
cmp dword [0x6469f4], ebx
je 0x569596
push eax
call fcn.0055da50
push dword [0x6469f4]
mov esi, eax
call fcn.0055da50
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x569596
test edi, edi
je 0x569596
call esi
test eax, eax
je 0x56958d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x56958d
test byte [ebp - 0xc], 1
jne 0x569596
or dword [ebp + 0x10], 0x200000
jmp 0x5695cf
mov eax, dword [0x6469e8]
cmp eax, ebx
je 0x5695cf
push eax
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695cf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5695cf
mov eax, dword [0x6469ec]
cmp eax, ebx
je 0x5695cf
push eax
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695cf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6469e4]
call fcn.0055da50
pop ecx
test eax, eax
je 0x5695ef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5695f1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3f5b2333
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x60286740
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x419824
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00419398
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x419882
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c684]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41988c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404c4c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4198e4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41c774]
mov dl, 1
mov eax, dword [0x419290]
call fcn.0040971c
call fcn.0040420c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004193c8
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41a320
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c4c
push eax
mov eax, dword [ebp - 4]
call fcn.00404c4c
push eax
call sub.KERNEL32.DLL_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x41a358
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a3c8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.004082f4
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
mov ecx, 0x41a3dc
call fcn.00404ab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3cf
lea eax, [ebp - 0x108]
call fcn.004047ac
ret
Function at 0x414b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x414b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b80
mov eax, 1
add ebx, ebx
jne 0x414ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b98
jne 0x414bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b98
xor ecx, ecx
sub eax, 3
jb 0x414bc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c3a
mov ebp, eax
add ebx, ebx
jne 0x414bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414c04
inc ecx
add ebx, ebx
jne 0x414bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414be5
jne 0x414c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414be5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414c15
jmp 0x414b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414c24
add edi, ecx
jmp 0x414b86
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c42
cmp byte [edi], 5
jne 0x414c42
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 0x414c47
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19be8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414c74
mov ecx, edi
jns 0x414ca3
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 + 0x19c2c]
or eax, eax
je 0x414cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x414c91
call dword [esi + 0x19c28]
mov ebp, dword [esi + 0x19c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414cf3
sub esp, 0xffffff80
jmp 0x401150

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

Disassembly:
pushal
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x79d90c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d912
pop ebp
sub ebp, 6
sub ebp, 0x39d90c
jmp 0x79d970
jmp 0x79d979
mov eax, 0x39d90c
add eax, ebp
add eax, 0x93
mov ecx, 0x61f
mov edx, 0xb92967ef
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d990
jmp 0x79d9a3
test dword [edi - 0x10001079], ebp
out dx, eax
xchg edi, ebp
and eax, ebx
out dx, eax
fsubr qword [edi]
mov edi, 0x4f2b7a10
fucompi st(7)
mov edi, 0x66642264
shr edi, cl
out dx, eax
out dx, eax
outsb dx, byte [esi]
pop ss
out dx, eax
out dx, eax
out dx, eax
in al, dx
and dl, byte [edi - 0x15]
out dx, eax
out dx, eax
out dx, eax
push ebp
invalid