joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41770c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040ead0
mov dword [ebp - 0x14], eax
cmp dword [0x43db30], esi
jne 0x4177ff
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41778c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4178df
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4178df
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4178df
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43db30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43db34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43db38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43db40], eax
test eax, eax
je 0x4177fc
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43db3c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417824
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417817
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417839
push 4
pop eax
jmp 0x4178e1
cmp dword [ebp - 0x14], esi
je 0x417839
push dword [0x43db30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41781e
mov eax, dword [0x43db3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x417897
cmp dword [0x43db40], edi
je 0x417897
push eax
call ebx
push dword [0x43db40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x417897
test eax, eax
je 0x417897
call ecx
test eax, eax
je 0x41788c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41788c
test byte [ebp - 8], 1
jne 0x417897
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4178c7
mov eax, dword [0x43db34]
cmp eax, edi
je 0x4178c4
push eax
call ebx
test eax, eax
je 0x4178c4
call eax
mov esi, eax
test esi, esi
je 0x4178c4
mov eax, dword [0x43db38]
cmp eax, edi
je 0x4178c4
push eax
call ebx
test eax, eax
je 0x4178c4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43db30]
call ebx
test eax, eax
je 0x4178df
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4178e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407d71
mov esp, ebp
pop ebp
ret
Function at 0x41e855
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x429173
call fcn.004236b1
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x41e94d
cmp byte [esi + 0x46], bl
je 0x41e94d
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x41e891
xor al, al
jmp 0x41e94f
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00406051
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x41e8be
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41e8e5
dec eax
je 0x41e8e9
dec eax
dec eax
je 0x41e93b
xor bl, bl
jmp 0x41e93d
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x41e8f9
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x41e921
cmp eax, 0x10
jae 0x41e908
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.00409184
add esp, 0x10
cmp ebx, eax
jne 0x41e8e1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x41e93b
test ebx, ebx
jne 0x41e8b2
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.00405ff0
jmp 0x41e8ac
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040326b
mov al, bl
jmp 0x41e94f
mov al, 1
call fcn.00423660
ret
Function at 0x100025a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1006bde9
call fcn.1006b65d
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and dword [ebp - 0x428], 0
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
and dword [ebp - 4], 0
and dword [ebp - 0x430], 0
and dword [ebp - 0x418], 0
mov dword [ebp - 0x42c], ecx
push 0x60
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10006532
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10002622
push 2
mov ecx, esi
call fcn.10006532
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10002622
call fcn.10001cd6
mov esi, eax
jmp 0x10002727
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10002645
call fcn.10001cd6
jmp 0x1000271a
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000263b
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10002678
mov esi, 0x8007000e
jmp 0x1000271c
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
test edx, edx
ja 0x10002755
jb 0x10002693
cmp eax, 0xffffffff
ja 0x10002755
cmp eax, 0x400
jbe 0x100026a8
push eax
lea ecx, [ebp - 0x418]
call fcn.100689d9
jmp 0x100026c8
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100026c8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x1000266e
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000263b
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.100689d9
mov esi, eax
test edi, edi
je 0x10002727
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10002740
lea ecx, [ebp - 0x418]
call fcn.10005d95
lea ecx, [ebp - 0x428]
call fcn.10005af7
mov eax, esi
call fcn.1006b5ae
ret 0x10
push 0x80070216
call fcn.100689d9
int3
Function at 0x1000a082
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc0
mov eax, 0x1006c454
call fcn.1006b5ef
mov eax, dword [ebp - 0xc8]
xor ebx, ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc8], 0x1009c058
mov dword [0x1009c058], ebx
mov dword [0x1009c05c], ebx
mov dword [0x1009c060], ebx
xor ecx, ecx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xc4], ebx
push eax
inc ecx
push ecx
push ebx
push str.Control_PanelInternational
push SysReAllocString
mov dword [ebp - 0xcc], ecx
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000a1f9
mov edi, dword [sym.imp.advapi32.dll_RegGetValueW]
lea eax, [ebp - 0xc0]
push eax
push ebx
push ebx
push 0x20000020
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
mov dword [ebp - 0xc0], ebx
call edi
test eax, eax
jne 0x1000a1ed
cmp dword [ebp - 0xc0], 3
jbe 0x1000a1ed
push dword [ebp - 0xc0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1000a1ed
lea eax, [ebp - 0xc0]
push eax
push esi
push ebx
push 0x20
push str.Languages
push str.User_Profile
push dword [ebp - 0xc4]
call edi
test eax, eax
jne 0x1000a1e5
mov ebx, dword [ebp - 0xc0]
cmp ebx, 3
jbe 0x1000a1e5
xor edx, edx
shr ebx, 1
push edx
pop ecx
mov eax, edx
mov edi, edx
mov word [esi + ebx*2 - 2], cx
je 0x1000a1e5
jmp 0x1000a190
cmp eax, ebx
jae 0x1000a196
inc eax
cmp word [esi + eax*2], dx
je 0x1000a18b
cmp word [esi + edi*2], dx
jne 0x1000a1e0
cmp edi, eax
jbe 0x1000a1e0
xor ecx, ecx
lea eax, [esi + eax*2]
mov word [ebp - 0xbc], cx
lea ecx, [ebp - 0xbc]
push 0x55
push ecx
push eax
call dword [sym.imp.kernel32.dll_ResolveLocaleName]
test eax, eax
je 0x1000a1db
cmp word [ebp - 0xbc], 0
je 0x1000a1db
lea eax, [ebp - 0xbc]
mov ecx, 0x1009c058
push eax
call fcn.100689d9
lea eax, [edi + 1]
xor edx, edx
inc edi
cmp edi, ebx
jb 0x1000a190
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push dword [ebp - 0xc4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 0x1009c058
call fcn.1006b5a1
ret 4

Function at 0x1001224d
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x10012267
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1001225a
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1001512f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x10015171
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x10015171
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x10015171
cmp word [eax + 2], 0
je 0x10015171
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x10015171
add eax, 0x30
jmp 0x10015176
mov eax, 0x10073710
pop edi
pop esi
ret
Function at 0x1001e503
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1001e50f
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1001e537
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1001e51d
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x10047d0b
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1c
test byte [0x1009b9c0], 0x20
push esi
push edi
mov esi, ecx
je 0x10047d40
push dword [ebx + 0xc]
mov edx, 0x10089d30
push dword [ebx + 8]
call fcn.100689d9
mov eax, dword [0x10097054]
mov ecx, 0x10097054
push 0x1c135e
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, dword [eax]
mov esi, ecx
mov edi, dword [eax + 4]
mov edx, edi
mov dword [ebp - 4], eax
mov eax, ecx
shr eax, 0xc
dec eax
mov dword [ebp - 0x10], esi
shl eax, 0xc
xor eax, ecx
and eax, 0x7f000
xor ecx, eax
mov eax, esi
mov esi, dword [ebp - 4]
push ebx
mov ebx, ecx
mov ecx, edi
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, dword [ebp - 0x10]
jne 0x10047d90
cmp ecx, edi
je 0x10047dc0
mov esi, eax
mov dword [ebp - 0x10], ecx
shr esi, 0xc
mov edi, eax
dec esi
mov edx, ecx
shl esi, 0xc
xor esi, eax
and esi, 0x7f000
xor esi, eax
push ebx
mov ebx, esi
mov esi, dword [ebp - 4]
lock cmpxchg8b qword [esi]
pop ebx
mov ecx, edx
cmp eax, edi
jne 0x10047d90
cmp ecx, dword [ebp - 0x10]
jne 0x10047d90
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4345f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b49bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004a7286
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a4a9f
mov eax, dword [eax]
push 0x4dbbbc
push eax
call fcn.0048e493
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a7511
test bl, bl
je 0x434672
push 0x4dbbbc
lea ecx, [esp + 0xc]
call fcn.004a78ed
push 0x4dbbc8
lea ecx, [esp + 0xc]
call fcn.004a78ed
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4346ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a7511
jmp 0x434779
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x434732
lea edx, [esp + 0x7c]
push 0x4dbbc4
push edx
call fcn.0048e493
add esp, 8
test eax, eax
je 0x434732
lea eax, [esp + 0x7c]
push 0x4dbbc0
push eax
call fcn.0048e493
add esp, 8
test eax, eax
je 0x434732
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4346c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004a7511
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x434f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x434fe2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x434ff0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e3628]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x435128
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435056
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a7511
xor eax, eax
jmp 0x43519f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a769a
push esi
lea ecx, [esp + 0xc]
call fcn.004a7929
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43517d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00434f80
test eax, eax
jne 0x43517d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.00434f80
test eax, eax
jne 0x43517d
lea eax, [esp + 0x14]
push 0x4dbbd8
push eax
call fcn.0048f640
mov esi, eax
add esp, 8
test esi, esi
jne 0x43515c
lea ecx, [esp + 0x14]
push 0x4dbbd4
push ecx
call fcn.0048f490
mov esi, eax
add esp, 8
test esi, esi
jne 0x43515c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43515f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a764a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43506e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a7511
xor eax, eax
jmp 0x43519f
mov byte [esi], 0
push 0x4dbbd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004a7511
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x458f80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b55f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00453870
test eax, eax
je 0x459088
lea ecx, [esp + 0xc]
call fcn.0042e290
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00453870
mov ecx, eax
call fcn.00451220
test eax, eax
je 0x45906f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x45906f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x45906f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.0042e490
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x459051
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x45906f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4f2770]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4c19a4
call fcn.0042e490
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x4590d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00453870
test eax, eax
je 0x4591bf
mov ecx, edi
call fcn.00453870
mov ecx, eax
call fcn.004510d0
test eax, eax
jne 0x4591bf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4591bf
mov eax, dword [0x4f2770]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x459132
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00453870
mov ecx, eax
call fcn.00451300
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4591bf
cmp ebx, eax
jne 0x4591bf
cmp dword [esp + 0x10], eax
jne 0x4591a5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x45be50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b55f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x45be89
inc eax
mov dword [esi + 0x10], eax
jmp 0x45bf9c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x45be9d
mov eax, 0xffffffc7
jmp 0x45bf9e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x45beae
cmp dword [esi + 8], eax
jne 0x45be9d
cmp dword [esi + 8], eax
jne 0x45bec7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x45bec7
mov eax, 0xffffffc7
jmp 0x45bf9e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45bedb
push eax
mov ecx, ebx
call fcn.0045b680
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0042e290
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45bf0c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0042e2b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0045adf0
test eax, eax
mov dword [esp + 0x38], eax
je 0x45bf3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c19a4
call fcn.0042e490
mov eax, dword [esp + 0x38]
jmp 0x45bf9e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0045bcb0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x45bf83
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0045bcd0
mov esi, eax
test esi, esi
jne 0x45bfb3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0045bcb0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x45bf55
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c19a4
call fcn.0042e490
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4c19a4
call fcn.0042e490
mov eax, esi
jmp 0x45bf9e

Function at 0x4608e0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x460940
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x460940
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x460940
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x460940
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x460980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret