joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432bf3
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x432c57
push 0x3d
push dword [ebp + 8]
call fcn.004331af
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
mov dword [ebp - 8], esi
je 0x432c57
cmp dword [ebp + 8], esi
je 0x432c57
mov eax, dword [0x459202]
xor ebx, ebx
cmp byte [esi + 1], bl
sete bl
cmp eax, dword [0x459206]
jne 0x432c3d
push eax
call fcn.00432dd2
pop ecx
mov dword [0x459202], eax
cmp eax, edi
jne 0x432c95
cmp dword [ebp + 0xc], edi
je 0x432c5f
cmp dword [0x45920a], edi
je 0x432c5f
call fcn.004326c0
test eax, eax
je 0x432c95
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp ebx, edi
jne 0x432d73
push 4
call fcn.0042d726
cmp eax, edi
pop ecx
mov dword [0x459202], eax
je 0x432c57
mov dword [eax], edi
cmp dword [0x45920a], edi
jne 0x432c95
push 4
call fcn.0042d726
cmp eax, edi
pop ecx
mov dword [0x45920a], eax
je 0x432c57
mov dword [eax], edi
sub esi, dword [ebp + 8]
mov edi, dword [0x459202]
mov dword [ebp - 4], edi
push esi
push dword [ebp + 8]
call fcn.00432d7a
mov esi, eax
pop ecx
test esi, esi
pop ecx
jl 0x432cf5
cmp dword [edi], 0
je 0x432cf5
test ebx, ebx
je 0x432ced
push dword [edi + esi*4]
lea edi, [edi + esi*4]
call fcn.0042da98
pop ecx
cmp dword [edi], 0
je 0x432cd7
mov eax, dword [edi + 4]
inc esi
mov dword [edi], eax
add edi, 4
jmp 0x432cc7
mov eax, esi
shl eax, 2
push eax
push dword [ebp - 4]
call fcn.00432e80
pop ecx
test eax, eax
pop ecx
je 0x432d27
jmp 0x432d22
mov eax, dword [ebp + 8]
mov dword [edi + esi*4], eax
jmp 0x432d27
test ebx, ebx
jne 0x432d73
test esi, esi
jge 0x432cff
neg esi
lea eax, [esi*4 + 8]
push eax
push edi
call fcn.00432e80
pop ecx
test eax, eax
pop ecx
je 0x432c57
mov ecx, dword [ebp + 8]
mov dword [eax + esi*4], ecx
and dword [eax + esi*4 + 4], 0
mov dword [0x459202], eax
cmp dword [ebp + 0xc], 0
je 0x432d73
push dword [ebp + 8]
call fcn.0042eb4a
inc eax
inc eax
push eax
call fcn.0042d726
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x432d73
push dword [ebp + 8]
push esi
call fcn.00430d8f
mov eax, esi
pop ecx
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 8]
and byte [eax], 0
inc eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, eax
push ebx
push esi
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
push esi
call fcn.0042da98
pop ecx
xor eax, eax
jmp 0x432c5a
Function at 0x435973
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
xor eax, eax
pushal
push 0
push pe_nt_image_headers32
push 3
push 0
push 0
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x435a68
mov dword [ebp - 0x174], eax
push 0
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x170], eax
push 0x80000
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [ebp - 0x164], eax
push 0x6277
push esp
push dword [ebp + 0xc]
call fcn.00438015
add esp, 8
add esp, 4
test eax, eax
je 0x435a5c
mov dword [ebp - 0x16c], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x170]
jae 0x435a46
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x170]
sub ecx, ebx
cmp ecx, 0x80000
jbe 0x435a0e
mov ecx, 0x80000
push 0
push eax
push ecx
push dword [ebp - 0x164]
push dword [ebp - 0x174]
call dword [sym.imp.kernel32.dll_ReadFile]
push dword [ebp - 0x168]
push dword [ebp - 0x164]
push dword [ebp - 0x16c]
call fcn.004386c0
add esp, 0xc
add ebx, dword [ebp - 0x168]
jmp 0x4359eb
push dword [ebp - 0x16c]
call fcn.004387ac
add esp, 4
mov dword [esp + 0x1c], 1
push dword [ebp - 0x174]
call dword [sym.imp.kernel32.dll_CloseHandle]
popal
leave
ret 8
Function at 0x4386c0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test ebx, ebx
je 0x4386dc
cmp byte [ebx + 0x5c], 0x77
je 0x4386e8
mov eax, 0xfffffffe
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [ebx], edi
test esi, esi
mov dword [ebx + 4], esi
je 0x438781
lea esi, [esi]
lea edi, [edi]
mov edx, dword [ebx + 0x10]
test edx, edx
jne 0x438733
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0xc], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4000
mov dword [esp + 4], 1
mov dword [esp], ecx
call sub.msvcrt.dll_fwrite
cmp eax, 0x4000
jne 0x4387a3
mov dword [ebx + 0x10], 0x4000
mov edx, dword [ebx + 4]
xor ecx, ecx
add dword [ebx + 0x68], edx
mov edx, dword [ebx + 0x10]
adc dword [ebx + 0x6c], ecx
xor ecx, ecx
add dword [ebx + 0x70], edx
adc dword [ebx + 0x74], ecx
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.00439307
mov dword [ebx + 0x38], eax
mov edx, dword [ebx + 4]
xor ecx, ecx
sub dword [ebx + 0x68], edx
mov edx, dword [ebx + 0x10]
sbb dword [ebx + 0x6c], ecx
xor ecx, ecx
sub dword [ebx + 0x70], edx
sbb dword [ebx + 0x74], ecx
test eax, eax
jne 0x438781
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4386f9
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov edi, dword [ebx + 0x4c]
mov dword [esp], edi
call fcn.00437d60
mov dword [ebx + 0x4c], eax
mov eax, esi
mov esi, dword [ebx + 4]
sub eax, esi
jmp 0x4386e1
mov dword [ebx + 0x38], 0xffffffff
jmp 0x438781
Function at 0x438c4f
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
test ebx, ebx
je 0x438c6a
cmp byte [ebx + 0x5c], 0x77
je 0x438c77
mov eax, 0xfffffffe
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx + 4], 0
mov edx, dword [ebx + 0x10]
lea esi, [esi]
lea edi, [edi]
mov ecx, 0x4000
mov esi, ecx
sub esi, edx
jne 0x438cfd
test edi, edi
jne 0x438cf8
mov edi, dword [ebx + 0x10]
xor ecx, ecx
add dword [ebx + 0x70], edi
adc dword [ebx + 0x74], ecx
xor edi, edi
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00439307
mov dword [ebx + 0x38], eax
mov edx, dword [ebx + 0x10]
sub dword [ebx + 0x70], edx
sbb dword [ebx + 0x74], edi
test esi, esi
jne 0x438cc2
cmp eax, 0xfffffffb
je 0x438cef
mov esi, dword [ebx + 0x10]
xor edi, edi
test esi, esi
mov edx, esi
jne 0x438cea
mov eax, dword [ebx + 0x38]
cmp eax, 1
je 0x438ce3
cmp eax, 1
jbe 0x438c85
cmp eax, 1
jne 0x438c6f
xor eax, eax
jmp 0x438c6f
mov edi, 1
jmp 0x438cd5
mov eax, dword [ebx + 0x38]
jmp 0x438ce3
mov dword [ebx + 0x38], 0
jmp 0x438cc2
mov eax, dword [ebx + 0x38]
jmp 0x438cda
mov ecx, dword [ebx + 0x40]
mov dword [esp + 8], esi
mov dword [esp + 4], 1
mov dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x48]
mov dword [esp], edx
call sub.msvcrt.dll_fwrite
cmp eax, esi
jne 0x438d31
mov dword [ebx + 0x10], 0x4000
mov edx, dword [ebx + 0x48]
mov dword [ebx + 0xc], edx
jmp 0x438c90
mov dword [ebx + 0x38], 0xffffffff
mov eax, 0xffffffff
jmp 0x438c6f
Function at 0x444020
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esi]
mov ecx, edx
xor ecx, eax
and ecx, 0xff
mov ecx, dword [edi + ecx*4]
shr edx, 8
xor ecx, edx
mov edx, dword [esi + 4]
mov dword [esi], ecx
and ecx, 0xff
add ecx, edx
mov edx, dword [esi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 4], ecx
shr ecx, 0x18
xor ecx, edx
push ebx
and ecx, 0xff
mov ebx, dword [edi + ecx*4]
shr edx, 8
xor edx, ebx
mov dword [esi + 8], edx
pop ebx
ret

Function at 0x444070
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push esi
mov esi, eax
xor eax, eax
mov dword [edx], 0x12345678
mov dword [edx + 4], 0x23456789
mov dword [edx + 8], 0x34567890
mov al, byte [esi]
test al, al
je 0x4440d7
push ebx
mov ecx, dword [edx]
xor eax, ecx
and eax, 0xff
mov eax, dword [edi + eax*4]
shr ecx, 8
xor eax, ecx
mov ecx, dword [edx + 4]
mov dword [edx], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
mov ebx, dword [edi + eax*4]
shr ecx, 8
xor ecx, ebx
inc esi
mov dword [edx + 8], ecx
mov al, byte [esi]
test al, al
jne 0x444090
pop ebx
pop esi
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x28991eb1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x547b733a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x9aac80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65d00d
lea edi, [esi - 0x25c00d]
push edi
or ebp, 0xffffffff
jmp 0x9aaca2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9aaca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9aac98
mov eax, 1
add ebx, ebx
jne 0x9aacbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9aacb0
jne 0x9aaccc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9aacb0
xor ecx, ecx
sub eax, 3
jb 0x9aace0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9aad52
mov ebp, eax
add ebx, ebx
jne 0x9aaceb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x9aacf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x9aad1c
inc ecx
add ebx, ebx
jne 0x9aad08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9aacfd
jne 0x9aad19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9aacfd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9aad3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9aad2d
jmp 0x9aac9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9aad3c
add edi, ecx
jmp 0x9aac9e
pop esi
mov edi, esi
mov ecx, 0x1883
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9aad5a
cmp byte [edi], 0x11
jne 0x9aad5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9aad5f
lea edi, [esi + 0x5a6000]
mov eax, dword [edi]
or eax, eax
je 0x9aadce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ad02c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5ad084]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9aad8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5ad08c]
or eax, eax
je 0x9aadc8
mov dword [ebx], eax
add ebx, 4
jmp 0x9aada9
call dword [esi + 0x5ad088]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9aadff
cmp al, 0xef
ja 0x9aadf2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9aadd4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9aade1
mov ebp, dword [esi + 0x5ad090]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9aae33
sub esp, 0xffffff80
jmp 0x40e9dc
Function at 0x401a40
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45bc085
jg 0x401a66
inc edi
cmp edi, 0x323bbf1
jl 0x401a4c
cmp dword [0x284c41c], 0x400
jne 0x401aa6
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call fcn.00401ea1
push esi
call fcn.00401fe3
push esi
call fcn.00401ff2
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401ab7
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401add
inc edi
cmp edi, 0x263ff
jl 0x401aa8
mov eax, dword [0x45e564]
mov dword [0x284c41c], eax
call fcn.004017c2
mov edi, 0x3078f
cmp dword [0x284c41c], 0x51f
jne 0x401b09
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401af1
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10
Function at 0x4040eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x444310]
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.00403072
and dword [ebp - 0x14], 0
cmp dword [0x4690c0], 0
mov dword [ebp - 0x18], eax
jne 0x40419e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404246
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404246
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4690c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4690c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4690c8], eax
call edi
push eax
call esi
mov dword [0x4690d0], eax
test eax, eax
je 0x40419e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4690cc], eax
mov eax, dword [0x4690cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4041f7
cmp dword [0x4690d0], ecx
je 0x4041f7
push eax
call esi
push dword [0x4690d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4041f7
test ebx, ebx
je 0x4041f7
call edi
test eax, eax
je 0x4041ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4041ee
test byte [ebp - 8], 1
jne 0x4041f7
or dword [ebp + 0x10], 0x200000
jmp 0x40422a
mov eax, dword [0x4690c4]
cmp eax, dword [ebp - 0x18]
je 0x40422a
push eax
call esi
test eax, eax
je 0x40422a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40422a
mov eax, dword [0x4690c8]
cmp eax, dword [ebp - 0x18]
je 0x40422a
push eax
call esi
test eax, eax
je 0x40422a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4690c0]
call esi
test eax, eax
je 0x404246
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404248
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404456
leave
ret

Function at 0x404456
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444310]
jne 0x404460
repz ret
jmp fcn.00405329

Function at 0x44b810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov dword [esi], 0
mov eax, dword [0x65bd8c]
push eax
call sub.IMM32.dll_ImmGetContext
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
mov dword [0x65bd8c], eax
call edi
test ax, ax
push 0x10
setne bl
call edi
test ax, ax
jge 0x44b84c
or dword [esi], 0x2000000
push 0x11
call edi
test ax, ax
jge 0x44b85b
or dword [esi], 0x4000000
push 0
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
test bl, bl
je 0x44b86d
or dword [esi], 0x657270
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x403fa0
Capabilities:
Create directory

Disassembly:
sub esp, 0x800
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebx
push esi
push edi
mov edi, dword [esp + 0x810]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
mov edi, ecx
test edi, edi
jle 0x40401d
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + esi + 0xc]
push 0x4409dc
push ecx
call fcn.0041f8a0
add esi, eax
add esp, 8
cmp esi, edi
jge 0x40401d
lea edx, [esp + 0xc]
push 0
push edx
mov byte [esp + esi + 0x14], 0
call ebx
mov byte [esp + esi + 0xc], 0x5c
inc esi
cmp esi, edi
jl 0x403fed
pop edi
pop esi
pop ebx
add esp, 0x800
ret
Function at 0x40b780
Capabilities:
Hide graphical window
Terminate process

Disassembly:
call fcn.0040b720
test eax, eax
je 0x40b7b5
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x72a8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b7b5
mov edx, dword [0x447e38]
push 0
mov eax, dword [edx + 0x72a8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov ecx, dword [0x447e38]
mov eax, 1
mov dword [0x447e3c], eax
mov dword [ecx + 0x60c8], eax
mov edx, dword [0x447e38]
xor eax, eax
mov dword [edx + 0x5ba0], eax
mov ecx, dword [0x447e38]
push eax
mov dword [ecx + 0x5bac], eax
mov edx, dword [0x447e38]
mov dword [edx + 0x5ebc], eax
mov ecx, dword [0x447e38]
mov dword [ecx + 0x60d8], eax
mov edx, dword [0x447e38]
mov dword [edx + 0x5bb0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret

Function at 0x40b820
Capabilities:
Hide graphical window
Terminate process

Disassembly:
call fcn.0040b720
test eax, eax
je 0x40b855
mov eax, dword [0x447e38]
mov ecx, dword [eax + 0x72a8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b855
mov edx, dword [0x447e38]
push 0
mov eax, dword [edx + 0x72a8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
mov edx, dword [0x447e38]
mov ecx, 1
xor eax, eax
mov dword [edx + 0x60c8], ecx
mov edx, dword [0x447e38]
push eax
mov dword [edx + 0x5ba0], eax
mov dword [0x447e3c], ecx
mov ecx, dword [0x447e38]
mov dword [ecx + 0x5bac], eax
mov edx, dword [0x447e38]
mov dword [edx + 0x5ebc], eax
mov ecx, dword [0x447e38]
mov dword [ecx + 0x60d8], eax
mov edx, dword [0x447e38]
mov dword [edx + 0x5bb0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret

Function at 0x40b8c0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x447e38]
mov dword [esp], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [eax + 0x5ba4]
test ecx, ecx
jne 0x40b904
push 0x447dc4
lea ecx, [esp + 8]
push 0
push ecx
push 0x40b940
push 0
push 0
call esi
push 2
push eax
mov dword [0x447dc0], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0x447e18
lea edx, [esp + 8]
push 0
push edx
push 0x40c690
push 0
push 0
call esi
mov dword [0x447e14], eax
push 0x447e10
lea eax, [esp + 8]
push 0
push eax
push 0x40c490
push 0
push 0
call esi
mov dword [0x447e0c], eax
pop esi
pop ecx
ret
Function at 0x40ca00
Capabilities:
Inspect load icon resource

Disassembly:
mov ecx, dword [0x447e38]
mov eax, dword [0x447c3c]
push 0
push eax
mov edx, dword [ecx + 0x72a8]
push 0
push edx
push 0xc8
push 0x2a8
push 0x64
push 0
push 0x44ec0050
push 0x4416bc
push str.WclassScript
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x447e38]
push 0x86
mov dword [ecx + 0x72c4], eax
mov edx, dword [0x447c3c]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x40ca78
push eax
mov eax, dword [0x447e38]
push 0
push 0x80
mov ecx, dword [eax + 0x72c4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x447cb4]
test eax, eax
je 0x40ca94
mov edx, dword [0x447e38]
mov eax, dword [edx + 0x72c4]
push eax
call fcn.0040c7a0
pop ecx
ret

Function at 0x40caa0
Capabilities:
Inspect load icon resource

Disassembly:
mov ecx, dword [0x447e38]
mov eax, dword [0x447c3c]
push 0
push eax
mov edx, dword [ecx + 0x72a8]
push 0
push edx
push 0xc8
push 0x2a8
push 0x64
push 0
push 0x44fc40d1
push str.Screen_Elements
push str.WclassScreenElements
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x447e38]
push 0x79
mov dword [ecx + 0x72c8], eax
mov edx, dword [0x447c3c]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x40cb15
push eax
mov eax, dword [0x447e38]
push 0
push 0x80
mov ecx, dword [eax + 0x72c8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x447cb4]
test eax, eax
je 0x40cb33
mov edx, dword [0x447e38]
mov eax, dword [edx + 0x72c8]
push eax
call fcn.0040c7a0
add esp, 4
mov ecx, dword [0x447e38]
push esi
push edi
push 0
mov edx, dword [ecx + 0x72c8]
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, dword [sym.imp.USER32.dll_InsertMenuA]
push str.Save_as...
push 1
mov esi, eax
push 0x400
push 0
push esi
call edi
push 0
push 1
push 0xc00
push 1
push esi
call edi
mov eax, dword [0x447e38]
push esi
mov ecx, dword [eax + 0x72c8]
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
mov edx, dword [0x447e38]
push 0xfffffffffffffffc
mov eax, dword [edx + 0x72c8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [0x447e38]
mov dword [0x447db4], eax
push 0x40c820
push 0xfffffffffffffffc
mov edx, dword [ecx + 0x72c8]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
ret

Function at 0x40cbc0
Capabilities:
Inspect load icon resource

Disassembly:
mov ecx, dword [0x447e38]
mov eax, dword [0x447c3c]
push 0
push eax
mov edx, dword [ecx + 0x72a8]
push 0
push edx
push 0x78
push 0x154
push 0xc8
push 0
push 0x44ec0050
push str.Messages
push str.WclassSyntaxMessages
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [0x447e38]
push 0x69
mov dword [ecx + 0x72c0], eax
mov edx, dword [0x447c3c]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x40cc35
push eax
mov eax, dword [0x447e38]
push 0
push 0x80
mov ecx, dword [eax + 0x72c0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x447cb4]
test eax, eax
je 0x40cc51
mov edx, dword [0x447e38]
mov eax, dword [edx + 0x72c0]
push eax
call fcn.0040c7a0
pop ecx
ret