joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402694
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026a2
call dword [0x449014]
or eax, eax
je 0x4026a3
ret
mov al, 1
jmp fcn.0040276c

Function at 0x4026ac
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026ba
call dword [0x449018]
or eax, eax
jne 0x4026bb
ret
mov al, 2
jmp fcn.0040276c

Function at 0x4026c4
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026fc
test edx, edx
je 0x4026e6
push eax
mov eax, ecx
call dword [0x44901c]
pop ecx
or eax, eax
je 0x4026f5
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040276c
mov dword [eax], edx
mov eax, ecx
call dword [0x449018]
or eax, eax
jne 0x4026df
ret
mov al, 1
jmp fcn.0040276c
test edx, edx
je 0x402710
push eax
mov eax, edx
call dword [0x449014]
pop ecx
or eax, eax
je 0x4026f5
mov dword [ecx], eax
ret

Function at 0x40276c
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x44a004]
test ecx, ecx
je 0x40277c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402795]
jns 0x402790
call fcn.00405bd4
mov eax, dword [eax + 4]
jmp fcn.0040385c

Function at 0x402b40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402bd8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bb8
xor eax, eax
push ebp
push 0x402bb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402bf4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bb8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402e58
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402e72
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402e72
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402e5e
mov al, 0xa
jmp fcn.0040276c
ret

Function at 0x402ea4
Capabilities:
Terminate process

Disassembly:
cmp dword [0x44a018], 0
je 0x402863
call dword [0x44a018]
mov eax, 0xd2
jmp fcn.0040385c
push eax
push ecx
mov eax, dword [eax]
call fcn.00402e74
pop ecx
pop eax
je 0x402eb3
jmp ebx
pop ecx
jmp 0x402854

Function at 0x402ebc
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.00402e74
mov eax, ebx
pop ebx
jne 0x402ed1
pop ecx
jmp 0x402854
ret
Function at 0x403738
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x44a4a0
mov esi, 0x44a034
mov edi, 0x44a038
cmp byte [ebx + 0x24], 0
jne 0x403767
cmp dword [edi], 0
je 0x403767
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403756
cmp dword [0x44a03c], 0
je 0x4037ae
call fcn.004036b4
cmp byte [0x44a044], 0
je 0x403794
mov edx, 0x449020
mov eax, 0x44a218
call fcn.00405470
call fcn.004053f3
jmp 0x4037a7
push 0
push 0x449040
push 0x449020
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x44a03c], eax
cmp byte [ebx + 0x24], 2
jne 0x4037be
cmp dword [esi], 0
jne 0x4037be
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403588
cmp byte [ebx + 0x24], 1
jbe 0x4037ce
cmp dword [esi], 0
je 0x4037eb
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4037eb
call fcn.00404e74
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x4037eb
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403560
cmp byte [ebx + 0x24], 1
jne 0x4037f9
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403804
call fcn.00403704
cmp dword [ebx], 0
jne 0x403811
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4037ae

Function at 0x403e70
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403e34
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403e34
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403e1c
ret

Function at 0x403f18
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040276c
test ecx, ecx
je fcn.00403e34
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403e1c
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x403fe0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40401f
cmp al, 0xb
je 0x40401f
cmp al, 0xc
je 0x404029
cmp al, 0xd
je 0x40403c
cmp al, 0xe
je 0x40405a
cmp al, 0xf
je 0x40401f
cmp al, 0x11
je 0x40401f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040276c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40401f
jmp 0x40406e
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404029
jmp 0x40406e
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403fe0
dec edi
jg 0x40403f
pop ebp
jmp 0x40406e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403fb4
dec edi
jg 0x40405d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403fe0
Function at 0x404074
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40401f
cmp al, 0xb
je 0x40401f
cmp al, 0xc
je 0x404029
cmp al, 0xd
je 0x40403c
cmp al, 0xe
je 0x40405a
cmp al, 0xf
je 0x40401f
cmp al, 0x11
je 0x40401f
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040276c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40401f
jmp 0x40406e
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404029
jmp 0x40406e
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403fe0
dec edi
jg 0x40403f
pop ebp
jmp 0x40406e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403fb4
dec edi
jg 0x40405d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403fe0

Function at 0x4040ac
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x4040f3
cmp al, 0xb
je 0x40410d
cmp al, 0xc
je 0x404124
cmp al, 0xd
je 0x404133
cmp al, 0xe
je 0x404151
cmp al, 0xf
je 0x404167
cmp al, 0x11
je 0x404176
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040276c
cmp ecx, 1
mov eax, ebx
jg 0x404104
call fcn.00403868
jmp 0x404185
mov edx, ecx
call fcn.0040388c
jmp 0x404185
cmp ecx, 1
mov eax, ebx
jg 0x40411b
call fcn.00403e34
jmp 0x404185
mov edx, ecx
call fcn.00403e4c
jmp 0x404185
mov eax, ebx
add ebx, 0x10
call fcn.004048e4
dec edi
jg 0x404124
jmp 0x404185
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004040ac
dec edi
jg 0x404136
pop ebp
jmp 0x404185
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404080
dec edi
jg 0x404154
pop ebp
jmp 0x404185
mov eax, ebx
add ebx, 4
call fcn.00404f3c
dec edi
jg 0x404167
jmp 0x404185
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404ad8
dec edi
jg 0x404176
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x40418c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004040ac
Function at 0x404198
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4041c4
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004027f8
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x404203
cmp cl, 0xb
je 0x404214
cmp cl, 0xc
je 0x404225
cmp cl, 0xd
je 0x404236
cmp cl, 0xe
je 0x404256
cmp cl, 0xf
je 0x40426f
cmp cl, 0x11
je 0x404280
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040276c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004038bc
mov eax, 4
jmp 0x404291
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403e70
mov eax, 4
jmp 0x404291
lea edx, [esi + eax]
add eax, ebx
call fcn.00404530
mov eax, 0x10
jmp 0x404291
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004042b4
pop eax
jmp 0x404291
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404198
pop eax
jmp 0x404291
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404f54
mov eax, 4
jmp 0x404291
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404b14
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4041b2
pop ecx
sub ecx, eax
jle 0x4042ad
lea edx, [ebx + eax]
add eax, esi
call fcn.004027f8
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4042b4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x4042fa
cmp cl, 0xb
je 0x404311
cmp cl, 0xc
je 0x404325
cmp cl, 0xd
je 0x404339
cmp cl, 0xe
je 0x40435a
cmp cl, 0xf
je 0x404377
cmp cl, 0x11
je 0x40438b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040276c
mov eax, ebx
mov edx, dword [esi]
call fcn.004038bc
add ebx, 4
add esi, 4
dec ebp
jne 0x4042fa
jmp 0x40439f
mov eax, ebx
mov edx, dword [esi]
call fcn.00403e70
add ebx, 4
add esi, 4
dec ebp
jne 0x404311
jmp 0x40439f
mov eax, ebx
mov edx, esi
call fcn.00404530
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404325
jmp 0x40439f
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004042b4
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404342
jmp 0x40439f
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404198
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40435a
jmp 0x40439f
mov eax, ebx
mov edx, dword [esi]
call fcn.00404f54
add ebx, 4
add esi, 4
dec ebp
jne 0x404377
jmp 0x40439f
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404b14
add ebx, 4
add esi, 4
dec ebp
jne 0x40438b
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404530
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040276c
cmp eax, edx
je 0x4045c7
cmp word [eax], 8
jb 0x404568
push eax
push edx
cmp word [eax], 0x100
je 0x40455e
cmp word [eax], 0x101
je 0x404556
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404566
call dword [0x44a3e4]
jmp 0x404566
add eax, 8
call fcn.00403868
pop edx
pop eax
cmp word [edx], 8
jae 0x40457f
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x40459a
cmp word [edx], 0x101
jne 0x4045b3
push eax
call 0x40456e
pop eax
jmp dword [0x44a3ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x4045aa
mov ecx, dword [edx - 8]
inc ecx
jle 0x4045aa
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4044e4
ret
Function at 0x404b90
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404d48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404bf1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404d64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404c5e
xor eax, eax
push ebp
push 0x404c57
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404c40
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404d84
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404c5e
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404d3f
cmp byte [ebp - 0xd], 0
jne 0x404ca0
cmp byte [ebp - 0x12], 0
je 0x404d3f
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404cb9
dec ebx
cmp byte [ebx], 0x2e
je 0x404cc8
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404cb8
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404d3f
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404cf5
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d3f
cmp byte [ebp - 0xd], 0
je 0x404d3f
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404d3f
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408580
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4085b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040394c
jmp 0x4085c2
mov eax, ebx
mov edx, esi
call fcn.00403900
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4085cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4085ed
mov al, byte [esp]
jmp 0x4085ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41387c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x413882
ret

Function at 0x415de8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x415e39
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x415e20
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x415e10
jmp 0x415e39
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x415e21
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x419408
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ch, 0
add byte [eax], al
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x419465
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x41946a
jmp 0x418dbd
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x4194b1
lea eax, [ebp - 0x714]
push eax
call fcn.0041742b
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004173e0
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je fcn.004194bc
jmp 0x4194c1

Function at 0x420228
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4202b2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
jne 0x420299
mov eax, dword [0x449d00]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x420267
push ebx
push 0x4202c0
call fcn.004390cc
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x420295
lea edx, [ebp - 4]
mov eax, dword [0x449b24]
call fcn.00404ee4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x406b7c]
call fcn.00408cc0
call fcn.00403360
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4202b9
lea eax, [ebp - 4]
call fcn.00403868
ret
Function at 0x4202e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00420228
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x420352
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x420326
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403a1c
jmp 0x42032d
mov eax, ebx
call fcn.00403868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420359
cmp dword [ebp - 8], 0
je 0x420349
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.004201fc
ret

Function at 0x420360
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42043e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00420228
xor edx, edx
push ebp
push 0x420421
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x4203ea
mov edx, ebx
mov eax, dword [0x413350]
call fcn.00417170
test al, al
je 0x4203da
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00417044
call fcn.00403400
jmp 0x420428
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x4203a5
lea edx, [ebp - 8]
mov eax, dword [0x449b64]
call fcn.00404ee4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x406b7c]
call fcn.00408cc0
call fcn.00403360
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420428
mov eax, dword [ebp - 4]
call fcn.004201fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420445
lea eax, [ebp - 8]
call fcn.00403868
ret

Function at 0x42044c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00420228
xor eax, eax
push ebp
push 0x4204a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4204ab
mov eax, dword [ebp - 4]
call fcn.004201fc
ret
Function at 0x4204b4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00420228
xor edx, edx
push ebp
push 0x420509
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420510
mov eax, dword [ebp - 4]
call fcn.004201fc
ret

Function at 0x420580
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00420228
xor eax, eax
push ebp
push 0x4205f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004201e0
cld
invalid
push dword [ebx]
ror byte [ecx + 0x458df045], 0xf0
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00417144
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4205df
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4205fc
mov eax, dword [ebp - 4]
call fcn.004201fc
ret

Function at 0x420604
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00420228
xor eax, eax
push ebp
push 0x420679
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004201e0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x420663
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420680
mov eax, dword [ebp - 4]
call fcn.004201fc
ret