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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46e3e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46e3ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x474d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2b5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00475680
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4adbb4
call fcn.00493e38
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x474df3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00493e38
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x474dec
push 0
mov ecx, eax
call fcn.0046bf00
mov dword [esi + 0xc], eax
jmp 0x474df5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x474df5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x49649b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4964d3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00494552
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049452a
jmp 0x4964df
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x497b95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x497bd7
call fcn.0049d688
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x497bd7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x497bce
xor eax, eax
jmp 0x497bdf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00497be5
pop edi
pop esi
pop ebx
ret 4
Function at 0x49dbb8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49dbe6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49dc04
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049db1e
jmp 0x49dc04
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49dc04
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049db1e
test edi, edi
mov eax, edi
jne 0x49dbee
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Identify system language via api

Disassembly:
push 0x40
push 0x1000
push 0xa8c00
push 0
call sub.kernel32.dll_GetUserDefaultLangID
call sub.kernel32.dll_VirtualAlloc
call fcn.004ab838
ret
Function at 0x401240
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x4206c0]
xor eax, esp
mov dword [esp + 0x210], eax
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40128a
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004075ed
add esp, 0x214
ret
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0x41b23c
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x401273
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 8]
push edx
call fcn.004011e0
mov ecx, dword [esp + 0x214]
add esp, 4
xor ecx, esp
call fcn.004075ed
add esp, 0x214
ret
Function at 0x4027c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x419aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4206c0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4206c0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
xor esi, esi
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], si
xor eax, eax
push 0x44
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x9c], esi
call fcn.004074e0
mov eax, dword [ebx + 0x14]
add esp, 0xc
xor edi, edi
cmp eax, esi
mov dword [esp + 0x24], 0x44
je 0x4028eb
lea esi, [eax + 0x208]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406f24
push 0x41b330
mov edi, eax
push esi
push edi
call fcn.00408322
add esp, 0x10
cmp dword [ebp + 0x18], 8
jb 0x402891
mov ebp, dword [ebp + 4]
jmp 0x402894
add ebp, 4
push ebp
push esi
push edi
call fcn.004082a8
push 0x41b328
push esi
push edi
call fcn.004082a8
mov ebp, 8
add esp, 0x18
cmp dword [ebx + 0x18], ebp
jb 0x4028ba
mov ebx, dword [ebx + 4]
jmp 0x4028bd
add ebx, 4
push ebx
push esi
push edi
call fcn.004082a8
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor esi, esi
jmp 0x402917
cmp dword [ebp + 0x18], 8
jb 0x4028f6
mov ebp, dword [ebp + 4]
jmp 0x4028f9
add ebp, 4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 8
cmp eax, esi
jne 0x402935
cmp dword [esp + 0x80], ebp
jb 0x402931
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004073fe
add esp, 4
xor al, al
jmp 0x402991
mov eax, dword [esp + 0x18]
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x40294a
push eax
call ebx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40296c
cmp byte [esp + 0xa0], 0
je 0x402969
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x14]
push eax
call ebx
cmp edi, esi
je 0x402979
push edi
call fcn.0040755a
add esp, 4
cmp dword [esp + 0x80], ebp
jb 0x40298f
mov edx, dword [esp + 0x6c]
push edx
call fcn.004073fe
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004075ed
add esp, 0x80
ret
Function at 0x404690
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x4206c0]
xor eax, esp
mov dword [esp + 0x620], eax
push esi
push edi
mov edi, dword [esp + 0x630]
xor esi, esi
push 0x20a
lea eax, [esp + 0xe]
push esi
push eax
mov word [esp + 0x14], si
call fcn.004074e0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x40479a
push 0x410
lea edx, [esp + 0x21a]
push esi
push edx
mov word [esp + 0x21e], si
mov word [esp + 0x220], si
call fcn.004074e0
add esp, 0xc
push 0x208
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x40475e
cmp eax, esi
je 0x40475e
lea edx, [esp + 0x214]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x218], si
call fcn.00403880
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004075ed
add esp, 0x624
ret
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x404765
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00402e90
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.004075ed
add esp, 0x624
ret
mov ecx, dword [esp + 0x628]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.004075ed
add esp, 0x624
ret

Function at 0x405b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x41a0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x4206c0]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
movzx eax, word [esp + 0xa4]
push 0x41b42c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405c6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x405c6f
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x405c6f
mov eax, dword [esp + 0xa8]
cmp dword [eax + 0x18], 8
jb 0x405bfa
mov eax, dword [eax + 4]
jmp 0x405bfd
add eax, 4
push 1
push 0x40
push 0x20
push eax
lea ecx, [esp + 0x1c]
call fcn.004056d0
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xa4], 0
call fcn.004055c0
lea ecx, [esp + 0xc]
call fcn.00404c90
lea ecx, [esp + 0x60]
mov dword [esp + 0x9c], 0xffffffff
call fcn.00404c20
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], vtable.std::ios_base.0
call fcn.00406de4
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x94
ret
xor al, al
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x94
ret
Function at 0x406700
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4206c0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x4206c0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov dword [esp + 0x40], ebx
mov byte [esp + 0xc], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x14], bl
call fcn.00401240
cmp dword [0x4201a8], 8
mov byte [esp + 0xb], al
mov eax, dword [0x420194]
jae 0x406775
mov eax, 0x420194
mov ecx, dword [0x4201a4]
mov edx, dword [0x4201dc]
push ecx
push eax
push edx
push ebx
mov ecx, 0x4201c8
call fcn.004017d0
test eax, eax
jne 0x4067ae
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00406370
jmp 0x4067f8
cmp dword [0x4201c4], 8
mov eax, dword [0x4201b0]
jae 0x4067c1
mov eax, 0x4201b0
mov ecx, dword [0x4201c0]
mov edx, dword [0x4201dc]
push ecx
push eax
push edx
push ebx
mov ecx, 0x4201c8
call fcn.004017d0
test eax, eax
jne 0x406842
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004047c0
add esp, 0x10
cmp byte [esp + 0xb], bl
je 0x406807
cmp byte [esp + 0xc], bl
jne 0x406842
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x48]
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], bx
call fcn.00402c00
call fcn.00405c90
add esp, 0x28
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x30], 8
jb 0x40685c
mov eax, dword [esp + 0x1c]
push eax
call fcn.004073fe
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.004075ed
add esp, 0x3c
ret 0x10

Function at 0x4075ed
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4206c0]
jne 0x4075f7
repz ret
jmp fcn.0040d816
Function at 0x410108
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x421298]
je 0x410123
inc edi
cmp edi, 0x17
jb 0x410114
cmp edi, 0x17
jae 0x4102a3
push ebp
push 3
call fcn.00416faa
cmp eax, 1
pop ecx
je 0x41026f
push 3
call fcn.00416faa
test eax, eax
pop ecx
jne 0x410157
cmp dword [0x4206cc], 1
je 0x41026f
cmp ebx, 0xfc
je 0x4102a2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x421de8
push ebp
call fcn.0040c15b
add esp, 0xc
test eax, eax
je 0x41018d
push esi
push esi
push esi
push esi
push esi
call fcn.00407606
add esp, 0x14
push 0x104
mov esi, 0x421e01
push esi
push 0
mov byte [0x421f05], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4101d1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c15b
add esp, 0xc
test eax, eax
je 0x4101d1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00407606
add esp, 0x14
push esi
call fcn.00409c40
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x410216
push esi
call fcn.00409c40
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4220fc
push 0x41c684
sub ecx, eax
push ecx
push eax
call fcn.00412146
add esp, 0x14
test eax, eax
je 0x410216
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00407606
add esp, 0x14
jmp 0x410218
xor esi, esi
push 0x41c680
push ebx
push ebp
call fcn.00412085
add esp, 0xc
test eax, eax
je 0x410238
push esi
push esi
push esi
push esi
push esi
call fcn.00407606
add esp, 0x14
push dword [edi*8 + 0x42129c]
push ebx
push ebp
call fcn.00412085
add esp, 0xc
test eax, eax
je 0x41025a
push esi
push esi
push esi
push esi
push esi
call fcn.00407606
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00416ded
add esp, 0xc
jmp 0x4102a2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4102a2
cmp ebp, 0xffffffff
je 0x4102a2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x42129c]
push dword [esi]
call fcn.00409c40
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x416ded
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d9fc
xor ebx, ebx
cmp dword [0x42238c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x416ec3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x416fa3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x416fa3
push eax
call fcn.0040d98e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42238c], eax
call esi
push eax
call fcn.0040d98e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422390], eax
call esi
push eax
call fcn.0040d98e
mov dword [0x422394], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040b158
test eax, eax
pop ecx
pop ecx
je 0x416e91
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407606
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x416ec3
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040d98e
cmp eax, ebx
pop ecx
mov dword [0x42239c], eax
je 0x416ec3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040d98e
pop ecx
mov dword [0x422398], eax
mov eax, dword [0x422398]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x416f48
cmp dword [0x42239c], ecx
je 0x416f48
push eax
call fcn.0040da05
push dword [0x42239c]
mov esi, eax
call fcn.0040da05
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x416f48
cmp edi, ebx
je 0x416f48
call esi
cmp eax, ebx
je 0x416f15
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416f15
test byte [ebp - 0x18], 1
jne 0x416f48
lea eax, [ebp - 0x10]
push eax
call fcn.0040b18f
test eax, eax
pop ecx
je 0x416f30
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00407606
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x416f3f
or dword [ebp + 0x10], 0x200000
jmp 0x416f83
or dword [ebp + 0x10], 0x40000
jmp 0x416f83
mov eax, dword [0x422390]
cmp eax, dword [ebp - 8]
je 0x416f83
push eax
call fcn.0040da05
cmp eax, ebx
pop ecx
je 0x416f83
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x416f83
mov eax, dword [0x422394]
cmp eax, dword [ebp - 8]
je 0x416f83
push eax
call fcn.0040da05
cmp eax, ebx
pop ecx
je 0x416f83
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42238c]
call fcn.0040da05
cmp eax, ebx
pop ecx
je 0x416fa3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416fa5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x413e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x413e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x413e78
mov eax, 1
add ebx, ebx
jne 0x413e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x413e90
jne 0x413eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413e90
xor ecx, ecx
sub eax, 3
jb 0x413ec0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x413f32
mov ebp, eax
add ebx, ebx
jne 0x413ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x413ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x413efc
inc ecx
add ebx, ebx
jne 0x413ee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x413edd
jne 0x413ef9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x413edd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x413f1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x413f0d
jmp 0x413e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x413f1c
add edi, ecx
jmp 0x413e7e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x413f3a
cmp byte [edi], 1
jne 0x413f3a
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 0x413f3f
lea edi, [esi + 0x11000]
mov eax, dword [edi]
or eax, eax
je 0x413fb7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x136cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13708]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x413f6c
mov ecx, edi
jns 0x413f9b
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 + 0x1370c]
or eax, eax
je 0x413fb1
mov dword [ebx], eax
add ebx, 4
jmp 0x413f89
call dword [esi + 0x13710]
popal
jmp 0x401220
Function at 0x4f908151
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
mov eax, edx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
push 4
mov ebx, ecx
mov dword [ebp - 0xc], eax
pop edi
push 1
mov ecx, eax
mov dword [ebp - 0x10], ebx
call fcn.4f907aad
mov esi, eax
test esi, esi
je 0x4f908288
cmp dword [0x4f918814], 0
mov dword [esi + 0xc], ebx
je 0x4f908282
movzx eax, word [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f9081a9
mov dword [esi + 0x40], 1
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.4f90836b
test eax, eax
je 0x4f908282
push esi
call sym.OLECLI32.dll_SetNetName
mov edi, eax
test edi, edi
je 0x4f908224
movzx ecx, word [0x4f918804]
push ecx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4f908282
movzx eax, word [0x4f918804]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4f908282
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x4f908282
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [esi + 0x5c], ax
test ax, ax
je 0x4f908282
mov ecx, esi
call fcn.4f9088ad
mov edx, dword [ebp - 0xc]
lea ebx, [esi + 0x64]
mov ecx, dword [ebp - 0x10]
push 5
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call fcn.4f90bb2a
mov edi, eax
test edi, edi
jne 0x4f908282
mov ecx, esi
call fcn.4f924fcd
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebx]
test eax, eax
je 0x4f90825c
mov dword [eax + 0x34], esi
xor edx, edx
mov ecx, esi
call fcn.4f904621
test eax, eax
je 0x4f90828a
push 2
pop edx
push edx
mov ecx, esi
mov dword [esi + 0x4c], 0x18
call fcn.4f908702
call fcn.4f9093f3
jmp 0x4f90828a
push esi
call sym.OLECLI32.dll_OleDelete
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4f90bc69
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4f918464]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x114], eax
mov ebx, edx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x110], eax
movzx eax, word [0x4f918810]
push edi
push eax
mov dword [ebp - 0x118], ecx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x4f90bd1e
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4f90bd1e
cmp dword [ebp + 0x18], 1
jne 0x4f90bced
push esi
mov esi, 0x106
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.4f903ad2
push 0x4f901964
mov edx, esi
lea ecx, [ebp - 0x10c]
call fcn.4f903b05
lea esi, [ebp - 0x10c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x118]
mov edx, str.Package
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x110]
push dword [ebp - 0x114]
push ebx
push 0
push esi
call fcn.4f924fcd
jmp 0x4f90bd21
push 0xb
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.4f915630
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4f90c5d1
Capabilities:
Read clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
push 3
mov edi, edx
and dword [esi], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
jne 0x4f90c5f4
push 4
pop eax
jmp 0x4f90c612
push dword [ebp + 0x10]
mov edx, ebx
mov ecx, eax
push dword [ebp + 8]
push edi
push 0
call fcn.4f90c22c
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4f90c619
Capabilities:
Write clipboard data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push 0x10
mov esi, ecx
mov dword [ebp - 4], edx
push 2
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4f90c67e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4f90c677
mov ecx, dword [ebp - 4]
add esi, 0x3c
push edi
mov edi, eax
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 edi
test ecx, ecx
je 0x4f90c65c
mov dword [eax + 0xc], ecx
jmp 0x4f90c663
mov eax, dword [ebp - 8]
and dword [eax + 0x48], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
xor eax, eax
jmp 0x4f90c681
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 4
pop eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret