joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ad2f
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.1000acea
test eax, eax
pop ecx
jne 0x1000ad50
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000ad72
push esi
call fcn.1000ac94
pop ecx
push 1
pop eax
pop esi
ret

Function at 0x1000ad77
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push 1
xor esi, esi
pop ebx
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x1000adbf
push esi
push connect
push esi
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x1000adc6
xor al, al
jmp 0x1000ae63
push edi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x1000ae4a
mov edi, 0x400
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x414]
push edi
push eax
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp ebx, esi
je 0x1000ae1d
cmp word [ebp - 0x414], 0x5a4d
jne 0x1000ae3e
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 0x414]
push dword [ebp - 4]
xor ebx, ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], esi
jbe 0x1000ae41
jmp 0x1000ade8
mov dword [ebp - 8], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0x14]
call edi
xor eax, eax
cmp dword [ebp - 8], esi
pop edi
setne al
pop esi
pop ebx
leave
ret
Function at 0x1000b589
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x100118fa
call fcn.100112b0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
call fcn.1000afff
test al, al
je 0x1000b61d
push 0x18
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x1000b5c2
call fcn.1000ae67
mov ecx, eax
jmp 0x1000b5c4
xor ecx, ecx
mov eax, dword [esi + 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x14], ecx
je 0x1000b5dd
mov edx, dword [esi + 0x24]
cmp edx, ebx
je 0x1000b5dd
push edx
push eax
jmp 0x1000b611
push 0x120
push 0x160
call fcn.1000b07e
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000b621
mov ecx, dword [esi + 0x14]
push 0x90
push 0xb0
call fcn.1000b07e
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000b621
mov ecx, dword [esi + 0x14]
push ebx
push ebx
call fcn.1000b07e
cmp al, bl
mov byte [ebp - 0xd], al
jne 0x1000b621
xor al, al
jmp 0x1000b69f
push edi
mov dword [ebp - 0x24], 0x3336324d
mov dword [ebp - 0x20], 0x32335649
mov dword [ebp - 0x1c], 0x3234504d
mov dword [ebp - 0x18], 0x64697663
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x24]
push 0x78
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x1000b65b
mov dword [eax], 0x10012600
mov dword [eax + 0x48], ebx
jmp 0x1000b65d
xor eax, eax
push dword [edi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
push dword [ecx + 8]
mov ecx, eax
call fcn.1000b6ad
test al, al
jne 0x1000b691
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
je 0x1000b680
mov eax, dword [ecx]
push 1
call dword [eax]
inc dword [ebp - 0x14]
add edi, 4
cmp dword [ebp - 0x14], 4
mov dword [esi + 0x18], ebx
jb 0x1000b644
jmp 0x1000b69b
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [esi + 0x1c], eax
mov al, byte [ebp - 0xd]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x401fc0
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x40203b
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.00426f31
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x401ff7
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x40200e
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.00426f31
add esp, 4
test eax, eax
jbe 0x40203b
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.00426f31
add esp, 4
cmp esi, eax
jb 0x402020
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x403170
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp dword [0x44d700], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x14], 0x26
mov dword [esp + 0x18], 0x2a
jne 0x403206
push 3
push 0x20
push 3
push 1
push 3
push 2
push esi
push esi
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
push 0x23
push 0x44d700
mov dword [0x44d700], 0x11c
mov dword [0x44d704], 6
mov dword [0x44d708], 1
mov word [0x44d814], si
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x44c0c0], eax
jmp 0x40320b
mov eax, dword [0x44c0c0]
cmp eax, esi
je 0x40321a
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret
cmp ebp, esi
je 0x40333a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push edi
push esi
push esi
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x403338
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x403338
push 0
mov ecx, eax
push ecx
push edi
push ebp
call ebx
cmp edi, eax
jbe 0x403338
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x403270
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x4032ef
push 0
push 0
push str._ProgramW6432_
call ebp
mov edi, eax
test edi, edi
je 0x403338
lea edx, [edi + edi + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x403338
push edi
push esi
push str._ProgramW6432_
call ebp
cmp edi, eax
jne 0x403338
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4032d6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x43656c
push 0x26
jmp 0x4032f5
cmp word [esi + edi*2 - 4], 0x5c
je 0x403303
push 0x436780
add edi, 1
push edi
push esi
call fcn.00402fc0
jmp 0x403303
push 0x43656c
push eax
call fcn.00403060
mov esi, eax
add esp, 8
test esi, esi
je 0x403338
push esi
call fcn.00426f31
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.00427403
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jne 0x403338
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
add ebx, 1
xor esi, esi
cmp ebx, 3
jl 0x403270
pop edi
pop ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x4036e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push eax
mov eax, dword [esp + 0xc]
call fcn.00403570
mov esi, eax
add esp, 4
test esi, esi
je 0x403722
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403704
test al, 0x50
je 0x403722
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x403717
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x404be0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, ecx
mov edx, dword [edi + 0x1c]
or eax, edx
jne 0x404c05
mov dword [edi + 0x18], 1
lea ecx, [eax + 1]
mov dword [edi + 0x1c], eax
xor edx, edx
cmp dword [ebp + 8], 0
mov eax, dword [edi + 0x10]
je 0x404c35
test eax, eax
jne 0x404c1e
push eax
push eax
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x404c52
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x404c28
mov eax, dword [edi]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
jmp 0x404c52
test eax, eax
je 0x404c43
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x404c43
mov eax, dword [edi]
push eax
push ecx
push edx
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x24], eax
cmp eax, 0xffffffff
jne 0x404ca6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Cannot
mov esi, eax
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
cmp dword [ebp + 8], 0
mov ecx, str.open
mov dword [ebp - 4], str.create
cmove ecx, dword [ebp - 4]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
push str._file_mapping__
mov ecx, eax
mov edx, dword [eax]
jmp 0x404ce2
test eax, eax
je 0x404d1a
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x404d1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [vtable.CDebugPrint.0]
mov esi, eax
mov dword [0x44cba0], 2
mov ecx, 0x44c958
push str.Cannot_mapview_file_mapping__
call dword [edx + 0x1c]
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push str.__:
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2140
call fcn.00418270
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword fs:[0x2c]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
or edi, dword [esi + 0x250]
cmp dword [esi + 0x24c], 0
jne 0x405879
lea eax, [ebp - 0x2140]
mov dword [esi + 0x24c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x80
lea eax, [ebp - 0x12c]
push eax
push str.HH:mm:ss
lea eax, [ebp - 0x2140]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
movzx eax, word [ebp - 0x2132]
push eax
lea eax, [ebp - 0x28]
push str.._03d
push eax
call fcn.00406100
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x12c]
push 0x80
push eax
call fcn.00420278
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x212c]
push 0x3e8
push eax
call fcn.0041b235
add esp, 0xc
test edi, edi
jne 0x40575c
cmp dword [esi + 0x224], edi
je 0x40575c
cmp dword [esi + 0x228], 7
lea eax, [esi + 0x214]
jbe 0x40572e
mov eax, dword [eax]
push 0x43c94c
push eax
push 0x43ca1c
push str.__s_20s_s_
push esi
call fcn.004053a0
add esp, 0x14
push eax
lea eax, [ebp - 0x212c]
push 0x1000
push eax
call fcn.00420278
add esp, 0xc
mov eax, dword [esi + 0x248]
sub eax, 1
je 0x405773
sub eax, 1
jne 0x40578c
push str.__ERR_
jmp 0x405778
push str.__WARN_
lea eax, [ebp - 0x212c]
push 0x1000
push eax
call fcn.00420278
add esp, 0xc
mov edi, dword [ebx]
cmp byte [edi + 8], 0
jne 0x40579c
call fcn.00417682
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x212c]
push 0x1000
push eax
call fcn.00420278
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x40]
test eax, eax
je 0x405820
push 0x43ca60
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x2130]
push eax
call fcn.0041fbab
add esp, 0xc
test eax, eax
jne 0x405819
lea ecx, [ebp - 0x212c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4057e7
push dword [ebp - 0x2130]
sub ecx, edx
lea eax, [ebp - 0x212c]
sar ecx, 1
push ecx
push 2
push eax
call fcn.004200e9
push dword [ebp - 0x2130]
call fcn.00420248
add esp, 0x14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x44]
cmp dword [esi + 0x26c], 0
je 0x405879
push 0
lea eax, [ebp - 0x2130]
push eax
lea eax, [ebp - 0x212c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x212c]
push eax
push dword [esi + 0x26c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x405879
mov eax, dword [esi + 0x26c]
test eax, eax
je 0x405879
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x26c], 0
mov edi, dword [ebx]
cmp byte [edi + 8], 0
jne 0x405889
call fcn.00417682
mov ecx, dword [ebp - 8]
xor eax, eax
mov word [edi + 0x10], ax
xor ecx, ebp
pop edi
mov dword [esi + 0x244], eax
mov dword [esi + 0x248], eax
mov dword [esi + 0x250], eax
pop esi
pop ebx
call fcn.0041713e
mov esp, ebp
pop ebp
ret 4
Function at 0x406400
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ecx
mov dword [ebp - 0x220], edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
push esi
call fcn.0041768e
add esp, 4
mov dword [ebp - 0x21c], eax
push eax
push esi
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x43cc74
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edx, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
test edx, edx
je 0x4064aa
movzx eax, word [ecx + 0x12]
mov dword [edx], eax
mov edx, dword [ebp - 0x224]
test edx, edx
je 0x4064ba
movzx eax, word [ecx + 0x10]
mov dword [edx], eax
test ebx, ebx
je 0x4064c4
movzx eax, word [ecx + 0x16]
mov dword [ebx], eax
test edi, edi
je 0x4064ce
movzx eax, word [ecx + 0x14]
mov dword [edi], eax
push esi
call fcn.00417697
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041713e
mov esp, ebp
pop ebp
ret

Function at 0x4064f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x44e028], 0
lea eax, [ebp - 0x20c]
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x210], esi
je 0x406583
push 0x44e028
push 0x104
push eax
call fcn.0041b235
add esp, 0xc
push str.FPSMonitor_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00420278
push str.hwinfo_config.txt
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00420278
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00404ac0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041713e
mov esp, ebp
pop ebp
ret
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x406535
push eax
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x406535
push 0x10
push 0x43ccc0
push str.Cannot_get___APPDATA___path
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0x43c94c
jmp 0x40656b
Function at 0x406670
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4347f0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00419020
add esp, 0xc
cmp word [section..FPSMON], 0
jne 0x406704
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4066fa
push 0x43cd2c
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041b235
add esp, 0xc
push 0x43cd34
jmp 0x40689e
mov ecx, section..FPSMON
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406710
sub ecx, edx
sar ecx, 1
push section..FPSMON
movzx esi, word [ecx*2 + 0x44effe]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp esi, 0x5c
je 0x406761
cmp esi, 0x2f
je 0x406761
xor bl, bl
test eax, eax
jne 0x406863
push section..FPSMON
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041b235
jmp 0x4068af
mov bl, 1
test eax, eax
jne 0x406863
push section..FPSMON
lea ecx, [ebp - 0x234]
call fcn.00404ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 7
push 0
cmova eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40680b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x40680b
mov edx, dword [vtable.CDebugPrint.0]
mov ecx, 0x44c958
push str.Error_creating_directory
mov dword [0x44cba0], 2
call dword [edx + 0x1c]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
push 0x43ccbc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0xd
mov esi, eax
call fcn.00405920
push 0xa
call fcn.00405920
push 0
mov ecx, esi
call fcn.00405650
mov ecx, dword [ebp - 0x220]
cmp ecx, 7
jbe 0x406863
mov edx, dword [ebp - 0x234]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406841
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4068e3
push ecx
push edx
call fcn.0041739d
push section..FPSMON
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041b235
add esp, 0x14
jmp 0x406899
push section..FPSMON
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0041b235
add esp, 0xc
test bl, bl
jne 0x406899
push 0x43cc74
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00420278
add esp, 0xc
push str.FPSMonitor.txt
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00420278
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
push edi
call fcn.0041b235
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041713e
mov esp, ebp
pop ebp
ret
call fcn.0041b1e4
int3
Function at 0x407dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43485d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x44e230]
test eax, eax
je 0x407e9f
cmp eax, 0xffffffff
je 0x407e9f
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
test dl, dl
mov ecx, 0x43dacc
mov eax, 0x43dac4
cmove eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00406010
push esi
lea ecx, [ebp - 0x28]
call fcn.00406010
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x2c]
push 0
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
push eax
push ecx
push dword [0x44e230]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x407e9f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407e95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407eb9
push ecx
push edx
call fcn.0041739d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041713e
mov esp, ebp
pop ebp
ret
call fcn.0041b1e4
int3

Function at 0x407ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push edx
lea eax, [ebp - 0x104]
mov ebx, ecx
push 0x100
push eax
call fcn.00420b61
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x104]
add esp, 0xc
mov dword [ebp - 0x108], eax
xor edi, edi
cmp byte [ebp - 0x104], 0
je 0x407f42
mov eax, edi
lea esi, [esi + 1]
shr eax, 1
mov edx, edi
not edx
mov cl, byte [ebp + eax - 0x108]
mov al, cl
and cl, 0xf
shr al, 4
test dl, 1
movzx ecx, cl
movzx eax, al
cmove ecx, eax
lea eax, [edi + 1]
xor byte [esi - 1], cl
xor ecx, ecx
cmp edi, 7
cmovne ecx, eax
cmp byte [esi], 0
mov edi, ecx
jne 0x407f07
lea eax, [ebp - 0x104]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041713e
mov esp, ebp
pop ebp
ret
Function at 0x40b8d0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4349dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1bc]
call fcn.0040c6f0
cmp dword [ebp - 0x1bc], 0
je 0x40b957
mov ecx, dword [ebp - 0x1b4]
test ecx, ecx
je 0x40b957
cmp dword [ebp - 0x1b8], 0
je 0x40b957
mov eax, dword [0x44e54c]
cmp eax, dword [0x44e550]
je 0x40b94a
movq xmm0, qword [ebp - 0x1bc]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [0x44e54c], 0xc
jmp 0x40b957
lea ecx, [ebp - 0x1bc]
push ecx
push eax
call fcn.0040bb40
xorps xmm0, xmm0
mov dword [ebp - 0x1b4], 0
movq qword [ebp - 0x1bc], xmm0
call fcn.00401d00
test eax, eax
sete byte [0x44e586]
test eax, eax
jne 0x40ba61
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], eax
call fcn.00414940
mov dword [ebp - 4], 0xffffffff
mov ebx, 0x414f60
mov ecx, dword [ebp - 0x1c]
mov edi, fcn.00414f50
mov dword [ebp - 0x1bc], 0x414f20
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b8], edi
test ecx, ecx
je 0x40ba22
mov edx, dword [ebp - 0x18]
push ecx
call fcn.00415480
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x40ba18
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb30
push ecx
push esi
call fcn.0041739d
add esp, 8
test ebx, ebx
je 0x40ba61
test edi, edi
je 0x40ba61
mov eax, dword [0x44e54c]
cmp eax, dword [0x44e550]
je 0x40ba54
mov dword [eax], 0x414f20
mov dword [eax + 4], fcn.00414f50
mov dword [eax + 8], 0x414f60
add dword [0x44e54c], 0xc
jmp 0x40ba61
lea ecx, [ebp - 0x1bc]
push ecx
push eax
call fcn.0040bb40
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0
push eax
xorps xmm0, xmm0
push 0x202
movq qword [ebp - 0x1bc], xmm0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40bb14
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0x415770
push 0
push 0
mov dword [0x44e8d8], eax
call fcn.00420ad0
add esp, 0x18
mov dword [0x44e7b4], eax
test eax, eax
je 0x40bb14
mov eax, dword [0x44e54c]
mov dword [ebp - 0x1bc], 0x415a40
mov dword [ebp - 0x1b4], 0x415a70
mov dword [ebp - 0x1b8], fcn.00414f50
cmp eax, dword [0x44e550]
je 0x40bb07
mov dword [eax], 0x415a40
mov dword [eax + 4], fcn.00414f50
mov dword [eax + 8], 0x415a70
add dword [0x44e54c], 0xc
jmp 0x40bb14
lea ecx, [ebp - 0x1bc]
push ecx
push eax
call fcn.0040bb40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041713e
mov esp, ebp
pop ebp
ret
call fcn.0041b1e4
int3