joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483e30
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x600
sub esp, 0x88
cmp word [0x5f02ec], ax
jb 0x483f5f
cmp dword [0x5e9fb8], 0
jne 0x483f5f
cmp dword [0x5e9b5c], 0
je 0x483f5f
cmp dword [0x5e97e8], 0
jne 0x483f5f
push ebx
push esi
push edi
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
push edi
mov dword [ebp - 8], eax
call ebx
lea eax, [eax*2 + 2]
push eax
push 0x40
call esi
mov esi, dword [ebp - 8]
mov ecx, edi
push eax
mov edx, esi
mov dword [ebp - 4], eax
call fcn.00474a90
add esp, 4
push esi
call ebx
test eax, eax
je 0x483f44
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x800500
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x58]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x38], 0x420a6c
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x5e97f8
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x483f47
mov edi, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push edi
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x484870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4848e1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4848af
cmp eax, 2
jne 0x4848cb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4848db
test ecx, ecx
je 0x4848d6
test cl, 1
jne 0x4848cb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4848db
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x484d40
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00462a00
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
jne 0x484eee
xor edi, edi
nop
mov eax, dword [ebp - 0x10]
test edi, edi
js 0x484ef1
cmp edi, dword [eax - 0xc]
jge 0x484ef1
lea eax, [eax + edi*2]
push 0x5c
push eax
call fcn.00582557
mov edi, eax
add esp, 8
test edi, edi
je 0x484eee
mov eax, dword [ebp - 0x10]
sub edi, eax
sar edi, 1
cmp edi, 0xffffffff
je 0x484ef1
call fcn.0045d8a0
mov ecx, eax
test ecx, ecx
je 0x484f1f
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
add edi, 1
mov eax, dword [ebp - 0x10]
mov ebx, 0
cmovns ebx, edi
cmp ebx, dword [eax - 0xc]
jl 0x484e11
add eax, 0xfffffff0
push eax
call fcn.00488a00
add esp, 4
add eax, 0x10
mov dword [ebp - 0x18], eax
jmp 0x484e3d
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x484e21
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x484e2d
call fcn.0045d8a0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push ebx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.004880b0
mov eax, dword [ebp - 0x18]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
lea ebx, [eax - 0x10]
mov dword [ebp - 0x1c], edx
cmp ebx, edx
je 0x484e9a
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x484e8b
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x484e8b
push ebx
call fcn.00488a00
add esp, 4
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x484e83
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x484e9a
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.004631c0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x484eb3
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484ec7
push esi
call fcn.0059475d
add esp, 4
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x484d90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x484d90
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x484f0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0045d5a0
int3
Function at 0x48a3b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x67c
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x410
lea eax, [ebp - 0x618]
mov edi, ecx
push 0
push eax
call fcn.00583650
push 0x58
lea eax, [ebp - 0x678]
push 0
push eax
call fcn.00583650
add esp, 0x18
lea eax, [ebp - 0x208]
push 0x100
push eax
push 0x2720
push dword [0x5f0394]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x208]
lea eax, [ecx + eax*2]
cmp eax, ecx
je 0x48a44f
mov esi, dword [sym.imp.USER32.dll_CharPrevW]
nop dword [eax + eax]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
cmp word [eax], 0x7c
jne 0x48a445
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x208]
cmp eax, ecx
jne 0x48a430
lea eax, [ebp - 0x208]
mov dword [ebp - 0x678], 0x58
mov dword [ebp - 0x66c], eax
lea eax, [ebp - 0x618]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x678]
push eax
mov dword [ebp - 0x674], edi
mov dword [ebp - 0x63c], 0x448a18
mov dword [ebp - 0x658], 0x208
mov dword [ebp - 0x644], 0x200580c
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x48a59b
push 0x10000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
shr eax, 1
mov esi, 0x417538
mov dword [ebp - 0x61c], eax
nop dword [eax]
lea ecx, [ebp - 0x618]
push ecx
push eax
mov eax, dword [esi]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x48a569
mov ecx, dword [esi]
mov edx, 0x4489d4
push 0x80
lea eax, [ecx + 0x10]
push eax
push dword [ecx + 0xc]
mov ecx, ebx
call fcn.00472e40
add esp, 0xc
test eax, eax
jne 0x48a521
mov eax, dword [esi]
push 0x80
push dword [eax + 0xc]
add eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov ecx, dword [esi]
xor edi, edi
cmp dword [ecx + 0x114], 0xffffffff
je 0x48a569
xor edx, edx
lea eax, [ecx + 0x124]
add eax, edx
push 0x80
push eax
push dword [edx + ecx + 0x120]
mov edx, dword [edx + ecx + 0x11c]
mov ecx, ebx
call fcn.00472e40
mov ecx, dword [esi]
inc edi
imul edx, edi, 0x110
add esp, 0xc
cmp dword [ecx + edx + 0x114], 0xffffffff
jne 0x48a530
mov eax, dword [ebp - 0x61c]
add esi, 4
cmp esi, 0x4175d0
jl 0x48a4d0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x48d720
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push edi
call ebx
test eax, eax
jne 0x48d74b
mov edi, dword [esi + 0xc]
push edi
call ebx
lea eax, [eax*2 + 0x2a]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push 0x448fd4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call edi
push 0x3b
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x48d788
xor ecx, ecx
mov word [eax], cx
push esi
call ebx
cmp eax, 3
jge 0x48d798
push 0x4205cc
push esi
call edi
push 0x4011
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2b4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret

Function at 0x48f7d0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push 0
push dword [ebp + 0xc]
mov edi, ecx
push dword [edi + 4]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], eax
cdq
sub eax, edx
push ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
sar eax, 1
mov word [esi], cx
mov ecx, esi
push eax
call fcn.00497d70
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x48f819
mov eax, dword [esi]
push dword [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [edi + 4]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4908d0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x10]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x49092b
lea eax, [ebp - 0x10]
push eax
call fcn.0058b66b
add esp, 4
cmp eax, 0x3b5
je 0x49091b
cmp eax, 0x551
jne 0x49092b
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
Function at 0x490ef0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ada28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5bd344]
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
mov esi, ecx
mov eax, dword [esi + 0x23c]
mov edi, dword [esi + 0x238]
sub eax, edi
sar eax, 4
cmp eax, 1
ja 0x49104e
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x2a8]
add eax, eax
mov edi, dword [edi + eax*8]
push edi
call fcn.004a7640
mov ebx, eax
cmp ebx, 2
jl 0x49104e
push 0
push 5
lea ecx, [ebp - 0x28]
call fcn.00497830
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [esi + 0x2a8]
cmovae edx, dword [ebp - 0x28]
add eax, 4
push ebx
push edi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edx, dword [esi + 0x2a8]
mov ecx, dword [esi + 0x2e0]
mov edx, dword [edx + 0x1f0]
mov ecx, dword [ecx + 0x990]
call fcn.00491880
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00490240
add esp, 4
mov eax, dword [esi + 0x2b4]
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x491016
mov ecx, esi
call fcn.00490940
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push ecx
push 0x1008
push dword [ebp - 0x44]
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call dword [sym.imp.IMM32.dll_ImmEscapeW]
test eax, eax
je 0x49100a
lea eax, [ebx + edi]
mov ecx, esi
push eax
push edi
call fcn.004c5340
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
lea ecx, [ebp - 0x40]
call fcn.00497d10
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x49104e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x491044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49106a
push edx
push ecx
call fcn.0057eb7e
add esp, 8
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.0057e93d
mov esp, ebp
pop ebp
ret
call fcn.0058a276
int3
Function at 0x494910
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_OpenClipboard]
push esi
push edi
mov edi, ecx
xor esi, esi
nop dword [eax]
test esi, esi
jle 0x494935
lea ecx, [esi - 1]
mov eax, 1
shl eax, cl
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
test eax, eax
jne 0x494948
inc esi
cmp esi, 8
jl 0x494920
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4aab70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
lea edi, [esi + 4]
push dword [esi + 0x190]
push edi
call dword [eax + 0x14]
cmp byte [0x5eb446], 0
mov dword [ebp - 0x10], eax
jne 0x4aabb6
push 0x5ec940
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
mov byte [0x5eb446], 1
setne cl
mov byte [0x5eb445], cl
jmp 0x4aabbc
mov cl, byte [0x5eb445]
test cl, cl
je 0x4aabd5
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x4aabe3
call fcn.00597f53
mov ebx, eax
mov dword [ebp - 8], 0
push dword [ebp + 8]
mov ecx, esi
call fcn.004aaac0
cmp byte [0x5eb445], 0
je 0x4aac36
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sbb edx, ebx
call fcn.0057fa70
mov edx, dword [0x5ec944]
mov ecx, dword [0x5ec940]
movsd qword [ebp - 0xc], xmm0
call fcn.0057fa70
movsd xmm1, qword [ebp - 0xc]
divsd xmm1, xmm0
movsd qword [ebp - 0xc], xmm1
jmp 0x4aac52
call fcn.00597f53
sub eax, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x44dd70]
movsd qword [ebp - 0xc], xmm0
push dword [esi + 0x190]
mov eax, dword [edi]
push edi
call dword [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea ecx, [edx + 8]
cmp eax, ecx
jl 0x4aacc3
movsd xmm1, qword [ebp - 0xc]
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd xmm0, qword [esi + 0x208]
mulsd xmm0, qword [0x44dd58]
mulsd xmm1, qword [0x44dd48]
addsd xmm1, xmm0
movsd xmm0, qword [0x44dd08]
comisd xmm0, xmm1
movsd qword [esi + 0x208], xmm1
ja 0x4aacbb
movsd xmm0, qword [0x44dd20]
comisd xmm1, xmm0
jbe 0x4aacc3
movsd qword [esi + 0x208], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1940
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4b1b5d
cmp eax, 0x7c
je 0x4b1b5d
cmp eax, 0x29
jne 0x4b197c
cmp dword [esi + 0x10], 0
jne 0x4b1b5d
test dword [esi + 0x50], 0x10000000
je 0x4b1b74
cmp eax, 0x2e
jne 0x4b1990
push 5
lea ecx, [esi + 0x24]
call fcn.004b1830
jmp 0x4b1b41
cmp eax, 0x5c
jne 0x4b19f5
mov ecx, esi
call fcn.004b18e0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x4b19c2
cmp byte [esi + 0x48], 0x62
jne 0x4b19c2
push 4
lea ecx, [esi + 0x24]
call fcn.004b1830
mov ecx, esi
call fcn.004b18e0
jmp 0x4b1b4f
test eax, eax
je 0x4b19e9
cmp byte [esi + 0x48], 0x42
jne 0x4b19e9
push 4
lea ecx, [esi + 0x24]
call fcn.004b1830
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004b18e0
jmp 0x4b1b4f
mov ecx, esi
call fcn.004b3cb0
jmp 0x4b1b48
cmp eax, 0x5b
jne 0x4b1aa8
mov ecx, esi
call fcn.004b18e0
lea ecx, [esi + 0x24]
call fcn.004b7720
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4b1a26
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004b18e0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4b1a92
cmp eax, 0x5d
jne 0x4b1a92
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x4b1a50
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x4b1a76
push 0x20
call fcn.0057eb4e
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.004b18e0
mov ecx, esi
call fcn.004b7250
cmp dword [esi + 0x4c], 0x5d
jne 0x4b1b6d
jmp 0x4b1b41
cmp eax, 0x28
jne 0x4b1ad4
mov ecx, esi
call fcn.004b18e0
mov ecx, esi
call fcn.004b3e40
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4b1b74
mov ecx, esi
call fcn.004b18e0
test bl, bl
je 0x4b1b4f
jmp 0x4b1b48
cmp eax, 0x5e
jne 0x4b1aec
push 2
lea ecx, [esi + 0x24]
call fcn.004b1830
mov ecx, esi
call fcn.004b18e0
jmp 0x4b1b4f
cmp eax, 0x24
jne 0x4b1b04
push 3
lea ecx, [esi + 0x24]
call fcn.004b1830
mov ecx, esi
call fcn.004b18e0
jmp 0x4b1b4f
cmp eax, 0x2a
je 0x4b1b66
cmp eax, 0x2b
je 0x4b1b66
cmp eax, 0x3f
je 0x4b1b66
cmp eax, 0x7b
je 0x4b1b66
cmp eax, 0x7d
jne 0x4b1b26
test dword [esi + 0x50], 0x10000000
je 0x4b1b7b
cmp eax, 0x5d
jne 0x4b1b34
test dword [esi + 0x50], 0x10000000
je 0x4b1b6d
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004b40a0
mov ecx, esi
call fcn.004b18e0
mov ecx, esi
call fcn.004b3f40
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4b1957
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.004afda0
push 4
call fcn.004afda0
push 5
call fcn.004afda0
push 6
call fcn.004afda0
int3
Function at 0x4be730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x6b0]
cmp dword [ecx + 4], 0
je 0x4be76e
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, dword [esi + 0x6b0]
mov eax, dword [edi + 4]
test eax, eax
je 0x4be760
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 4], 0
mov byte [esi + 0x668], 0
mov bl, byte [esi + 0x724]
test bl, bl
je 0x4be796
mov ecx, dword [esi + 0x2e0]
mov eax, dword [ecx + 0xb7c]
mov dword [esi + 0x748], eax
mov eax, dword [ecx + 0xb78]
mov dword [esi + 0x74c], eax
cmp dword [esi + 0x2c0], 0
je 0x4be7c8
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, esi
call dword [eax + 8]
movss xmm0, dword [ebp + 0xc]
addss xmm0, dword [ebp - 0xc]
movss dword [ebp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
addss xmm0, dword [ebp - 8]
movss dword [ebp + 0x10], xmm0
mov eax, dword [esi + 0x2a8]
test eax, eax
je 0x4be7da
mov edi, dword [eax + 0x1f0]
jmp 0x4be7dc
xor edi, edi
push dword [ebp + 0x10]
mov ecx, dword [esi + 0x260]
push dword [ebp + 0xc]
mov eax, dword [esi + 0x238]
add ecx, ecx
test bl, bl
mov dword [ebp - 8], 0xb58
mov edx, dword [eax + ecx*8]
lea eax, [esi + 0x2b0]
mov ecx, dword [esi + 0x2e0]
push eax
push dword [esi + 0x310]
mov eax, 0x990
cmovne eax, dword [ebp - 8]
push dword [eax + ecx]
mov eax, 0x9ac
push edi
mov edi, 0xb74
cmovne eax, edi
mov edi, 0xb48
push dword [eax + ecx]
mov eax, 0x980
cmovne eax, edi
push dword [eax + ecx]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
lea ecx, [esi + 0x6d0]
push dword [esi + 0x314]
push edx
push eax
call fcn.004bcff0
mov eax, dword [esi]
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
movss xmm3, dword [ebp - 8]
movss xmm2, dword [ebp - 0x10]
movaps xmm5, xmm3
movss xmm1, dword [ebp - 0x18]
subss xmm5, xmm2
movss xmm4, dword [ebp - 0x20]
cvttss2si eax, xmm5
add eax, dword [esi + 0x314]
comiss xmm3, xmm1
jbe 0x4be8af
movaps xmm0, xmm1
subss xmm0, xmm4
comiss xmm0, xmm5
jbe 0x4be8af
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
subss xmm3, xmm0
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 8], xmm3
comiss xmm4, xmm2
jbe 0x4be8e0
movaps xmm0, xmm3
subss xmm1, xmm4
subss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x4be8e0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm1
addss xmm1, xmm3
addss xmm0, xmm2
movss dword [ebp - 8], xmm1
movss dword [ebp - 0x10], xmm0
movups xmm0, xmmword [ebp - 0x14]
mov edx, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, esi
movups xmmword [eax], xmm0
call dword [edx + 0x108]
movups xmm0, xmmword [ebp - 0x14]
sub esp, 0x10
mov eax, esp
sub esp, 0xc
mov ecx, esp
movups xmmword [eax], xmm0
mov dword [ecx], 0x44944c
mov eax, dword [esi + 0x2b4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
lea ecx, [esi + 0x728]
call fcn.0049cd70
push 4
push dword [esi + 0x72c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c0c10
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af156
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5bd344]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov byte [ebx], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xf
mov byte [ebx + 4], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
mov word [ebx + 0x34], 0x3f20
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov word [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov byte [ebp - 4], 3
push 0x94
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov word [ebx + 0x54], 0x101
mov byte [ebx + 0x56], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0x64
mov dword [ebx + 0x60], 0x64
mov dword [ebx + 0x64], 0
call fcn.0057eb4e
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 5
lea esi, [edi + 0x18]
mov dword [edi], 0x449458
mov dword [edi + 0xc], 0xa
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004dba60
mov dword [esi], eax
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
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
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], 0
mov dword [edi + 0x48], 9
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 8
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov ecx, dword [ebx + 0x48]
mov dword [ebx + 0x48], edi
test ecx, ecx
je 0x4c0e0b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret