joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e71e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x47f170]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x41e7bc
push 0x467d8c
push 4
push eax
call fcn.00445327
push eax
call fcn.0040306a
add esp, 0x10
push ebx
push edi
call fcn.004452de
mov edi, dword [eax]
call fcn.004452de
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00444271
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.004452de
cmp dword [eax], ebx
je 0x41e7d3
call fcn.004452de
push dword [eax]
call fcn.0041e0e1
pop ecx
jmp 0x41e7da
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x41e764
jmp 0x41e861
call fcn.004452de
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x41e85d
cmp dword [ebp - 0x11c], esi
jae 0x41e85d
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00441600
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x41e84c
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41e84c
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x41e84c
push ebx
push ebx
push esi
jmp 0x41e855
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x41e85f
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00441ca7
leave
ret

Function at 0x422491
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46307a
call fcn.00441cb6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4224b6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4224fc
lea ecx, [ebp - 0x10]
call fcn.00403883
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041de84
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040127f
mov eax, esi
call fcn.00441d8e
ret 8
Function at 0x424516
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x42455e
call fcn.0041fcf4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42455e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4245a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x42458a
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x42458a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42459e
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x425803
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x425827
cmp dword [edi + 0x54], 0
jne 0x425827
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041fcf4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004257c4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42bfce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42c015
call fcn.0041fcf4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42c015
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42c031
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042bb48
mov esi, eax
test edi, edi
je 0x42c02f
test ebx, ebx
je 0x42c02f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42d629
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x42d654
call fcn.0041fcf4
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x42d677
push eax
push dword [esi + 4]
call fcn.0042d5af
push esi
push eax
mov ecx, 0x48e70c
call fcn.0042d223
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x42dedc
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x462544
call fcn.00441cb6
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042de9c
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403883
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x42df42
push eax
push dword [esi + 8]
call fcn.0042d5af
push dword [esi + 0xc]
mov ecx, 0x48e70c
push eax
call fcn.0042d223
mov eax, esi
call fcn.00441d8e
ret 0x18
Function at 0x441ca7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47f170]
jne 0x441cb1
repz ret
jmp fcn.0044be9c
Function at 0x457d1e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00449e74
and dword [ebp - 4], 0
cmp dword [0x48f4dc], 0
mov ebx, eax
jne 0x457dcf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x457e80
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46d7d4
push edi
call esi
test eax, eax
je 0x457e80
push eax
call fcn.00449e02
mov dword [esp], 0x46d7c4
push edi
mov dword [0x48f4dc], eax
call esi
push eax
call fcn.00449e02
mov dword [esp], 0x46d7b0
push edi
mov dword [0x48f4e0], eax
call esi
push eax
call fcn.00449e02
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48f4e4], eax
call esi
push eax
call fcn.00449e02
pop ecx
mov dword [0x48f4ec], eax
test eax, eax
je 0x457dcf
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00449e02
pop ecx
mov dword [0x48f4e8], eax
mov eax, dword [0x48f4e8]
cmp eax, ebx
je 0x457e27
cmp dword [0x48f4ec], ebx
je 0x457e27
push eax
call fcn.00449e7d
push dword [0x48f4ec]
mov esi, eax
call fcn.00449e7d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x457e27
test edi, edi
je 0x457e27
call esi
test eax, eax
je 0x457e1e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x457e1e
test byte [ebp - 0xc], 1
jne 0x457e27
or dword [ebp + 0x10], 0x200000
jmp 0x457e60
mov eax, dword [0x48f4e0]
cmp eax, ebx
je 0x457e60
push eax
call fcn.00449e7d
pop ecx
test eax, eax
je 0x457e60
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x457e60
mov eax, dword [0x48f4e4]
cmp eax, ebx
je 0x457e60
push eax
call fcn.00449e7d
pop ecx
test eax, eax
je 0x457e60
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48f4dc]
call fcn.00449e7d
pop ecx
test eax, eax
je 0x457e80
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x457e82
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100010c0
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x100010ee
push ebx
push ebp
push esi
mov esi, dword [0x10019df0]
movzx ebx, byte [ecx + edi]
mov ebp, eax
and ebp, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [esi + ebx*4]
inc ecx
cmp ecx, edx
jb 0x100010d2
pop esi
pop ebp
pop ebx
not eax
ret

Function at 0x100014a0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100053f2
add esp, 4
push 0
push 0
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100014ea
xor esi, esi
jmp 0x10001502
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
neg esi
sbb esi, esi
and esi, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi], 0x64
jne 0x100015ea
cmp byte [esi + 1], 0x62
jne 0x100015ea
cmp byte [esi + 2], 0x6e
jne 0x100015ea
cmp byte [esi + 3], 0x21
jne 0x100015ea
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x100015ea
lea edx, [eax + 2]
test dl, 7
jne 0x100015ea
lea edx, [eax - 6]
shr edx, 3
test edx, edx
jbe 0x100015d5
mov ebx, dword [0x100199d4]
mov edi, dword [0x1001955c]
push ebp
mov ebp, dword [0x10019564]
lea ecx, [ebp + ebx*4]
lea eax, [esi + 8]
sub edi, ebp
mov dword [esp + 0x10], edx
cmp ebx, dword [0x100199d8]
jae 0x100015c4
movzx edx, byte [eax - 2]
movzx ebp, byte [eax - 1]
shl edx, 8
add edx, ebp
movzx ebp, byte [eax]
shl edx, 8
add edx, ebp
movzx ebp, byte [eax + 1]
shl edx, 8
add edx, ebp
mov dword [edi + ecx], edx
movzx edx, byte [eax + 2]
movzx ebp, byte [eax + 3]
shl edx, 8
add edx, ebp
movzx ebp, byte [eax + 4]
shl edx, 8
add edx, ebp
movzx ebp, byte [eax + 5]
shl edx, 8
add edx, ebp
mov dword [ecx], edx
inc ebx
add ecx, 4
add eax, 8
sub dword [esp + 0x10], 1
jne 0x10001576
mov dword [0x100199d4], ebx
pop ebp
push esi
call fcn.1000537d
mov eax, dword [0x100199d4]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x10002570
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, ecx
mov edi, edx
test eax, eax
jne 0x10002588
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test esi, esi
je 0x10002590
cmp eax, esi
ja 0x10002592
mov esi, eax
push esi
call fcn.100053f2
add esp, 4
push 0
push 0
push 0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x100025b6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push ebp
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100025af
cmp dword [esp + 0x18], 1
jne 0x100025da
mov edi, dword [ebp]
mov edx, ebx
call fcn.100047c0
mov dword [ebp], eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x10002c10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002cbd
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
lea ecx, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x4c], 0
call fcn.100044c0
mov edi, dword [esp + 0x18]
add edi, 0xc00
lea ecx, [edi + 0x1000]
add esp, 4
cmp ebx, ecx
jb 0x10002cb6
push 3
xor ecx, ecx
mov edx, esi
call fcn.10002ce0
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [edx], eax
test eax, eax
je 0x10002cb6
push 0
mov ecx, edi
mov edx, esi
call fcn.10002ce0
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x10002cb6
push 1
mov ecx, edi
mov edx, esi
call fcn.10002ce0
mov edx, dword [ebp + 0xc]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x10002cc6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100044c0
Capabilities:
Access peb ldr_data
Get file size
Get ntdll base address
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10015a60
push 0x10008510
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1001703c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
fld qword [0x10015410]
fstp qword [esi + 0x30]
wait
mov dword [ebp - 4], ebx
push ebx
push ebx
push ebx
push 2
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x100046a6
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, ebx
je 0x100046a6
mov ecx, 0x5a4d
cmp word [edi], cx
jne 0x100046a6
mov ebx, dword [edi + 0x3c]
add ebx, edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x100046a4
cmp dword [ebx], 0x4550
jne 0x100046a4
movzx eax, word [ebx + 6]
test ax, ax
je 0x100046a4
movzx ecx, word [ebx + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x100045b5
mov dword [ebp - 0x20], 0
jmp 0x10004600
mov eax, 0x20b
cmp cx, ax
jne 0x100046a4
mov dword [ebp - 0x20], 1
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 0x1c], eax
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x100046a4
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x4550
jne 0x100046a4
movzx eax, word [ebx + 6]
test ax, ax
je 0x100046a4
mov edx, dword [ebx + 0x58]
mov dword [esi + 0x24], edx
mov ecx, dword [ebx + 8]
mov dword [esi + 0x28], ecx
mov edx, 0x2000
test word [ebx + 0x16], dx
je 0x1000461f
or dword [esi], 2
jmp 0x100046a4
or dword [esi], 8
movzx eax, ax
mov dword [ebp - 0x2c], eax
movzx ebx, word [ebx + 4]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [edi + 0x3c]
movzx ecx, word [ebp - 0x2c]
inc ecx
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8 + 0xf8]
cmp ecx, eax
jae 0x100046a4
mov eax, dword [edx + edi + 0x10c]
mov dword [esi + 4], eax
mov eax, dword [edx + edi + 0x108]
test eax, eax
jne 0x1000466e
mov eax, dword [edx + edi + 0x130]
test eax, eax
jbe 0x10004671
mov dword [esi + 8], eax
cmp dword [ebp - 0x20], 1
jne 0x10004689
cmp dword [ebp - 0x1c], 0
je 0x10004689
mov edx, dword [edx + edi + 0x11c]
mov dword [esi + 4], edx
jmp 0x1000469d
mov ecx, 0x8664
cmp bx, cx
je 0x1000469d
mov edx, 0x200
cmp bx, dx
jne 0x100046a4
mov dword [esi + 0x20], 2
xor ebx, ebx
wait
mov dword [ebp - 4], 0xfffffffe
call fcn.100046cc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005020
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
jbe 0x10005055
mov dl, byte [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
sub edi, ebp
lea esp, [esp]
lea esi, [eax + ebp]
mov bl, byte [edi + esi]
xor bl, dl
xor bl, al
inc eax
mov byte [esi], bl
cmp eax, ecx
jb 0x10005040
pop edi
pop esi
pop ebp
pop ebx
mov eax, 1
ret 0x10

Function at 0x1000536e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001703c]
jne 0x10005378
repz ret
jmp fcn.100059a4

Function at 0x1000cd45
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10007a86
and dword [ebp - 4], 0
cmp dword [0x10018cb8], 0
mov ebx, eax
jne 0x1000cdf6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000cea7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000cea7
push eax
call fcn.10007a14
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10018cb8], eax
call esi
push eax
call fcn.10007a14
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10018cbc], eax
call esi
push eax
call fcn.10007a14
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10018cc0], eax
call esi
push eax
call fcn.10007a14
pop ecx
mov dword [0x10018cc8], eax
test eax, eax
je 0x1000cdf6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10007a14
pop ecx
mov dword [0x10018cc4], eax
mov eax, dword [0x10018cc4]
cmp eax, ebx
je 0x1000ce4e
cmp dword [0x10018cc8], ebx
je 0x1000ce4e
push eax
call fcn.10007a8f
push dword [0x10018cc8]
mov esi, eax
call fcn.10007a8f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000ce4e
test edi, edi
je 0x1000ce4e
call esi
test eax, eax
je 0x1000ce45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000ce45
test byte [ebp - 0xc], 1
jne 0x1000ce4e
or dword [ebp + 0x10], 0x200000
jmp 0x1000ce87
mov eax, dword [0x10018cbc]
cmp eax, ebx
je 0x1000ce87
push eax
call fcn.10007a8f
pop ecx
test eax, eax
je 0x1000ce87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000ce87
mov eax, dword [0x10018cc0]
cmp eax, ebx
je 0x1000ce87
push eax
call fcn.10007a8f
pop ecx
test eax, eax
je 0x1000ce87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10018cb8]
call fcn.10007a8f
pop ecx
test eax, eax
je 0x1000cea7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000cea9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x76115c34
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x53670b49
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x40894f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
and ebx, ebx
or eax, eax
call fcn.0040896f
or eax, ebx
xor dword [ecx], edx
add eax, eax
add ecx, 1
cmp ecx, esi
jne fcn.0040894f
ret
Function at 0x10001270
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x1000129e
mov eax, dword [ebp - 0xc]
sub eax, 0xe
mov dword [ebp - 0x10], eax
je 0x10001310
jmp 0x1000128e
mov eax, dword [ebp - 0xc]
sub eax, 0x5e
mov dword [ebp - 0x14], eax
je 0x10001310
jmp 0x1000133b
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, 0xf0f0f0f1
mov dword [ebp - 0x1c], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
je 0x100012dd
jmp 0x100012d0
mov eax, dword [ebp - 0x20]
sub eax, 8
mov dword [ebp - 0x28], eax
jne 0x100012f2
jmp 0x100012dd
mov eax, esp
mov dword [eax], 0x8cd737
mov eax, dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call eax
sub esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x118
mov dword [ebp - 0x18], eax
je 0x1000127d
jmp 0x100012a9
mov dword [ebp - 4], 0xe4b
mov eax, esp
lea ecx, [ebp - 4]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0xb1
mov dword [eax], 0xd887ff
mov eax, dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call eax
sub esp, 0xc
mov dword [ebp - 0x34], eax
jmp 0x1000133b
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, 0x7d
mov dword [ebp - 8], eax
jne 0x1000129e
add esp, 0x40
pop ebp
ret

Function at 0x10008967
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10174b60]
jne 0x10008971
repz ret
jmp fcn.1000a45b