joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f080
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
push ebp
push edi
lea eax, [esp + 8]
xor edi, edi
push eax
push edi
mov ebp, ecx
mov dword [esp + 0x10], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x41f0c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.0041f330
add esp, 0x10
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
mov edx, dword [esp + 8]
push esi
push edx
call fcn.00567ca7
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x41f0f5
mov eax, dword [esp + 0x18]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x41f130
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.0041f330
push esi
call fcn.00567c6d
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x41f16b
cmp eax, 8
ja 0x41f16b
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.00567630
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, ebp
call fcn.0041eeb0
test al, 4
jne 0x41f171
mov esi, dword [esi]
test esi, esi
jne 0x41f135
mov edx, dword [esp + 0x14]
push edx
call fcn.00567c6d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 8
ret 4

Function at 0x422bd5
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6a2d28]
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
mov dword [ecx + 0xc], 1
cmp dword [esi + 0x10], 0
push 0
mov ecx, 0x6a2d20
push 0
je 0x422c0b
push 3
mov dword [0x6a2f4c], 1
call fcn.0040c550
mov dword [esi + 0x10], 0
jmp 0x422c12
push 2
call fcn.0040c550
cmp dword [0x6b2f08], 0
pop esi
jne 0x422c30
mov dword [0x6b2f08], 1
mov ecx, 0x6b2e70
jmp fcn.004c4920
ret
Function at 0x43f9e0
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x583690
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.0043f4a0
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.00560560
mov ecx, esi
call fcn.004ff400
pop edi
mov dword [0x6a3584], esi
mov ecx, esi
pop esi
jmp 0x4ffbf0
sub esp, 0x2cc
mov eax, dword [0x6a1068]
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.00568790
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 0x4ffc40
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.00568790
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 0x4ffc85
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.004ff270
push 0xc8
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x2c]
push ecx
push str.Power
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x38]
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x246], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x4c]
push ecx
push 0x591dd8
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x58]
add esp, 0x48
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x24a], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x24]
push ecx
push 0x591dd4
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x30]
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x24e], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x44]
push ecx
push 0x591dd0
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x50]
add esp, 0x40
push edx
call fcn.00566148
mov dword [ebp + 0x252], 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.00565c32
add esp, 0x2cc
ret
Function at 0x46e2b0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
push edi
mov edi, ecx
test eax, eax
jne 0x46e2d0
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
ret 4
push esi
push eax
mov ecx, 0x6b1d70
call fcn.0049f0d0
mov esi, eax
test esi, esi
je 0x46e2ef
mov ax, word [ebx + 6]
mov word [esi + 0x288], ax
jmp 0x46e31d
push str.CItemShopGridDialog::AddItem
push ebx
mov ecx, 0x6b1d70
call fcn.004a2140
mov esi, eax
test esi, esi
jne 0x46e30b
pop esi
pop edi
pop ebx
ret 4
push esi
mov ecx, 0x6b1d70
mov dword [esi + 0x20], 1
call fcn.004ab140
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.0046e1d0
movzx eax, ax
push esi
push eax
mov ecx, edi
call fcn.0042cba0
pop esi
pop edi
pop ebx
ret 4

Function at 0x484245
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x27e]
cmp ebx, 1
jne 0x484287
mov eax, dword [0x6b208c]
add eax, 0x1d4c0
push edi
mov dword [esi + 0x232], eax
call fcn.00446240
push str.ANRaster.tga
lea ecx, [esi + 0x27e]
call fcn.00446270
pop edi
push ebx
mov ecx, esi
call fcn.00428330
pop esi
pop ebx
ret 4
call fcn.00446240
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00428330
pop esi
pop ebx
ret 4

Function at 0x4842b0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x27e]
cmp ebx, 1
jne 0x4842fd
mov eax, dword [esp + 0x10]
imul eax, eax, 0x3e8
add eax, dword [0x6b208c]
push edi
mov dword [esi + 0x232], eax
call fcn.00446240
push str.ANRaster.tga
lea ecx, [esi + 0x27e]
call fcn.00446270
pop edi
push ebx
mov ecx, esi
call fcn.00428330
pop esi
pop ebx
ret 8
call fcn.00446240
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.00428330
pop esi
pop ebx
ret 8
Function at 0x4a69a0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x1ac
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x4a69cf
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x4a6aab
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x4a6a05
test eax, eax
je 0x4a6a02
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x4a69f6
push edi
push 0
push 2
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4a6aaa
lea ecx, [esp + 0xc]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4a6a9b
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push 0x58397c
push eax
call fcn.00565b90
add esp, 0xc
lea ecx, [esp + 0x134]
push ecx
mov ecx, esi
call fcn.004a1f60
test eax, eax
je 0x4a6a8c
mov ecx, 0x6c1448
call fcn.00514670
push 0x230
mov ecx, 0x6b2fd8
call fcn.004c6410
push eax
push 1
push 0x179e
push 0x6b0860
call fcn.00442bc0
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4a6a31
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [esp + 0x1b0]
pop esi
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x1ac
ret
Function at 0x4b82a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x69cba5], 0
push esi
mov esi, ecx
je 0x4b82c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x6b20a0], eax
mov byte [0x69cba5], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x6b20a0], eax
cmp eax, ecx
jae 0x4b82da
dec edx
mov dword [0x6b2088], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x6b2088]
add dword [0x6b208c], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4b8304
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret
Function at 0x4c0720
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c074f
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x47c
lea edx, [edi + 0x480]
push edx
push esi
call ebx
test eax, eax
jne 0x4c077f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xa8
add edi, 0x9a4
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4c0771
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x4c4870
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 0x4c48a3
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 0x4c48e8
cmp dword [esp + 0x10], 0x61208
jne 0x4c48e8
push 0
lea edx, [esp + 0x10]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4c48f8
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 0x4c48e9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x4c4920
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 0x4c4986
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 0x4ec1a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
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 0x4ec278
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
call edi
test eax, eax
je 0x4ec200
cmp dword [esp + 0x10], 0x6060801
je 0x4ec21b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00565c32
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xa
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4ec201
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1a], 0
je 0x4ec277
mov ecx, dword [0x6b1164]
test ecx, ecx
je 0x4ec277
mov edx, dword [esp + 0x16]
push edx
call fcn.0048f490
mov eax, dword [esp + 0x14]
mov ecx, dword [0x6b1164]
push eax
call fcn.0048e7c0
fld dword [esp + 0x1a]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6ddd30
call fcn.00540540
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x18
ret 4

Function at 0x4ec290
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x18
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [0x6b1164]
push esi
mov esi, dword [esp + 0x20]
test ecx, ecx
je 0x4ec32a
call fcn.0048f480
fld dword [0x6ddd70]
push 0
push 0x80
push 2
push 0
mov dword [esp + 0x1e], eax
mov eax, dword [0x6b1164]
mov cx, word [eax + 0x67a]
fstp dword [esp + 0x22]
push 0
push 0x40000000
push esi
mov word [esp + 0x28], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4ec32a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0x6060801
call edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xa
lea edx, [esp + 0x1c]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.00565c32
add esp, 0x18
ret 4
Function at 0x4ed200
Capabilities:
Create directory

Disassembly:
sub esp, 0x108
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x4ed2e9
push ebp
push edi
push 0
mov ecx, 0x6de658
call fcn.0054d260
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 + 0x16]
push edx
push 0
mov ecx, 0x6de658
call fcn.0054d260
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 0x4ed2b5
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x6de658
call fcn.0054d260
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.004ecb50
test bl, 2
je 0x4ed2e7
mov eax, dword [esi + 0x16]
push eax
push eax
push 0
mov ecx, 0x6de658
call fcn.0054d260
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.004ec290
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.00565c32
add esp, 0x108
ret 4
Function at 0x4ffbf0
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x583690
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.0043f4a0
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.00560560
mov ecx, esi
call fcn.004ff400
pop edi
mov dword [0x6a3584], esi
mov ecx, esi
pop esi
jmp 0x4ffbf0
sub esp, 0x2cc
mov eax, dword [0x6a1068]
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.00568790
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 0x4ffc40
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.00568790
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 0x4ffc85
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.004ff270
push 0xc8
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x2c]
push ecx
push str.Power
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x38]
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x246], eax
lea eax, [esp + 0x40]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x4c]
push ecx
push 0x591dd8
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x58]
add esp, 0x48
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x24a], eax
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x24]
push ecx
push 0x591dd4
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x30]
push edx
call fcn.00566148
push 0xc8
mov dword [ebp + 0x24e], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00565680
push str.._Ini_AdvancedSet_Config.ini
lea ecx, [esp + 0x44]
push ecx
push 0x591dd0
push str.AddPoint
call fcn.00505ab0
lea edx, [esp + 0x50]
add esp, 0x40
push edx
call fcn.00566148
mov dword [ebp + 0x252], 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.00565c32
add esp, 0x2cc
ret
Function at 0x500cf0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x591ff4
push eax
mov esi, ecx
xor bl, bl
call fcn.00565b32
mov edi, eax
add esp, 8
test edi, edi
je 0x500dbd
push edi
push 0x116
lea ecx, [esi + 0x14]
push 1
push ecx
call fcn.00566115
add esp, 0x10
cmp eax, 0x116
jne 0x500d8b
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
lea ecx, [eax + edx*2]
cmp dword [esi + 0x120], ecx
jne 0x500d8b
mov edx, dword [esi + 0x124]
push edx
call fcn.00564fc8
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
je 0x500d8b
push ebp
mov ebp, dword [esi + 0x124]
push edi
push ebp
push 1
push eax
call fcn.00566115
add esp, 0x10
cmp ebp, eax
jne 0x500d8a
mov edx, dword [esi + 0x118]
mov eax, dword [esi + 0x11c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
mov bl, 1
pop ebp
push edi
call fcn.00565831
add esp, 4
test bl, bl
jne 0x500daf
mov eax, dword [esi + 0x10]
test eax, eax
je 0x500daf
push eax
call fcn.00565cfb
add esp, 4
mov dword [esi + 0x10], 0
pop edi
mov byte [esi + 0x128], bl
pop esi
mov al, bl
pop ebx
ret 4
pop edi
pop esi
xor al, al
pop ebx
ret 4

Function at 0x502350
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x503b40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x20], eax
push edi
mov edi, ecx
cmp dword [edi + 0x44], 0
je 0x503c9c
cmp byte [edi + 0x49], 0
je 0x503c9c
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x503b85
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565c32
add esp, 0x24
ret
mov ecx, 0xf
xor eax, eax
mov byte [esp + 8], 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 8
cmp ecx, 0x10
jae 0x503bae
lea eax, [esp + 8]
push ebx
push ebp
mov byte [eax + 8], 0
lea ebx, [edi + 0x4c]
push esi
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
mov edx, eax
cmp ebp, 0x10
jae 0x503bcd
lea edx, [esp + 0x14]
mov eax, edx
add edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebp, [esp + 0x10]
push ebp
push edx
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
sub eax, 0
je 0x503c12
dec eax
je 0x503c16
sub eax, 2
lea ecx, [esp + 0x14]
je 0x503c82
call fcn.00429840
pop esi
pop ebp
pop ebx
xor al, al
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565c32
add esp, 0x24
ret
mov byte [edi + 0x49], 0
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, eax
cmp ebp, 0x10
jae 0x503c29
lea ecx, [esp + 0x14]
mov esi, dword [esp + 0x10]
sub esi, ecx
je 0x503c56
cmp ebp, 0x10
jae 0x503c3a
lea eax, [esp + 0x14]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.005659fc
add esp, 0x10
cmp esi, eax
jne 0x503c75
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x503c7e
test esi, esi
jne 0x503bc0
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00503960
jmp 0x503bb8
lea ecx, [esp + 0x14]
jmp 0x503bf8
lea ecx, [esp + 0x14]
call fcn.00429840
pop esi
pop ebp
pop ebx
mov al, 1
pop edi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00565c32
add esp, 0x24
ret
mov ecx, dword [esp + 0x24]
pop edi
xor ecx, esp
mov al, 1
call fcn.00565c32
add esp, 0x24
ret

Function at 0x505ab0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x6a1068]
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.00568790
mov byte [eax + 1], 0
mov eax, esi
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x505b11
lea edi, [esp + 0x14]
sub eax, ecx
dec edi
nop
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x505b20
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.00565c32
add esp, 0x108
ret
Function at 0x506d30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [esi], vtable.PingManager.0
push edi
xor edi, edi
push 0x1e
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0052deb0
push edi
push edi
push edi
push 0x506cd0
push edi
push edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], edi
call fcn.00568a9a
add esp, 0x18
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
ret

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

Disassembly:
sub esp, 0x198
mov eax, dword [0x6a1068]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
xor eax, eax
push 0x18c
mov esi, ecx
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00565680
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x102
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x506efc
xor al, al
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00565c32
add esp, 0x198
ret
push 1
push 3
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x506ee4
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 0x506ee4
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.00565c32
add esp, 0x198
ret