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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0xb196ec]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0xb55508
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [ebp - 0x114], 0
je 0x8981af
lea eax, [ebp - 0x114]
inc eax
cmp byte [eax], 0
jne 0x898187
lea ecx, [ebp - 0x114]
sub eax, ecx
je 0x8981af
cmp byte [ebp + eax - 0x115], 0x5c
je 0x8981af
push 0xaa1564
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.Reload.exe
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
push 0
xor edx, edx
lea ecx, [ebp - 0x114]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x8982d8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0x2710
jae 0x898255
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x320]
push ecx
push str.reload.exe
mov dword [ebp - 0x320], 0
call fcn.0097d640
test eax, eax
je 0x898255
test ebx, ebx
jne 0x89823f
mov edx, dword [ebp - 0x320]
push edx
lea eax, [ebp - 0x31c]
push str.Reload__pid:_u__running_in_background._Will_wait_for_it_to_finish...
push eax
mov ebx, 1
call fcn.00a78f30
add esp, 0xc
push 0x118
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, 0x2710
jb 0x8981f4
push str.__ul
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x898283
cmp eax, 2
je 0x898283
push eax
push str.Need_to_Send_All_Software_Events._Restarting_Monitor_Service__u_.
lea edx, [ebp - 0x31c]
push edx
jmp 0x898290
push eax
push str.Monitor_Scanner_Too_Busy__Restarting_Monitor_Service__u_.
lea eax, [ebp - 0x31c]
push eax
call fcn.00a78f30
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x31c]
push ecx
push 0xb54ce8
call fcn.008808e0
push 0
lea edx, [ebp - 0x114]
push 0
push edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
call fcn.0095dfe0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x31c]
push str.Unable_to_find__s__Not_restarting_monitor__u_...
push edx
call fcn.00a78f30
push 0
push 1
lea eax, [ebp - 0x31c]
push eax
push 0xb54ce8
call fcn.008808e0
mov ecx, dword [ebp - 8]
add esp, 0x20
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x898be0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb14b90
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x20]
push eax
push 1
push 0
push 0xaa21e4
push 0x80000002
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call edi
mov esi, eax
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
test esi, esi
jne 0x898db5
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x28]
push ecx
push esi
lea edx, [ebp - 0x30]
push edx
push esi
push str.ForceArchiveScanOnFiles
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, 2
jne 0x898ccb
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x20]
push edx
push 0xf003f
push 0
push 0xaa21e4
push 0x80000002
call edi
mov esi, eax
push esi
call ebx
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x898dab
lea eax, [ebp - 0x19]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea ecx, [ebp - 0x19]
push ecx
push 1
push esi
push str.ForceArchiveScanOnFiles
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
jne 0x898dab
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0097f6a0
add esp, 8
mov esi, eax
test esi, esi
je 0x898dab
push esi
call fcn.0095ad70
add esp, 4
cmp byte [esi], 0
je 0x898da2
mov dword [ebp - 0x24], 0
mov ecx, dword [0xbd0b4c]
test ecx, ecx
je 0x898d68
mov eax, esi
call fcn.0094c330
test eax, eax
je 0x898da2
mov edx, dword [0xbd0b4c]
push edx
call fcn.00a78fec
add esp, 4
mov dword [0xbd0b4c], esi
cmp dword [ebp + 8], 0
jne 0x898dab
push 0
push 1
push str._BDCACHE__Invalidate__ArchScan_A_
push 0xb54ce8
call fcn.008808e0
call fcn.008b2850
mov esi, 0xbe4330
call fcn.00956c50
push 1
call fcn.008969a0
add esp, 0x14
jmp 0x898dab
mov dword [0xbd0b4c], esi
cmp dword [ebp + 8], 0
jne 0x898dab
push 0
push 1
push str._BDCACHE__Invalidate__ArchScan_B_
push 0xb54ce8
call fcn.008808e0
call fcn.008b2850
mov esi, 0xbe4330
call fcn.00956c50
push 1
call fcn.008969a0
add esp, 0x14
jmp 0x898dab
push esi
call fcn.00a78fec
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x24], 0
je 0x898df1
mov eax, dword [0xbd0b4c]
test eax, eax
je 0x898df1
push eax
call fcn.00a78fec
add esp, 4
mov dword [0xbd0b4c], 0
jmp 0x898df1
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8993b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb14228
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x824], ebx
call fcn.00896380
push 0x80000002
lea eax, [ebp - 0x824]
lea ecx, [ebx + 9]
mov edx, str.SoftwareMicroWorldeScan_For_WindowsMwMonitorBlockAccessOfExecutablesOnUSBDrive_ExclusionList
call fcn.0097f000
add esp, 4
mov esi, eax
cmp esi, ebx
je 0x899461
lea eax, [ebp - 0x824]
push eax
push str.SoftwareMicroWorldeScan_For_WindowsMwMonitorBlockAccessOfExecutablesOnUSBDrive_ExclusionList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov esi, eax
cmp esi, ebx
jne 0x899461
mov ecx, dword [ebp - 0x824]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x80000002
lea eax, [ebp - 0x824]
lea ecx, [ebx + 9]
mov edx, str.SoftwareMicroWorldeScan_For_WindowsMwMonitorBlockAccessOfExecutablesOnUSBDrive_ExclusionList
call fcn.0097f000
add esp, 4
mov esi, eax
mov eax, dword [0xbd0b38]
cmp eax, ebx
je 0x899479
push eax
call fcn.00a78fec
add esp, 4
mov dword [0xbd0b38], ebx
cmp esi, ebx
jne 0x89952b
mov byte [ebp - 0x820], bl
push 0x3ff
push ebx
lea edx, [ebp - 0x81f]
push edx
call fcn.00a7ffb0
add esp, 0xc
mov byte [ebp - 0x420], bl
push 0x3ff
push ebx
lea eax, [ebp - 0x41f]
push eax
call fcn.00a7ffb0
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x830], esi
mov byte [ebp - 0x820], bl
mov byte [ebp - 0x420], bl
mov eax, 0x400
mov dword [ebp - 0x828], eax
mov dword [ebp - 0x82c], eax
lea ecx, [ebp - 0x82c]
push ecx
lea edx, [ebp - 0x820]
push edx
push ebx
push ebx
lea eax, [ebp - 0x828]
push eax
lea ecx, [ebp - 0x420]
push ecx
push esi
mov edx, dword [ebp - 0x824]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x89952b
cmp byte [ebp - 0x420], bl
je 0x899528
push ebx
push 0x2c
lea eax, [ebp - 0x420]
push eax
mov edi, 0xbd0b38
call fcn.0098d640
inc esi
jmp 0x8994b9
mov eax, dword [ebp - 0x824]
cmp eax, ebx
je 0x899542
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x824], ebx
call fcn.00896390
jmp 0x899568
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89b200
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb141a8
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00968d70
test eax, eax
je 0x89b37d
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x130], edi
push str.SOFTWAREPoliciesMicrosoftWindowsNetwork_Connections
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00968110
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0xf003f
xor ecx, ecx
cmp dword [ebp + 8], edi
sete cl
mov dword [ebp - 0x130], ecx
lea edx, [ebp - 0x12c]
push edx
push esi
lea eax, [ebp - 0x128]
push eax
push 0x80000002
call fcn.0097eda0
cmp eax, edi
je 0x89b2cc
push edi
lea ecx, [ebp - 0x12c]
push ecx
push esi
push edi
lea edx, [ebp - 0x128]
push edx
push 0x80000002
call fcn.0097ee40
cmp eax, edi
jne 0x89b345
cmp ebx, edi
jne 0x89b2f0
push 4
lea eax, [ebp - 0x130]
push eax
push 4
push edi
push str.NC_ShowSharedAccessUI
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x89b333
cmp ebx, 1
jne 0x89b32e
call fcn.00987cf0
and eax, 0x800003ff
jns 0x89b308
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x134], eax
push 4
lea eax, [ebp - 0x134]
push eax
push 4
push edi
push str.NC_Random
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x89b345
cmp ebx, 2
jne 0x89b345
push str.NC_Random
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x89b37d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x12c], edi
jmp 0x89b37d
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89b3a0
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb152b8
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x12c], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorer
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00968110
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0xf003f
xor ecx, ecx
mov ebx, dword [ebp + 8]
cmp ebx, edi
setne cl
mov dword [ebp - 0x128], ecx
lea edx, [ebp - 0x124]
push edx
push esi
lea eax, [ebp - 0x120]
push eax
push 0x80000002
call fcn.0097eda0
cmp eax, edi
je 0x89b46d
push edi
lea ecx, [ebp - 0x124]
push ecx
push esi
push edi
lea edx, [ebp - 0x120]
push edx
push 0x80000002
call fcn.0097ee40
cmp eax, edi
jne 0x89b504
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x134], 4
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x130]
push ecx
push edi
push edi
push str.NoControlPanel
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x89b4cf
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0x128]
je 0x89b504
push 4
lea ecx, [ebp - 0x128]
push ecx
push 4
push edi
push str.NoControlPanel
mov edx, dword [ebp - 0x124]
push edx
jmp 0x89b4eb
cmp ebx, edi
je 0x89b504
push 4
lea eax, [ebp - 0x128]
push eax
push 4
push edi
push str.NoControlPanel
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x89b504
mov dword [ebp - 0x12c], 1
call fcn.0089aef0
mov eax, dword [ebp - 0x124]
cmp eax, edi
je 0x89b51b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x124], edi
cmp ebx, edi
je 0x89b561
cmp dword [0xb567b8], edi
jne 0x89b561
mov dword [0xb567b8], 1
push edi
push edi
push 0x873bf0
call fcn.00a791b2
add esp, 0xc
jmp 0x89b561
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89b590
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb14188
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x130], 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesPrograms
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00968110
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0xf003f
xor ecx, ecx
cmp edi, ebx
setne cl
mov dword [ebp - 0x130], ecx
lea edx, [ebp - 0x12c]
push edx
push esi
lea eax, [ebp - 0x128]
push eax
push 0x80000002
call fcn.0097eda0
cmp eax, ebx
je 0x89b65c
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push esi
push ebx
lea edx, [ebp - 0x128]
push edx
push 0x80000002
call fcn.0097ee40
cmp eax, ebx
jne 0x89b6ee
mov dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x13c], 4
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x138]
push ecx
push ebx
push ebx
push str.NoProgramsCPL
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x89b6be
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x130]
je 0x89b6ee
push 4
lea ecx, [ebp - 0x130]
push ecx
push 4
push ebx
push str.NoProgramsCPL
mov edx, dword [ebp - 0x12c]
push edx
jmp 0x89b6da
cmp edi, ebx
je 0x89b6ee
push 4
lea eax, [ebp - 0x130]
push eax
push 4
push ebx
push str.NoProgramsCPL
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x89b6ee
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x89b726
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x12c], ebx
jmp 0x89b726
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89b9e0
Capabilities:
Create thread

Disassembly:
push esi
mov ecx, edi
call fcn.0089b590
mov esi, eax
call fcn.00968930
test eax, eax
je 0x89b9fc
mov ecx, edi
call fcn.0089b750
or esi, eax
test esi, esi
je 0x89ba05
call fcn.0089aef0
test edi, edi
je 0x89ba2d
cmp dword [0xb567b8], 0
jne 0x89ba2d
push 0
push 0
push 0x873bf0
mov dword [0xb567b8], 1
call fcn.00a791b2
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x89e990
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb14148
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x320
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0xbe74e0], ebx
je 0x89e9ef
call esi
sub eax, dword [0xbe74e0]
cmp eax, 0x7d0
jbe 0x89eab7
push 0xb52468
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0xbe74e0], ebx
je 0x89ea11
call esi
sub eax, dword [0xbe74e0]
cmp eax, 0x7d0
jbe 0x89ea8b
mov byte [ebp - 0x128], bl
push 0x103
push ebx
lea eax, [ebp - 0x127]
push eax
call fcn.00a7ffb0
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0093d710
mov dword [0xbd0680], eax
call esi
mov dword [0xbe74e0], eax
cmp dword [0xbe74e4], ebx
jne 0x89ea8b
mov dword [0xbe74e4], 1
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [0xbd0680]
push edx
push str._CONN__Connected_Users:_u__LastErr:_s
lea eax, [ebp - 0x330]
push eax
call fcn.00a78f30
push ebx
push 1
lea ecx, [ebp - 0x330]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
push 0xb52468
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x89eab7
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89eae0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x52c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x89eb09
mov ebx, 1
push 0xb55508
lea eax, [esp + 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x328], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x89eb58
lea eax, [esp + 0x328]
inc eax
cmp byte [eax], 0
jne 0x89eb33
lea ecx, [esp + 0x328]
sub eax, ecx
je 0x89eb58
cmp byte [esp + eax + 0x327], 0x5c
je 0x89eb58
push 0xaa1564
mov edx, ecx
push edx
call esi
push str.CLFNOEXA.DAT
lea eax, [esp + 0x32c]
push eax
call esi
lea eax, [esp + 0x328]
call fcn.0094dd20
xor eax, eax
jmp 0x89eb80
mov cl, byte [eax + 0xb55508]
mov byte [esp + eax + 0x118], cl
inc eax
test cl, cl
jne 0x89eb80
cmp byte [esp + 0x118], cl
je 0x89ebc7
lea eax, [esp + 0x118]
inc eax
cmp byte [eax], 0
jne 0x89eba2
lea ecx, [esp + 0x118]
sub eax, ecx
je 0x89ebc7
cmp byte [esp + eax + 0x117], 0x5c
je 0x89ebc7
push 0xaa1564
mov edx, ecx
push edx
call esi
push str.CLFNOEYA.DAT
lea eax, [esp + 0x11c]
push eax
call esi
xor eax, eax
jmp 0x89ebe0
mov cl, byte [eax + 0xb55508]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x89ebe0
cmp byte [esp + 0x10], cl
je 0x89ec1f
lea eax, [esp + 0x10]
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x89ec00
lea ecx, [esp + 0x10]
sub eax, ecx
je 0x89ec1f
cmp byte [esp + eax + 0xf], 0x5c
je 0x89ec1f
push 0xaa1564
mov edx, ecx
push edx
call esi
push str.CLFNOEYC.DAT
lea eax, [esp + 0x14]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
test ebx, ebx
jne 0x89ec6c
lea eax, [esp + 0x10]
call fcn.0094dd20
lea ecx, [esp + 0x220]
push str._DLXCACHE__Init_DlxCache_Start...
push ecx
call fcn.00a78f30
push ebx
push 1
lea edx, [esp + 0x230]
push edx
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
lea ecx, [esp + 0x10]
call 0x990cc0
test ebx, ebx
jne 0x89ed45
push eax
call esi
sub eax, edi
push eax
lea eax, [esp + 0x228]
push str._DLXCACHE__Init_DlxCache_Finished:__u_ms___u_Items_
push eax
call fcn.00a78f30
push ebx
push 1
lea ecx, [esp + 0x238]
push ecx
push 0xb54ce8
call fcn.008808e0
push 1
push ebx
lea edx, [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.0095a0f0
add esp, 0x28
test eax, eax
jne 0x89ed45
cmp dword [esp + 0xc], eax
jbe 0x89ed45
call esi
push 0xb52450
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0xbe439c]
push edx
call fcn.00956c20
add esp, 4
mov ecx, 0xbe4330
call fcn.0097f8c0
push ebx
lea edi, [esp + 0x11c]
lea ebx, [esp + 0x14]
call fcn.00980a90
add esp, 4
push 0
call fcn.008969a0
add esp, 4
push 0xb52450
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x220]
push str._DLXCACHE__DlxCache_Loaded.
push eax
call fcn.00a78f30
push 0
push 1
lea ecx, [esp + 0x230]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x18
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x89ed60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0xb196ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xb55f40
push 0x104
lea eax, [ebp - 0x428]
push eax
push 0xaa1ac4
push str.FrightsRunForSecServer
push str.Config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x428], 0x31
je 0x89ef8f
push 0x103
lea ecx, [ebp - 0x31f]
push 0
push ecx
mov byte [ebp - 0x320], 0
call fcn.00a7ffb0
add esp, 0xc
xor eax, eax
jmp 0x89edd0
mov cl, byte [eax + 0xb55508]
mov byte [ebp + eax - 0x218], cl
inc eax
test cl, cl
jne 0x89edd0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov bl, 0x5c
cmp byte [ebp - 0x218], cl
je 0x89ee1b
lea eax, [ebp - 0x218]
inc eax
cmp byte [eax], 0
jne 0x89edf8
lea edx, [ebp - 0x218]
sub eax, edx
je 0x89ee1b
cmp byte [ebp + eax - 0x219], bl
je 0x89ee1b
push 0xaa1564
mov eax, edx
push eax
call esi
lea eax, [ebp - 0x218]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x89ee22
mov ecx, dword [str.frights.ini]
mov edx, dword [0xac0e00]
mov dword [eax], ecx
mov ecx, dword [0xac0e04]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [ebp - 0x218]
call fcn.0094dd20
xor eax, eax
mov cl, byte [eax + 0xb55508]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x89ee51
cmp byte [ebp - 0x110], cl
je 0x89ee94
lea eax, [ebp - 0x110]
inc eax
cmp byte [eax], 0
jne 0x89ee71
lea edx, [ebp - 0x110]
sub eax, edx
je 0x89ee94
cmp byte [ebp + eax - 0x111], bl
je 0x89ee94
push 0xaa1564
mov eax, edx
push eax
call esi
lea eax, [ebp - 0x110]
dec eax
jmp 0x89eea0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x89eea0
mov ecx, dword [str.frights.exe]
mov edx, dword [0xac0e0c]
mov dword [eax], ecx
mov ecx, dword [0xac0e10]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
push 1
push 0
xor edx, edx
lea ecx, [ebp - 0x110]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x89ef5b
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x110]
push edx
push eax
lea ecx, [ebp - 0x320]
push str.Executing_FRIGHTS__u__for_SecServer___s_
push ecx
call fcn.00a78f30
push 0
push 1
lea edx, [ebp - 0x320]
push edx
push 0xb54ce8
call fcn.008808e0
push 0
lea eax, [ebp - 0x110]
push 0
push eax
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [edi], 1
call fcn.0095dfe0
add esp, 0x2c
push str.Config
mov esi, 0xb55f40
mov eax, 0xaae0f8
mov ebx, str.FrightsRunForSecServer
call fcn.009584b0
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x110]
push ecx
push edx
lea eax, [ebp - 0x320]
push str.Unable_to_execute_FRIGHTS__u__for_SecServer___s_
push eax
call fcn.00a78f30
push 0
push 1
lea ecx, [ebp - 0x320]
push ecx
push 0xb54ce8
call fcn.008808e0
add esp, 0x20
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00a78f21
mov esp, ebp
pop ebp
ret