joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462d88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x462db9
dec al
je 0x462df5
dec al
je 0x462e39
dec al
je 0x462ea4
jmp 0x462f2e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x462f2e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x462dc9
jmp 0x462f2e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x462f2e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x462e05
jmp 0x462f2e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x462f2e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x462e67
xor ebp, ebp
jmp 0x462e78
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x462e81
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x462e49
jmp 0x462f2e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x462f2e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x462efc
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0046081c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x462eb8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46c118
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x46c12d
add esp, 0xfffffff0
call fcn.004035ec
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004044e8
xor eax, eax
push ebp
push 0x46c208
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004672f4
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00416a2c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00416a2c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00416a2c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.00416a2c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00416a54
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c20f
lea eax, [ebp - 4]
call fcn.00404038
ret
Function at 0x472064
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4721db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4721f4
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.0040408c
push 0xffffffffffffffff
mov ecx, 0x472204
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
push 0xffffffffffffffff
mov ecx, 0x472220
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x34], eax
mov ecx, 0x472240
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047f660
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x47225c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047f54c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x472270
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047f54c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x472288
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047f54c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4722a4
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0047f660
mov byte [ebx + 0x48], al
mov ecx, 0x4722b8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00466e40
mov byte [ebx + 0x49], al
push 0xffffffffffffffff
mov ecx, 0x4722cc
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x4c], eax
push 0xffffffffffffffff
mov ecx, 0x4722ec
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x50], eax
push 0
mov ecx, 0x472310
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x54], eax
push 0
mov ecx, 0x47232c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x58], eax
push 0xff
mov ecx, 0x472348
mov edx, dword [ebx + 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4721e2
lea eax, [ebp - 4]
call fcn.00404038
ret
Function at 0x4892e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x489312
mov eax, ebx
call fcn.00489d98
cmp dword [ebx + 0x40], 0
je 0x48930b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x489383
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x489375
cmp dword [ebx + 8], 0
je 0x489334
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x489346
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x489375
cmp dword [ebx + 8], 0
je 0x489327
cmp eax, 3
je 0x489359
dec eax
jne 0x489327
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x489327
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x489327
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4893a1
cmp dword [ebx + 0x14], 0xcc
je 0x4893a1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004893ac
pop ebx
ret

Function at 0x499ed0
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar
Log keystrokes via application hook

Disassembly:
cmp dword [0x4a31c8], 0
jne 0x499ef2
push 0
mov eax, dword [0x4a1668]
push eax
push 0x499dec
push 0xd
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4a31c8], eax
push 0
push 0x499f20
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
push 0x499f30
push 0x499f38
call sub.user32.dll_FindWindowA
push 0
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x499f40
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
cmp dword [0x4a31c8], 0
je 0x499f5f
mov eax, dword [0x4a31c8]
push eax
call sub.user32.dll_UnhookWindowsHookEx
test eax, eax
je 0x499f5f
xor eax, eax
mov dword [0x4a31c8], eax
push 0
push 0x499f8c
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
push 0x499f9c
push 0x499fa4
call sub.user32.dll_FindWindowA
push 5
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x49bb14
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044e8
xor eax, eax
push ebp
push 0x49bc42
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x49bc2c
xor eax, eax
push ebp
push 0x49bc25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004044f8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne byte [ebp - 5]
cmp dword [ebp - 0x10], 0
jne 0x49bba9
call sub.kernel32.dll_GetLastError
cmp eax, 0x424
jne 0x49bba9
mov ecx, 0x49bc58
mov dl, 1
mov eax, dword [0x407288]
call fcn.0040c264
cmp dword [ebp - 0x10], 0
je 0x49bc0e
xor eax, eax
push ebp
push 0x49bc07
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x49bbf0
call sub.kernel32.dll_GetLastError
cmp eax, 0x420
jne 0x49bbf0
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bc0e
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bc2c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bc49
lea eax, [ebp - 4]
call fcn.00404038
ret

Function at 0x49bc80
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044e8
xor eax, eax
push ebp
push 0x49bd70
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x49bd5a
xor eax, eax
push ebp
push 0x49bd53
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.004044f8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
setne byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x49bd3c
xor eax, eax
push ebp
push 0x49bd35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd3c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd5a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd77
lea eax, [ebp - 4]
call fcn.00404038
ret
Function at 0x49bd80
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x49bd88
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49bee6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, 0x49befc
call fcn.0049aad8
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
call fcn.00413d74
push 0x49bf20
push 0x49bf44
push 0x49bf54
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040f860
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040f860
add esp, 0x10
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x30]
call fcn.00413e5c
push 0x49bf68
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040f860
add esp, 0xc
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x68]
call fcn.00413938
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 4]
mov ecx, 0x49bf74
call fcn.0040596c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0xc]
call fcn.00404038
jmp 0x49be5b
push 0x49bf84
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040f860
add esp, 0xc
lea edx, [ebp - 0x88]
lea eax, [ebp - 0xc]
call fcn.00412c38
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x49be35
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040408c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49beed
lea eax, [ebp - 0x88]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.00404ac0
lea eax, [ebp - 0x68]
call fcn.00405928
lea eax, [ebp - 0x64]
mov edx, dword [0x4010b0]
mov ecx, 2
call fcn.00404ac0
lea eax, [ebp - 0x44]
call fcn.00405928
lea eax, [ebp - 0x40]
mov edx, dword [0x4010c0]
mov ecx, 3
call fcn.00404ac0
lea eax, [ebp - 0xc]
call fcn.00404038
lea eax, [ebp - 4]
call fcn.00405928
ret

Function at 0x49c308
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49c39c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00402cb8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00408c64
cmp dword [ebp - 0x108], 0
jne 0x49c376
mov eax, ebx
call fcn.00404038
jmp 0x49c383
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00408c64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c3a3
lea eax, [ebp - 0x108]
call fcn.00404038
ret
Function at 0x49c560
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x49c6a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
cmp eax, 1
je 0x49c59f
cmp eax, 2
je 0x49c59f
cmp eax, 4
jne 0x49c67e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_GetWindowThreadProcessId
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0049c448
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x49c5fa
push 0xfb
lea ecx, [ebp - 0x10f]
xor edx, edx
mov eax, esi
call fcn.0049a664
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x10f]
mov ecx, 0xfb
call fcn.004042a8
push esi
call sub.kernel32.dll_CloseHandle
push 0xfb
lea eax, [ebp - 0x10f]
push eax
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_GetWindowTextA
dec eax
jl 0x49c67e
lea eax, [ebp - 4]
lea edx, [ebp - 0x10f]
mov ecx, 0xfb
call fcn.004042a8
lea eax, [ebp - 8]
call fcn.00404038
mov eax, dword [ebx + 4]
dec eax
je 0x49c638
dec eax
je 0x49c647
jmp 0x49c64f
lea eax, [ebp - 8]
mov edx, 0x49c6bc
call fcn.004040d0
jmp 0x49c64f
lea eax, [ebp - 8]
call fcn.00404038
cmp dword [ebp - 8], 0
je 0x49c67e
mov edx, 0x49c6cc
mov eax, dword [ebp - 0x10]
call fcn.004080a4
test eax, eax
jne 0x49c67e
push 0x49c6d8
push 0
call sub.user32.dll_FindWindowA
push 0
push 0
push 0x10
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c6ad
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040405c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040405c
ret

Function at 0x49d9d4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x49da75
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0049bf8c
mov edx, 0x49da88
mov eax, dword [ebp - 4]
call fcn.004080a4
test eax, eax
jne 0x49da27
mov eax, 0x49da9c
call fcn.00408884
test al, al
je 0x49da5f
push 1
push 0
push 0
push 0x49dabc
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49da49
mov eax, 0x49dae4
call fcn.00408884
test al, al
je 0x49da5f
push 1
push 0
push 0
push 0x49db04
push 0
push 0
call sub.shell32.dll_ShellExecuteA
call fcn.00499f40
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, ebx
call fcn.0045697c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49da7c
lea eax, [ebp - 4]
call fcn.00404038
ret
Function at 0x406877
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40689b
xor eax, eax
test eax, eax
je 0x4068ae
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068ae
xor ecx, ecx
jmp 0x4068b1
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a65ec], 0
push esi
jne 0x406a0b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4069e5
mov dword [ecx*4 + 0x7a65e8], eax
inc ecx
cmp ecx, 0x100
jl 0x4069e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a3c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a65e8]
xor eax, esi
inc ecx
dec edx
jne 0x406a1e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x5c464bdc
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x458a5976
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
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
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x58e4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf2000]
push edi
or ebp, 0xffffffff
jmp 0x58e4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58e4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58e4c8
mov eax, 1
add ebx, ebx
jne 0x58e4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58e4e0
jne 0x58e4fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58e4e0
xor ecx, ecx
sub eax, 3
jb 0x58e510
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58e582
mov ebp, eax
add ebx, ebx
jne 0x58e51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x58e528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x58e54c
inc ecx
add ebx, ebx
jne 0x58e538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58e52d
jne 0x58e549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58e52d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58e56c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58e55d
jmp 0x58e4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58e56c
add edi, ecx
jmp 0x58e4ce
pop esi
mov edi, esi
mov ecx, 0x7fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58e58a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x58e58f
lea edi, [esi + 0x18c000]
mov eax, dword [edi]
or eax, eax
je 0x58e600
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18e95c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18e998]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58e5b5
mov ecx, edi
jns 0x58e5e4
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 + 0x18e9a0]
or eax, eax
je 0x58e5fa
mov dword [ebx], eax
add ebx, 4
jmp 0x58e5d2
call dword [esi + 0x18e99c]
mov ebp, dword [esi + 0x18e9a4]
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 0x58e634
sub esp, 0xffffff80
jmp 0x4010c4