joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], ecx
test ebx, ebx
jne 0x40ff83
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edx + 0x21c], 0
je 0x40ffa6
push ecx
push eax
push ebx
push edx
call fcn.00410300
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 0x10
push esi
lea eax, [edx + 0xc]
push 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00452a6c
add esp, 0xc
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x40ffc1
push edi
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
jmp 0x40ffe0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ffe0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0
push 3
push 0
push 7
mov ecx, ebx
and ecx, 3
push SysReAllocString
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410100
test esi, esi
je 0x410100
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x4100c5
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x214]
push edi
push 0
push eax
mov dword [ebx], eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [edi], 0
jne 0x410072
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4100f2
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x210], eax
push ecx
push dword [ebp - 0x21c]
mov dword [ebp - 0x218], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4100d1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp - 0x214]
mov edi, dword [ebp - 0x210]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
test ecx, ecx
je 0x4100ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451043
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4146b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4146d0
lea ecx, [ebp + 0xc]
sub eax, edx
push ecx
push dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00452eb9
mov eax, dword [0x48ad58]
mov ecx, eax
inc eax
mov dword [0x48ad58], eax
lea eax, [ebp - 0x404]
push eax
push ecx
lea eax, [ebp - 0xc04]
push str.__d__s
push eax
call fcn.0045291b
add esp, 0x20
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret

Function at 0x41c770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov di, word [ebp + 8]
and eax, 0x8000
movzx edx, di
add edx, 0xfffffffd
cmp edx, 0x17
ja case.0x41c79e.4
movzx ecx, byte [edx + 0x41c908]
jmp dword [ecx*4 + 0x41c8f0]
test dword [esi + 0x5f8], 0x800
jne 0x41c8e3
test eax, eax
jne 0x41c8e3
mov eax, dword [esi + 0x610]
cmp eax, dword [esi + 0x614]
jne 0x41c7f6
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041bdf0
mov eax, dword [esi + 0x614]
test eax, eax
je 0x41c7e1
dec eax
push eax
push dword [esi + 0x610]
mov ecx, esi
call fcn.0041bdf0
mov ecx, esi
call fcn.0041bae0
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
test byte [esi + 0x5f8], 0x20
jne 0x41c8e3
mov eax, dword [esi]
push esi
call dword [eax + 0x1b8]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
test dword [esi + 0x5f8], 0x800
jne 0x41c8e3
mov eax, dword [esi]
push esi
call dword [eax + 0x1b4]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x5f8]
test eax, 0x800
jne 0x41c8e3
test al, 0x20
jne 0x41c8e3
mov eax, dword [esi]
push esi
call dword [eax + 0x1c0]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
test dword [esi + 0x5f8], 0x800
jne 0x41c8e3
mov ecx, esi
call fcn.0041d050
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x5f8]
test eax, 0x2000
je 0x41c8b5
cmp di, 0x30
jb 0x41c8af
cmp di, 0x39
jbe 0x41c8b5
cmp di, 0x2d
jne 0x41c8e3
test eax, 0x800
jne 0x41c8e3
cmp di, 0x20
jb 0x41c8e3
cmp di, 0x7f
je 0x41c8e3
xor eax, eax
mov word [ebp + 8], di
push 1
mov word [ebp + 0xa], ax
mov ecx, esi
push 1
lea eax, [ebp + 8]
push eax
push 1
call fcn.0041cb50
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x41c950
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0x610]
mov edi, dword [ecx + 0x614]
cmp eax, edi
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x41c9e2
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 4]
push edi
mov ecx, dword [ecx + 0x5d8]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.00452260
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 0x438]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41d120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
jne 0x41d2e8
push edi
push 0x10
call esi
movzx edi, ax
push 0x11
and edi, 0x8000
call esi
mov ecx, dword [ebp + 0xc]
movzx edx, ax
add ecx, 0xffffffdd
and edx, 0x8000
cmp ecx, 0xb
ja case.0x41d166.38
jmp dword [ecx*4 + 0x41d2f0]
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x41d180
call fcn.0041c690
pop edi
pop esi
pop ebp
ret 0x10
call fcn.0041c570
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x41d19e
call fcn.0041c700
pop edi
pop esi
pop ebp
ret 0x10
call fcn.0041c600
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.0041c650
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.0041c5b0
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0x5f8], 0x800
jne case.0x41d166.38
test edi, edi
je 0x41d1e8
test edx, edx
jne case.0x41d166.38
mov eax, dword [esi + 0x610]
cmp eax, dword [esi + 0x614]
je 0x41d20d
mov eax, dword [esi]
push esi
test edi, edi
je 0x41d2a9
call dword [eax + 0x1c0]
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push 0
push 0xffffffffffffffff
test edi, edi
je 0x41d24b
call fcn.0041bdf0
mov eax, dword [esi + 0x614]
test eax, eax
je 0x41d227
dec eax
push eax
push dword [esi + 0x610]
mov ecx, esi
call fcn.0041bdf0
mov ecx, esi
call fcn.0041bae0
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je 0x41d298
call fcn.0041bdf0
cmp dword [esi + 0x5dc], 0xffffffff
jne 0x41d26f
push dword [esi + 0x5d8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0x5dc], eax
push dword [esi + 0x5dc]
mov ecx, esi
push dword [esi + 0x610]
call fcn.0041bdf0
mov ecx, esi
call fcn.0041bae0
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebp
ret 0x10
call fcn.0041bdf0
push 1
mov ecx, esi
call fcn.0041c600
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebp
ret 0x10
test edi, edi
je 0x41d2d7
mov ecx, dword [ebp + 8]
test dword [ecx + 0x5f8], 0x800
jne case.0x41d166.38
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1b4]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je case.0x41d166.38
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b8]
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x41d6b0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
test dword [ebx + 0x5f8], 0x800
jne 0x41d8b0
push dword [ebx + 0x438]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41d88f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
lea ecx, [ebp - 0x28]
call fcn.004085a0
mov dword [ebp - 4], 0
xor edi, edi
lea esp, [esp]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp ebx, 8
cmovae ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d742
sub ecx, edx
sar ecx, 1
cmp edi, ecx
jae 0x41d7c7
cmp ebx, 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41d762
push 1
sub esi, ecx
lea ecx, [ebp - 0x28]
push 0
push 0x46f974
sar esi, 1
call fcn.0041e8e0
cmp eax, esi
jae 0x41d7c4
push 1
push 0
push 0x46f974
lea ecx, [ebp - 0x28]
call fcn.0041e8e0
push 1
push 0
push 0x46f974
lea ecx, [ebp - 0x28]
lea esi, [eax + 1]
call fcn.0041e8e0
push 0
push 0x46da48
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00412470
add edi, esi
jmp 0x41d730
mov esi, dword [ebp - 0x28]
cmp ebx, 8
lea eax, [ebp - 0x28]
cmovae eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d7d3
sub eax, edx
sar eax, 1
cmp edi, eax
jae 0x41d85b
cmp ebx, 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41d7f3
push 1
sub esi, ecx
lea ecx, [ebp - 0x28]
push 0
push 0x46f978
sar esi, 1
call fcn.0041e8e0
cmp eax, esi
jae 0x41d858
push 1
push 0
push 0x46f978
lea ecx, [ebp - 0x28]
call fcn.0041e8e0
push 1
push 0
push 0x46f978
lea ecx, [ebp - 0x28]
lea esi, [eax + 1]
call fcn.0041e8e0
push 0
push 0x46da48
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00412470
mov ebx, dword [ebp - 0x14]
add edi, esi
jmp 0x41d7c4
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push 1
cmp ebx, 8
push 1
cmovae eax, esi
push eax
push 1
call fcn.0041cb50
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebp - 0x14], 8
jb 0x41d8aa
push dword [ebp - 0x28]
call fcn.00450495
add esp, 4
jmp 0x41d8aa
test byte [ebx + 0x5f8], 0x20
je 0x41d8aa
push 1
push 1
push 0x46f684
push 1
mov ecx, ebx
call fcn.0041cb50
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00451043
mov esp, ebp
pop ebp
ret 4
Function at 0x421690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x421778
cmp ecx, dword [edi + 0x9d4]
jge 0x421778
mov eax, dword [edi + 0x9e4]
push ebx
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x421777
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
and eax, 0x8000
push 0x11
mov dword [ebp - 4], eax
call esi
and eax, 0x8000
cmp dword [edi + 0x9cc], 0
je 0x421730
cmp dword [ebp - 4], 0
jne 0x42170e
test eax, eax
je 0x421730
cmp dword [ebx + 0xc], 0
mov ecx, ebx
je 0x421768
push 1
mov dword [ebx + 0xc], 0
call fcn.00446d30
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00420bf0
cmp eax, 0xffffffff
je 0x421766
push esi
push eax
mov ecx, edi
call fcn.00421780
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
cmp dword [edi + 0x9d4], esi
jle 0x421766
lea ebx, [ebx]
mov eax, dword [edi + 0x9e4]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0xc], 0
je 0x42175d
push 1
mov dword [ecx + 0xc], 0
call fcn.00446d30
inc esi
cmp esi, dword [edi + 0x9d4]
jl 0x421740
mov ecx, ebx
push 4
mov dword [ebx + 0xc], 1
call fcn.00446d30
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x42d970
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.00451060
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add ebx, 0x4b0
push 1
push 0
push 0
push ebx
push str.open
push 0
call esi
cmp eax, 0x20
jg 0x42da68
cmp eax, 2
je 0x42da68
push 1
push 0
push ebx
push str.iexplore.exe
push str.open
push 0
call esi
cmp eax, 0x20
jg 0x42da68
cmp eax, 2
je 0x42da68
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.00451090
push 0x1c
lea eax, [ebp - 0x1004]
push str.url.dll_FileProtocolHandler
push eax
call fcn.00452a6c
add esp, 0x18
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42da12
push edi
lea edi, [ebp - 0x1004]
sub ebx, esi
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42da30
mov ecx, ebx
lea eax, [ebp - 0x1004]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push eax
push str.rundll32.exe
mov ecx, ebx
and ecx, 3
push str.open
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00451043
mov esp, ebp
pop ebp
ret 4

Function at 0x4363f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [edi + 0x4b0]
push eax
push edi
call fcn.00411340
test eax, eax
je 0x43645e
mov eax, dword [edi]
push edi
call dword [eax + 0x18c]
push 0
push 0
push 1
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0x5c0], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x5c4], eax
lea eax, [ebp + 8]
push eax
push 0
push edi
push 0x4361a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x5bc], eax
pop edi
pop ebp
ret 4

Function at 0x436550
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x5bc], 0
je 0x436593
push dword [esi + 0x5c4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [esi + 0x5bc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5bc]
call edi
mov dword [esi + 0x5bc], 0
mov eax, dword [esi + 0x5c0]
test eax, eax
je 0x4365aa
push eax
call edi
mov dword [esi + 0x5c0], 0
mov eax, dword [esi + 0x5c4]
test eax, eax
je 0x4365c1
push eax
call edi
mov dword [esi + 0x5c4], 0
push 1
push 0
push dword [esi + 0x438]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
ret 4
Function at 0x438930
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ecx + 0x7fc]
push edi
mov edi, dword [ecx + 0x800]
cmp eax, edi
mov dword [ebp - 4], ecx
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 8], ecx
cmp edi, ecx
je 0x4389c4
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [ecx + 0x7cc]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.00452260
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push dword [eax + 0x438]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4392c0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
test dword [esi + 0x7e4], 0x800
jne 0x43930e
push edi
push dword [esi + 0x438]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x439306
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push 1
push eax
push 1
mov ecx, esi
call fcn.00439bd0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret

Function at 0x43bd10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bde3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x488580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], eax
mov dword [ebp - 4], eax
mov word [ecx], ax
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push eax
push 0x46da48
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x40], al
mov dword [esi + 0x44], eax
call fcn.0040dd60
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43bde0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be13
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x488580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.TiXmlElement.0
xor ecx, ecx
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], vtable.TiXmlAttribute.0
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], 0
mov dword [ebp - 4], eax
lea eax, [esi + 0x40]
mov word [eax + 0x10], cx
mov dword [eax + 0x3c], 7
mov dword [eax + 0x38], ecx
mov word [eax + 0x28], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x44], eax
mov dword [eax + 0x40], eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
mov byte [ebp - 4], 1
cmp word [edx], cx
jne 0x43bea2
xor eax, eax
jmp 0x43beb6
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43bea7
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0040dd60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43bf40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46be38
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x488580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], 0
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov edi, dword [ebp + 8]
mov dword [esi], vtable.TiXmlText.0
mov dword [ebp - 4], eax
cmp word [edi], ax
jne 0x43bfbb
xor ecx, ecx
jmp 0x43bfcf
mov ecx, edi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43bfc0
sub ecx, ebx
sar ecx, 1
push ecx
push edi
lea ecx, [esi + 0x1c]
call fcn.0040dd60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x440e50
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x488580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x440e84
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x440e84
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x440f6c
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x440ea1
cmp ax, 0x5c
jne 0x440ea3
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x440e95
cmp edi, ebx
je 0x440eef
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.00452260
add esp, 0xc
cmp edi, 0x208
jae 0x440f7c
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.00440e50
add esp, 8
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x440f14
lea ecx, [ebp - 0x20c]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x440f04
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x440f16
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x440f30
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x440f6c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00451043
mov esp, ebp
pop ebp
ret
call fcn.004507d0
int3

Function at 0x441710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4417dd
cmp dword [esi + 4], 0xffffffff
jne 0x4417dd
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x441741
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x441778
cmp eax, 0x2f
je 0x441778
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x441765
mov eax, dword [0x476c20]
mov dword [edi], eax
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x44179e
push edi
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x44179e
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004443d0
add esp, 0x10
test eax, eax
jne 0x4417be
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.00444b00
add esp, 4
mov dword [esi], eax
xor ecx, ecx
mov edx, 0x200
test eax, eax
cmove ecx, edx
pop edi
mov eax, ecx
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc