joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40af40
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c622
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x270], esi
xorps xmm0, xmm0
mov dword [ebp - 0x26c], 1
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [edx + 0x10]
sub eax, ecx
mov dword [ebp - 0x26c], 1
cmp eax, 6
jb 0x40b1bc
cmp dword [edx + 0x14], 7
jbe 0x40afe7
mov edx, dword [edx]
push 6
push str..ini
push ecx
push edx
push ecx
push dword [ebp - 0x270]
lea ecx, [ebp - 0x2a0]
call fcn.00443140
cmp dword [ebp - 0x28c], 7
lea ecx, [ebp - 0x268]
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x26c], 3
cmova eax, dword [ebp - 0x2a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x28c]
mov edi, eax
cmp ecx, 7
jbe 0x40b070
mov edx, dword [ebp - 0x2a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1c1
push ecx
push edx
call fcn.00460ed3
add esp, 8
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
cmp edi, 0xffffffff
je 0x40b19c
nop word [eax + eax]
test byte [ebp - 0x268], 0x10
jne 0x40b17f
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x274], 0
movups xmmword [ebp - 0x288], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b0d4
sub eax, edx
lea ecx, [ebp - 0x288]
sar eax, 1
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0043b8b0
mov dword [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x40b130
movups xmm0, xmmword [ebp - 0x288]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x278]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x288], ax
jmp 0x40b145
lea ecx, [ebp - 0x288]
push ecx
push eax
mov ecx, esi
call fcn.00447e60
mov ecx, dword [ebp - 0x274]
mov byte [ebp - 4], 0
cmp ecx, 7
jbe 0x40b17f
mov edx, dword [ebp - 0x288]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b175
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1c1
push ecx
push edx
call fcn.00460ed3
add esp, 8
lea eax, [ebp - 0x268]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b0a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00403980
call fcn.00474a77
int3
Function at 0x40b1d0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c660
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x234
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x23c], esi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x23c], esi
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x40b2f0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b262
sub eax, edx
lea ecx, [ebp - 0x238]
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0043b8b0
push 0x49f05c
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.0042fad0
xorps xmm0, xmm0
lea ecx, [ebp - 0x238]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x14], 0
mov word [ebp - 0x238], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
call fcn.00405cd0
jmp 0x40b30f
push 0
movups xmmword [esi], xmm0
push 0x49e24c
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0043b8b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40b330
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
call fcn.0040b600
push edi
push dword [edi + 0x88]
push 0
push 0
push 0x1b8
push 0x366
push SysReAllocString
push SysReAllocString
push 0xcb0000
push str.Teleport_Menu
push dword [edi + 0x90]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x94], eax
test eax, eax
je 0x40b43d
push esi
push 0x66
push dword [edi + 0x88]
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, eax
push esi
push 1
push 0x80
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x80
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x94]
mov ecx, edi
call fcn.0040b690
push dword [edi + 0x8c]
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push edi
push 0x4104d0
push 0
push 0
mov byte [edi + 0xe0], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2d
push 4
push 0x475e1
push dword [edi + 0x94]
mov dword [edi + 0xd8], eax
call dword [sym.imp.USER32.dll_RegisterHotKey]
push 0x2e
push 4
push 0x475e2
push dword [edi + 0x94]
call dword [sym.imp.USER32.dll_RegisterHotKey]
pop esi
push 0
push dword [edi + 0xd4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push edi
push 0x410200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
mov dword [edi + 0xdc], eax
xorps xmm0, xmm0
push 0
lea eax, [ebp - 0x20]
movq qword [ebp - 0x10], xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40b4b8
nop dword [eax]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40b490
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x20], eax
xor ecx, ebp
mov dword [edi + 0x24], edx
mov byte [edi + 0x18], 0
pop edi
call fcn.00460925
mov esp, ebp
pop ebp
ret
Function at 0x41bec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e06b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4b3100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
movups xmmword [edi + 0x60], xmm0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
movups xmmword [edi + 0x78], xmm0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov word [edi + 0x9c], 0
xor eax, eax
movups xmmword [edi + 0xa0], xmm0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 7
mov word [edi + 0xa0], ax
mov byte [ebp - 4], 8
lea esi, [edi + 0xc4]
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], eax
mov word [edi + 0xc0], ax
push 0xf8
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00460b38
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.004302d0
lea ebx, [esi + 0x18]
lea eax, [edi + 0x18]
cmp eax, ebx
je 0x41c388
mov ecx, eax
call fcn.004189a0
mov eax, dword [ebx]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x20], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x24]
call fcn.0042e560
mov eax, dword [esi + 0x30]
lea ecx, [edi + 0x3c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
lea eax, [esi + 0x3c]
push eax
call fcn.004302d0
lea eax, [esi + 0x54]
push eax
lea ecx, [edi + 0x54]
call fcn.0042e560
lea eax, [esi + 0x60]
push eax
lea ecx, [edi + 0x60]
call fcn.004302d0
lea eax, [esi + 0x78]
push eax
lea ecx, [edi + 0x78]
call fcn.004302d0
lea ebx, [esi + 0x90]
lea eax, [edi + 0x90]
cmp eax, ebx
je 0x41c41b
mov ecx, eax
call fcn.004189a0
mov eax, dword [ebx]
mov dword [edi + 0x90], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x94], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x98], eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
movzx eax, byte [esi + 0x9c]
lea ebx, [esi + 0xa0]
mov byte [edi + 0x9c], al
movzx eax, byte [esi + 0x9d]
mov byte [edi + 0x9d], al
lea eax, [edi + 0xa0]
cmp eax, ebx
je 0x41c47c
mov ecx, eax
call fcn.00405cd0
movups xmm0, xmmword [ebx]
xor eax, eax
movups xmmword [edi + 0xa0], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0xb0], xmm0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 7
mov word [ebx], ax
mov eax, dword [esi + 0xb8]
lea ebx, [edi + 0xc4]
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [edi + 0xbc], eax
movzx eax, byte [esi + 0xc0]
mov byte [edi + 0xc0], al
movzx eax, byte [esi + 0xc1]
add esi, 0xc4
mov byte [edi + 0xc1], al
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x41c4f4
mov esi, dword [ebx]
mov ecx, ebx
push dword [esi + 4]
push ebx
call fcn.0043daa0
mov edx, dword [ebp - 4]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
mov ecx, dword [ebx]
mov eax, dword [edx]
mov dword [ebx], eax
mov eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [ebx + 4]
mov dword [ebx + 4], eax
mov dword [edx + 4], ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c870
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cc4d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x260
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
mov dword [ebp - 0x260], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, 0xffffffff
je 0x41ca52
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41ca4b
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41c910
sub ecx, edx
lea eax, [ebp - 0x23c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043b8b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
lea edi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmova eax, ecx
cmova edi, ecx
mov dword [ebp - 0x264], ecx
lea eax, [eax + esi*2]
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x26c], eax
cmova esi, ecx
cmp esi, eax
je 0x41c98b
sub edi, esi
movzx eax, word [esi]
push eax
call fcn.004726b2
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x26c]
jne 0x41c967
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x264], ecx
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x2c]
mov esi, dword [0x4b3cb4]
cmp eax, 7
mov edi, 0x4b3ca4
cmova edx, ecx
cmp dword [0x4b3cb8], 7
cmova edi, dword [0x4b3ca4]
cmp esi, dword [ebp - 0x1c]
jne 0x41c9f8
test esi, esi
je 0x41c9d1
sub edi, edx
nop dword [eax + eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x41c9ef
add edx, 2
sub esi, 1
jne 0x41c9c0
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x258]
lea ecx, [ebp - 0x2c]
call fcn.00405cd0
mov eax, esi
jmp 0x41ca54
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp eax, 7
jbe 0x41ca2f
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ca25
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ca72
push edx
push ecx
call fcn.00460ed3
add esp, 8
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41c8f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00474a77
int3
Function at 0x425130
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ef3d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x38], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
cmp dword [eax + 0x14], 0xf
mov ecx, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0
jbe 0x425178
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 1
push dword [eax + 0x10]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4251bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x49d8ba
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00409360
jmp 0x4252fb
mov esi, dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp esi, 0x7fffffff
ja 0x425318
cmp esi, 0xf
ja 0x42520b
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push 0
push eax
mov dword [ebp - 0x14], 0xf
call fcn.00463f40
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
jmp 0x42525b
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x42521d
mov esi, SysReAllocString
jmp 0x425227
mov eax, 0x16
cmp esi, eax
cmovb esi, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409400
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov eax, dword [ebp - 0x30]
push eax
push 0
push esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.00463f40
mov eax, dword [ebp - 0x30]
add esp, 0x14
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0xf
cmova ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x42527b
mov eax, dword [eax]
push 0
push 0
lea esi, [ebp - 0x2c]
push esi
push ecx
push 1
push edx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4252bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x49d8bb
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00409360
jmp 0x4252f3
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
call fcn.00430280
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
ret
call fcn.00403980
int3
Function at 0x425f10
Capabilities:
Get session user name

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f090
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x14c
mov eax, dword [0x4b3100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x124], esi
movups xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
mov byte [ebp - 0x13c], 0
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 0
call fcn.00425d90
push eax
lea ecx, [ebp - 0x13c]
call fcn.004302d0
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x425fd6
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x425fcc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426152
push ecx
push edx
call fcn.00460ed3
add esp, 8
cmp dword [ebp - 0x12c], 0
je 0x42600f
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x13c]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x12c]
movq qword [esi + 0x10], xmm0
jmp 0x426133
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x101
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x144], 0
xorps xmm0, xmm0
mov dword [ebp - 0x140], 0
movups xmmword [ebp - 0x154], xmm0
test eax, eax
je 0x42606b
lea ecx, [ebp - 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426058
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
jmp 0x426072
push 0
push 0x49d9e2
lea ecx, [ebp - 0x154]
call fcn.00409360
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004302d0
mov ecx, dword [ebp - 0x140]
cmp ecx, 0xf
jbe 0x4260c9
mov edx, dword [ebp - 0x154]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4260bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426157
push ecx
push edx
call fcn.00460ed3
add esp, 8
cmp dword [ebp - 0x12c], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
je 0x42611a
movups xmm0, xmmword [ebp - 0x13c]
mov byte [ebp - 0x13c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x12c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0xf
jmp 0x426128
push 0
push 0x49d9e3
mov ecx, esi
call fcn.00409360
lea ecx, [ebp - 0x13c]
call fcn.00430280
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00460925
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00474a77
call fcn.00474a77
int3
Function at 0x42a370
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x4b3100]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.TetteyTrainerIntegrityMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x42a566
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.IsTetteyTrainerRunning
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x42a52d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42a52d
sub esp, 8
call fcn.00429170
mov al, byte [0x4b5f8f]
nop
test al, al
je 0x42a524
push 0
push 0
push ebx
push 0x429700
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x42a524
xorps xmm0, xmm0
lea ecx, [esp + 0x14]
push 0x4b3bb0
movlpd qword [esp + 0x18], xmm0
call fcn.0042f720
cmp byte [0x4b5f8e], 0
mov esi, dword [esp + 0x14]
jne 0x42a447
nop dword [eax + eax]
push esi
push 0x4b61a4
call fcn.0045da6c
add esp, 8
cmp byte [0x4b5f8e], 0
je 0x42a430
cmp byte [esp + 0x18], 0
je 0x42a457
push esi
call fcn.0045f9a5
add esp, 4
push 4
call fcn.00460b38
add esp, 4
lea ecx, [esp + 0x10]
mov dword [eax], 0x429fc0
push ecx
push 0
push eax
push 0x450c00
push 0
push 0
call fcn.0046f25c
add esp, 0x18
mov dword [esp + 0xc], eax
test eax, eax
je 0x42a58b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x42a584
push ecx
push eax
call fcn.0045fdf5
add esp, 8
test eax, eax
jne 0x42a584
push eax
push eax
push ebx
push 0x42a0f0
push eax
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x42a50f
push 0
push 0
push 0
push 0x409130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x42a50f
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42a51b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
cmp dword [esp + 0x10], 0
jne 0x42a57f
jmp 0x42a56b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42a566
lea ecx, [esp + 0x1c]
call fcn.0040aa50
cmp dword [esp + 0x30], 7
lea esi, [esp + 0x1c]
push 0
cmova esi, dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push 0x407a10
push 0
push 0x6a
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [esp + 0x1c]
call fcn.00405cd0
mov eax, 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460925
mov esp, ebp
pop ebp
ret 0x10
call fcn.004731c0
push 1
call fcn.0045e996
push 6
mov dword [esp + 0x14], 0
call fcn.0045e996
int3