joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x491cf5
cmp di, 0x801
ja 0x491cf5
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x491cf5
cmp bx, 0xc
ja 0x491cf5
mov al, byte [esp + 0x30]
test al, al
je 0x491bf4
push edi
call fcn.00492130
add esp, 4
cmp ax, bx
je 0x491bf4
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.00491d00
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00491b20
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x491cf5
test ebx, ebx
jne 0x491c89
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x491ceb
test al, al
je 0x491c7c
push 0xffffffffffffffe1
jmp 0x491c7e
push 0x1f
push ebp
push edi
push esi
call fcn.00491ad0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00491ad0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.00491d00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00491b20
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x491c56
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4933a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c9268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x5664cc
lea ecx, [esp + 4]
call fcn.004b6357
push 0x543edc
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004b6357
push 0x543ed8
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004b6357
push 0x543ed4
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004b6357
push 0x543ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004b6357
push 0x543ecc
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004b6357
push 0x543ec8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004b6357
push 0x543ec4
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004b6357
push 0x543ec0
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004b6357
push 0x543ebc
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004b6357
push 0x543eb8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004b6357
push 0x543eb4
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004b6357
push 0x543eb0
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004b6357
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4934d0
cmp eax, 0xc
jle 0x4934d0
mov ecx, dword [esp + 0x48]
push 0x5664cc
call fcn.004b6472
jmp 0x4934de
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004b6422
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004b62e9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004b62e9
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004b62e9
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004b62e9
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004b62e9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004b62e9
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004b62e9
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004b62e9
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004b62e9
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004b62e9
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004b62e9
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004b62e9
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004b62e9
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x495040
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4c9428
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call fcn.0049ca91
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x38], 0
call fcn.004b6357
lea ecx, [esp + 0x3c]
push 1
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.004b36f3
mov eax, dword [eax]
push 0x5440dc
push eax
call fcn.004a5264
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
setne bl
call fcn.004b62e9
test bl, bl
je 0x4950c0
push 0x5440dc
lea ecx, [esp + 0xc]
call fcn.004b66c5
push 0x5440d8
lea ecx, [esp + 0xc]
call fcn.004b66c5
mov edx, dword [esp + 8]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.0049cb54
test eax, eax
je 0x495184
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
mov bl, 2
lea ecx, [esp + 0x18]
call fcn.0049cd74
mov edi, eax
mov eax, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [eax + 0x38]
test eax, eax
je 0x495140
lea ecx, [esp + 0x18]
call fcn.0049cd3b
test eax, eax
jne 0x495140
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0049ce43
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x40], bl
call fcn.00495040
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0x44]
jmp 0x495175
lea ecx, [esp + 0x18]
call fcn.0049cd3b
test eax, eax
jne 0x49517a
mov edx, dword [esp + 0x18]
push 0x10
lea ecx, [esp + 0x1c]
call dword [edx + 0x38]
test eax, eax
jne 0x49517a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.0049ce43
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x14]
call fcn.004b62e9
test edi, edi
jne 0x4950f0
pop edi
pop ebp
lea ecx, [esp + 0x10]
call fcn.0049cb0a
lea ecx, [esp + 8]
mov byte [esp + 0x34], 0
call fcn.004b62e9
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0049cace
mov ecx, dword [esp + 0x2c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x495280
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c9456
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x545f88]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004b6472
push str..
lea ecx, [esp + 0x10]
call fcn.004b66c5
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x495323
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.004b62e9
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.004b62e9
xor eax, eax
jmp 0x495468
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x5440fc
push edx
call fcn.004a5264
add esp, 8
test eax, eax
je 0x495419
lea eax, [esp + 0x48]
push 0x5440f8
push eax
call fcn.004a5264
add esp, 8
test eax, eax
je 0x495419
test ebp, ebp
jne 0x495385
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004a5313
add esp, 8
test eax, eax
je 0x495419
push esi
lea ecx, [esp + 0x14]
call fcn.004b6472
push 0x5c
lea ecx, [esp + 0x14]
call fcn.004b66ec
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.004b66c5
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4953c5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4953e7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00495280
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x495419
test edi, edi
je 0x49540e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004a5313
add esp, 8
test eax, eax
jne 0x49540e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.00495490
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x495333
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.004b62e9
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.004b62e9
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x495490
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c946b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.004a5b20
mov eax, dword [0x545f88]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004b6472
push 0x5c
lea ecx, [esp + 8]
call fcn.004b66ec
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.004b66c5
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x495536
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.004b62e9
xor eax, eax
jmp 0x4955b3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x495591
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x495583
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x49555d
jmp 0x495591
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.004b62e9
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x495dc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x495e26
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x495e26
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x495e07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x496590
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4965d9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x496a50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00496600
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00496680
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00496680
lea ecx, [esi + 0xc]
call fcn.004b6274
lea ecx, [esi + 0x10]
call fcn.004b6274
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00497c10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00497c10
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00497c10
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004b62e9
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004b62e9
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4b712f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004c1363
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4b7160
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.004b7173
pop edi
pop esi
pop ebx
ret 8

Function at 0x4b8747
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4b877f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004b6790
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004b6768
jmp 0x4b878b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ba036
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ba078
call fcn.004c1363
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ba078
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ba06f
xor eax, eax
jmp 0x4ba080
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ba086
pop edi
pop esi
pop ebx
ret 4

Function at 0x4c1893
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4c18c1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4c18df
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004c17f9
jmp 0x4c18df
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4c18df
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004c17f9
test edi, edi
mov eax, edi
jne 0x4c18c9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a07c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x40831a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x42cf6c], 0
mov dword [ebp - 0x18], eax
jne 0x4083cd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408475
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408475
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42cf6c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42cf70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42cf74], eax
call edi
push eax
call esi
mov dword [0x42cf7c], eax
test eax, eax
je 0x4083cd
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42cf78], eax
mov eax, dword [0x42cf78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408426
cmp dword [0x42cf7c], ecx
je 0x408426
push eax
call esi
push dword [0x42cf7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408426
test ebx, ebx
je 0x408426
call edi
test eax, eax
je 0x40841d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40841d
test byte [ebp - 8], 1
jne 0x408426
or dword [ebp + 0x10], 0x200000
jmp 0x408459
mov eax, dword [0x42cf70]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408459
mov eax, dword [0x42cf74]
cmp eax, dword [ebp - 0x18]
je 0x408459
push eax
call esi
test eax, eax
je 0x408459
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42cf6c]
call esi
test eax, eax
je 0x408475
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408477
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x100126bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100122e7
push eax
push esi
push dword [ebp + 8]
call fcn.1001229c
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100122e7
push eax
push esi
push dword [ebp + 8]
call fcn.1001229c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100122d7
enter 0x49e0, 0xb
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.100122d7
add dh, byte [edx - 0x7a72fbc7]
jl 0x100127c2
invalid
invalid
Function at 0x1001bab2
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.10011225
and dword [ebp - 4], 0
cmp dword [0x10026680], 0
mov ebx, eax
jne 0x1001bb63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001bc14
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10020064
push edi
call esi
test eax, eax
je 0x1001bc14
push eax
call fcn.100111b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10026680], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10026684], eax
call esi
push eax
call fcn.100111b3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10026688], eax
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x10026690], eax
test eax, eax
je 0x1001bb63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100111b3
pop ecx
mov dword [0x1002668c], eax
mov eax, dword [0x1002668c]
cmp eax, ebx
je 0x1001bbbb
cmp dword [0x10026690], ebx
je 0x1001bbbb
push eax
call fcn.1001122e
push dword [0x10026690]
mov esi, eax
call fcn.1001122e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001bbbb
test edi, edi
je 0x1001bbbb
call esi
test eax, eax
je 0x1001bbb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001bbb2
test byte [ebp - 0xc], 1
jne 0x1001bbbb
or dword [ebp + 0x10], 0x200000
jmp 0x1001bbf4
mov eax, dword [0x10026684]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001bbf4
mov eax, dword [0x10026688]
cmp eax, ebx
je 0x1001bbf4
push eax
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bbf4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10026680]
call fcn.1001122e
pop ecx
test eax, eax
je 0x1001bc14
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001bc16
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401330
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x4013a0
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x401398
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x40135d
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret