joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b904
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10015820]
jne 0x1000b90e
repz ret
jmp fcn.1000c082

Function at 0x4014a9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ebx
push ebx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassA]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
lea ebx, [ebp - 0x210]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push esi
push esi
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
lea esp, [ebp - 8]
lea eax, [ebx - 3]
pop ebx
pop esi
pop ebp
ret

Function at 0x401692
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.004014a9
test eax, eax
jne 0x40172c
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402196
sub eax, 0x401734
mov dword [esp], 0x401734
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x40172c
lea ebx, [ebp - 0x88]
mov dword [esp], 0
jmp loc.00463d30
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x43beda
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x14
mov eax, 0x462d30
call fcn.00447edc
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x43befa
mov eax, dword [edi]
jmp 0x43befc
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bf64
cmp dword [esi + 0x18], 8
jb 0x43bf11
mov eax, dword [edi]
jmp 0x43bf13
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43bf64
lea eax, [ebp - 0x14]
push eax
call fcn.004270cf
pop ecx
mov byte [ebp - 4], 1
cmp dword [esi + 0x18], 8
mov ebx, dword [eax]
jb 0x43bf3d
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push ebx
push edi
push str.Failed_to_delete_fileName__S_:__S
mov esi, eax
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0040f17c
mov ebx, dword [ebp + 0x10]
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
jb 0x43bf74
mov eax, dword [esi]
jmp 0x43bf76
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bfde
cmp dword [ebx + 0x18], 8
jb 0x43bf8b
mov eax, dword [esi]
jmp 0x43bf8d
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43bfde
lea eax, [ebp - 0x18]
push eax
call fcn.004270cf
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 8
mov edi, dword [eax]
jb 0x43bfb7
mov esi, dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push edi
push esi
push str.Failed_to_delete_path__S_:__S
mov esi, eax
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0040f17c
mov ecx, dword [ebp + 8]
xor eax, eax
xor esi, esi
cmp byte [ecx + 4], al
push esi
sete al
push esi
push str.SoftwareRobloxRegETags
add eax, 0x80000001
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042720b
mov eax, dword [ebp + 0xc]
add esp, 0x14
cmp dword [eax + 0x18], 8
jb 0x43c012
mov eax, dword [eax + 4]
jmp 0x43c015
add eax, 4
push 1
push 0x46bc80
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040cf04
cmp dword [ebp - 0x20], esi
je 0x43c034
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00447f81
ret 0x10

Function at 0x43cb62
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, ecx
push 0
push dword [esi + 0x48]
mov byte [esi + 0x30], 1
call edi
push 0
push dword [esi + 0x40]
call edi
push 0
push dword [esi + 0x44]
call edi
push 0x43ca10
push 0x12c
push 1
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x401740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x3021004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], edx
push 0
push eax
mov dword [ebp - 0x110], ecx
call fcn.004098a0
mov edx, 0x302184c
add esp, 0xc
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x401780
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401790
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [0x301903c]
mov edi, eax
mov dword [ebp - 0x11c], edi
cmp edi, 0xffffffff
je 0x4018cd
push ebx
push 0
push edi
call dword [0x301904c]
mov esi, eax
xor edx, edx
mov ecx, esi
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call fcn.0040a92d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x118], ebx
test ebx, ebx
je 0x4018cc
inc esi
push esi
push 0
push ebx
call fcn.004098a0
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push 0
push eax
push esi
push ebx
push edi
call dword [0x30190d8]
cmp dword [ebx], 0
mov esi, ebx
mov edi, ebx
je 0x4018b7
nop dword [eax + eax]
add edi, 0x208
cmp dword [edi], 0
jne 0x401840
nop dword [eax + eax]
xor eax, eax
xor byte [eax + esi + 8], al
lea ecx, [eax + esi]
inc eax
cmp eax, 0x200
jb 0x401852
lea ebx, [esi + 8]
push ebx
push 0x301eab8
call fcn.0040d12c
add esp, 8
test eax, eax
jne 0x4018a6
push dword [esi]
call fcn.00407665
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
mov ecx, dword [ebx - 4]
push dword [esi]
add ecx, 0x208
add ecx, edi
push ecx
push eax
call fcn.00417ae0
mov ecx, dword [ebp - 0x114]
add esp, 0x10
mov eax, dword [esi]
mov dword [ecx], eax
add esi, 0x208
cmp dword [esi], 0
jne 0x401850
mov ebx, dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [0x3019048]
push ebx
call fcn.0040a928
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040752c
mov esp, ebp
pop ebp
ret
Function at 0x42ebc5
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
xor ebx, ebx
inc ebx
push ebx
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x42ebf5
xor eax, eax
jmp 0x42ec53
push edi
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x42ec0c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x42ec47
push esi
push esi
push esi
push 2
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp edi, esi
je 0x42ec38
push esi
push esi
push esi
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
je 0x42ec38
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x42ec3a
xor ebx, ebx
cmp edi, esi
je 0x42ec45
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x43014b
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jne 0x430179
xor eax, eax
jmp 0x4301fd
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
xor eax, eax
cmp ebx, edi
je 0x4301fc
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep stosd dword es:[edi], eax
push ebx
mov ecx, edx
and ecx, 3
push esi
rep stosb byte es:[edi], al
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x4301b1
xor esi, esi
jmp 0x4301f3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x405c38
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4301ad
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push 0x405c20
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll_swprintf]
xor esi, esi
add esp, 0x18
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x431952
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push 0xf003f
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
lea eax, [ebp - 4]
push eax
jne 0x4319dc
push 1
push esi
push 0x405f10
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x4319d0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x405ef8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4319c9
mov dword [ebp - 8], 1
push dword [ebp - 4]
call ebx
jmp 0x4319d7
mov dword [ebp - 8], 1
push dword [ebp - 0x10]
jmp 0x431a1d
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x405f10
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431a5d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x405ef8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x431a14
mov dword [ebp - 8], ebx
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
cmp dword [ebp - 8], 1
jne 0x431a5d
lea eax, [ebp - 4]
push eax
push 1
push esi
push 0x405e98
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431a5d
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x405ef8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call ebx
cmp dword [ebp - 0xc], esi
pop esi
pop ebx
je 0x431a6b
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x4359e2
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x222c
call fcn.004a98b0
mov eax, dword [0x4dd52c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x221c], eax
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x20c], bx
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x120c], bx
mov ecx, 0x3ff
lea edi, [ebp - 0x120a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x405a00
lea eax, [esi + 0x19a24]
push eax
lea eax, [ebp - 0x2210]
push eax
mov dword [ebp - 0x2214], 1
mov dword [ebp - 0x2218], ebx
mov dword [ebp - 0x2210], ebx
call fcn.004805f0
test eax, eax
jne 0x435c03
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x406e18
push dword [ebp - 0x2210]
mov dword [ebp - 0x2218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435bf1
cmp esi, ebx
je 0x435bd4
cmp dword [esi + 0x1dfa8], 1
jne 0x435bd4
mov eax, dword [esi + 0x1dfac]
cmp eax, ebx
je 0x435bd4
cmp eax, 2
jb 0x435bd4
xor eax, eax
mov word [ebp - 0x220c], bx
mov ecx, 0x3ff
lea edi, [ebp - 0x220a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push 0x406e00
mov ebx, 0x800
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x435bd4
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x435bd4
cmp eax, 2
jb 0x435bd4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x222c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220c]
push eax
movzx eax, word [ebp - 0x221e]
push 0x406ddc
push eax
movzx eax, word [ebp - 0x2220]
push eax
movzx eax, word [ebp - 0x2222]
push eax
movzx eax, word [ebp - 0x2224]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x120c]
push ebx
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x120c]
push eax
jne 0x435bb6
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x435bd4
add esi, 0x1dfa4
push 0x4060a8
push dword [esi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [esi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x221c]
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
jmp 0x435bf7
mov dword [ebp - 0x2214], ebx
push dword [ebp - 0x2210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2214]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 8
Function at 0x43605e
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004a98b0
mov eax, dword [0x4dd52c]
and word [ebp - 0x1004], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [esi + 0x1dfa8], 1
mov ecx, 0x3ff
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x436189
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x436161
cmp eax, 1
jb 0x436161
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x406fac
mov ecx, 0x400
lea edi, [ebp - 0x1004]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x1006]
push 0x406f78
push eax
movzx eax, word [ebp - 0x1008]
push eax
movzx eax, word [ebp - 0x100a]
push eax
movzx eax, word [ebp - 0x100c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x1004]
push eax
jne 0x436143
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x436161
lea edi, [esi + 0x1dfa4]
push 0x4060a8
push dword [edi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [edi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
cmp word [esi + 0x1dfa0], 0
jne 0x436182
lea edi, [esi + 0x1dfa4]
mov eax, dword [edi]
test eax, eax
je 0x436182
push eax
call dword [sym.imp.msvcrt.dll_fclose]
and dword [edi], 0
pop ecx
and dword [esi + 0x1dfa8], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.004a9585
leave
ret 4
Function at 0x436631
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x2220
call fcn.004a98b0
mov eax, dword [0x4dd52c]
push ebx
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
xor edx, edx
mov word [ebp - 0x20c], dx
mov ecx, 0x81
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ebx, 0x3ff
mov word [ebp - 0x120c], dx
mov ecx, ebx
lea edi, [ebp - 0x120a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x1a468]
push eax
lea eax, [ebp - 0x20c]
push 0x407380
push eax
mov dword [ebp - 0x2210], edx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea eax, [ebp - 0x2210]
push eax
push 0x407378
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00431768
cmp eax, 1
jne 0x4367dc
test esi, esi
je 0x43688f
cmp dword [esi + 0x1dfa8], eax
jne 0x43688f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x43688f
cmp eax, 3
jb 0x43688f
and word [ebp - 0x220c], 0
push dword [ebp - 0x2210]
xor eax, eax
mov ecx, ebx
lea edi, [ebp - 0x220a]
rep stosd dword es:[edi], eax
push 0x4072f0
stosw word es:[edi], ax
mov ebx, 0x800
lea eax, [ebp - 0x220c]
push ebx
push eax
call fcn.00431bde
add esp, 0x10
cmp dword [esi + 0x1dfa8], 1
jne 0x43688f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x43688f
cmp eax, 3
jb 0x43688f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x220c]
push eax
movzx eax, word [ebp - 0x2212]
push 0x4072d0
push eax
movzx eax, word [ebp - 0x2214]
push eax
movzx eax, word [ebp - 0x2216]
push eax
movzx eax, word [ebp - 0x2218]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
push ebx
lea eax, [ebp - 0x120c]
push eax
call fcn.00431bde
add esp, 0x2c
cmp word [esi + 0x1dfa0], 1
lea eax, [ebp - 0x120c]
push eax
jne 0x436871
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x43688f
test esi, esi
je 0x43688f
cmp dword [esi + 0x1dfa8], 1
jne 0x43688f
mov eax, dword [esi + 0x1dfac]
test eax, eax
je 0x43688f
cmp eax, 3
jb 0x43688f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x2220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0x407258
mov ecx, 0x400
lea edi, [ebp - 0x120c]
rep stosd dword es:[edi], eax
movzx eax, word [ebp - 0x2212]
push 0x4072d0
push eax
movzx eax, word [ebp - 0x2214]
push eax
movzx eax, word [ebp - 0x2216]
push eax
movzx eax, word [ebp - 0x2218]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4065a0
push 0x800
jmp 0x4367ad
add esi, 0x1dfa4
push 0x4060a8
push dword [esi]
call dword [sym.imp.msvcrt.dll_fwprintf]
push dword [esi]
call dword [sym.imp.msvcrt.dll_fflush]
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2210]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 4
Function at 0x43f310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4dd52c]
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
and esi, 7
xor edi, edi
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 4], eax
mov byte [ebp - 0x44], 0x55
mov byte [ebp - 0x43], 0xae
mov byte [ebp - 0x42], 0x55
mov byte [ebp - 0x41], 0xbb
mov byte [ebp - 0x40], 0x55
mov byte [ebp - 0x3f], 0xea
mov byte [ebp - 0x3e], 0x55
mov byte [ebp - 0x3d], 0xbb
mov byte [ebp - 0x3c], 0xaa
mov byte [ebp - 0x3b], 0x5d
mov byte [ebp - 0x3a], 0xaa
mov byte [ebp - 0x39], 0x77
mov byte [ebp - 0x38], 0xaa
mov byte [ebp - 0x37], 0xd5
mov byte [ebp - 0x36], 0xaa
mov byte [ebp - 0x35], 0x77
mov byte [ebp - 0x34], 0x55
mov byte [ebp - 0x33], 0xba
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0xee
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0xab
mov byte [ebp - 0x2e], 0x55
mov byte [ebp - 0x2d], 0xee
mov byte [ebp - 0x2c], 0xaa
mov byte [ebp - 0x2b], 0x75
mov byte [ebp - 0x2a], 0xaa
mov byte [ebp - 0x29], 0xdd
mov byte [ebp - 0x28], 0xaa
mov byte [ebp - 0x27], 0x57
mov byte [ebp - 0x26], 0xaa
mov byte [ebp - 0x25], 0xdd
mov byte [ebp - 0x24], 0x55
mov byte [ebp - 0x23], 0xea
mov byte [ebp - 0x22], 0x55
mov byte [ebp - 0x21], 0xbb
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0xae
mov byte [ebp - 0x1e], 0x55
mov byte [ebp - 0x1d], 0xbb
mov byte [ebp - 0x1c], 0xaa
mov byte [ebp - 0x1b], 0xd5
mov byte [ebp - 0x1a], 0xaa
mov byte [ebp - 0x19], 0x77
mov byte [ebp - 0x18], 0xaa
mov byte [ebp - 0x17], 0x5d
mov byte [ebp - 0x16], 0xaa
mov byte [ebp - 0x15], 0x77
mov byte [ebp - 0x14], 0x55
mov byte [ebp - 0x13], 0xab
mov byte [ebp - 0x12], 0x55
mov byte [ebp - 0x11], 0xee
mov byte [ebp - 0x10], 0x55
mov byte [ebp - 0xf], 0xba
mov byte [ebp - 0xe], 0x55
mov byte [ebp - 0xd], 0xee
mov byte [ebp - 0xc], 0xaa
mov byte [ebp - 0xb], 0x57
mov byte [ebp - 0xa], 0xaa
mov byte [ebp - 9], 0xdd
mov byte [ebp - 8], 0xaa
mov byte [ebp - 7], 0x75
mov byte [ebp - 6], 0xaa
mov byte [ebp - 5], 0xdd
lea esi, [ebp + esi*8 - 0x44]
mov dword [ebp - 0x48], ecx
jle 0x43f47d
mov eax, dword [ebp + 0x18]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 8]
sub edx, ecx
push ebx
mov ecx, edi
and ecx, 7
test eax, eax
mov cl, byte [ecx + esi]
mov byte [ebp - 0x50], cl
jle 0x43f470
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
cmp byte [edx + ecx], 0
sete bl
dec bl
and ebx, dword [ebp - 0x50]
mov byte [ecx], bl
inc ecx
dec dword [ebp - 0x4c]
jne 0x43f45c
mov ecx, dword [ebp + 0x18]
add dword [ebp - 0x48], ecx
inc edi
cmp edi, dword [ebp + 0x1c]
jl 0x43f447
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.004a9585
leave
ret 0x18
Function at 0x44ad44
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4dd52c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push 0x3f
mov byte [ebp - 0x104], 0
pop ecx
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x197b6]
mov al, byte [eax + 0x162d0]
test al, al
mov dword [ebp - 0x114], 1
mov byte [ebp - 0x105], cl
je 0x44adba
cmp al, 0xf
je 0x44adba
cmp al, 0x33
je 0x44adba
cmp al, 0x55
je 0x44adba
cmp al, 0xaa
je 0x44adba
cmp al, 0xcc
je 0x44adba
cmp al, 0xf0
je 0x44adba
cmp al, 0xff
je 0x44adba
and dword [ebp - 0x114], 0
mov edi, 0x100
xor esi, esi
cmp dword [ebp + 0x10], edi
jbe 0x44ae4e
movzx eax, cl
mov ecx, 0xff
sub ecx, eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x10c]
fild dword [ebp - 0x110]
test esi, esi
mov dword [ebp - 0x10c], esi
fild dword [ebp - 0x10c]
jge 0x44ae02
fadd dword [0x4060a4]
fmul qword [0x409800]
fld st(2)
fmulp st(1)
fadd st(1)
call fcn.004a9810
mov byte [ebp + esi - 0x104], al
inc esi
cmp esi, edi
jb 0x44adec
xor eax, eax
fstp st(0)
cmp dword [ebp - 0x114], eax
fstp st(0)
jne 0x44ae33
mov byte [ebp - 0x104], al
cmp dword [ebp + 0x10], eax
jbe 0x44aeb2
movzx ecx, byte [ebx + eax]
mov cl, byte [ebp + ecx - 0x104]
mov byte [ebx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x44ae38
jmp 0x44aeb2
cmp dword [ebp + 0x10], esi
jbe 0x44aeb2
cmp dword [ebp - 0x114], 0
jne 0x44ae68
cmp byte [ebx + esi], 0
jne 0x44ae68
mov byte [ebx + esi], 0
jmp 0x44aeac
movzx ecx, byte [ebx + esi]
movzx eax, byte [ebp - 0x105]
mov dword [ebp - 0x10c], ecx
mov ecx, 0xff
sub ecx, eax
fild dword [ebp - 0x10c]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], eax
fmul qword [0x409800]
fimul dword [ebp - 0x10c]
fiadd dword [ebp - 0x110]
call fcn.004a9810
mov byte [ebx + esi], al
inc esi
cmp esi, dword [ebp + 0x10]
jb 0x44ae53
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.004a9585
leave
ret 0xc