joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53a5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x56c
mov eax, dword [0x75868c]
xor eax, esp
mov dword [esp + 0x568], eax
push esi
push 0
push str..PhysicalDrive_d
lea eax, [esp + 0x470]
push 0x100
push eax
call fcn.004751d0
add esp, 0x10
lea eax, [esp + 0x468]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x53a776
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0x18
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x74080
push esi
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x53a776
mov al, byte [esp + 0x13]
test al, al
je 0x53a776
and al, 0x10
mov byte [esp + 0x50], 0
neg al
xorps xmm0, xmm0
push 0x210
sbb al, al
movaps xmmword [esp + 0x34], xmm0
and al, 0xb5
movaps xmmword [esp + 0x44], xmm0
add al, 0xec
push 0
push 0x7e48fc
mov byte [esp + 0x18], al
call fcn.00645e00
add esp, 0xc
lea eax, [esp + 8]
push eax
push ecx
push dword [esp + 0x14]
lea eax, [esp + 0x3c]
push 0x7e48fc
push eax
push esi
call fcn.0053ac30
test al, al
je 0x53a776
lea eax, [esp + 0x68]
cmp eax, 0x7e4b0a
ja 0x53a6ea
lea eax, [esp + 0x464]
cmp eax, 0x7e490c
jb 0x53a6ea
lea edx, [esp + 0x68]
xor ecx, ecx
nop dword [eax]
movzx eax, word [ecx + 0x7e490c]
lea edx, [edx + 4]
add ecx, 2
mov dword [edx - 4], eax
cmp ecx, 0x200
jl 0x53a6d0
jmp 0x53a74f
lea ecx, [esp + 0x78]
mov eax, 0x10
nop dword [eax]
nop word [eax + eax]
movq xmm1, qword [eax + 0x7e48fc]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
movq xmm1, qword [eax + 0x7e4904]
punpcklwd xmm1, xmm0
movups xmmword [ecx], xmm1
movq xmm1, qword [eax + 0x7e490c]
punpcklwd xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movq xmm1, qword [eax + 0x7e4914]
add eax, 0x20
punpcklwd xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
add ecx, 0x40
cmp eax, 0x210
jl 0x53a700
lea eax, [esp + 0x68]
push eax
push ecx
call fcn.0053ae60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x56c]
xor al, al
pop esi
xor ecx, esp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
Function at 0x53d2c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x75868c]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x10], 0x128
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x53d372
nop dword [eax]
mov eax, esi
lea ecx, [esp + 0x34]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x53d336
test dl, dl
je 0x53d332
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x53d336
add ecx, 2
add eax, 2
test dl, dl
jne 0x53d316
xor eax, eax
jmp 0x53d33b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53d362
push dword [esp + 0x18]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x53d35e
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x53d310
push edi
call ebx
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
Function at 0x53d690
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
mov eax, dword [0x75868c]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x53d6db
lea eax, [esp + 8]
mov dword [esp + 8], 0x224
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
jne 0x53d6f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
nop word [eax + eax]
mov ecx, str.Python_Loader_2.7.dll
lea eax, [esp + 0x28]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53d730
test dl, dl
je 0x53d72c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53d730
add eax, 2
add ecx, 2
test dl, dl
jne 0x53d710
xor eax, eax
jmp 0x53d735
sbb eax, eax
or eax, 1
test eax, eax
je 0x53d79d
mov ecx, str.Injector.exe
lea eax, [esp + 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53d762
test dl, dl
je 0x53d75e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53d762
add eax, 2
add ecx, 2
test dl, dl
jne 0x53d742
xor eax, eax
jmp 0x53d767
sbb eax, eax
or eax, 1
test eax, eax
je 0x53d79d
mov ecx, str.Extreme_Injector_v3.exe
lea eax, [esp + 0x28]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x53d794
test dl, dl
je 0x53d790
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x53d794
add eax, 2
add ecx, 2
test dl, dl
jne 0x53d774
xor eax, eax
jmp 0x53d799
sbb eax, eax
or eax, 1
test eax, eax
jne 0x53d7a6
lea ecx, [esp + 0x28]
call fcn.0053d2c0
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
jne 0x53d700
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00617a25
mov esp, ebp
pop ebp
ret
Function at 0x53d880
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3e00
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x75868c]
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 dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
movq xmm0, qword [str.aAbBeEiIoOuU]
mov eax, dword [0x70ae04]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0xc
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
push 0x2a
push str.bBcCdDfFgGhHjJkKlLmMnNpPqQrRsStTvVwWxXyYzZ
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
call fcn.00479ba0
push 0
push 2
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x53d97b
push str.CreateToolhelp32Snapshot__of_processes_
call fcn.00555e70
add esp, 4
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b0], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x53d9a0
push edi
call ebx
lea eax, [ebp - 0x18c]
push str.cheatengine
push eax
call fcn.006452c0
add esp, 8
test eax, eax
jne 0x53d9f7
lea eax, [ebp - 0x18c]
push str.cheat_engine
push eax
call fcn.006452c0
add esp, 8
test eax, eax
jne 0x53d9f7
lea ecx, [ebp - 0x18c]
call fcn.0053d7e0
test eax, eax
jne 0x53d9f7
lea eax, [ebp - 0x18c]
push str.DexMa.exe
push eax
call fcn.006452c0
add esp, 8
test eax, eax
je 0x53da02
lea ecx, [ebp - 0x18c]
call fcn.0053d2c0
push dword [ebp - 0x1a8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x53da36
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
test eax, eax
jne 0x53da33
push 0x70ae40
call fcn.00555e70
add esp, 4
push esi
call ebx
mov ecx, dword [ebp - 0x1a8]
call fcn.0053d690
lea eax, [ebp - 0x1b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x53d9a0
push edi
call ebx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x53da8a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53da80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53daa6
push edx
push ecx
call fcn.00617a75
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.00617a25
mov esp, ebp
pop ebp
ret
call fcn.006533c4
int3
Function at 0x53daf0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69ce7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x75868c]
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, dword [str.UserDict.pyc]
xor esi, esi
cmp byte [eax], 0xa
je 0x53dbd2
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x28], 0x5c62696c
mov byte [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.004786a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0065aa95
add esp, 8
test eax, eax
jne 0x53dbef
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
jb 0x53db83
mov eax, dword [ebp - 0x28]
mov ecx, eax
jmp 0x53db86
lea eax, [ebp - 0x28]
push ecx
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x53dbc1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53dbb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53dc23
push edx
push ecx
call fcn.00617a75
add esp, 8
mov eax, dword [esi*4 + 0x6ef194]
inc esi
cmp byte [eax], 0xa
jne 0x53db30
mov al, 1
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.00617a25
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x53dc1f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x53dc15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x53dc23
push edx
push ecx
call fcn.00617a75
add esp, 8
xor al, al
jmp 0x53dbd4
call fcn.006533c4
int3
Function at 0x541870
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x76a408]
test eax, eax
je 0x5418b4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x76a408]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54189e
push dword [0x76a408]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x76a40c]
mov dword [0x76a408], 0
call dword [sym.imp.USER32.dll_SetFocus]
ret
Function at 0x5564c0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, edi
mov ecx, edi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
add ecx, eax
sub eax, 0x61c88647
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
add edi, edx
test ebx, ebx
jne 0x5564d3
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x556530
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0xc6ef3720
push edi
mov edi, dword [ebp + 8]
mov ebx, 0x20
mov edx, esi
mov ecx, esi
shl ecx, 4
dec ebx
shr edx, 5
xor edx, ecx
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0x10]
mov ecx, eax
shr ecx, 0xb
add edx, esi
and ecx, 3
mov ecx, dword [ebx + ecx*4]
add ecx, eax
add eax, 0x61c88647
xor edx, ecx
sub edi, edx
mov edx, edi
mov ecx, edi
shl ecx, 4
shr edx, 5
xor edx, ecx
mov ecx, eax
and ecx, 3
add edx, edi
mov ecx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0xc]
add ecx, eax
xor edx, ecx
sub esi, edx
test ebx, ebx
jne 0x556546
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x556c30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x556cd9
cmp byte [esi], 0
je 0x556cd9
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x556c50
sub ecx, edx
cmp ecx, 3
jb 0x556c67
cmp byte [esi + 1], 0x3a
jne 0x556c67
add esi, 3
mov ecx, esi
mov dword [ebp + 8], esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x556c70
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
mov dword [ebp - 4], eax
call fcn.00617a83
mov cl, byte [esi]
add esp, 4
mov edi, eax
test cl, cl
je 0x556ccf
push ebx
xor ebx, ebx
mov eax, esi
cmp cl, 0x2f
je 0x556ca0
cmp cl, 0x5c
jne 0x556cc2
push dword [ebp - 4]
push 0
push edi
call fcn.00645e00
push ebx
push esi
push edi
call fcn.00652350
add esp, 0x18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebp + 8]
mov cl, byte [eax + 1]
inc eax
inc ebx
mov dword [ebp + 8], eax
test cl, cl
jne 0x556c96
pop ebx
push edi
call fcn.00617a33
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5572d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
or eax, 0xffffffff
push edi
mov edi, dword [ebp + 0xc]
cmp edi, 0x10
jb 0x557362
mov ecx, edi
shr ecx, 4
push ebx
mov dword [ebp + 0xc], ecx
push esi
lea esi, [edx + 2]
mov ebx, 4
nop dword [eax + eax]
movsx ecx, byte [esi - 2]
lea esi, [esi + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7402c0]
movsx ecx, byte [esi - 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7402c0]
movsx ecx, byte [esi - 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7402c0]
movsx ecx, byte [esi - 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7402c0]
sub ebx, 1
jne 0x557300
add edx, 0x10
sub edi, 0x10
sub dword [ebp + 0xc], 1
jne 0x5572f0
pop esi
pop ebx
test edi, edi
je 0x557380
movsx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x7402c0]
sub edi, 1
jne 0x557366
not eax
pop edi
pop ebp
ret
Function at 0x557650
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x55767b
xor eax, eax
pop edi
pop ebp
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x5576a0
Capabilities:
Get file size
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0
push ebx
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x55770e
push ebx
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
push ebx
push esi
call fcn.005572d0
add esp, 8
mov ebx, eax
test esi, esi
je 0x5576fe
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x559280
Capabilities:
Get system information on windows
Print debug messages
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x24
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x130], edx
test eax, eax
jne 0x5592a3
mov eax, dword [esi + 0x114]
mov ecx, eax
jmp 0x5592a9
mov ecx, dword [esi + 0x114]
mov dword [esi + 0x134], eax
add eax, edx
cmp eax, ecx
jbe 0x5592be
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [esi + 0x130]
xor edx, edx
mov ecx, dword [ebp - 8]
mov eax, edi
div ecx
mov eax, dword [esi + 0x134]
mov ebx, edi
push 0
mov dword [ebp + 0x10], eax
sub ebx, edx
add eax, edi
mov dword [ebp + 0xc], ecx
push eax
push 0
push 2
push 0
push dword [esi + 0x110]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [esi + 0x12c], ecx
test ecx, ecx
jne 0x559322
push str.CMappedFile::Map__m_hFM_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor edx, edx
mov eax, edi
div dword [ebp + 0xc]
add edx, dword [ebp + 0x10]
push edx
push ebx
push 0
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x138], eax
test eax, eax
jne 0x559362
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CMappedFile::Map__m_lpMapData__lu
call fcn.00555e70
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
sub eax, ebx
lea ecx, [eax + edi]
mov eax, dword [ebp + 8]
mov dword [esi + 0x13c], ecx
mov dword [eax], ecx
mov ecx, esi
push dword [esi + 0x13c]
mov dword [esi + 0x128], 0
push dword [esi + 0x134]
call fcn.00559260
mov eax, dword [esi + 0x134]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x55c7b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
call fcn.0055c850
push 0x104
push dword [ebp + 8]
lea eax, [edi + 8]
push eax
call fcn.00652350
mov ebx, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
mov ecx, connect
cmp ebx, 1
setne al
push 0
add eax, 3
push pe_nt_image_headers32
push eax
xor eax, eax
cmp ebx, 2
push 0
sete al
lea eax, [eax*2 + 1]
push eax
mov eax, 0xc0000000
cmovne eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 0x110], eax
cmp eax, 0xffffffff
je 0x55c837
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 0x114], eax
mov eax, 1
mov dword [edi + 4], ebx
pop edi
pop ebx
pop ebp
ret 8
mov dword [edi + 0x110], 0
xor eax, eax
pop edi
pop ebx
pop ebp
ret 8

Function at 0x56f8e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x19], al
mov ecx, dword [ecx + 4]
test al, al
je 0x56f8fd
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x5712f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a6e4e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x75868c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0056e9a0
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.CLightBase.0
mov eax, edi
mov dword [edi + 8], vtable.CSingleton_class_CLightManager_.0
mov dword [0x76a460], eax
mov dword [edi], vtable.CLightManager.0
lea esi, [edi + 0xc]
mov dword [edi + 4], vtable.CLightManager.1.0
mov dword [edi + 8], vtable.CLightManager.2.0
push 8
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00617a38
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea esi, [edi + 0x20]
mov byte [ebp - 4], 3
push 0x18
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00617a38
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
unpcklps xmm0, xmm0
add esp, 8
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, dword [ebp - 0x18]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x48], vtable.CDynamicPool_class_CLight_.0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
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], 0
movq qword [edi + 0x34], xmm0
mov dword [edi + 0x3c], eax
mov eax, edi
mov dword [edi + 0x40], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57fdc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a78a0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x75868c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
lea esi, [edi + 0x1c]
mov dword [ebp - 4], 1
push 0x20
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00617a38
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 dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5804b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005572d0

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x75868c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [0x79cf24], eax
cmp dword [0x79ec4c], eax
je 0x5860ce
push 8
lea ecx, [ebp - 0x18]
mov dword [0x79ec4c], eax
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.00588eb0
add esp, 0xc
mov dword [0x79ec1c], eax
cmp dword [0x748994], eax
je 0x5860ce
push 0x79cf28
mov dword [0x748994], eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
movzx ecx, word [0x79cf24]
mov eax, ecx
and eax, 0x3ff
sub eax, 4
je 0x586038
sub eax, 0xd
je 0x586025
sub eax, 1
jne case.default.0x58604a
mov byte [0x79cf32], al
mov dword [0x79e3fc], 0x748976
jmp 0x5860b3
mov byte [0x79cf32], 1
mov dword [0x79e3fc], 0x74897c
jmp 0x5860b3
mov eax, ecx
mov byte [0x79cf32], 1
shr eax, 0xa
dec eax
cmp eax, 4
ja case.default.0x58604a
jmp dword [eax*4 + 0x5860dc]
mov byte [0x79cf32], 0
mov dword [0x79e3fc], 0x74896a
jmp 0x5860b3
mov dword [0x79e3fc], 0x748970
jmp 0x5860b3
push 0xa
lea eax, [ebp - 0x10]
mov dword [0x79e3fc], 0x748964
push eax
push 3
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [0x79e3fc]
movsx cx, byte [ebp - 0x10]
mov word [eax], cx
movsx ax, byte [ebp - 0xf]
movzx eax, ax
push eax
call fcn.0065e94c
movzx ecx, ax
add esp, 4
mov eax, dword [0x79e3fc]
mov word [eax + 2], cx
cmp dword [0x79ec18], 0x4e8
je 0x5860ce
mov eax, dword [0x79ec1c]
mov dword [0x79ec18], eax
call fcn.005861c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00617a25
mov esp, ebp
pop ebp
ret