joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a7f2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f841f
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a22a4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a2354
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x5f8421
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a22a4
add esp, 8
push 0xa
lea ecx, [ebp - 0x200]
push ecx
call fcn.005a2354
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov eax, dword [ebx]
push eax
call fcn.005a9414
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x5a803d
push esi
call fcn.005a2354
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005a13a0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x5a8014
xor eax, eax
jmp 0x5a80c4
push esi
call fcn.005a2354
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.005a2354
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.005a21d3
add esp, 0xc
jmp 0x5a807d
mov edi, dword [ebx + 0x24]
push edi
call fcn.005a2354
pop ecx
push eax
push esi
call fcn.005a2354
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.005a2354
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005a13c0
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x5a807d
xor eax, eax
jmp 0x5a80c4
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005a22a4
add esp, 8
push 0x5f8423
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005a22a4
add esp, 8
lea ecx, [ebp - 0x200]
push ecx
mov eax, dword [ebx + 0x24]
push eax
call fcn.005a22a4
add esp, 8
push 0x5f8425
mov edx, dword [ebx + 0x24]
push edx
call fcn.005a22a4
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5abcb8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x5abce5
jmp 0x5abd1c
call fcn.005abc68
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.005a2354
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.005a2354
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5abda0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x5f8ae4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x5abe7a
cmp dword [0x5f8ae0], 0
jne 0x5abe7a
cmp dword [0x5f8ce0], 0
je 0x5abe34
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.005ab770
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5abe1a
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.005ab770
add esp, 8
mov ebx, eax
test eax, eax
jne 0x5abe1a
lea ebx, [ebp - 0x84]
jmp 0x5abe1b
inc ebx
call fcn.005abd58
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x5abeb5
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x5f8ae8
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.005a2354
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x5f8aeb
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x5abeb5
cmp dword [0x5f8ae0], 0
je 0x5abe94
cmp dword [0x5f8ae0], 0xffffffff
je 0x5abeb5
push esi
call dword [0x5f8ae0]
pop ecx
mov eax, dword [0x5f8ae4]
test eax, eax
je 0x5abeb5
cmp dword [0x5f8ae4], 0xffffffff
je 0x5abeb5
cmp byte [eax], 0
je 0x5abeb5
push esi
push eax
call fcn.005abcb8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ac7c4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x600dd8], 0
jne 0x5ac845
cmp dword [0x600df8], 0
jne 0x5ac7f4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x600df8], eax
test eax, eax
jne 0x5ac7f4
push str.GetEnvironmentStrings_failed
call fcn.005abecc
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x600df8]
jmp 0x5ac808
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.005a2354
pop ecx
mov edi, eax
test eax, eax
jne 0x5ac800
lea edi, [ebp + 1]
push edi
call fcn.005a13a0
pop ecx
mov ebx, eax
mov dword [0x600ddc], ebx
test ebx, ebx
jne 0x5ac832
xor eax, eax
jmp 0x5ac908
push edi
mov edx, dword [0x600df8]
push edx
push ebx
call fcn.005a2008
add esp, 0xc
jmp 0x5ac865
xor esi, esi
mov ebx, dword [0x600dd8]
jmp 0x5ac85f
push eax
call fcn.005a2354
pop ecx
test eax, eax
jne 0x5ac85b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5ac84f
lea ebx, [esi + 4]
push 4
mov dword [0x600de0], ebx
inc ebx
push ebx
call fcn.005a1304
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x5ac888
xor eax, eax
jmp 0x5ac908
cmp dword [0x600dd8], 0
jne 0x5ac8b9
xor esi, esi
mov ebx, dword [0x600ddc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x5ac8aa
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.005a2354
pop ecx
mov edi, eax
test eax, eax
jne 0x5ac8a0
jmp 0x5ac8ea
xor esi, esi
mov ebx, dword [0x600dd8]
mov eax, dword [esp]
mov edi, eax
jmp 0x5ac8e4
push eax
call fcn.005a2354
pop ecx
test eax, eax
je 0x5ac8d9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x5ac8dd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x5ac8c8
mov eax, dword [0x600dd8]
test eax, eax
je 0x5ac8fa
push eax
call fcn.005a13b0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x600dd8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5ad418
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x5ad43e
test esi, esi
je 0x5ad43e
call fcn.005abd24
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x5ad4b0
call fcn.005ad11c
mov ebx, eax
test eax, eax
jne 0x5ad459
call fcn.005abd24
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x5ad4b0
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x58], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x5ad374
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.DLL_CreateThread
test eax, eax
jne 0x5ad4a4
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x5ad49d
push 0x59
call fcn.005a48b8
pop ecx
jmp 0x5ad4b0
call fcn.005a4924
jmp 0x5ad4b0
mov dword [ebx + 8], eax
test edi, edi
je 0x5ad4b0
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x401410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
nop dword [eax + eax]
mov edx, eax
mov ecx, eax
sar edx, 5
or ecx, 0x1f
cmp ecx, 0x68
lea edi, [ebx + edx*4]
mov ecx, 9
mov esi, 0x20
cmovge esi, ecx
xor edx, edx
bts edx, esi
xor ecx, ecx
cmp esi, 0x20
cmovae ecx, edx
add eax, 0x20
xor edx, ecx
dec edx
or dword [edi], edx
cmp eax, 0x68
jle 0x401420
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403260
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x4032c1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4032a4
cmp edi, 2
jb 0x4032a4
cmp byte [esi], cl
jne 0x4032a4
cmp byte [esi + 1], cl
jne 0x4032a4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4c6bf8]
jmp 0x403275
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4c6bf8]
test edi, edi
jne 0x403275
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4032f0
cmp cl, 0x23
jne 0x4032d7
cmp byte [esi], cl
jne 0x4032d7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4c6bf8]
test cl, cl
jne 0x4032c8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x403400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403414
mov dword [ebx], 0
mov edx, 0x4c685c
call fcn.00403300
mov esi, eax
test esi, esi
je 0x403502
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4034f8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4034f8
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x4034f8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4034f8
mov eax, dword [0x4fc310]
test eax, eax
je 0x40348c
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x4034f8
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x4034dd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4fc310]
add esp, 4
test eax, eax
je 0x4034ca
dec dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x4034ef
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4051e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xe4]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0xe8]
subss xmm0, xmm1
mov ecx, dword [edx + 0xc8]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xd0]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4c6bf8]
sub edi, 1
jne 0x405260
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.004b50b5
mov esp, ebp
pop ebp
ret 4
Function at 0x4098e0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40991d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x409903
cmp byte [esi], bl
jne 0x409903
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x4c6bf8]
test bl, bl
jne 0x4098f4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00409880
Function at 0x40f040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4fc310]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e18]
mov esi, 4
mov eax, dword [edi + 0xc8]
add edi, 0xc8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4c6bf8]
sub esi, 1
jne 0x40f081
mov eax, dword [0x4fc310]
not ebx
cmp dword [eax + 0x3e38], ebx
jne 0x40f0bb
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00416700
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x40f0e6
inc esi
test ecx, ecx
je 0x40f0d4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x40f0d9
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.00416fb0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
Function at 0x415610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5254], 0
lea esi, [edi + 0x5258]
je 0x415692
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41564c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00417280
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403b00
mov edx, dword [esi]
mov ecx, 0x4fc30c
push dword [edi + 0x5254]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5260]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403b00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415ba0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x4fc310]
test bl, bl
je 0x415be6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x415bc7
cmp byte [esi], bl
jne 0x415bc7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x4c6bf8]
test bl, bl
jne 0x415bb8
mov edi, dword [0x4fc310]
mov esi, dword [edi + 0x5218]
xor ecx, ecx
not eax
test esi, esi
jle 0x415c0c
mov edi, dword [edi + 0x5220]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x415c12
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x415c00
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x41ec10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41ec4a
mov eax, dword [0x4fc310]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x41ec3d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x41ec7b
mov eax, dword [0x4fc310]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x41ec6e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41ecac
mov eax, dword [0x4fc310]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x41ec9f
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x41ecf9
mov eax, dword [0x4fc310]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x41ecec
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x41ed2a
mov eax, dword [0x4fc310]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x41ed1d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x41ed5b
mov eax, dword [0x4fc310]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x41ed4e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00421890
Function at 0x427e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4fc310]
mov dword [ebp - 0x4c], edx
push edi
mov edi, ecx
test esi, esi
je 0x427e76
mov esi, dword [esi + 0x78]
jmp 0x427e78
xor esi, esi
push 0xbe2
call dword [0x4fc380]
push 0x8006
call dword [0x4fc330]
push 0x303
push 1
push 0x303
push 0x302
call dword [0x4fc338]
push 0xb44
call dword [0x4fc370]
push 0xb71
call dword [0x4fc370]
push 0xb90
call dword [0x4fc370]
push 0xc11
call dword [0x4fc380]
cmp dword [esi], 0x136
jb 0x427ee4
push 0x8f9d
call dword [0x4fc370]
push ebx
push 0x1b02
push 0x408
call dword [0x4fc3d4]
cmp byte [esi + 0x50], 0
mov bl, 1
je 0x427f22
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x935c
call dword [0x4fc3a0]
xor eax, eax
movzx ebx, bl
cmp dword [ebp - 0x48], 0x8ca2
cmove ebx, eax
push dword [ebp + 8]
push dword [ebp - 0x4c]
push 0
push 0
call dword [0x4fc3fc]
movss xmm6, dword [edi + 0x14]
test bl, bl
movss xmm4, dword [edi + 0x18]
movaps xmm5, xmm6
addss xmm5, dword [edi + 0x1c]
movaps xmm3, xmm4
addss xmm3, dword [edi + 0x20]
pop ebx
jne 0x427f5a
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm2, dword [0x4cc948]
movaps xmm1, xmm5
subss xmm1, xmm6
mov dword [ebp - 0x1c], 0xbf800000
movaps xmm0, xmm2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x3f800000
divss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movaps xmm0, xmm5
movss dword [ebp - 0x30], xmm2
addss xmm0, xmm6
subss xmm6, xmm5
divss xmm0, xmm6
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm3
addss xmm0, xmm4
subss xmm3, xmm4
divss xmm0, xmm3
movss dword [ebp - 0x10], xmm0
push dword [esi + 0x28]
call dword [0x4fc3f4]
push 0
push dword [esi + 0x2c]
call dword [0x4fc3ec]
lea eax, [ebp - 0x44]
push eax
push 0
push 1
push dword [esi + 0x30]
call dword [0x4fc3f0]
cmp dword [esi], 0x14a
jb 0x42800e
push 0
push 0
call dword [0x4fc324]
push dword [ebp + 0xc]
call dword [0x4fc32c]
push dword [esi + 0x40]
push 0x8892
call dword [0x4fc320]
push dword [esi + 0x44]
push 0x8893
call dword [0x4fc320]
push dword [esi + 0x34]
call dword [0x4fc384]
push dword [esi + 0x38]
call dword [0x4fc384]
push dword [esi + 0x3c]
call dword [0x4fc384]
push 0
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x34]
call dword [0x4fc3f8]
push 8
push 0x14
push 0
push 0x1406
push 2
push dword [esi + 0x38]
call dword [0x4fc3f8]
push 0x10
push 0x14
push 1
push 0x1401
push 4
push dword [esi + 0x3c]
call dword [0x4fc3f8]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
Function at 0x4409c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1394
call fcn.004b5a40
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [ebp - 0xc], 0xffffffff
mov esi, 1
mov dword [ebp - 0x138c], eax
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, esi
mov dword [ebp + esi*4 - 0x138c], eax
inc esi
cmp esi, 0x270
jb 0x4409f6
sub edi, ebx
mov dword [ebp - 0x1390], 0x270
lea ecx, [ebp - 0x1390]
cmp edi, 0xffffffff
jne 0x440a44
call fcn.0044ba50
add eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
inc edi
call fcn.0044ba50
mul edi
mov dword [ebp - 0x1394], eax
mov ecx, edx
cmp eax, edi
jae 0x440a83
mov eax, edi
xor edx, edx
neg eax
div edi
mov esi, edx
cmp dword [ebp - 0x1394], esi
jae 0x440a83
nop word [eax + eax]
lea ecx, [ebp - 0x1390]
call fcn.0044ba50
mul edi
mov ecx, edx
cmp eax, esi
jb 0x440a70
lea eax, [ecx + ebx]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
Function at 0x442080
Capabilities:
Acquire debug privileges
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x4f8f48]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44210e
mov esi, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x44210e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push 0
push esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x44210e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, 0x971714
call fcn.0044c1e0
test al, al
jne 0x442176
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x4cc488
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
add esp, 4
mov edx, str.open_Game_
call fcn.0044a720
push 0x44a940
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x5dc
call edi
cmp byte [0x970613], 0
je 0x4421bc
push ecx
mov ecx, 0x971714
call fcn.0044c1e0
test al, al
je 0x442130
push dword [0x971714]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Games_found
mov dword [0x971718], eax
call fcn.0044a720
push 0x44a940
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3