joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ccf5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [ebp + 0x10], 0
je 0x40cd15
mov eax, dword [ebp + 0x10]
mov dword [0x48ac00], eax
jmp 0x40cd1f
mov dword [0x48ac00], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [0x48abfc], eax
cmp dword [0x477d6c], 0
je 0x40cd45
mov eax, dword [0x48ac08]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40cdc8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x48ac08], eax
cmp dword [0x48ac08], 0
jne 0x40cd6c
xor eax, eax
jmp 0x40cdd2
push 4
call fcn.00441985
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40cd8a
xor eax, eax
jmp 0x40cdd2
mov eax, dword [0x48ac08]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0x40cc54
call fcn.00441d7d
add esp, 0xc
mov dword [0x477d6c], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x477d6c], 0
jne 0x40cdc8
xor eax, eax
jmp 0x40cdd2
mov eax, dword [0x477d6c]
jmp 0x40cdd2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ce09
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004413bd
add esp, 4
mov dword [0x482e08], eax
cmp dword [0x482e08], 0
je 0x40ce3a
mov eax, dword [0x482e08]
jmp 0x40cecb
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40cec4
mov dword [ebp - 0xc], 0xc7
lea eax, [ebp - 0xc]
push eax
push 0x482d40
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40ceb3
mov dword [0x482e08], 0x482d40
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x482e08]
jmp 0x40cecb
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40cecb
xor eax, eax
jmp 0x40cecb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ced0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0x477da0
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40cf1f
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412de7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x412e47
mov dword [0x478018], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x412e13
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jae 0x412e42
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [eax + 0x477fe0], 0
mov eax, dword [ebp - 8]
shl eax, 4
mov dword [eax + 0x477fe4], 0
jmp 0x412e10
jmp 0x413008
cmp dword [ebp + 0x10], 4
jb 0x412e67
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x413008
cmp dword [ebp + 0x10], 0
jl 0x412e7b
cmp dword [ebp + 0x10], 4
jb 0x412e80
jmp 0x413008
cmp dword [0x478018], 0
jge 0x412e9a
cmp dword [0x478018], 4
jae 0x412eb1
push 0
mov eax, dword [0x478018]
shl eax, 4
mov eax, dword [eax + 0x477fe0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x10]
mov dword [0x478018], eax
mov eax, dword [0x478018]
shl eax, 4
cmp dword [eax + 0x477fe4], 0
jne 0x412efb
mov eax, dword [0x478018]
shl eax, 4
mov eax, dword [eax + 0x477fe0]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041300d
add esp, 8
mov eax, dword [0x478018]
shl eax, 4
mov dword [eax + 0x477fe4], 1
push 0
push 0
push 0xaec
mov eax, dword [0x478018]
shl eax, 4
mov eax, dword [eax + 0x477fe0]
push eax
mov eax, dword [0x478018]
shl eax, 4
call dword [eax + 0x477fd8]
push 5
mov eax, dword [0x478018]
shl eax, 4
mov eax, dword [eax + 0x477fe0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x412f47
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jae 0x413008
mov eax, dword [ebp - 8]
mov eax, dword [eax*8 + 0x478020]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x413003
mov eax, dword [ebp - 8]
mov eax, dword [eax*8 + 0x478024]
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx + 0x13c]
and eax, 1
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 8]
mov eax, dword [eax*8 + 0x478024]
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx + 0x13c]
test al, 2
je 0x413003
mov eax, dword [ebp - 8]
mov eax, dword [eax*8 + 0x478024]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
add eax, eax
add eax, dword [ebp + 0xc]
add eax, 0x13f
push eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp - 8]
mov eax, dword [eax*8 + 0x478024]
mov ecx, dword [ebp + 0xc]
movsx eax, byte [eax + ecx + 0x13c]
and al, 0xfd
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx*8 + 0x478024]
mov edx, dword [ebp + 0xc]
mov byte [ecx + edx + 0x13c], al
jmp 0x412f44
pop edi
pop esi
pop ebx
leave
ret
Function at 0x416c60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
test byte [eax + 0x148], 0x40
jne 0x416c8d
xor eax, eax
jmp 0x416e51
mov eax, dword [ebp + 8]
test byte [eax + 0x1b8], 0x80
jne 0x416cef
mov eax, dword [ebp + 8]
or dword [eax + 0x1b8], 0x80
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea eax, [ebp - 0x2cc]
push eax
call fcn.004411d2
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004030ff
add esp, 8
test eax, eax
je 0x416cef
mov eax, dword [ebp + 8]
or dword [eax + 0x1b8], 0x100
mov eax, dword [ebp + 8]
test byte [eax + 0x1b9], 1
je 0x416d3b
jmp 0x416d09
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xffffffa8
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov eax, dword [ebp + 8]
push eax
call fcn.00403cc0
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x416e51
mov byte [ebp - 0x204], 0x5c
mov byte [ebp - 0x203], 0
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00416e56
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416d73
mov eax, dword [ebp - 4]
jmp 0x416e51
push 0x200
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00416e56
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416daf
mov eax, dword [ebp - 4]
jmp 0x416e51
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x202], 0x61
mov byte [ebp - 0x201], 0x72
mov byte [ebp - 0x203], 0x76
mov byte [ebp - 0x200], 0
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00416e56
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416dfc
mov eax, dword [ebp - 4]
jmp 0x416e51
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x202], 0x6d
mov byte [ebp - 0x203], 0x74
mov byte [ebp - 0x201], 0x70
push 0
lea eax, [ebp - 0x204]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00416e56
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x416e49
mov eax, dword [ebp - 4]
jmp 0x416e51
mov eax, dword [ebp - 4]
jmp 0x416e51
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42cc20
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], 0x14
cmp dword [ebp + 0xc], 0
je 0x42cc5d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
movsx eax, byte [eax + 0x34]
test eax, eax
je 0x42cc5d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
add eax, 0x34
mov dword [ebp - 4], eax
jmp 0x42cca7
lea eax, [ebp - 8]
push eax
push 0x484008
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42cc80
mov dword [ebp - 4], 0x484008
jmp 0x42cca7
push 0x13
push 0x484008
call fcn.0041c3b0
test eax, eax
jne 0x42cca0
mov dword [ebp - 4], 0x484008
jmp 0x42cca7
mov dword [ebp - 4], str.Unknown
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
movsx eax, byte [eax + 0x34]
test eax, eax
jne 0x42ccdb
push 0x14
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
add eax, 0x34
push eax
call fcn.00441090
add esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
mov byte [eax + 0x48], 0
mov eax, dword [ebp - 4]
jmp 0x42cce3
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ccf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push 0x47bf10
lea eax, [ebp - 0x14]
push eax
call fcn.00440fa0
add esp, 8
mov dword [ebp - 0x24], 0
jmp 0x42cd19
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 3
jge 0x42cd43
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42cd3b
jmp 0x42cd43
inc byte [ebp - 0x14]
jmp 0x42cd16
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
jmp 0x42cd69
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42dbe9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0x4764fc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00435e70
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00436076
add esp, 8
push 0x40
push 0x1000
mov eax, dword [ebp - 8]
add eax, 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42dc47
xor eax, eax
jmp 0x42dc81
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00440a70
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00440740
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040cabe
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x42dc81
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436fc2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 1
cmp dword [0x47c7e8], 0
je 0x436ff4
mov eax, dword [ebp + 8]
push eax
push 2
call fcn.0043707d
add esp, 8
jmp 0x437078
cmp dword [0x47c7e4], 0
je 0x437071
cmp dword [0x47c7b4], 0
je 0x437069
mov byte [0x4840c8], 1
mov al, byte [ebp + 8]
mov byte [0x4840c9], al
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437069
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437069
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
jmp 0x437078
xor al, al
jmp 0x437078
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4370f7
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov al, byte [ebp + 8]
mov byte [ebp - 4], al
cmp dword [0x47c7e8], 0
je 0x43712b
mov eax, dword [ebp + 8]
push eax
push 3
call fcn.0043707d
add esp, 8
jmp 0x4371af
cmp dword [0x47c7e4], 0
je 0x4371a8
cmp dword [0x47c7b4], 0
je 0x4371a0
mov byte [0x4840c8], 2
mov al, byte [ebp + 8]
mov byte [0x4840c9], al
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4371a0
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4371a0
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
jmp 0x4371af
xor al, al
jmp 0x4371af
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4371b4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
cmp dword [0x47c7e8], 0
je 0x4371e4
push 0
push 1
call fcn.0043707d
add esp, 8
jmp 0x437272
cmp dword [0x47c7e4], 0
je 0x43726b
cmp dword [0x47c7b4], 0
je 0x437263
mov byte [0x4840c8], 0
mov al, byte [0x47c7c0]
mov byte [0x4840c9], al
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43725b
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43725b
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [ebp - 4]
jmp 0x437272
xor al, al
jmp 0x437272
pop edi
pop esi
pop ebx
leave
ret
Function at 0x437277
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
cmp dword [0x47c7e8], 0
je 0x4372a7
push 0
push 4
call fcn.0043707d
add esp, 8
jmp 0x437323
cmp dword [0x47c7e4], 0
je 0x43731c
cmp dword [0x47c7b4], 0
je 0x437314
mov byte [0x4840c8], 3
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437314
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437314
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
jmp 0x437323
xor al, al
jmp 0x437323
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437328
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
cmp dword [0x47c7e8], 0
je 0x437358
push 0
push 0x22
call fcn.0043707d
add esp, 8
jmp 0x4373d4
cmp dword [0x47c7e4], 0
je 0x4373cd
cmp dword [0x47c7b4], 0
je 0x4373c5
mov byte [0x4840c8], 0x22
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4373c5
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4373c5
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
jmp 0x4373d4
xor al, al
jmp 0x4373d4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4373d9
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
cmp dword [0x47c7e8], 0
je 0x437409
push 0
push 5
call fcn.0043707d
add esp, 8
jmp 0x437485
cmp dword [0x47c7e4], 0
je 0x43747e
cmp dword [0x47c7b4], 0
je 0x437476
mov byte [0x4840c8], 5
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x437476
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437476
mov al, byte [0x4840c8]
mov byte [ebp - 4], al
mov al, byte [ebp - 4]
jmp 0x437485
xor al, al
jmp 0x437485
pop edi
pop esi
pop ebx
leave
ret

Function at 0x437718
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov byte [ebp - 4], 0
cmp dword [0x47c7b4], 0
je 0x437777
mov byte [0x4840c8], 6
mov al, byte [0x47c7c0]
mov byte [0x4840c9], al
push 0
push 0x4840d8
push 2
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0x4840d8
push 1
push 0x4840c8
mov eax, dword [0x4840e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43777c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x437821
cmp dword [ebp - 0x10], 0
jne 0x437821
mov dword [ebp - 0x18], 0
mov ecx, 0x3e8
mov eax, dword [ebp - 0x14]
sub edx, edx
div ecx
mov ecx, dword [ebp + 8]
and ecx, 0xffff
imul eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x437821
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00437841
add esp, 8
push 0
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004378a8
add esp, 8
test eax, eax
jne 0x4377ee
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x43783c
push 0
mov eax, dword [ebp + 8]
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438490
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x4384b3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004380f0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00438150
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00438210
lea eax, [esp + 0x18]
push eax
call fcn.00437a80
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x438480
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x438564
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00438460
or ax, ax
je 0x43852c
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x438550
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x438550
lea eax, [esp + 0xa]
push esi
push eax
call fcn.00437b90
or al, al
jne 0x438564
jmp 0x43855f
lea eax, [esp + 8]
push esi
push eax
call fcn.00437ae0
or al, al
jne 0x438564
mov word [esi], 0
mov ax, word [esi]
or ax, ax
je 0x43857c
cmp ax, 0xffff
je 0x43857c
mov al, 1
pop esi
pop ebx
add esp, 0x40
ret 8
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
Function at 0x4385a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x50]
mov bx, word [esp + 0x4c]
cmp bx, 4
mov word [esi], 0
jbe 0x4385c3
sub al, al
pop esi
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x38]
push 0x10
push eax
call fcn.004380f0
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00438150
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.00438210
lea eax, [esp + 0x18]
push eax
call fcn.00437a80
add bl, 0x31
and eax, 0xffff
mov byte [esp + eax + 0x18], bl
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push 0x10
push eax
lea eax, [esp + 0x24]
push 0x438590
push eax
lea eax, [esp + 0x3c]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x438674
lea eax, [esp + 8]
push 0x2c
push eax
call fcn.00438460
or ax, ax
je 0x438674
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x438674
cmp byte [esp + eax + 0xa], 0x3a
jne 0x438674
push esi
lea eax, [esp + eax + 0xf]
push eax
call fcn.00437ae0
or al, al
jne 0x438660
jmp 0x43866f
mov ax, word [esi]
cmp ax, 1
jl 0x43866f
cmp ax, 4
jle 0x438674
mov word [esi], 0
cmp word [esi], 1
sbb al, al
inc al
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x4386a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
push esi
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.004380f0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00438150
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00438300
lea eax, [esp + 4]
push 0x10
push eax
call fcn.004382b0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push 0x10
push eax
lea eax, [esp + 0x40]
push 0x438690
push eax
lea eax, [esp + 0x38]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
mov esi, eax
or esi, esi
je 0x43870f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00437910
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
cmp esi, 1
sbb al, al
inc al
pop esi
add esp, 0x50
ret 8

Function at 0x438720
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x20]
push 0x10
push eax
call fcn.004380f0
lea eax, [esp]
push 0x10
push eax
call fcn.00438150
lea eax, [esp + 0x10]
push 0x10
push eax
call fcn.00438260
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_GetPrivateProfileIntA
mov ecx, dword [esp + 0x34]
cmp eax, 1
mov word [ecx], ax
sbb cl, cl
inc cl
mov al, cl
add esp, 0x30
ret 4
Function at 0x438790
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
push esi
mov esi, dword [esp + 0x78]
push 0x10
mov word [esi], 0
lea eax, [esp + 8]
push 0
push eax
call fcn.00437aa0
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.004380f0
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.00438150
lea eax, [esp + 0x54]
push 0x10
push eax
call fcn.004381b0
lea eax, [esp + 0x34]
push 0x10
push eax
call fcn.00438360
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.00438410
lea eax, [esp + 0x14]
push 0x10
push eax
call fcn.004383c0
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 8]
push 0x10
push eax
lea eax, [esp + 0x60]
push 0x438780
push eax
lea eax, [esp + 0x58]
push eax
call sub.KERNEL32.dll_GetPrivateProfileStringA
or eax, eax
je 0x438863
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 8]
push eax
call fcn.00437910
or al, al
je 0x438831
mov word [esi], 2
jmp 0x438863
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 8]
push eax
call fcn.00437910
or al, al
je 0x43884b
mov word [esi], 3
jmp 0x438863
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 8]
push eax
call fcn.00437910
or al, al
je 0x438863
mov word [esi], 1
cmp word [esi], 1
sbb al, al
inc al
pop esi
add esp, 0x70
ret 4

Function at 0x438ec0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
mov byte [esp + 4], 0x52
mov byte [esp + 5], 0x4e
mov byte [esp + 6], 0x42
mov byte [esp + 7], 0x4f
mov byte [esp + 8], 0x44
mov byte [esp + 9], 0x52
mov byte [esp + 0xa], 0x56
mov ax, word [esp + 0x18]
add al, 0x30
mov byte [esp + 0xb], al
mov esi, dword [esp + 0x14]
mov byte [esp + 0xc], 0
mov dword [esi], 0
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
call sub.KERNEL32.dll_CreateFileA
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x438f56
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
jb 0x438f33
cmp eax, 3
jbe 0x438f4b
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x438f40
push eax
call sub.KERNEL32.dll_CloseHandle
mov ax, 0x80b
pop esi
add esp, 0xc
ret 8
mov ax, 0x80c
pop esi
add esp, 0xc
ret 8
mov ax, 0x800
pop esi
add esp, 0xc
ret 8

Function at 0x438f70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [esp + 0x18]
push esi
mov word [esi + 6], 0xffff
call fcn.00438e60
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
mov edi, dword [esp + 0x20]
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
or ebx, ebx
je 0x438fc0
lea eax, [esp + 0xc]
push 0
push eax
xor eax, eax
mov ax, word [esi + 2]
push eax
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
push esi
call fcn.00438e20
or ebx, ebx
je 0x438fd2
cmp word [esi + 6], 0xffff
jne 0x438fd8
mov word [esi + 6], 0x83b
mov ax, word [esi + 6]
pop edi
pop esi
pop ebx
add esp, 4
ret 8