joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c33a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c33d3
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x20], 0
call edi
test eax, eax
je 0x4c3418
cmp dword [esp + 0x10], 0x61208
jne 0x4c3418
push 0
lea edx, [esp + 0x10]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4c3428
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp dword [esp + 0xc], 0xac
push esi
ja 0x4c3419
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x4c3450
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c34b6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4de2e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57a4fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x3d
lea eax, [esi + 0x4c]
push ebx
push eax
mov dword [esi], vtable.COBalloonName.0
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0x90], 0xffffff
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.0055a690
xor eax, eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov byte [esi + 0xa4], al
mov dword [esi + 0xa5], eax
mov dword [esi + 0xa9], eax
mov dword [esi + 0xad], eax
mov dword [esi + 0xb1], eax
mov dword [esi + 0xb5], eax
mov dword [esi + 0xb9], eax
mov dword [esi + 0xbd], eax
mov dword [esi + 0xc1], eax
mov byte [esi + 0xc5], al
mov dword [esi + 0xc6], eax
mov dword [esi + 0xca], eax
mov dword [esi + 0xce], eax
mov dword [esi + 0xd2], eax
mov dword [esi + 0xd6], eax
mov dword [esi + 0xda], eax
mov dword [esi + 0xde], eax
mov dword [esi + 0xe2], eax
mov byte [esi + 0xe6], al
mov dword [esi + 0xe7], eax
mov dword [esi + 0xeb], eax
mov dword [esi + 0xef], eax
mov dword [esi + 0xf3], eax
mov dword [esi + 0xf7], eax
mov dword [esi + 0xfb], eax
mov dword [esi + 0xff], eax
mov dword [esi + 0x103], eax
mov byte [esi + 0x107], al
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov byte [esi + 0x128], al
mov dword [esi + 0x129], eax
mov dword [esi + 0x12d], eax
mov dword [esi + 0x131], eax
mov dword [esi + 0x135], eax
push 0x144
mov byte [esi + 0x139], al
call fcn.0055a781
add esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ebx
cmp eax, ebx
je 0x4de4a9
mov ecx, eax
call fcn.00430060
jmp 0x4de4ab
xor eax, eax
mov dword [esi + 0x154], eax
mov dword [esi + 0x150], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x13c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4df140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577738
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0042d050
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4df1a7
sub eax, 1
je 0x4df1a2
sub eax, 1
jne 0x4df1a7
mov edi, 0xf83232
jmp 0x4df1a7
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6b6658
call fcn.00431a60
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00430c70
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00430180
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.0042d060
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055a677
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4df77f
jmp 0x4df140
ret 8

Function at 0x4df770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577738
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0042d050
mov eax, dword [esp + 0x40]
sub eax, 0
mov dword [esp + 0x38], 0
mov edi, 0xede234
je 0x4df1a7
sub eax, 1
je 0x4df1a2
sub eax, 1
jne 0x4df1a7
mov edi, 0xf83232
jmp 0x4df1a7
mov edi, 0x4dc025
push 0
lea eax, [esp + 0x10]
push eax
push 0x3f
mov ecx, 0x6b6658
call fcn.00431a60
push edi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0x154]
push 0xffffff
push 0
call fcn.00430c70
mov eax, dword [esi + 0x154]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x54], 0xdc
mov ecx, dword [esi + 0x154]
push edx
call fcn.00430180
lea ecx, [esp + 0xc]
mov dword [esi + 0x150], 1
mov dword [esp + 0x38], 0xffffffff
call fcn.0042d060
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055a677
add esp, 0x30
ret 8
mov ecx, dword [ecx + 0x1fc]
test ecx, ecx
je 0x4df77f
jmp 0x4df140
ret 8
Function at 0x4e2990
Capabilities:
Get number of processors

Disassembly:
mov ecx, dword [ecx + 0x228]
jmp 0x467080
push 0xffffffffffffffff
push 0x574beb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x467229
cmp dword [ebx + 0x40], 0
lea edi, [ebp + 0x2e4]
mov ecx, edi
jne 0x4671a7
call fcn.00558a40
mov dword [esp + 0x30], eax
test eax, eax
je 0x4670f9
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.00558aa0
mov esi, dword [eax]
test esi, esi
je 0x4670f9
mov eax, dword [ebx + 0x3c]
cmp dword [esi + 8], eax
je 0x467106
cmp dword [esp + 0x30], 0
jne 0x4670d8
push ebx
mov ecx, ebp
call fcn.00465e10
jmp 0x467222
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00558a40
mov dword [esp + 0x18], eax
test eax, eax
je 0x467137
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00558aa0
mov eax, dword [eax]
cmp dword [eax + 0x40], 0
je 0x467229
cmp dword [esp + 0x18], 0
jne 0x467118
mov ebp, 1
push ebx
mov ecx, edi
mov dword [esi], ebp
call fcn.00558460
add dword [esi + 4], ebp
push 0x48
call fcn.0055a781
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0
test eax, eax
je 0x46716c
mov ecx, eax
call fcn.004e48d0
jmp 0x46716e
xor eax, eax
mov edx, dword [ebx + 0x3c]
mov ecx, edx
imul ecx, ecx, 0x64
add ecx, 0x63
mov dword [eax + 0x44], ecx
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], 0x63
call fcn.005584f0
mov eax, dword [esp + 0x14]
add dword [esi + 4], ebp
add dword [eax + 0x2e0], ebp
mov ebp, eax
jmp 0x467222
call fcn.00558a40
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46721a
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00558aa0
mov esi, dword [eax]
test esi, esi
je 0x46721a
mov eax, dword [esi + 8]
cmp eax, dword [ebx + 0x3c]
je 0x4671d7
cmp dword [esp + 0x1c], 0
jne 0x4671b4
jmp 0x46721a
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00558a70
mov ebp, eax
test ebp, ebp
je 0x467216
mov ecx, edi
call fcn.005589f0
mov eax, dword [eax]
cmp dword [eax + 0x40], 0x63
push ebx
mov ecx, edi
jne 0x467208
push ebp
call fcn.005586c0
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x467222
call fcn.005584f0
inc dword [esi + 4]
mov ebp, dword [esp + 0x14]
jmp 0x467222
mov ebp, dword [esp + 0x14]
push ebx
mov ecx, ebp
call fcn.00465f20
mov ecx, ebp
call fcn.00466ca0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov ecx, dword [0x6a98fc]
jmp 0x465930
Function at 0x4e7660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577d48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x564
call edx
mov dword [esi + 0x218], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x60]
push 0x565
mov ecx, esi
call edx
lea ecx, [esp + 8]
mov dword [esi + 0x21c], eax
call fcn.0042d050
push 0
lea eax, [esp + 0xc]
push eax
push 0x3f
mov ecx, 0x6b6658
mov dword [esp + 0x3c], 0
call fcn.00431a60
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042d060
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x4e92b0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e9372
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push esi
call edi
test eax, eax
je 0x4e9305
cmp dword [esp + 0x20], 0x6060801
je 0x4e9315
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
push 0
lea eax, [esp + 0x10]
push eax
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
push esi
test eax, eax
je 0x4e9306
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4e9371
mov ecx, dword [0x6b6dac]
test ecx, ecx
je 0x4e9371
mov edx, dword [esp + 0x14]
push edx
call fcn.0048ed00
mov eax, dword [esp + 0x10]
mov ecx, dword [0x6b6dac]
push eax
call fcn.0048e1e0
fld dword [esp + 0x18]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6dbb98
call fcn.00539030
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4e9380
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [0x6b6dac]
sub esp, 0x14
test ecx, ecx
je 0x4e9414
push esi
call fcn.0048ecf0
fld dword [0x6dbbd8]
mov edx, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x20], eax
mov eax, dword [0x6b6dac]
mov cx, word [eax + 0x688]
fstp dword [esp + 0x24]
push 0
push 0x40000000
push edx
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e9413
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0x6060801
call edi
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x1c]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x4ea2d0
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x4ea3b9
push ebp
push edi
push 0
mov ecx, 0x6dc3d8
call fcn.00545ef0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x6dc3d8
call fcn.00545ef0
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x4ea385
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6dc3d8
call fcn.00545ef0
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004e9c40
test bl, 2
je 0x4ea3b7
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6dc3d8
call fcn.00545ef0
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004e9380
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.0055a677
add esp, 0x108
ret 4
Function at 0x4fc8f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x2cc
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push esi
push edi
push 0xff
lea eax, [esp + 0x1dc]
push eax
push 0
mov ebp, ecx
call ebx
lea ecx, [esp + 0x1d8]
push 0x5c
push ecx
call fcn.004fcad0
lea edi, [esp + 0x1e0]
add esp, 8
mov byte [eax + 1], 0
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fc940
mov ecx, 6
mov esi, str.._Ini_AdvancedSet_Cfg.ini
rep movsd dword es:[edi], dword [esi]
push 0xff
lea edx, [esp + 0xdc]
push edx
push 0
movsw word es:[edi], word [esi]
call ebx
lea eax, [esp + 0xd8]
push 0x5c
push eax
call fcn.004fcad0
lea edi, [esp + 0xe0]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4fc985
mov ecx, 7
mov esi, str.._Ini_AdvancedSet_Config.ini
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x1dc]
push str.admin
push edx
movsb byte es:[edi], byte [esi]
call fcn.004fcae0
push 0xc8
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0055a690
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x2c]
push ecx
push str.Power
push str.AddPoint
call fcn.004ffa50
lea edx, [esp + 0x38]
push edx
call fcn.0055b22d
push 0xc8
mov dword [ebp + 0x24c], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0055a690
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x4c]
push ecx
push 0x58bcd8
push str.AddPoint
call fcn.004ffa50
lea edx, [esp + 0x58]
add esp, 0x48
push edx
call fcn.0055b22d
push 0xc8
mov dword [ebp + 0x250], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.0055a690
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x24]
push ecx
push 0x58bcd4
push str.AddPoint
call fcn.004ffa50
lea edx, [esp + 0x30]
push edx
call fcn.0055b22d
push 0xc8
mov dword [ebp + 0x254], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0055a690
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x44]
push ecx
push 0x58bcd0
push str.AddPoint
call fcn.004ffa50
lea edx, [esp + 0x50]
add esp, 0x40
push edx
call fcn.0055b22d
mov dword [ebp + 0x258], eax
add esp, 4
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2d8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a677
add esp, 0x2cc
ret
Function at 0x4ffa50
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x124]
push edi
push 0xff
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.004fcad0
mov byte [eax + 1], 0
mov eax, esi
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4ffab1
lea edi, [esp + 0x14]
sub eax, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4ffac0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x14]
push eax
push 0xff
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a677
add esp, 0x108
ret

Function at 0x500d10
Capabilities:
Create raw socket
Initialize winsock library
Set socket configuration

Disassembly:
sub esp, 0x198
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
xor eax, eax
push 0x18e
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.0055a690
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x500d6c
xor al, al
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0055a677
add esp, 0x198
ret
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x500d54
push 4
lea ecx, [esp + 8]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
je 0x500d54
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 8]
push edx
push 0x1005
push 0xffff
push eax
mov dword [esp + 0x18], 0x7d0
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [esp + 0x198]
cmp eax, 0xffffffff
setne al
pop esi
xor ecx, esp
call fcn.0055a677
add esp, 0x198
ret
Function at 0x507b30
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xc]
push 0x57e610
push 0x5833d0
call fcn.00438700
mov esi, eax
test esi, esi
jne 0x441473
push eax
push 0x11e6
push str.interfacecWindowManager.cpp
call fcn.0050ea20
add esp, 0xc
mov ecx, dword [0x6d949c]
xor edx, edx
mov eax, ecx
div dword [0x6d8a28]
mov eax, dword [0x6d8a2c]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x44149b
nop
cmp dword [edx], ecx
je 0x441508
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x441490
xor edx, edx
movzx ecx, word [esi + 0x1ec]
mov edx, dword [edx + 4]
sub edx, ecx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
test edx, edx
jge 0x4414bb
fadd dword [0x57e5c0]
fsub qword [0x5833c8]
mov ebx, dword [esi]
fstp dword [esp + 0xc]
fld dword [esi + 0x1c8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
call fcn.0055b110
fld dword [esp + 0xc]
push eax
call fcn.0055b110
push eax
mov eax, dword [ebx + 0x24]
mov ecx, esi
call eax
mov ecx, dword [edi + 0x18]
push esi
call fcn.005584f0
pop edi
mov dword [0x6a9a50], esi
mov ecx, esi
pop esi
pop ebx
add esp, 8
jmp 0x507b30
mov edx, dword [edx + 4]
jmp 0x44149d
push 0xffffffffffffffff
push 0x577d48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x6a7564]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.0042d050
push 0
lea eax, [esp + 0xc]
push eax
push 0x3f
mov ecx, 0x6b6658
mov dword [esp + 0x3c], 0
call fcn.00431a60
push 0x819
mov ecx, 0x6993d0
call fcn.00440960
mov edx, dword [esi]
mov dword [esi + 0x218], eax
mov eax, dword [edx + 0x60]
push 0x2e6
mov ecx, esi
call eax
push 0x1e1e1e
lea ecx, [esp + 0xc]
push ecx
push 0xffffffffffffffff
push 0x8f3
mov ecx, 0x6b8950
mov dword [esi + 0x21c], eax
call fcn.004c5020
mov ecx, dword [esi + 0x21c]
push eax
call fcn.0043e400
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
push 0x2e1
mov ecx, esi
call eax
push 0x1e1e1e
lea ecx, [esp + 0xc]
push ecx
push 0xffffffffffffffff
push 0x8f4
mov ecx, 0x6b8950
mov dword [esi + 0x220], eax
call fcn.004c5020
mov ecx, dword [esi + 0x220]
push eax
call fcn.0043e400
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
push 0x2e8
mov ecx, esi
call eax
mov edx, dword [esi]
mov dword [esi + 0x228], eax
mov eax, dword [edx + 0x60]
push 0x2e2
mov ecx, esi
call eax
push 0x1e1e1e
lea ecx, [esp + 0xc]
push ecx
push 0xffffffffffffffff
push 0x8f2
mov ecx, 0x6b8950
mov dword [esi + 0x224], eax
call fcn.004c5020
mov ecx, dword [esi + 0x224]
push eax
call fcn.0043e400
push 0x1e1e1e
lea edx, [esp + 0xc]
push edx
push 0xffffffffffffffff
push 0x8f5
mov ecx, 0x6b8950
call fcn.004c5020
mov ecx, dword [esi + 0x228]
push eax
call fcn.0043e400
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042d060
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x508860
Capabilities:
Create directory

Disassembly:
sub esp, 0x470
mov eax, dword [0x6a7564]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x5088ba
push 0x7c9
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x1d
push 0x6b8950
call fcn.004c6390
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.0055a677
add esp, 0x470
ret
mov eax, dword [0x6d99a4]
mov dword [esp + 4], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x58cd00
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x5088a2
mov ecx, esi
call fcn.00508c20
test eax, eax
jne 0x50891f
push str.bdcap32.dll
mov ecx, esi
call fcn.00508ad0
test eax, eax
jge 0x50890d
push 0x7ca
jmp 0x508888
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
mov ecx, esi
call fcn.00508c20
test eax, eax
je 0x508a03
lea ecx, [esp + 8]
call fcn.00508a20
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.00508e20
push 0
mov ecx, 0x6dc3d8
call fcn.00545ef0
push eax
lea edx, [esp + 0x26c]
push str._sScreenShot
push edx
call fcn.0055adac
add esp, 0xc
push 0
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x508997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x508997
push 0x7cc
jmp 0x508888
push 0x104
lea ecx, [esp + 0x370]
push ecx
push 0x58cdf8
push str.Capture
lea edx, [esp + 0x278]
push edx
mov ecx, esi
call fcn.00508c30
lea eax, [esp + 0x36c]
push eax
push 0x7cd
mov ecx, 0x6b8950
call fcn.004c5020
push eax
push 0x1d
push 0x6b8950
call fcn.004c6390
mov ecx, dword [esp + 0x14]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [esp + 0x378]
push edx
push esi
call fcn.00508ca0
test eax, eax
jl 0x5088a2
mov ecx, dword [esp + 0x470]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0055a677
add esp, 0x470
ret