joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd5000]
push edi
jmp 0x52c0aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52c0b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0a0
mov eax, 1
add ebx, ebx
jne 0x52c0c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52c0d4
jne 0x52c0f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0f3
dec eax
add ebx, ebx
jne 0x52c0e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52c0b8
add ebx, ebx
jne 0x52c0ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52c145
xor ecx, ecx
sub eax, 3
jb 0x52c10b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52c17a
sar eax, 1
mov ebp, eax
jmp 0x52c116
add ebx, ebx
jne 0x52c116
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0e4
inc ecx
add ebx, ebx
jne 0x52c124
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c0e4
add ebx, ebx
jne 0x52c131
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52c126
jne 0x52c142
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52c126
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52c164
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52c156
jmp 0x52c0a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52c164
add edi, ecx
jmp 0x52c0a6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52c182
cmp byte [edi], 0x11
jne 0x52c182
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52c187
lea edi, [esi + 0x125000]
mov eax, dword [edi]
or eax, eax
je 0x52c1ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17f184]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17f300]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52c1b4
mov ecx, edi
jns 0x52c1e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17f304]
or eax, eax
je 0x52c1f9
mov dword [ebx], eax
add ebx, 4
jmp 0x52c1d1
call dword [esi + 0x17f314]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52c230
cmp al, 0xef
ja 0x52c223
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52c205
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52c212
mov ebp, dword [esi + 0x17f308]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52c264
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x402ea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef91b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x78
mov dword [esi], vtable.Sexy::CurveDrawer.0
mov dword [esi + 4], ebx
call fcn.005cb847
mov edx, eax
add esp, 4
mov dword [ebp + 8], edx
xor edi, edi
mov dword [ebp - 4], edi
cmp edx, edi
je 0x402efc
mov ecx, ebx
call fcn.00402e90
push eax
mov ecx, edx
call fcn.0049cbb0
jmp 0x402efe
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov eax, ebx
sub eax, ecx
push edi
lea edi, [ebx + 0x154]
lea esi, [ecx + 0xdc]
mov dword [ebp - 4], eax
mov dword [ebp + 0xc], 3
jmp 0x420833
mov eax, dword [ebp - 4]
push 0xffffffffffffffff
push 0
add eax, esi
push eax
mov ecx, esi
call fcn.0040ac90
mov eax, dword [edi - 0x5c]
mov dword [esi + 0x1c], eax
mov cl, byte [edi]
mov byte [esi + 0x78], cl
mov dl, byte [edi + 1]
mov byte [esi + 0x79], dl
mov eax, dword [edi - 4]
mov dword [esi + 0x74], eax
mov ecx, dword [edi - 0x24]
mov dword [esi + 0x54], ecx
add edi, 0x7c
add esi, 0x7c
sub dword [ebp + 0xc], 1
jne 0x420830
mov edx, dword [ebx + 0x60]
mov esi, dword [ebp + 8]
mov dword [esi + 0x60], edx
mov eax, dword [ebx + 0x64]
push 0xffffffffffffffff
mov dword [esi + 0x64], eax
mov ecx, dword [ebx + 0x68]
push 0
lea edx, [ebx + 0x3c]
mov dword [esi + 0x68], ecx
push edx
lea ecx, [esi + 0x3c]
call fcn.0040ac90
lea eax, [ebx + 0x7c]
lea edi, [esi + 0x7c]
cmp edi, eax
je 0x4208d4
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00414ba0
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [edi]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00418500
lea eax, [ebx + 0x98]
lea edi, [esi + 0x98]
cmp edi, eax
je 0x42091f
mov ecx, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ecx]
mov dword [ebp - 4], ecx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00414ba0
mov edx, dword [edi + 0x14]
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov ecx, dword [edi]
push edx
mov edx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 4]
push edx
mov edx, dword [ebp + 8]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00418500
lea eax, [ebx + 0xb4]
lea ecx, [esi + 0xb4]
cmp ecx, eax
je 0x420949
mov edx, dword [eax + 0x14]
mov edi, dword [edx]
mov eax, dword [eax]
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
push edi
push edx
mov edx, dword [ebp - 4]
push eax
push edx
push eax
call fcn.00415380
push 0xffffffffffffffff
push 0
lea eax, [ebx + 4]
push eax
lea ecx, [esi + 4]
call fcn.0040ac90
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x20]
push ecx
lea ecx, [esi + 0x20]
call fcn.0040ac90
mov dl, byte [ebx + 0xd0]
pop edi
mov byte [esi + 0xd0], dl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4327e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f2868
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
mov edi, dword [ecx + 0x70]
lea esi, [ecx + 0x5c]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
push ecx
push edi
mov ecx, esi
call fcn.00431740
push 1
mov ecx, esi
mov ebx, eax
call fcn.00430b30
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x432865
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005cb017
add esp, 4
mov ebx, dword [esi]
mov edi, dword [esi + 0x14]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
test ebx, ebx
jne 0x432887
call fcn.005cbe1d
mov esi, dword [edi + 4]
test ebx, ebx
je 0x432892
mov eax, dword [ebx]
jmp 0x432894
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x43289e
call fcn.005cbe1d
test ebx, ebx
jne 0x432919
call fcn.005cbe1d
cmp esi, dword [ebx + 0x14]
jne 0x4328b1
call fcn.005cbe1d
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
sar eax, 2
push 0
neg eax
mov dword [esi + 0x10], ecx
push ebx
lea ecx, [esi + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xffff00
mov dword [esi + 0x38], 7
mov dword [esi + 0x14], edx
call fcn.0040ac90
mov esi, dword [esi + 8]
mov eax, dword [ebx + 0x14]
neg esi
add esi, esi
add esi, esi
xor edi, edi
test eax, eax
jle 0x43297d
cmp edi, eax
jbe 0x43290e
call fcn.005cbe1d
cmp dword [ebx + 0x18], 8
jb 0x43291d
mov eax, dword [ebx + 4]
jmp 0x432920
mov ebx, dword [ebx]
jmp 0x4328a7
lea eax, [ebx + 4]
mov al, byte [eax + edi*2]
mov byte [ebp + 0x17], al
mov eax, dword [ebx + 0x14]
lea ecx, [eax - 1]
cmp edi, ecx
jge 0x432954
lea edx, [edi + 1]
cmp edx, eax
jbe 0x43293c
call fcn.005cbe1d
cmp dword [ebx + 0x18], 8
jb 0x43294b
mov eax, dword [ebx + 4]
mov cl, byte [eax + edi*2 + 2]
jmp 0x432956
mov cl, byte [ebx + edi*2 + 6]
lea eax, [ebx + 4]
jmp 0x432956
xor cl, cl
mov al, byte [ebp + 0x17]
call fcn.0042f840
test al, al
je 0x432972
mov al, cl
call fcn.0042f840
test al, al
jne 0x432972
add esi, 0x10
jmp 0x432975
add esi, 4
mov eax, dword [ebx + 0x14]
inc edi
cmp edi, eax
jl 0x432907
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435c00
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [0x66a7b8]
je 0x435c18
mov ecx, 0x66b1b0
jmp fcn.0051dbc0
mov ecx, 0x66a7c8
jmp fcn.0051dba0

Function at 0x435fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x436007
mov byte [esi + 0x78], 1
mov ecx, dword [0x6a15c8]
call fcn.004e2f90
test al, al
jne 0x436007
mov ecx, esi
pop esi
pop ebp
jmp fcn.004702a0
pop esi
pop ebp
ret

Function at 0x4360f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x43612f
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.004360a0
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp + 8]
add edx, dword [esi + 8]
push edi
push ecx
push edx
call fcn.005ccf50
add esp, 0xc
add dword [esi + 0xc], edi
pop edi
mov dword [esi + 0x18], 0
pop esi
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x43616a
cmp dword [esi + 0x18], 0
je 0x436154
push eax
push 1
lea eax, [esi + 0x14]
push 1
push eax
mov dword [esi + 0x18], 0
call fcn.005ccec6
add esp, 0x10
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push edx
push 1
push eax
call fcn.005ccec6
add esp, 0x10
pop esi
pop ebp
ret 8

Function at 0x438170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f31e8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push esi
push edi
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0
test eax, eax
je 0x43820a
mov edi, dword [ebp + 0xc]
add dword [esi + 0x14], edi
mov ecx, dword [esi + 0x14]
cmp ecx, dword [esi + 0x10]
jbe 0x4381e6
push 0x606ac4
lea ecx, [ebp - 0x28]
call fcn.0040dc00
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.004372f0
push 0x63c844
lea ecx, [ebp - 0x50]
push ecx
call fcn.005cbe2d
mov edx, dword [ebp + 8]
push edi
push eax
push edx
call fcn.005ccf50
add esp, 0xc
add dword [esi + 8], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi + 4]
test esi, esi
jne 0x43823f
push 0x606ac4
lea ecx, [ebp - 0x28]
call fcn.0040dc00
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 1
call fcn.004372f0
push 0x63c844
lea ecx, [ebp - 0x50]
push ecx
call fcn.005cbe2d
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push esi
push 1
push edx
call fcn.005cd555
add esp, 0x10
cmp eax, esi
je 0x4381f7
push 0x606ac4
lea ecx, [ebp - 0x6c]
call fcn.0040dc00
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 2
call fcn.004372f0
push 0x63c844
lea ecx, [ebp - 0x94]
push ecx
call fcn.005cbe2d
int3
Function at 0x438410
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x438422
pop ebp
jmp fcn.00438170
mov ecx, dword [eax + 8]
pop ebp
jmp fcn.004360f0
Function at 0x43dfb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
lea eax, [ebp - 0x30]
push str.RegisterPointer:__p_n
push eax
mov esi, ecx
call fcn.00528d70
mov edi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], edi
jb 0x43dfdf
mov eax, dword [eax + 4]
jmp 0x43dfe2
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp dword [ebp - 0x18], edi
jb 0x43dffa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005cb017
add esp, 4
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x50]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0
call fcn.0043cbc0
cmp byte [eax + 8], 0
mov ecx, dword [eax]
mov edi, dword [eax + 4]
je 0x43e067
mov eax, dword [esi + 0xe8]
mov dword [ebp + 8], eax
inc eax
mov dword [esi + 0xe8], eax
test ecx, ecx
jne 0x43e063
call fcn.005cbe1d
xor ecx, ecx
cmp edi, dword [ecx + 0x18]
jne 0x43e044
call fcn.005cbe1d
mov ecx, dword [ebp + 8]
lea edx, [ebp + 8]
mov dword [edi + 0x10], ecx
push edx
lea ecx, [esi + 0x70]
call fcn.00417290
pop edi
mov dword [eax], ebx
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ecx]
jmp 0x43e03a
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43e080
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1c]
push str.SyncPointer:__p_n
push edx
call fcn.00528d70
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x43e0ab
mov eax, dword [eax + 4]
jmp 0x43e0ae
add eax, 4
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp dword [ebp - 4], 0x10
jb 0x43e0c7
mov eax, dword [ebp - 0x18]
push eax
call fcn.005cb017
add esp, 4
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0xd0]
call fcn.00445110
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43efd0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.kernel32.dll_CreateEventA]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x43eee0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x14]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x18], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x43f220
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_CreateEventA]
push 0
push 0
mov esi, ecx
push 0
push 0
mov dword [esi], vtable.Sexy::WorkerThread.0
mov byte [esi + 0x14], 0
mov dword [esi + 0xc], 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 4], eax
call edi
push esi
push 0
push 0x43f200
mov dword [esi + 8], eax
call fcn.005cd7b1
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret
Function at 0x442fb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, 4
ja case.0x442fc2.1
jmp dword [eax*4 + 0x4430a8]
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x442fd7
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x374]
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x860]
push str._ingame
call fcn.0043ecf0
push str.buynow_r_n
mov byte [esi + 0x3b], 1
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x94]
push 1
call edx
pop esi
pop ebp
ret 4
lea ecx, [esi - 0xa4]
call fcn.004419e0
pop esi
pop ebp
ret 4
cmp byte [esi + 0x10], 0
je case.0x442fc2.1
cmp byte [esi + 0x12], 0
jne case.0x442fc2.1
mov edx, dword [esi - 0x58]
mov ecx, dword [esi + 0x40]
push edx
mov edx, dword [esi - 0x5c]
mov byte [esi + 0x12], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
call eax
lea ecx, [esi - 0xa4]
call fcn.004402d0
pop esi
pop ebp
ret 4
cmp byte [esi + 0x12], 0
je case.0x442fc2.1
mov ecx, dword [esi + 0x40]
mov edx, dword [esi - 4]
mov eax, dword [edx + 0x30]
push ebx
push edi
lea edi, [esi - 4]
mov byte [esi + 0x12], 0
mov ebx, dword [ecx]
push 0
mov ecx, edi
call eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x2c]
push 0
mov ecx, edi
call eax
mov ecx, dword [esi + 0x40]
mov edx, dword [ebx + 0x34]
push eax
call edx
lea ecx, [esi - 0xa4]
call fcn.004402d0
pop edi
pop ebx
pop esi
pop ebp
ret 4

Function at 0x445e10
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00500d10
cmp byte [esi + 0xc4], 0
je 0x445e44
mov eax, dword [esi + 0xa4]
mov ecx, dword [eax + 0x374]
push 9
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00445980
mov byte [esi + 0xc4], 0
pop esi
ret
Function at 0x45ebb0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x365], 0
jne 0x45ec69
call fcn.00459510
mov ecx, dword [esi + 0x854]
test ecx, ecx
je 0x45ec27
push edi
call fcn.004419b0
mov ecx, dword [esi + 0x3a8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [esi + 0x374]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.kernel32.dll_Sleep]
push 0x3e8
call edi
call fcn.0043ff90
push 0x3e8
call edi
mov ecx, dword [esi + 0x854]
push ecx
mov ecx, dword [esi + 0x830]
call fcn.0043d7e0
mov dword [esi + 0x854], 0
pop edi
cmp dword [esi + 0x8c4], 0
jle 0x45ec4c
mov eax, 0x57619f1
mul dword [esi + 0x8b0]
shr edx, 7
add dword [esi + 0x820], edx
mov ecx, esi
pop esi
jmp fcn.004d52c0
cmp dword [esi + 0x8c0], 0
jle 0x45ec61
mov edx, dword [esi + 0x8b8]
add dword [esi + 0x820], edx
mov ecx, esi
pop esi
jmp fcn.004d52c0
pop esi
ret
Function at 0x46ce20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7e58
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x654c54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
mov dword [eax], vtable.Sexy::D3DTester.0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x30
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x15]
mov dword [ebp - 0x14], edx
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.004079f0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xa0]
add eax, 0x4c
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x39]
mov dword [ebp - 0x38], ecx
push 0
push 0
mov ecx, dword [ebp - 0x54]
call fcn.004079f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xa0]
add ecx, 0x68
call fcn.0046c180
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa0]
add edx, 0x78
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x5d]
mov dword [ebp - 0x5c], eax
push 0
push 0
mov ecx, dword [ebp - 0x78]
call fcn.004079f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
add ecx, 0x94
mov dword [ebp - 0x9c], ecx
lea edx, [ebp - 0x81]
mov dword [ebp - 0x80], edx
push 0
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.004079f0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x1c], 0
push 0x10
push 0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x20
push ecx
call fcn.005ccbd0
add esp, 0xc
mov edx, dword [ebp - 0xa0]
mov dword [edx + 0xb0], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0xb4], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 0xbc], 0
mov edx, dword [ebp - 0xa0]
mov byte [edx + 0xb8], 1
mov eax, dword [ebp - 0xa0]
mov byte [eax + 0xba], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46d3f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x1c], 0
jne 0x46d407
jmp 0x46d5a8
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 4
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push str.Version
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xb0]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 4
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push str.MinVidMemory
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xb4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 4
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push str.RecVidMemory
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 3
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push str.DisplayGUID
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x8c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x78
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x18], 0x10
jb 0x46d51a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
jmp 0x46d523
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push str.FailureReason
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x94
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x18], 0x10
jb 0x46d57f
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
jmp 0x46d588
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push str.Warning
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
mov esp, ebp
pop ebp
ret