joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00409ac0
cmp dword [0x65f120], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x407bb8
xor edi, edi
push edi
push 1
mov dword [0x65f120], edi
call fcn.00553700
call esi
mov ecx, dword [0x64f3fc]
cmp eax, ecx
jae 0x407ba9
sub eax, ecx
mov ecx, dword [0x65fab8]
dec eax
add ecx, eax
mov dword [ebx + 0x20], ecx
jmp 0x407bba
sub eax, ecx
mov ecx, dword [0x65fab8]
add ecx, eax
mov dword [ebx + 0x20], ecx
jmp 0x407bba
xor edi, edi
cmp dword [ebx + 0x1c], edi
je 0x407c29
call esi
mov ecx, dword [0x64f3fc]
cmp eax, ecx
jae 0x407bd0
sub eax, ecx
dec eax
jmp 0x407bd2
sub eax, ecx
mov edx, dword [0x65fab8]
sub edx, dword [ebx + 0x20]
add edx, eax
cmp edx, 0x4b0
jbe 0x407c04
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push edi
call eax
mov esi, dword [ebx + 0x1c]
call fcn.0043a7d0
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x40], 1
jmp 0x407c29
mov esi, dword [ebx + 0x1c]
imul edx, edx, 0xff
mov eax, 0x1b4e81b5
mul edx
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
shr edx, 7
or cl, 0xff
sub cl, dl
movzx edx, cl
push edx
mov ecx, esi
call eax
cmp dword [ebx + 0x40], edi
je 0x407c49
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
mov ecx, dword [ebx + 0x58]
mov dword [ebx + 0x40], edi
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
cmp dword [ebx + 0x24], edi
je 0x407d2e
cmp dword [ebx + 0x64], edi
jne 0x407cbe
mov ecx, dword [0x67cc98]
call fcn.00575150
mov dword [ebp - 4], eax
cmp eax, edi
je 0x407cbe
lea esp, [esp]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [0x67cc98]
call fcn.00574b80
mov esi, dword [eax]
cmp dword [esi + 8], 1
je 0x407c8e
cmp dword [ebp - 4], edi
jne 0x407c70
jmp 0x407cbe
cmp dword [esi + 0x10], edi
jne 0x407cbe
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
push 6
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
push 1
call eax
cmp dword [ebx + 0x4c], 1
jne 0x407d2e
mov eax, dword [0x65fab8]
sub eax, dword [ebx + 0x48]
cmp eax, 0xea60
jbe 0x407d2e
mov edi, 0xfd6
mov esi, 0x67cc80
call fcn.0043adf0
xor esi, esi
cmp eax, esi
je 0x407ced
call fcn.0041d6a0
mov dword [ebx + 0x4c], esi
mov eax, dword [0x67f5b4]
cmp eax, esi
jne 0x407cfe
mov eax, 0x6815d0
push eax
push 1
push 0xfd7
push 0x67cc80
call fcn.0043af90
mov ecx, dword [ebx + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
add esp, 0x10
push esi
call eax
mov dword [ebx + 0x40], esi
mov ebx, dword [ebx + 0x58]
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push esi
mov ecx, ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416130
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ecx + 0x310], edi
je 0x41631f
push ebx
push esi
call fcn.004eb900
call fcn.004ff460
mov eax, dword [0x65fa10]
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call esi
mov ecx, dword [0x65fa14]
push ecx
call esi
mov edx, dword [0x65fa10]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push edx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
jne 0x4161db
push 0x3e8
call ebx
mov ecx, dword [0x6831f0]
cmp ecx, edi
je 0x4161b2
mov eax, dword [0x6831ec]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
mov dword [0x6831f0], edi
mov dword [0x6831e0], 1
mov eax, dword [0x67f780]
cmp eax, edi
jne 0x4161c0
mov eax, 0x6815d0
push eax
push 1
push 0xfd1
push 0x67cc80
call fcn.0043af90
add esp, 0x10
mov dword [0x65fa10], edi
mov ecx, dword [0x65fa14]
push edi
push ecx
call esi
test eax, eax
jne 0x416241
push 0x3e8
call ebx
mov ecx, dword [0x6831f0]
cmp ecx, edi
je 0x416218
mov eax, dword [0x6831ec]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
mov dword [0x6831f0], edi
mov dword [0x6831e0], 1
mov eax, dword [0x67f780]
cmp eax, edi
jne 0x416226
mov eax, 0x6815d0
push eax
push 1
push 0xfd1
push 0x67cc80
call fcn.0043af90
add esp, 0x10
mov dword [0x65fa14], edi
cmp dword [0x682560], edi
je 0x41626a
call fcn.00507280
call fcn.00507580
call fcn.00401050
cmp dword [eax + 0x9e0], edi
jne 0x41626a
call fcn.00507280
call fcn.005073f0
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0x10c]
call fcn.00456c10
mov ebx, dword [0x65ffdc]
cmp dword [ebx + 0x264], edi
je 0x41628b
call fcn.00481a80
pop esi
pop ebx
cmp dword [0x67d070], edi
je 0x41629a
call fcn.00460460
call fcn.004f3310
call fcn.004f2d60
call fcn.004b1600
mov edi, dword [ebp - 4]
mov eax, dword [0x65fab8]
mov ecx, dword [edi + 0x1d4]
mov edx, eax
sub edx, dword [ecx + 0x284]
cmp edx, 0x1388
jb 0x4162cd
mov dword [ecx + 0x284], eax
mov ecx, dword [edi + 0x1d4]
mov edx, eax
sub edx, dword [ecx + 0x284]
cmp edx, 0x1388
jb 0x4162e9
mov dword [ecx + 0x284], eax
mov ecx, dword [edi + 0x1f8]
call fcn.00473770
mov ecx, dword [edi + 0x20c]
call fcn.00475c60
mov ecx, dword [edi + 0x218]
call fcn.00475220
mov ecx, dword [edi + 0x21c]
call fcn.00475490
call fcn.00419010
call fcn.004ca380
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x419120
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 0
mov dword [ebp - 0x130], eax
jne 0x419153
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 0x118]
push eax
push 0x20019
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push closesocket
mov dword [ebp - 0x118], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419190
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x118]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x11c]
push ecx
push esi
push esi
push esi
push edx
mov dword [ebp - 0x11c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x4191c2
mov dword [ebp - 0x11c], 0x64
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], esi
cmp dword [ebp - 0x11c], esi
jbe 0x4192f8
push edi
xor eax, eax
push ebx
push str._04u
lea ecx, [eax + 5]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
call fcn.00415370
mov edx, dword [ebp - 0x118]
add esp, 8
lea eax, [ebp - 0x114]
push eax
push 0x20019
push esi
mov ecx, edi
push ecx
push edx
mov dword [ebp - 0x114], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4192dc
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x124]
push edx
push esi
push str.NetCfgInstanceId
push eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], 0x104
call edi
test eax, eax
je 0x41926c
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4192dc
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x419293
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4192dc
lea edx, [ebp - 0x120]
push edx
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x124]
push ecx
push esi
push str.Characteristics
push edx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x120], 4
call edi
mov esi, eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4192eb
xor esi, esi
inc ebx
cmp ebx, dword [ebp - 0x11c]
jb 0x4191d8
jmp 0x4192f7
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
pop edi
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x12c]
pop ebx
xor ecx, ebp
pop esi
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4
Function at 0x419320
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], 0
call edi
cmp eax, 0x6f
je 0x419363
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
mov ecx, 0x12
mov edi, ebx
call fcn.00415370
add esp, 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x41938a
push str.GetMAC_Failed__Because_malloc_failed_
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
lea edx, [ebp - 4]
push edx
push eax
mov esi, eax
call edi
test eax, eax
je 0x4193c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
mov ecx, 0x12
mov edi, ebx
call fcn.00415370
mov eax, esi
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 0xc
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x4193d0
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x41940c
cmp eax, 8
ja 0x41940c
push eax
lea ecx, [esi + 0x194]
push ecx
push ebx
call sub.MSVCR100.dll_memcpy
mov edi, dword [esi + 0x190]
lea eax, [esi + 8]
add esp, 0xc
test eax, eax
je 0x419406
push eax
call fcn.00419120
jmp 0x419408
xor eax, eax
test al, 4
jne 0x419412
mov esi, dword [esi]
test esi, esi
jne 0x4193d0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x41a8c0
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
push 0x80
lea ebx, [esi + 0x18]
push str.MNPlayerPool
push ebx
call dword [sym.imp.MSVCR100.dll_strncpy]
lea eax, [esi + 4]
add esp, 0xc
cmp dword [eax], 0
mov dword [esi + 0xc], 0x64
jne 0x41a8fc
push eax
mov edi, 0x1f4
call fcn.0041aac0
mov eax, dword [esi + 4]
add esp, 4
mov dword [esi + 8], eax
push 0x64
push 0x1f4
push ebx
lea edi, [esi + 0x9c]
push str._MemoryPooltempl__s_
push edi
mov dword [esi + 0x98], 0x1f4
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x98]
mov edx, dword [esi + 0x14]
lea ecx, [eax*4]
push ecx
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
push 0x1f4
push ebx
push str.__s__Init_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
ret
Function at 0x41a960
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x41a96c
pop esi
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41a985
dec ecx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x41aa6a
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x14]
push ebx
push edi
test eax, eax
jne 0x41a9fa
mov edi, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
call fcn.0041aac0
mov edx, dword [ebx]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
push ecx
mov dword [esi + 8], edx
mov edx, dword [esi + 0xc]
push edx
push eax
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push 0x588a30
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
add dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Increse_t_d_t_d_t_d_t_d_t_d_n
jmp 0x41aa50
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x14]
push eax
push ecx
push edx
lea ebx, [esi + 0x18]
push ebx
lea edi, [esi + 0x9c]
push str.___s_alloc_Band
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc]
sub dword [esi + 0x98], eax
mov ecx, dword [esi + 0x98]
lea edx, [ecx*4]
push edx
mov edx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push eax
push edx
push ebx
push str.__s__Decrese_t_d_t_d_t_d_t_d_t_d_n
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
push edi
call fcn.00574d40
add esp, 0x24
pop edi
pop ebx
mov ecx, esi
pop esi
jmp fcn.0041a960
inc dword [esi + 0x14]
pop esi
ret

Function at 0x41c3c0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
call fcn.0041c260
mov ecx, dword [eax + 8]
mov eax, 1
mov dword [ecx + 0xc], eax
cmp dword [esi + 0x10], 0
mov dword [0x65fb34], eax
je 0x41c3f6
mov dword [0x65fb90], eax
mov dword [0x65fb38], 3
mov dword [esi + 0x10], 0
jmp 0x41c400
mov dword [0x65fb38], 2
cmp dword [0x64f5c8], 0
pop esi
jne 0x41c414
mov dword [0x64f5c8], eax
jmp fcn.004c9ea0
ret
Function at 0x428c20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57934b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.cMultiLineText.0
xor edi, edi
mov ebx, vtable.cImage.0
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push 0x425d50
push 0x425d40
push 5
push 0x20
lea eax, [esi + 0x58]
push eax
mov dword [ebp - 4], edi
call fcn.00576426
mov dword [esi + 0xfc], edi
mov dword [esi + 0xf8], ebx
push edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x118], ebx
push edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x140], ebx
push edi
mov eax, 0xffffff
push edi
lea edx, [esi + 0x38]
xor ecx, ecx
push edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], edi
mov dword [esi + 4], edi
mov word [esi + 0xc], cx
mov dword [esi + 0x4c], edi
mov dword [esi + 8], edi
call dword [sym.imp.USER32.dll_SetRect]
mov dword [esi + 0x50], 0xff
mov dword [esi + 0x54], 0x64
mov dword [esi + 0x138], edi
mov dword [esi + 0x13c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436140
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a238
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b107c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x50]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [esi], vtable.cWindow.0
call fcn.00428c20
fldz
mov dword [esi + 0x1b4], edi
mov dword [esi + method.cImage.virtual_0], vtable.cImage.0
fst dword [esi + 0x200]
mov eax, 1
fstp dword [esi + 0x204]
fld1
xor ecx, ecx
mov edx, eax
fst dword [esi + 0x20c]
mov dword [esi + 0x10], eax
fstp dword [esi + 0x210]
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], eax
mov dword [esi + 8], edi
mov word [esi + 0x1c], cx
mov word [esi + 0xc], dx
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x208], ecx
mov dword [esi + 0x1d0], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 4], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x1d4], 0xffffff
mov dword [esi + 0x1d8], 0xff
mov dword [esi + 0x1dc], 0x64
mov dword [esi + 0x18], fcn.0052e9a0
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x43b2f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x587394
push str.._Data_UserCfgInfo.dat
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x43b39e
push esi
push 1
push 0x68
push 0x67ccb0
call dword [sym.imp.MSVCR100.dll_fread]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, 0x67ccb0
add esp, 0x14
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b336
sub eax, esi
push ebx
mov bl, 0x9d
je 0x43b360
add byte [ecx + 0x67ccb0], bl
mov eax, 0x67ccb0
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b353
sub eax, esi
cmp ecx, eax
jb 0x43b344
mov eax, 0x67cce2
xor ecx, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b370
sub eax, esi
je 0x43b39d
jmp 0x43b380
add byte [ecx + 0x67cce2], bl
mov eax, 0x67cce2
inc ecx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b390
sub eax, esi
cmp ecx, eax
jb 0x43b380
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x5b107c]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push 0x5865b4
push str.._Data_UserCfgInfo.dat
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
mov ecx, 0x1a
mov esi, 0x67ccb0
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
test ebx, ebx
je 0x43b477
lea eax, [esp + 0x10]
xor ecx, ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b400
sub eax, esi
je 0x43b42d
jmp 0x43b410
add byte [esp + ecx + 0x10], 0x63
lea eax, [esp + 0x10]
inc ecx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b420
sub eax, esi
cmp ecx, eax
jb 0x43b410
lea eax, [esp + 0x42]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b436
sub eax, esi
je 0x43b45d
add byte [esp + ecx + 0x42], 0x63
lea eax, [esp + 0x42]
inc ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43b450
sub eax, esi
cmp ecx, eax
jb 0x43b441
push ebx
push 1
lea eax, [esp + 0x18]
push 0x68
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005762ee
mov esp, ebp
pop ebp
ret
Function at 0x43e460
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0x2f0]
xor edx, edx
mov dword [ecx + 0x304], edx
mov dword [ecx + 0x308], edx
mov dword [ecx + 0x30c], edx
mov dword [ecx + 0x310], edx
mov dword [eax + 0x314], edx
push esi
lea esi, [eax + 0x1b0]
mov dword [eax + 0x1d0], esi
mov esi, dword [eax + 0x2e0]
mov dword [eax + 0x2ec], esi
mov eax, dword [ecx + 0x2f4]
mov dword [eax + 0x314], edx
lea esi, [eax + 0x1b0]
mov dword [eax + 0x1d0], esi
mov esi, dword [eax + 0x2e0]
mov dword [eax + 0x2ec], esi
mov eax, dword [ecx + 0x2f8]
lea esi, [eax + 0x1b0]
mov dword [eax + 0x1d0], esi
mov esi, dword [eax + 0x2e0]
mov dword [eax + 0x314], edx
mov dword [eax + 0x2ec], esi
mov eax, dword [ecx + 0x2fc]
mov dword [eax + 0x314], edx
lea edx, [eax + 0x1b0]
mov dword [eax + 0x1d0], edx
mov edx, dword [eax + 0x2e0]
mov dword [eax + 0x2ec], edx
pop esi
jmp fcn.0043ef50
Function at 0x43ed50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x5b107c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push edi
push 0xff
lea ecx, [ebp - 0x2cc]
push ecx
push 0
mov dword [ebp - 0x2d0], eax
call ebx
lea edx, [ebp - 0x2cc]
push 0x5c
push edx
call dword [sym.imp.MSVCR100.dll_strrchr]
lea edi, [ebp - 0x2cc]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43eda2
mov ecx, 6
mov esi, str.._Ini_AdvancedSet_Cfg.ini
rep movsd dword es:[edi], dword [esi]
push 0xff
lea eax, [ebp - 0x1cc]
push eax
push 0
movsw word es:[edi], word [esi]
call ebx
lea ecx, [ebp - 0x1cc]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_strrchr]
lea edi, [ebp - 0x1cc]
add esp, 8
mov byte [eax + 1], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43ede5
mov ecx, 7
mov esi, str.._Ini_AdvancedSet_Config.ini
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x2cc]
push 0x586598
push edx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR100.dll_fopen]
add esp, 8
test eax, eax
jne 0x43ee23
push str.cannot_open_in_file._n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 4
jmp 0x43ee30
mov edi, eax
lea eax, [ebp - 0x1cc]
call fcn.0043cf20
push 0xc8
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
push str.Power
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
mov ebx, str.AddPoint
call fcn.005105e0
mov edi, dword [sym.imp.MSVCR100.dll_atoi]
lea ecx, [ebp - 0xcc]
push ecx
call edi
mov esi, dword [ebp - 0x2d0]
push 0xc8
lea edx, [ebp - 0xcc]
push 0
push edx
mov dword [esi + 0x304], eax
call sub.MSVCR100.dll_memset
push 0x58b770
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.005105e0
lea eax, [ebp - 0xcc]
push eax
call edi
push 0xc8
lea ecx, [ebp - 0xcc]
push 0
push ecx
mov dword [esi + 0x308], eax
call sub.MSVCR100.dll_memset
push 0x58b774
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.005105e0
lea edx, [ebp - 0xcc]
push edx
call edi
push 0xc8
mov dword [esi + 0x30c], eax
lea eax, [ebp - 0xcc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x48
push 0x58b778
mov edx, str.._Ini_AdvancedSet_Config.ini
lea ecx, [ebp - 0xcc]
call fcn.005105e0
lea ecx, [ebp - 0xcc]
push ecx
call edi
add esp, 8
lea edx, [ebp - 0x1cc]
push edx
mov dword [esi + 0x310], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005762ee
mov esp, ebp
pop ebp
ret 4