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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
or edi, 0x28
inc eax
sub edx, 0x50
sbb edx, 0xc7
or eax, 0xc5
sbb edi, 0xbe
sub edx, 0x75
imul edi
rcl esi, 0x73
inc edi
bswap edi
dec eax
not ebx
bswap ebx
sub eax, 0xd3
neg edx
rol ebx, 0xf7
not edi
rol edx, 0x3a
dec esi
sbb esi, 0xa3
rol edx, 0x57
bswap edx
or edi, 0x69
dec ebx
inc eax
rol esi, 0x55
neg eax
mov ebx, 0xed
sbb edx, 0x89
not ebx
rol edx, 0xc6
inc ebx
add eax, 0x26
dec ebx
and edi, 0x22
mov ebx, 0x54
bswap eax
imul eax
or edi, 0x51
dec eax
ror edi, 3
dec esi
sbb edi, 0x5d
rcl edx, 0xef
neg eax
inc eax
neg edi
not edx
or eax, 0xc1
xor ecx, ecx
xor edi, edi
not ebx
rcr eax, 0x2c
imul ebx
ror edi, 0x26
bswap esi
or edi, 0x9a
sub esi, 0x76
imul ebx
inc eax
bswap ebx
rol edx, 0xfa
mov edi, 0x28
neg eax
rol edx, 0x46
neg esi
sub edx, 0xa2
inc edi
imul edx
add edx, 0xae
bswap edx
rcl edi, 0xd9
inc edx
rcl ebx, 0x64
add edx, 0xf7
neg edi
mov esi, 0xe1
rol edi, 0x8c
bswap eax
ror ebx, 0xf3
inc esi
inc edi
sbb ebx, 0xda
rcl edx, 0x60
neg esi
sub esi, 0xec
dec esi
rcr eax, 0x7d
dec ebx
add edx, 0x28
sbb ebx, 0x60
imul edx
inc ebx
and esi, 0x90
or eax, 0x60
mov edi, 0x1c
imul edx
not ebx
rcr esi, 0xac
and edx, 0x9f
not esi
mov ecx, dword [ebp + 0xc]
rcl edi, 0xa7
sbb ebx, 0x81
bswap esi
inc edi
dec ebx
ror ebx, 0x61
bswap esi
imul eax
imul ebx
rol ebx, 0x80
add esi, 0x3a
rol edx, 0x87
mov eax, 0x4b
not edx
neg esi
imul edx
imul edx
rol esi, 0x9b
neg eax
dec edx
sbb edi, 0xe2
or edx, 0x58
sbb ebx, 0x17
inc edx
and edi, 0xf8
imul eax
sbb ebx, 0x98
dec esi
imul ebx
sub eax, 0x81
inc edx
rol edi, 0x3d
inc edx
neg edx
dec edx
dec edx
bswap edx
dec edx
add eax, 0x49
ror esi, 0x4e
inc edx
sbb eax, 0xe7
dec edx
rol ebx, 0xfc
dec edi
rcr esi, 0xea
sbb eax, 0xf4
inc esi
add esi, 0xc0
sub ebx, 0
mov edi, dword [ebp + 8]
xor byte [edi], 0xff
add byte [edi], 0x9e
inc edi
loop 0x401ae0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404b8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41212c]
jne 0x404b94
repz ret
jmp fcn.00408832
Function at 0x40b09c
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.0040680d
and dword [ebp - 4], 0
cmp dword [0x413a70], 0
mov ebx, eax
jne 0x40b14d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b1fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b1fe
push eax
call fcn.0040679b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x413a70], eax
call esi
push eax
call fcn.0040679b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413a74], eax
call esi
push eax
call fcn.0040679b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x413a78], eax
call esi
push eax
call fcn.0040679b
pop ecx
mov dword [0x413a80], eax
test eax, eax
je 0x40b14d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040679b
pop ecx
mov dword [0x413a7c], eax
mov eax, dword [0x413a7c]
cmp eax, ebx
je 0x40b1a5
cmp dword [0x413a80], ebx
je 0x40b1a5
push eax
call fcn.00406816
push dword [0x413a80]
mov esi, eax
call fcn.00406816
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b1a5
test edi, edi
je 0x40b1a5
call esi
test eax, eax
je 0x40b19c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b19c
test byte [ebp - 0xc], 1
jne 0x40b1a5
or dword [ebp + 0x10], 0x200000
jmp 0x40b1de
mov eax, dword [0x413a74]
cmp eax, ebx
je 0x40b1de
push eax
call fcn.00406816
pop ecx
test eax, eax
je 0x40b1de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b1de
mov eax, dword [0x413a78]
cmp eax, ebx
je 0x40b1de
push eax
call fcn.00406816
pop ecx
test eax, eax
je 0x40b1de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x413a70]
call fcn.00406816
pop ecx
test eax, eax
je 0x40b1fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b200
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, eax
nop
nop
mov eax, dword [ebp + 8]
test eax, eax
je 0x10001073
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10001073
xor eax, eax
mov byte [eax + ebx], al
inc eax
cmp eax, 0x100
jl 0x10001018
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ebx]
xor edx, edx
mov dl, byte [ecx]
add edi, eax
add edi, edx
and edi, 0x800000ff
jns 0x10001052
dec edi
or edi, 0xffffff00
inc edi
mov ebx, dword [ebp + 0x10]
lea eax, [edi + ebx]
push eax
push ecx
call fcn.10001080
add esp, 8
inc esi
cmp esi, 0x100
jl 0x10001029
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x10001160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, eax
nop
nop
mov eax, dword [ebp + 8]
test eax, eax
je 0x100011a7
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x100011a7
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x100011a7
push 0x100
call fcn.10002516
mov ebx, eax
mov eax, dword [ebp + 0x14]
push ebx
push eax
push esi
call section..text
add esp, 0x10
test eax, eax
jne 0x100011b0
push ebx
call fcn.10002524
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x10001246
mov esi, dword [ebp + 8]
mov dword [ebp + 8], edx
sub esi, dword [ebp + 0x18]
mov dword [ebp - 4], esi
jmp 0x100011d3
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
inc eax
mov esi, eax
and esi, 0x800000ff
jns 0x100011e6
dec esi
or esi, 0xffffff00
inc esi
mov dword [ebp + 0x18], esi
add esi, ebx
xor edx, edx
mov dl, byte [esi]
add edx, ecx
mov eax, edx
and eax, 0x800000ff
jns 0x10001201
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp + 0x10], eax
add eax, ebx
push eax
push esi
mov dword [ebp + 0x14], eax
call fcn.10001080
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [esi]
xor ecx, ecx
mov cl, byte [edx]
add esp, 8
add eax, ecx
and eax, 0x800000ff
jns 0x1000122e
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp - 4]
mov al, byte [eax + ebx]
xor al, byte [ecx + edi]
mov byte [edi], al
mov eax, dword [ebp + 8]
inc edi
dec eax
mov dword [ebp + 8], eax
jne 0x100011cd
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [eax], edx
call fcn.10002524
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001d20
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x3ac
push ebx
mov ebx, dword [esp + 0x3b8]
push ebp
mov ebp, dword [esp + 0x3b8]
push esi
push edi
mov ecx, 0xa2
xor eax, eax
mov edi, ebx
push 0xf9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x38]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 3
push 0
push 1
lea ecx, [esp + 0x48]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001d38
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
add eax, 0xfffffd76
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x138]
push 0x28a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
push esi
cmp eax, 0x28a
je 0x10001dd5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10001d38
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x130]
push ecx
push edx
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1d], 0x46
mov byte [esp + 0x1e], 0x24
mov byte [esp + 0x1f], 0x25
mov byte [esp + 0x20], 0x28
mov byte [esp + 0x21], 0x45
mov byte [esp + 0x22], 0x79
mov byte [esp + 0x23], 0
call fcn.10001260
mov edx, eax
add esp, 8
test edx, edx
je 0x10001e46
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002524
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x1f8]
push ecx
push edx
call fcn.10001260
mov edx, eax
add esp, 8
test edx, edx
je 0x10001e8f
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0xc8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002524
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c0]
push ecx
push edx
call fcn.10001260
mov edx, eax
add esp, 8
test edx, edx
je 0x10001ed8
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x190]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002524
add esp, 4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x388]
push ecx
push edx
call fcn.10001260
mov edx, eax
add esp, 8
test edx, edx
je 0x10001f21
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add ebx, 0x258
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10002524
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3ac
ret
Function at 0x10002210
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov ecx, 0xc
xor eax, eax
mov edi, 0x1000b7e4
push str.GamePlaza.exe
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xc
xor eax, eax
mov edi, 0x1000b816
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x1000b816
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
or ecx, 0xffffffff
add edi, 0x5f2be
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x1000b7e4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1000b550
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [0x1000b99c], eax
mov dword [0x1000b3c0], eax
mov eax, ecx
mov esi, edi
mov edi, 0x1000b3f2
shr ecx, 2
mov dword [0x1000b460], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1000b7e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, 0x1000b3c0
push 0x1000b3c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x10001f30
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call esi
push 0xbb8
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
push 0
push 0x1000b3c0
push 0x10001f30
push 0
push 0
mov dword [0x1000b460], 0
call esi
push eax
call edi
pop edi
pop esi
ret 4

Function at 0x10002350
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009158
push 0x10002918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [0x1000b880], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x1000b884], ecx
mov edi, 0x1000b7e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x100023ae
mov edi, 0x1000b816
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x100023c8
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100023c8
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0x10002110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10002410
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
push edi
mov ecx, 0xc
xor eax, eax
mov edi, 0x1000b88c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x1000b88c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1000b7e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x10002466
mov edi, 0x1000b816
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x10002475
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0
push 0
push 0x10002110
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret 4

Function at 0x10004f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000a5b8
cmp edx, dword [eax]
je 0x10004f42
add eax, 8
inc ecx
cmp eax, 0x1000a648
jl 0x10004f33
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000a5b8]
jne 0x10005070
mov eax, dword [0x1000ba30]
cmp eax, 1
je 0x1000504a
test eax, eax
jne 0x10004f73
cmp dword [0x1000ba34], 1
je 0x1000504a
cmp edx, 0xfc
je 0x10005070
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10004faa
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100063d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10005990
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10004fed
lea eax, [ebp - 0x1a4]
push eax
call fcn.10005990
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100094fc
push edi
call fcn.100026a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100063d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100063e0
lea eax, [ebp - 0xa0]
push 0x100094dc
push eax
call fcn.100063e0
push dword [esi + 0x1000a5bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.100063e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10006ce5
add esp, 0x2c
pop edi
jmp 0x10005070
lea eax, [ebp + 8]
lea esi, [esi + 0x1000a5bc]
push 0
push eax
push dword [esi]
call fcn.10005990
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x45d1f0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x45d38c
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4a000]
push edi
or ebp, 0xffffffff
jmp 0x45d21a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45d221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d210
mov eax, 1
add ebx, ebx
jne 0x45d233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45d244
jne 0x45d254
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45d254
dec eax
add ebx, ebx
jne 0x45d250
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x45d228
xor ecx, ecx
sub eax, 3
jb 0x45d26c
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45d2de
sar eax, 1
mov ebp, eax
jmp 0x45d277
add ebx, ebx
jne 0x45d277
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45d284
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45d2a8
inc ecx
add ebx, ebx
jne 0x45d294
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45d289
jne 0x45d2a5
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45d289
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45d2c8
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45d2b9
jmp 0x45d216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45d2c8
add edi, ecx
jmp 0x45d216
pop esi
mov edi, esi
mov ecx, 0xd7b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45d2e6
cmp byte [edi], 6
jne 0x45d2e6
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 eax, ebx
loop 0x45d2eb
lea edi, [esi + 0x5a000]
mov eax, dword [edi]
or eax, eax
je 0x45d35a
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5d050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45d318
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5d054]
or eax, eax
je 0x45d354
mov dword [ebx], eax
add ebx, 4
jmp 0x45d335
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45d38b
cmp al, 0xef
ja 0x45d37e
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45d360
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45d36d
popal
jmp section.UPX0
Function at 0x406092
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 0x4060bf
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
mov eax, 0
sete al
jmp 0x4060d3
mov esp, ebp
pop ebp
ret 4

Function at 0x408124
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x408159
push 6
call fcn.004660af
add esp, 4
jmp 0x40815e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x408797
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x4087c4
push 6
call fcn.004660af
add esp, 4
jmp 0x4087c9
mov esp, ebp
pop ebp
ret 4

Function at 0x40902e
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x409060
push 6
call fcn.004660af
add esp, 4
jmp 0x409065
mov esp, ebp
pop ebp
ret 8
Function at 0x40c235
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push SysStringLen
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40c276
mov eax, 0x4b101f
push eax
push 1
mov ebx, 0x130
call fcn.00467ac0
add esp, 0x10
mov dword [ebp - 4], eax
mov dword [ebp - 8], 2
fild dword [ebp - 4]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x4b149c]
fstp qword [ebp - 0x24]
mov dword [ebp - 0x28], esp
fld qword [ebp - 0x24]
call fcn.00403b18
push eax
push dword [ebp - 8]
call dword [0x4c0d28]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x40c2d0
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
call dword [0x4c0d2c]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c2f5
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x10]
call dword [0x4c0d30]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c322
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
call dword [0x4c0d34]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c344
push 6
call fcn.004660af
add esp, 4
call fcn.0040c3d9
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [0x4c0d38]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c36e
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x18], esp
call dword [sym.imp.USER32.dll_EmptyClipboard]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c38d
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c3b4
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x18], esp
call dword [0x4c0d3c]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x40c3d3
push 6
call fcn.004660af
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x40c93a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
call dword [0x4c0d48]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c973
push 6
call fcn.004660af
add esp, 4
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x4b149c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.00403b18
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.00467710
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40c9c6
push ebx
call fcn.004660bb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40c9f2
push 6
call fcn.004660af
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x40ca0e
push eax
mov ebx, eax
call fcn.0040201b
inc eax
push eax
call fcn.004660a9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40ca13
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ca24
push ebx
call fcn.004660bb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4