joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012f51
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100130ea
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp eax, esi
mov ebx, eax
jne 0x10012f8f
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
push esi
push 5
call sym.WCT32D.DLL_ErrHdlr
xor eax, eax
jmp 0x100130f7
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
call edi
mov esi, eax
test esi, esi
jne 0x10012fb6
push 0
push 0
push 0x35
call sym.WCT32D.DLL_ErrHdlr
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x100130f7
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, 0xa
jge 0x10012fda
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 5
call sym.WCT32D.DLL_ErrHdlr
xor eax, eax
jmp 0x100130f7
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push esi
call fcn.10012274
cmp dword [ebp - 0x14], 0
je 0x100130d5
cmp dword [ebp - 8], 2
jl 0x100130d5
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
shl eax, 3
push eax
push 0x40
call ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
dec eax
imul eax, dword [ebp - 0x14]
shl eax, 3
push eax
push 0x40
call ebx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
je 0x100130c0
test eax, eax
je 0x100130c0
push dword [ebp - 0x18]
call edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call edi
xor edi, edi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], edi
jle 0x100130a6
xor ebx, ebx
cmp dword [ebp - 8], ebx
jle 0x100130a0
lea eax, [ebp - 4]
push eax
push esi
call fcn.100121d5
fstp qword [ebp - 0x24]
cmp dword [ebp - 4], 0
je 0x100130a0
add esi, dword [ebp - 4]
test ebx, ebx
jne 0x10013080
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + edi*8 + 4], eax
mov dword [ecx + edi*8], edx
jmp 0x1001309a
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
dec edx
mov eax, dword [ebp - 0xc]
imul edx, edi
add edx, ebx
mov dword [eax + edx*8 - 4], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + edx*8 - 8], ecx
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x10013054
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x1001304d
mov eax, dword [ebp - 8]
dec eax
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp + 8]
call sym.WCT32D.DLL_WGDefineGroupDataSet
mov esi, eax
jmp 0x100130cd
push 0
xor esi, esi
push 0
push 0x35
call sym.WCT32D.DLL_ErrHdlr
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100130f5
call dword [sym.imp.USER32.dll_CloseClipboard]
push 0
push 0
push 5
call sym.WCT32D.DLL_ErrHdlr
xor eax, eax
jmp 0x100130f7
push 0
push 0
push 2
call sym.WCT32D.DLL_ErrHdlr
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10018a16
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call sym.WCT32D.DLL_WGIsGraphDescValid
test eax, eax
je 0x10018adf
push dword [esi + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10018ace
mov eax, dword [0x1002e534]
push 0
mov byte [eax + 0x23d8], 1
call dword [sym.imp.GDI32.dll_CreateMetaFileA]
mov dword [esi + 0x3e], eax
mov edi, eax
push 0
push dword [esi + 0x66]
push dword [esi + 0x62]
push edi
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push edi
push esi
call sym.WCT32D.DLL_ObjectInterpreter
mov dword [esi + 0x3e], 0
push edi
call dword [sym.imp.GDI32.dll_CloseMetaFile]
mov ebx, eax
push 0x10
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movsx ecx, word [esi + 0x10e]
mov dword [eax], ecx
mov edx, dword [esi + 0x62]
mov dword [eax + 4], edx
mov esi, dword [esi + 0x66]
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0x1002e534]
mov byte [eax + 0x23d8], 0
mov eax, 1
jmp 0x10018ae1
push 0
push 0
push 2
call sym.WCT32D.DLL_ErrHdlr
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x10018ae7
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push ebp
mov dword [esi + 0x4e], 1
cmp dword [esi + 0x4a], 0
je 0x10018b13
mov ax, word [esi + 0x36]
push eax
call sym.WCT32D.DLL_GetGrDescPtr
push eax
call sym.WCT32D.DLL_WGCopyGraph
mov edi, eax
jmp 0x10018bf0
push dword [esi + 2]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10018bdd
mov eax, dword [0x1002e534]
push 0
mov byte [eax + 0x23d8], 1
call dword [sym.imp.GDI32.dll_CreateMetaFileA]
mov edi, eax
push 0
push dword [esi + 0x1a]
push dword [esi + 0x16]
push edi
mov ebp, 0xf
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push ebp
push esi
call sym.WCT32D.DLL_GetGrDescNum
mov ebx, eax
test ebx, ebx
je 0x10018b81
push 0
mov dword [ebx + 0x3e], edi
mov eax, dword [ebx + 0x5e]
neg eax
push eax
mov eax, dword [ebx + 0x5a]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push edi
push ebx
call sym.WCT32D.DLL_ObjectInterpreter
mov dword [ebx + 0x3e], 0
dec ebp
jns 0x10018b4e
push edi
call dword [sym.imp.GDI32.dll_CloseMetaFile]
mov ebp, eax
push 0x10
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
movsx ecx, word [esi + 0x22]
mov dword [eax], ecx
mov edx, dword [esi + 0x16]
mov dword [eax + 4], edx
mov edi, dword [esi + 0x1a]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
mov edi, 1
push 3
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0x1002e534]
mov byte [eax + 0x23d8], 0
jmp 0x10018bf0
push 0
xor edi, edi
push 0
push 2
call sym.WCT32D.DLL_ErrHdlr
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop ebp
mov dword [esi + 0x4e], 0
pop edi
pop esi
pop ebx
ret 4

Function at 0x10018c00
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
xor edx, edx
mov esi, dword [esp + 8]
mov word [ecx + 4], dx
mov dword [ecx], 0x9ac6cdd7
mov word [ecx + 8], dx
mov word [ecx + 6], dx
mov eax, dword [esi + 0x16]
mov word [ecx + 0xa], ax
mov eax, dword [esi + 0x1a]
mov word [ecx + 0xc], ax
mov dword [ecx + 0x10], edx
mov eax, dword [esi + 0x16]
imul eax, dword [0x1002e548]
cdq
idiv dword [esi + 0xe]
mov dx, word [ecx]
mov word [ecx + 0xe], ax
mov eax, 9
mov word [ecx + 0x14], dx
lea edx, [ecx + 2]
mov si, word [edx]
add edx, 2
xor word [ecx + 0x14], si
dec eax
jne 0x10018c4f
pop esi
ret 8
Function at 0x1001eb59
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push 0x1002e2a8
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x10]
cmp ebx, 2
jne 0x1001eb7c
or byte [0x1002e2ad], 0x80
mov esi, dword [esp + 0x14]
push 0x1002e2a8
push 0x1001ec25
push esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
test ebx, ebx
je 0x1001eba6
cmp ebx, 1
je 0x1001ebd5
cmp ebx, 2
je 0x1001ebe7
cmp ebx, 3
je 0x1001ebff
jmp 0x1001ec1f
mov ecx, dword [esp + 0x1c]
push 6
mov eax, dword [0x1002e2b4]
sub eax, dword [ecx + 4]
push eax
mov eax, dword [0x1002e2b0]
sub eax, dword [ecx]
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1001ec1f
mov ecx, dword [esp + 0x1c]
push 1
mov eax, dword [0x1002e2b4]
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
jmp 0x1001ec0d
mov ecx, dword [esp + 0x1c]
push 1
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [ecx + 0xc]
sub eax, edi
push eax
mov eax, dword [0x1002e2b0]
jmp 0x1001ec13
mov ecx, dword [esp + 0x1c]
push 1
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, dword [ecx + 0xc]
sub eax, edi
push eax
mov eax, dword [ecx + 8]
sub eax, edx
push eax
push edi
push edx
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x1002a1f7
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.10029d17
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10030fa4], eax
cmp eax, 0xffffffff
je 0x1002a254
push 0x70
push 1
call fcn.10027ad8
add esp, 8
mov esi, eax
test esi, esi
je 0x1002a254
push esi
mov eax, dword [0x10030fa4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1002a254
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], 0x10031f18
mov dword [esi + 0x14], 1
jmp 0x1002a256
xor eax, eax
pop esi
ret

Function at 0x1002a279
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov eax, dword [0x10030fa4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1002a2d8
push 0x70
push 1
call fcn.10027ad8
add esp, 8
mov esi, eax
test esi, esi
je 0x1002a2ce
push esi
mov eax, dword [0x10030fa4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1002a2ce
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x14], 1
mov dword [esi + 0x50], 0x10031f18
jmp 0x1002a2d8
push 0x10
call fcn.100288e9
add esp, 4
mov eax, esi
pop esi
ret

Function at 0x1002a726
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
call fcn.1002a7b1
mov dword [0x100312b0], 1
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x14]
mov byte [0x100312ac], bl
jne 0x1002a787
cmp dword [0x1002e734], 0
je 0x1002a775
mov esi, dword [0x1002e730]
sub esi, 4
cmp esi, dword [0x1002e734]
jb 0x1002a775
mov eax, dword [esi]
test eax, eax
je 0x1002a76a
call eax
sub esi, 4
cmp esi, dword [0x1002e734]
jae 0x1002a762
push 0x10032374
push 0x10032370
call fcn.1002a7c7
add esp, 8
push 0x1003237c
push 0x10032378
call fcn.1002a7c7
add esp, 8
test ebx, ebx
je 0x1002a7a4
call fcn.1002a7bc
jmp 0x1002a7ae
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebx
ret

Function at 0x1002aeb8
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 4
xor ecx, ecx
mov eax, 0x10031cc8
push edi
cmp dword [eax], edx
je 0x1002aed6
add eax, 8
inc ecx
cmp eax, 0x10031d40
jb 0x1002aec7
cmp dword [ecx*8 + 0x10031cc8], edx
lea eax, [ecx*8]
jne 0x1002af0f
mov edx, dword [eax + 0x10031ccc]
push 0
lea eax, [esp + 8]
mov edi, edx
push eax
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [0x100315e0]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
add esp, 4
ret
Function at 0x1002d2ca
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1002d333
push ebx
call fcn.1002d3c1
add esp, 4
test eax, eax
jne 0x1002d305
call fcn.1002bc88
mov dword [eax], 0xf
call fcn.1002bc7f
mov dword [eax], 0xd
jmp 0x1002d3b8
add bl, 0x40
lea eax, [ebp - 8]
push eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10c]
lea ebx, [ebp - 4]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push ecx
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x1002d345
lea eax, [ebp - 0x10c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1002d3b8
inc eax
cmp eax, 0x104
ja 0x1002d3b8
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002d37d
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jg 0x1002d361
mov eax, ecx
push eax
call fcn.10027c76
add esp, 4
mov edx, eax
test edx, edx
jne 0x1002d38f
call fcn.1002bc7f
mov dword [eax], 0xc
jmp 0x1002d3b8
cmp eax, dword [ebp + 0x10]
jle 0x1002d38f
call fcn.1002bc7f
mov dword [eax], 0x22
jmp 0x1002d3b8
lea edi, [ebp - 0x10c]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
jmp 0x1002d3ba
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d004]
jne 0x40100a
repz ret
jmp fcn.0040130e

Function at 0x4054c3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d004]
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.004034d1
and dword [ebp - 0x14], 0
cmp dword [0x42f95c], 0
mov dword [ebp - 0x18], eax
jne 0x405576
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40561e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40561e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42f95c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42f960], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42f964], eax
call edi
push eax
call esi
mov dword [0x42f96c], eax
test eax, eax
je 0x405576
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42f968], eax
mov eax, dword [0x42f968]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4055cf
cmp dword [0x42f96c], ecx
je 0x4055cf
push eax
call esi
push dword [0x42f96c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4055cf
test ebx, ebx
je 0x4055cf
call edi
test eax, eax
je 0x4055c6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4055c6
test byte [ebp - 8], 1
jne 0x4055cf
or dword [ebp + 0x10], 0x200000
jmp 0x405602
mov eax, dword [0x42f960]
cmp eax, dword [ebp - 0x18]
je 0x405602
push eax
call esi
test eax, eax
je 0x405602
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405602
mov eax, dword [0x42f964]
cmp eax, dword [ebp - 0x18]
je 0x405602
push eax
call esi
test eax, eax
je 0x405602
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42f95c]
call esi
test eax, eax
je 0x40561e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405620
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x429800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1f01de4]
mov eax, dword [0x1f01b08]
xor ecx, ecx
mov word [0x1f01e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1f01dec], 0x6e0072
mov dword [0x1f01df0], 0x6c0065
mov dword [0x1f01df4], 0x320033
mov dword [0x1f01df8], 0x64002e
mov dword [0x1f01dfc], 0x6c006c
mov dword [0x1f01de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x429a30
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x42ddd0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f01b08]
push edi
mov edi, dword [0x1f01de4]
push eax
call fcn.00429950
add esp, 4
cmp dword [0x1f01de4], 0x2f
jne 0x429a8d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004299a0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429d10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x42d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
xor edi, edi
cmp dword [0x1f01de4], 0x8cf
jne 0x429d46
push 0
push 0
call ebx
cmp edi, 0x845013
jne 0x429d5d
mov eax, dword [0x42ebf0]
add eax, 0xa231
mov dword [0x1f01de4], eax
cmp dword [0x1f01de4], 0x141
jne 0x429d8b
push str.viwesorihefukenapedumate_ronofo_virejesirahipuj_cafaloteceselu_dizupucucakixucafukiz
lea ecx, [ebp - 0x804]
push ecx
call esi
mov dword [0x42fe80], 0xec58acac
mov dword [0x42fe84], 0xffffffff
inc edi
cmp edi, 0xbbe2a98
jl 0x429d34
call fcn.00429aa0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x13743a16
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x25603b0c
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403651
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x416108]
push esi
push edi
test eax, eax
jne 0x40366a
call fcn.00403726
test eax, eax
je 0x4036b6
mov eax, dword [0x416108]
cmp eax, 1
jne 0x403686
push 0xd
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
test eax, eax
je 0x4036b6
jmp 0x4036fc
push eax
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x40369f
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x4036fc
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4036ba
xor eax, eax
jmp 0x4036fc
mov eax, dword [esi]
push dword [0x416108]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x4036e0
push 0x8000
push 0
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
mov eax, edi
jmp 0x4036fc
lea edi, [esi + 0xff0]
push esi
push dword [0x416108]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4036e6
mov eax, esi
pop edi
pop esi
ret

Function at 0x405faf
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
jne 0x405fc2
mov esi, 0x80004003
jmp 0x40601a
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
lea eax, [ebx + ebx]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov edi, eax
xor esi, esi
pop ecx
test edi, edi
jne 0x405fea
mov esi, 0x8007000e
jmp 0x406018
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
push 0x401af8
push edi
call sub.msvcrt.dll_swscanf_s
add esp, 0xc
cmp eax, 1
je 0x406010
mov esi, 0x80004005
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x407b49
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push esi
push ecx
lea ecx, [ebp - 0x10]
mov eax, dword [ebx + 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
mov esi, dword [eax]
push eax
mov ecx, dword [esi + 0x10]
call dword [0x417364]
call dword [esi + 0x10]
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
js 0x407bdb
cmp dword [ebp - 4], 0
push edi
jne 0x407b8e
mov edi, dword [ebx + 0xc]
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
jmp 0x407b9c
cmp dword [ebp - 4], 2
jne 0x407bac
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x417364]
mov ecx, edi
call esi
test al, al
je 0x407bda
push 1
xor eax, eax
push eax
push eax
push dword [ebp - 8]
push 0x401708
push eax
call dword [sym.imp.ext_ms_win_shell_shell32_l1_2_0.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x407bda
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x417364]
mov ecx, edi
call esi
pop edi
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4

Function at 0x4098f4
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 5
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push 0x402048
push 0x401708
push ebx
call dword [sym.imp.ext_ms_win_shell_shell32_l1_2_0.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40995e
push esi
push 0x226
lea eax, [ebp - 8]
push eax
call fcn.00407a69
push 0x257
mov esi, dword [eax]
lea eax, [ebp - 4]
push eax
call fcn.00407a69
push ebx
push esi
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0040c9e8
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0040c9e8
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x409ffe
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x407010
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x40a01b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret 0x10

Function at 0x40a2ac
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
push 2
pop edx
lea ebx, [eax + 1]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413c9e
mov edi, eax
pop ecx
test edi, edi
je 0x40a30f
push ebx
push edi
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
lea ecx, [ebp - 4]
call fcn.00403dc4
push eax
lea ecx, [esi + 0x34]
call fcn.0040443d
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.0040c9e8
push edi
call fcn.00413c70
pop ecx
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10