joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x453a94], ebx
push esi
push edi
jne 0x4287f9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x428834
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43b7fc
push edi
call esi
test eax, eax
mov dword [0x453a94], eax
je 0x428834
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x453a98], eax
call esi
cmp dword [0x45393c], 2
mov dword [0x453a9c], eax
jne 0x4287f9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x453aa4], eax
je 0x4287f9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x453aa0], eax
mov eax, dword [0x453aa0]
test eax, eax
je 0x42883e
call eax
test eax, eax
je 0x428825
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x453aa4]
test eax, eax
je 0x428825
test byte [ebp - 8], 1
jne 0x42883e
cmp dword [0x453948], 4
jb 0x428838
or byte [ebp + 0x12], 0x20
jmp 0x42885d
xor eax, eax
jmp 0x42886d
or byte [ebp + 0x12], 4
jmp 0x42885d
mov eax, dword [0x453a98]
test eax, eax
je 0x42885d
call eax
mov ebx, eax
test ebx, ebx
je 0x42885d
mov eax, dword [0x453a9c]
test eax, eax
je 0x42885d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x453a94]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x429fce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x429ffc
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x42a003
cmp ebx, dword [eax + 4]
jae 0x42a003
xor eax, eax
jmp 0x42a1f3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x42a014
xor eax, eax
inc eax
jmp 0x42a1f2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x42a02a
cmp ecx, edx
jae 0x42a16f
cmp dword [eax + 4], 0
je 0x42a033
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x42a01b
cmp dword [ebp + 8], 0
je 0x42a055
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42a16f
cmp eax, esi
jae 0x42a16f
mov eax, dword [0x453ab0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42a07a
cmp dword [esi*4 + 0x453ab8], edi
je 0x42a173
inc esi
cmp esi, eax
jl 0x42a068
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42a1ef
cmp dword [ebp - 8], 0x1000000
jne 0x42a1ef
test byte [ebp - 0xc], 0xcc
je 0x42a0f8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42a1ef
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42a1ef
cmp word [eax + 0x18], 0x10b
jne 0x42a1ef
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42a1ef
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x42a0f8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x42a0f8
test byte [ecx + 0x27], 0x80
jne 0x42a16f
push 1
push 0x453af8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x42a00c
mov ecx, dword [0x453ab0]
test ecx, ecx
mov edx, ecx
jle 0x42a12c
lea eax, [ecx*4 + 0x453ab4]
cmp dword [eax], edi
je 0x42a12c
dec edx
sub eax, 4
test edx, edx
jg 0x42a120
test edx, edx
jne 0x42a15d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x42a139
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x42a151
lea eax, [edx*4 + 0x453ab8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x42a13f
cmp ecx, 0x10
jge 0x42a15d
inc ecx
mov dword [0x453ab0], ecx
push 0
push 0x453af8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x42a00c
xor eax, eax
jmp 0x42a1f2
test esi, esi
jle 0x42a00c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x453af8
call ebx
test eax, eax
jne 0x42a00c
cmp dword [esi*4 + 0x453ab8], edi
je 0x42a1c9
mov eax, dword [0x453ab0]
lea esi, [eax - 1]
test esi, esi
jl 0x42a1b7
cmp dword [esi*4 + 0x453ab8], edi
je 0x42a1b3
dec esi
jns 0x42a1a7
test esi, esi
jge 0x42a1c7
cmp eax, 0x10
jge 0x42a1c2
inc eax
mov dword [0x453ab0], eax
lea esi, [eax - 1]
jmp 0x42a1c9
je 0x42a1e1
xor ecx, ecx
test esi, esi
jl 0x42a1e1
lea eax, [ecx*4 + 0x453ab8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42a1cf
push 0
push 0x453af8
call ebx
jmp 0x42a00c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b0c1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00428680
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42b15c
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x45393c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x42b15c
cmp eax, 1
je 0x42b17d
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42b15c
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x42b129
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x42b158
xor eax, eax
inc eax
jmp 0x42b19c
cmp edi, eax
jae 0x42b160
xor eax, eax
jmp 0x42b19c
cmp eax, esi
jae 0x42b167
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x45393c]
jmp 0x42b180
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c0b0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
cmp dword [0x44106c], 0xffffffff
jne 0x42c0ca
xor eax, eax
jmp 0x42c249
push dword [0x44106c]
call sub.USER32.dll_IsWindow
or eax, eax
jne 0x42c211
push 0
push str.DebugCenter
call sub.USER32.dll_FindWindowA
or eax, eax
jne 0x42c1ad
lea ebx, [ebp - 0x130]
lea eax, [ebp - 0x134]
push eax
push 0xf003f
push 0
push 0x43bf6e
push closesocket
call sub.ADVAPI32.dll_RegOpenKeyExA
mov dword [ebp - 0x13c], 0x104
lea eax, [ebp - 0x13c]
push eax
push ebx
lea eax, [ebp - 0x138]
push eax
push 0
push str.Path
push dword [ebp - 0x134]
call sub.ADVAPI32.dll_RegQueryValueExA
or eax, eax
jne 0x42c189
push ebx
call fcn.0042d710
or eax, eax
je 0x42c163
push 1
push ebx
call sub.KERNEL32.dll_WinExec
push 0
push str.DebugCenter
call sub.USER32.dll_FindWindowA
jmp 0x42c1ad
push 0x10
push str.Debug_Error
push str.Debug_Center_not_found_
push 0
call sub.USER32.dll_MessageBoxA
mov dword [0x44106c], 0xffffffff
xor eax, eax
jmp 0x42c249
push 0x10
push str.Debug_Error
push str.Registration_error__r_nStart_DebugCenter_manually...
push 0
call sub.USER32.dll_MessageBoxA
mov dword [0x44106c], 0xffffffff
xor eax, eax
jmp 0x42c249
or eax, eax
je 0x42c1f0
mov dword [0x44106c], eax
mov dword [ebp - 0x2c], 0x2c
lea eax, [ebp - 0x2c]
push eax
push dword [0x44106c]
call sub.USER32.dll_GetWindowPlacement
cmp dword [ebp - 0x24], 2
jne 0x42c1e9
push 0
push 0x3e7
push 0x111
push dword [0x44106c]
call sub.USER32.dll_SendMessageA
mov eax, 1
jmp 0x42c249
push 0x10
push str.Debug_Error
push str.Debug_Center_can_not_be_opened_
push 0
call sub.USER32.dll_MessageBoxA
mov dword [0x44106c], 0xffffffff
xor eax, eax
jmp 0x42c249
mov dword [ebp - 0x2c], 0x2c
lea eax, [ebp - 0x2c]
push eax
push dword [0x44106c]
call sub.USER32.dll_GetWindowPlacement
cmp dword [ebp - 0x24], 2
jne 0x42c244
push 0
push 0x3e7
push 0x111
push dword [0x44106c]
call sub.USER32.dll_SendMessageA
mov eax, 1
pop ebx
leave
ret
Function at 0x42c32b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
cmp dword [ebp + 8], 0
jne 0x42c345
mov dword [ebp + 8], str.String_NULL_Pointer
mov dword [ebp + 0xc], 0xff
mov eax, dword [0x44104c]
cmp eax, 2
jne 0x42c3a4
call fcn.0042c288
call fcn.0042c288
or eax, eax
je 0x42c37a
push dword [ebp + 8]
call fcn.0042d530
lea edx, [ebp - 4]
push 0
push edx
push eax
push dword [ebp + 8]
push dword [0x44106c]
call sub.KERNEL32.dll_WriteFile
test dword [ebp + 0x10], 0x80
je 0x42c4e3
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x43bf40
push dword [0x44106c]
call sub.KERNEL32.dll_WriteFile
jmp 0x42c4e3
cmp eax, 1
jne 0x42c43f
call fcn.0042c24c
or eax, eax
je 0x42c4e3
mov eax, dword [ebp + 0xc]
test eax, 0xf0
je 0x42c3cd
mov dword [ebp - 8], 4
jmp 0x42c3d4
mov dword [ebp - 8], 0
test eax, 0xf000
je 0x42c3df
or dword [ebp - 8], 2
test eax, 0xf00000
je 0x42c3ea
or dword [ebp - 8], 1
or dword [ebp - 8], 8
push dword [ebp - 8]
push dword [0x44106c]
call sub.KERNEL32.dll_SetConsoleTextAttribute
push dword [ebp + 8]
call fcn.0042d530
lea ecx, [ebp - 4]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [0x44106c]
call sub.KERNEL32.dll_WriteConsoleA
test dword [ebp + 0x10], 0x80
je 0x42c43a
push 0
lea eax, [ebp - 4]
push eax
push 2
push 0x43bf40
push dword [0x44106c]
call sub.KERNEL32.dll_WriteConsoleA
jmp 0x42c4e3
call fcn.0042c0b0
or eax, eax
je 0x42c4e3
mov dword [ebp - 0x18], 0x58adf9ac
push dword [ebp + 8]
call fcn.0042d530
add eax, 0xe
push eax
push dword [ebp + 0x14]
call fcn.0042d530
add eax, 6
push eax
add eax, dword [esp + 4]
mov dword [ebp - 0x14], eax
push eax
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
mov byte [eax], 0
push dword [esp]
pop dword [eax + 1]
push dword [ebp + 0x14]
lea eax, [eax + 5]
push eax
call fcn.0042d6c0
mov ecx, dword [ebp - 0x10]
add ecx, dword [esp]
mov byte [ecx], 2
push dword [esp + 4]
pop dword [ecx + 1]
push dword [ebp + 0x10]
pop dword [ecx + 9]
push dword [ebp + 0xc]
pop dword [ecx + 5]
push dword [ebp + 8]
lea eax, [ecx + 0xd]
push eax
call fcn.0042d6c0
add esp, 8
lea eax, [ebp - 0xc]
push eax
push 0x1388
push 1
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
push 0x4a
push dword [0x44106c]
call sub.USER32.dll_SendMessageTimeoutA
push dword [ebp - 0x10]
call sub.KERNEL32.dll_GlobalFree
leave
ret 0x10
Function at 0x42d0d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdbc
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x242]
push eax
call fcn.0042d6e0
push str..
push eax
call fcn.0042daf0
lea eax, [ebp - 0x13e]
push eax
lea eax, [ebp - 0x242]
push eax
call sub.KERNEL32.dll_FindFirstFileA
cmp eax, 0xffffffff
je 0x42d11a
push eax
call sub.KERNEL32.dll_FindClose
mov eax, 1
jmp 0x42d16e
mov ebx, dword [ebp + 8]
push 0x5c
push ebx
call fcn.0042db10
or eax, eax
je 0x42d16e
inc eax
mov esi, eax
push 0x5c
push esi
call fcn.0042db10
mov esi, eax
or eax, eax
je 0x42d14c
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x242]
push eax
call fcn.0042db40
jmp 0x42d159
push ebx
lea eax, [ebp - 0x242]
push eax
call fcn.0042d6c0
push 0
lea eax, [ebp - 0x242]
push eax
call sub.KERNEL32.dll_CreateDirectoryA
or esi, esi
je 0x42d16e
inc esi
jmp 0x42d12c
pop esi
pop ebx
leave
ret 4
Function at 0x433a6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x453ce4], 0
push esi
push edi
jne 0x433ad6
push 0x44fe04
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x433ad6
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov edi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x433ad6
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x433acf
push edi
push eax
push dword [ebp + 0xc]
call fcn.00433a4a
add esp, 0xc
cmp eax, dword [0x43d558]
jne 0x433adb
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [0x43d558]
pop edi
pop esi
pop ebp
ret

Function at 0x433adf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp dword [0x453ce4], 0
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x43d558]
jne 0x433c1c
test eax, eax
je 0x433b0c
cmp byte [eax], 0
jne 0x433c1c
push ebx
mov ebx, 0x105
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push ebx
push eax
push dword [0x453cdc]
call edi
test eax, eax
je 0x433b50
lea eax, [ebp - 0x108]
push eax
call fcn.004338a7
and byte [eax], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
call fcn.00433c2a
add esp, 0xc
mov esi, eax
cmp esi, dword [0x43d558]
jne 0x433c16
lea eax, [ebp - 0x108]
push ebx
push eax
push 0
call edi
test eax, eax
je 0x433b8f
lea eax, [ebp - 0x108]
push eax
call fcn.004338a7
and byte [eax], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
call fcn.00433c2a
add esp, 0xc
mov esi, eax
cmp esi, dword [0x43d558]
jne 0x433c16
mov edi, dword [ebp + 0xc]
push edi
push 0x44fe10
call fcn.00433c2a
mov esi, eax
pop ecx
cmp esi, dword [0x43d558]
pop ecx
jne 0x433c16
lea eax, [ebp - 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x433bd4
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00433c2a
pop ecx
mov esi, eax
pop ecx
cmp esi, dword [0x43d558]
jne 0x433c16
lea eax, [ebp - 0x108]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x433bff
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00433c2a
pop ecx
mov esi, eax
pop ecx
cmp esi, dword [0x43d558]
jne 0x433c16
push edi
push str.PATH
call fcn.00433dd3
pop ecx
mov esi, eax
pop ecx
pop edi
mov eax, esi
pop ebx
jmp 0x433c27
push dword [ebp + 0xc]
push eax
call fcn.00433c2a
pop ecx
pop ecx
pop esi
leave
ret
Function at 0x434b37
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
lea eax, [ebp + 8]
push esi
push eax
call fcn.00433766
mov eax, dword [ebp + 8]
push 4
lea edi, [eax + esi]
lea eax, [edi + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00433766
mov eax, dword [ebp - 4]
push 4
add eax, edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.00433766
add esp, 0x24
cmp dword [ebp - 8], 0x4550
je 0x434b90
push str.PELD:_peGetProcAddress:_invalid_instance_handle_or_corrupt_memory_image
call fcn.004343d7
jmp 0x434c52
mov eax, dword [ebp - 4]
push 8
lea eax, [eax + edi + 0x78]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00433766
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov ebx, 0x10000
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp + 8], ecx
jb 0x434bc2
push str.PELD:_peGetProcAddress:_export_section___64K
jmp 0x434b86
push eax
call fcn.00433604
mov esi, eax
pop ecx
test esi, esi
jne 0x434bd6
push str.PELD:_peGetProcAddress:_picosMalloc_error
jmp 0x434b86
mov eax, dword [ebp + 8]
push dword [ebp - 0xc]
add eax, edi
push eax
push esi
call fcn.00433766
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp ecx, ebx
jae 0x434bf5
sub cx, word [esi + 0x10]
jmp 0x434c43
mov eax, esi
xor ebx, ebx
sub eax, dword [ebp + 8]
add dword [esi + 0x20], eax
cmp dword [esi + 0x18], ebx
jbe 0x434c2c
xor eax, eax
jmp 0x434c0b
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + eax*4]
sub eax, dword [ebp + 8]
add eax, esi
push eax
push ecx
call fcn.00433486
pop ecx
test eax, eax
pop ecx
je 0x434c2c
inc ebx
movzx eax, bx
cmp eax, dword [esi + 0x18]
jb 0x434c08
movzx eax, bx
cmp eax, dword [esi + 0x18]
jae 0x434c4b
mov ecx, esi
sub ecx, dword [ebp + 8]
add dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x24]
mov cx, word [ecx + eax*2]
movzx eax, cx
cmp eax, dword [esi + 0x14]
jb 0x434c56
push esi
call fcn.0043364a
pop ecx
xor eax, eax
jmp 0x434c6e
mov ecx, esi
push esi
sub ecx, dword [ebp + 8]
add dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x1c]
mov ebx, dword [ecx + eax*4]
call fcn.0043364a
pop ecx
lea eax, [ebx + edi]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435160
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 0xb0b
call fcn.00435130
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
add esp, 8
lea ebx, [esp + 0x10]
mov ebp, 0xb
mov eax, dword [ebx]
mov edx, dword [esi]
mov ecx, eax
push esi
shl ecx, 0x10
xor ecx, edx
mov edx, dword [edi]
xor ecx, edx
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov ecx, dword [esi + 4]
xor ecx, edx
mov edx, dword [esi + 8]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 8]
xor eax, edx
xor eax, ecx
mov dword [esi + 8], eax
call fcn.00435100
add esp, 4
add ebx, 4
dec ebp
jne 0x43518a
mov eax, dword [esp + 0x3c]
mov ebx, dword [esi]
mov edx, dword [edi]
mov ecx, eax
mov ebp, dword [esi + 4]
push esi
shl ecx, 0x10
xor ecx, ebx
mov ebx, dword [esi + 8]
xor ecx, edx
xor eax, ebx
mov dword [esi], ecx
mov edx, dword [edi + 4]
xor ebp, edx
mov dword [esi + 4], ebp
mov edx, dword [edi + 8]
xor eax, edx
mov dword [esi + 8], eax
call fcn.00434ff0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x435200
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [esp + 0x44]
push ebx
push esi
push edi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edx
push ecx
mov dword [esp + 0x18], eax
call fcn.00434ff0
lea edx, [esp + 0x10]
push edx
call fcn.00434f40
lea eax, [esp + 0x20]
push eax
push 0xb1b1
call fcn.00435130
mov esi, dword [esp + 0x5c]
push esi
call fcn.00434f40
add esp, 0x14
lea edi, [esp + 0x18]
mov ebx, 0xb
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, eax
push esi
shl ecx, 0x10
xor ecx, edx
mov edx, dword [esp + 0x10]
xor ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esi + 4]
xor ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 8]
xor ecx, eax
xor ecx, edx
mov dword [esi + 8], ecx
call fcn.00435100
add esp, 4
add edi, 4
dec ebx
jne 0x435257
mov eax, dword [esp + 0x44]
mov ebx, dword [esi]
mov edi, dword [esp + 0xc]
mov edx, eax
mov ecx, dword [esp + 0x10]
push esi
shl edx, 0x10
xor edx, ebx
mov ebx, dword [esp + 0x18]
xor edx, edi
mov dword [esi], edx
mov edx, dword [esi + 4]
xor edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esi + 8]
xor edx, eax
xor edx, ebx
mov dword [esi + 8], edx
call fcn.00434ff0
push esi
call fcn.00434f40
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x435c30
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xd4]
mov ecx, dword [eax + 0x334]
test ecx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jbe 0x435c6e
mov eax, dword [esi + 8]
test eax, eax
je 0x435c6e
push str.Deinitialize
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov ecx, dword [esi + 8]
push ecx
call edi
mov dword [esi + 8], 0
mov edx, dword [esi + 0xd4]
push edx
call fcn.00435d80
mov eax, dword [esi + 0xc0]
add esp, 4
test eax, eax
je 0x435c90
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x435ca3
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x435cb6
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0x44]
test eax, eax
je 0x435cc6
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x435cd9
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xac]
test eax, eax
je 0x435cec
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x435cff
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x435d12
push eax
call fcn.00435d50
add esp, 4
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x435d25
mov eax, dword [esi + 0x48]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x435d2f
push eax
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x435d39
push eax
call edi
push esi
call fcn.00435d50
add esp, 4
pop edi
mov eax, 1
pop esi
ret

Function at 0x435e08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push str.Debug_Window_for_MASM32
push 0
call sub.USER32.dll_FindWindowA
or eax, eax
jne 0x435e36
push 1
push str.masm32_bindbgwin.exe
call sub.KERNEL32.dll_WinExec
push str.Debug_Window_for_MASM32
push 0
call sub.USER32.dll_FindWindowA
or eax, eax
je 0x435ead
mov dword [ebp - 4], eax
push 0
push 0x4510ca
push 0
push dword [ebp - 4]
call sub.USER32.dll_FindWindowExA
mov dword [ebp - 4], eax
push 0
push 0
push 0xe
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
pop eax
or eax, eax
je 0x435e8a
push 0x4510c7
push 0
push 0xc2
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push dword [ebp + 8]
push 0
push 0xc2
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push dword [ebp - 4]
call sub.USER32.dll_SendMessageA
leave
ret 4
Function at 0x4395f0
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push edi
push 0xffffffffffffffec
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
test eax, 0x80000
je 0x43969b
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.dll_GetVersionExA
cmp dword [ebp - 0x90], 5
jb 0x43969b
push str.User32.dll
call sub.KERNEL32.dll_GetModuleHandleA
push str.SetLayeredWindowAttributes
push eax
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
push 2
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call edi
push 8
push dword [ebp + 8]
call sub.USER32.dll_ShowWindow
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jbe 0x43969b
mov eax, dword [ebp + 0x14]
or eax, eax
je 0x43969b
mov eax, dword [ebp + 0x18]
or eax, eax
je 0x43969b
mov ebx, dword [ebp + 0xc]
push 2
push ebx
push 0
push dword [ebp + 8]
call edi
push dword [ebp + 0x18]
call sub.KERNEL32.dll_Sleep
add ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 0x10]
jb 0x439675
push 2
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
call edi
pop edi
pop ebx
leave
ret 0x14

Function at 0x4396b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push edi
push 0xffffffffffffffec
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
test eax, 0x80000
je 0x439741
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.dll_GetVersionExA
cmp dword [ebp - 0x90], 5
jb 0x439741
push str.User32.dll
call sub.KERNEL32.dll_GetModuleHandleA
push str.SetLayeredWindowAttributes
push eax
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x439741
mov eax, dword [ebp + 0x14]
or eax, eax
je 0x439741
mov eax, dword [ebp + 0x18]
or eax, eax
je 0x439741
mov ebx, dword [ebp + 0xc]
push 2
push ebx
push 0
push dword [ebp + 8]
call edi
push dword [ebp + 0x18]
call sub.KERNEL32.dll_Sleep
sub ebx, dword [ebp + 0x14]
cmp ebx, dword [ebp + 0x10]
jg 0x43971b
push 2
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
call edi
pop edi
pop ebx
leave
ret 0x14