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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43548a
cmp dword [ebp + 0x14], edi
je 0x43548a
cmp ecx, edi
jne 0x435491
call fcn.00436a1e
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00438bae
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4354a5
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4354c6
cmp ebx, 0xffffffff
je 0x4354b5
push ebx
push edi
push ecx
call fcn.00433810
add esp, 0xc
cmp esi, edi
je 0x435472
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x435472
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4354e2
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4354e9
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4355da
test word [esi + 0xc], 0x10c
je 0x43553d
mov eax, dword [esi + 4]
test eax, eax
je 0x43553d
jl 0x43563b
cmp ebx, eax
mov edi, ebx
jb 0x43550e
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4355e2
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00433131
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4355d2
cmp ebx, dword [ebp - 0xc]
jb 0x4355aa
cmp dword [ebp - 0xc], 0
je 0x435567
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x43555c
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x435563
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x435572
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x435572
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43560e
push eax
push dword [ebp - 8]
push esi
call fcn.0043507b
pop ecx
push eax
call fcn.0044115d
add esp, 0xc
test eax, eax
je 0x43564d
cmp eax, 0xffffffff
je 0x43563b
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4355d2
push esi
call fcn.00440a7c
cmp eax, 0xffffffff
pop ecx
je 0x43563f
cmp dword [ebp - 4], 0
je 0x43560e
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4354f1
mov eax, dword [ebp + 0x14]
jmp 0x43548c
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4355f9
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00433810
add esp, 0xc
call fcn.00436a1e
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x435482
cmp dword [ebp + 0xc], 0xffffffff
je 0x435624
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00433810
add esp, 0xc
call fcn.00436a1e
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x435482
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43548c
or dword [esi + 0xc], 0x10
jmp 0x43563f
Function at 0x43b764
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 + 0x465c58]
je 0x43b77f
inc edi
cmp edi, 0x17
jb 0x43b770
cmp edi, 0x17
jae 0x43b8ff
push ebp
push 3
call fcn.00443740
cmp eax, 1
pop ecx
je 0x43b8cb
push 3
call fcn.00443740
test eax, eax
pop ecx
jne 0x43b7b3
cmp dword [0x4650ec], 1
je 0x43b8cb
cmp ebx, 0xfc
je 0x43b8fe
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4695f0
push ebp
call fcn.004423c2
add esp, 0xc
test eax, eax
je 0x43b7e9
push esi
push esi
push esi
push esi
push esi
call fcn.00438ab2
add esp, 0x14
push 0x104
mov esi, 0x469609
push esi
push 0
mov byte [0x46970d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43b82d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004423c2
add esp, 0xc
test eax, eax
je 0x43b82d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00438ab2
add esp, 0x14
push esi
call fcn.0043fda0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43b872
push esi
call fcn.0043fda0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x469904
push 0x456ae4
sub ecx, eax
push ecx
push eax
call fcn.00442d26
add esp, 0x14
test eax, eax
je 0x43b872
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00438ab2
add esp, 0x14
jmp 0x43b874
xor esi, esi
push 0x456ae0
push ebx
push ebp
call fcn.00442c65
add esp, 0xc
test eax, eax
je 0x43b894
push esi
push esi
push esi
push esi
push esi
call fcn.00438ab2
add esp, 0x14
push dword [edi*8 + 0x465c5c]
push ebx
push ebp
call fcn.00442c65
add esp, 0xc
test eax, eax
je 0x43b8b6
push esi
push esi
push esi
push esi
push esi
call fcn.00438ab2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00443583
add esp, 0xc
jmp 0x43b8fe
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43b8fe
cmp ebp, 0xffffffff
je 0x43b8fe
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x465c5c]
push dword [esi]
call fcn.0043fda0
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 0x443583
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043966f
xor ebx, ebx
cmp dword [0x469c60], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x443659
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x443739
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x443739
push eax
call fcn.00439601
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x469c60], eax
call esi
push eax
call fcn.00439601
mov dword [esp], 0x457d00
push edi
mov dword [0x469c64], eax
call esi
push eax
call fcn.00439601
mov dword [0x469c68], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043861e
test eax, eax
pop ecx
pop ecx
je 0x443627
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00438ab2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x443659
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439601
cmp eax, ebx
pop ecx
mov dword [0x469c70], eax
je 0x443659
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439601
pop ecx
mov dword [0x469c6c], eax
mov eax, dword [0x469c6c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4436de
cmp dword [0x469c70], ecx
je 0x4436de
push eax
call fcn.00439678
push dword [0x469c70]
mov esi, eax
call fcn.00439678
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4436de
cmp edi, ebx
je 0x4436de
call esi
cmp eax, ebx
je 0x4436ab
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4436ab
test byte [ebp - 0x18], 1
jne 0x4436de
lea eax, [ebp - 0x10]
push eax
call fcn.00438655
test eax, eax
pop ecx
je 0x4436c6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00438ab2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4436d5
or dword [ebp + 0x10], 0x200000
jmp 0x443719
or dword [ebp + 0x10], 0x40000
jmp 0x443719
mov eax, dword [0x469c64]
cmp eax, dword [ebp - 8]
je 0x443719
push eax
call fcn.00439678
cmp eax, ebx
pop ecx
je 0x443719
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x443719
mov eax, dword [0x469c68]
cmp eax, dword [ebp - 8]
je 0x443719
push eax
call fcn.00439678
cmp eax, ebx
pop ecx
je 0x443719
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x469c60]
call fcn.00439678
cmp eax, ebx
pop ecx
je 0x443739
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44373b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402ee4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x47d008], 0x8088405
inc edx
mov dword [ebx + 0x47d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40333c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47d024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033d4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033b4
xor eax, eax
push ebp
push 0x4033ad
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 0x4033f0
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 0x4033b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47d024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47d024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404118
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x537048], 0
je 0x404179
cmp word [0x53721c], 0xd7b2
jne 0x404141
cmp dword [0x537224], 0
jbe 0x404141
mov eax, 0x537218
call dword [0x537234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47d070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041a0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47d034], 0
jne 0x404195
push 0
push 0x47d068
push 0x47d070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4061bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406222
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040450c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f00
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40620c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406229
lea eax, [ebp - 0x10]
call fcn.0040429c
ret

Function at 0x408ab8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040475c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408ad1
test al, 0x10
jne 0x408ad5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b5f8
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 0x40b631
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040438c
jmp 0x40b63a
mov eax, ebx
mov edx, esi
call fcn.004042f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b644
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 0x40b665
mov al, byte [esp]
jmp 0x40b667
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bcfc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bb64
mov eax, dword [0x536280]
cmp byte [eax], 0
je 0x40bd78
mov eax, dword [0x53607c]
call fcn.00402d50
call fcn.00402bc4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408db4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bdc0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bdae
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x53601c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x537664]
call fcn.00405628
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c61c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c6f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404334
lea eax, [ebp - 8]
call fcn.004047ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c6dc
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c6d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040475c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c6bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c704
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c6bf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6dc
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6f9
lea eax, [ebp - 8]
call fcn.0040429c
ret

Function at 0x40cce8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cd4c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040450c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408790
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd53
lea eax, [ebp - 0xc]
call fcn.0040429c
ret
Function at 0x422140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x537884
cmp dword [esi], 0
jne 0x4221e6
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x537880]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x47d498
mov ecx, 2
call fcn.00402c58
mov edx, 0x422118
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422138
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00422138
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4221ad
mov eax, dword [ebp - 8]
mov dword [0x537880], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423794
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 0x42379a
ret

Function at 0x425d64
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 0x425db5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425d9c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425d8c
jmp 0x425db5
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 0x425d9d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4340a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x434260
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.00443a58
mov eax, dword [ebx]
cmp byte [eax + 0x210], 0
je 0x434245
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x434103
mov eax, dword [ebx]
add eax, 0x21c
call fcn.0040429c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4341d4
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x536380]
and eax, 0xff
bt dword [edx], eax
jae 0x434196
push 1
push 0x102
push 0x102
mov eax, dword [ebx]
call fcn.00444a74
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x434214
mov eax, dword [ebx]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404484
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00404484
push dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x21c
mov edx, 3
call fcn.0040461c
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x434214
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404484
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x21c
call fcn.00404564
jmp 0x434214
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040455c
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004047fc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040455c
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040c788
cmp al, 2
je 0x4341b4
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040455c
mov edx, eax
mov eax, dword [ebx]
add eax, 0x21c
mov ecx, 1
call fcn.004047fc
mov eax, dword [ebx]
mov eax, dword [eax + 0x21c]
call fcn.0040455c
test eax, eax
jle 0x43422e
push ebp
call fcn.00433fbc
pop ecx
jmp 0x434245
xor edx, edx
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebx]
mov si, 0xffeb
call fcn.004036d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434267
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004042c0
ret
Function at 0x43705c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040474c
xor eax, eax
push ebp
push 0x43718c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43715f
xor eax, eax
push ebp
push 0x437158
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040455c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43712d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43711c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040455c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040475c
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c58
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437123
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x535fc4]
mov dl, 1
mov eax, dword [0x4075dc]
call fcn.0040be80
call fcn.00403cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437193
lea eax, [ebp - 4]
call fcn.0040429c
ret
Function at 0x43719c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43734d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040494c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x437364
call fcn.004045a8
mov eax, ebx
call fcn.004216bc
mov edi, eax
dec edi
test edi, edi
jl 0x437254
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421690
mov edx, dword [0x430574]
call fcn.00403668
test al, al
je 0x437250
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421690
lea edx, [ebp - 0x14]
call fcn.0043e26c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040494c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040461c
inc esi
dec edi
jne 0x437202
mov al, byte [0x437368]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x437374
mov eax, dword [ebp - 0xc]
call fcn.0040d2c4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404334
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043e26c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x437364
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043e26c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x437364
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x437364
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x437380
call fcn.004094c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437354
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042c0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042c0
lea eax, [ebp - 0x14]
call fcn.0040429c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042c0
ret

Function at 0x438900
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43884c
call sub.user32.dll_EnumWindows
ret