joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432af0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468da8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432b29
inc eax
mov dword [esi + 0x10], eax
jmp 0x432c3c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x432b3d
mov eax, 0xffffffc7
jmp 0x432c3e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x432b4e
cmp dword [esi + 8], eax
jne 0x432b3d
cmp dword [esi + 8], eax
jne 0x432b67
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432b67
mov eax, 0xffffffc7
jmp 0x432c3e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x432b7b
push eax
mov ecx, ebx
call fcn.00432320
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x432bac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403080
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00431a90
test eax, eax
mov dword [esp + 0x38], eax
je 0x432bdf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d3a8
call fcn.00403260
mov eax, dword [esp + 0x38]
jmp 0x432c3e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432950
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432c23
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00432970
mov esi, eax
test esi, esi
jne 0x432c53
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432950
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432bf5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d3a8
call fcn.00403260
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46d3a8
call fcn.00403260
mov eax, esi
jmp 0x432c3e

Function at 0x435d80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435de0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435de0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435de0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435de0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43bd30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4693d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00462151
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b6d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046207f
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0045e943
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0045e943
push 1
push 0
push 0
mov ecx, esi
call fcn.0045e8eb
push 1
push 0
push 1
mov ecx, esi
call fcn.0045e8eb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004621c3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43beb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4693f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00462151
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b6d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046207f
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43bf74
cmp dword [esp + 0x40], 1
jne 0x43bf72
cmp ecx, eax
jge 0x43bf74
mov eax, ecx
cmp eax, 0xc8
jge 0x43bf80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043bd30
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004621c3
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x469463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045cd63
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004623f9
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00463915
test eax, eax
je 0x43c81c
mov ecx, dword [esp + 0x3c]
call fcn.00462426
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c7e0
push edi
mov ecx, esi
call fcn.0045fa8a
mov ecx, esi
call fcn.0043c980
cmp dword [esp + 0x38], 1
jne 0x43c815
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045fbc5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43f230
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f263
push esi
call fcn.00442320
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f25c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f2e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f2d2
mov eax, dword [esi + 8]
test eax, eax
je 0x43f287
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f2ce
cmp eax, 2
je 0x43f2d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f27a
cmp eax, 3
je 0x43f2ad
cmp eax, 1
jne 0x43f27a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f27a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f27a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f310
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f2f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f310
add esp, 4
pop esi
ret

Function at 0x45db59
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45db91
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0045bc0d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045bbe5
jmp 0x45db9d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45f247
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x45f289
call fcn.00464d00
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x45f289
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45f280
xor eax, eax
jmp 0x45f291
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045f297
pop edi
pop esi
pop ebx
ret 4

Function at 0x465230
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46525e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46527c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00465196
jmp 0x46527c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46527c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00465196
test edi, edi
mov eax, edi
jne 0x465266
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x30022217
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x30022263
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x3002225c
jbe 0x30022285
cmp eax, 3
jbe 0x3002224c
cmp eax, 4
je 0x3002225c
jbe 0x30022285
cmp eax, 6
ja 0x30022257
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30022220
cmp eax, 7
jne 0x30022285
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x30022285
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x30022275
call esi
mov esi, eax
jmp 0x30022285
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
mov eax, esi
pop esi
leave
ret 8

Function at 0x3002228c
Capabilities:
Start service

Disassembly:
push ecx
push ecx
xor eax, eax
cmp dword [esp + 0x10], eax
push ebx
setne al
push ebp
push esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x1c]
call fcn.30022217
mov esi, eax
test esi, esi
mov ebp, 0xffff
mov ebx, 0x80070000
jle 0x300222c2
and esi, ebp
or esi, ebx
test esi, esi
jl 0x30022303
cmp dword [esp + 0xc], 1
je 0x300222d2
cmp dword [esp + 0xc], 7
jne 0x30022303
push edi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
xor edi, edi
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x30022302
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub eax, 0x3e5
je 0x3002230d
sub eax, 0x3b
jne 0x30022310
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
xor edi, edi
inc edi
test esi, esi
jle 0x30022318
and esi, ebp
or esi, ebx
test edi, edi
jne 0x300222d3
jmp 0x30022302

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.004014da

Function at 0x4014da
Capabilities:
Delete file
Encode data using base64 via winapi
Get common file path

Disassembly:
push ecx
push edx
enter 0x220, 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x5f7f93
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005f8012
jae 0x5f7f9f
xor ecx, ecx
call fcn.005f8012
jae 0x5f7fc9
xor eax, eax
call fcn.005f8012
jae 0x5f7fda
mov al, 0x10
call fcn.005f8012
adc al, al
jae 0x5f7fbb
jne 0x5f8007
stosb byte es:[edi], al
jmp 0x5f7fa0
call fcn.005f801e
dec ecx
loop 0x5f7fe6
mov eax, ebp
call fcn.005f801c
jmp 0x5f8008
lodsb al, byte [esi]
shr eax, 1
je 0x5f802e
adc ecx, 2
mov ebp, eax
jmp 0x5f8008
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005f801c
cmp eax, 0x7d00
jae 0x5f8006
cmp eax, 0x500
jae 0x5f8007
cmp eax, 0x7f
ja 0x5f8008
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5f7fa0
pop ebp
ret 8

Function at 0x5ddb35
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005ddbb4
jae 0x5ddb41
xor ecx, ecx
call fcn.005ddbb4
jae 0x5ddb6b
xor eax, eax
call fcn.005ddbb4
jae 0x5ddb7c
mov al, 0x10
call fcn.005ddbb4
adc al, al
jae 0x5ddb5d
jne 0x5ddba9
stosb byte es:[edi], al
jmp 0x5ddb42
call fcn.005ddbc0
dec ecx
loop 0x5ddb88
mov eax, ebp
call fcn.005ddbbe
jmp 0x5ddbaa
lodsb al, byte [esi]
shr eax, 1
je 0x5ddbd0
adc ecx, 2
mov ebp, eax
jmp 0x5ddbaa
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005ddbbe
cmp eax, 0x7d00
jae 0x5ddba8
cmp eax, 0x500
jae 0x5ddba9
cmp eax, 0x7f
ja 0x5ddbaa
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5ddb42
pop ebp
ret 8
Function at 0x4018f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [ecx + 0x14]
push esi
cmp eax, 5
mov dword [esp + 4], ecx
jne 0x401a0c
mov esi, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
cmp esi, eax
je 0x401a0c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
lea edi, [esi + 0x604]
lea ebx, [edi - 0x200]
push 0x44718c
push ebx
call fcn.00420a10
add esp, 8
test eax, eax
jne 0x40197f
push edi
call fcn.00418509
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [ecx]
jge 0x4019e3
cmp dword [esi], 0
jne 0x401961
call ebp
mov edx, eax
mov eax, 0x45e7b273
mul edx
shr edx, 0xe
mov dword [esi], edx
call ebp
mov ecx, eax
mov eax, 0x45e7b273
mul ecx
mov ecx, dword [esi]
mov eax, dword [edi + 0x200]
shr edx, 0xe
sub edx, ecx
cmp edx, eax
jb 0x4019e9
jmp 0x4019d3
push str.less
push ebx
call fcn.00420a10
add esp, 8
test eax, eax
jne 0x4019e9
push edi
call fcn.00418509
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp eax, dword [ecx]
jle 0x4019e3
cmp dword [esi], 0
jne 0x4019b7
call ebp
mov edx, eax
mov eax, 0x45e7b273
mul edx
shr edx, 0xe
mov dword [esi], edx
call ebp
mov ecx, eax
mov eax, 0x45e7b273
mul ecx
mov ecx, dword [esi]
mov eax, dword [edi + 0x200]
shr edx, 0xe
sub edx, ecx
cmp edx, eax
jb 0x4019e9
mov ecx, dword [esp + 0x10]
lea edx, [edi - 0x600]
push edx
call fcn.00401fb0
mov dword [esi], 0
mov eax, dword [esp + 0x10]
add esi, 0x828
add edi, 0x828
cmp esi, dword [eax + 0x20]
jne 0x40191f
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x401a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
push esi
mov dword [esp + 8], ecx
je 0x401b70
cmp dword [ecx + 0x28], 6
jne 0x401b70
mov esi, dword [ecx + 0x30]
mov eax, dword [ecx + 0x34]
cmp esi, eax
je 0x401b70
push ebx
push edi
lea edi, [esi + 0x604]
lea ebx, [edi - 0x200]
push 0x44718c
push ebx
call fcn.00420a10
add esp, 8
test eax, eax
jne 0x401acd
push edi
call fcn.00418509
mov ecx, eax
mov eax, dword [ebp]
add esp, 4
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 0xc
cdq
idiv dword [ebp + 0xc]
cmp ecx, eax
jge 0x401b47
cmp dword [esi], 0
jne 0x401aa7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x45e7b273
mul ecx
shr edx, 0xe
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x45e7b273
mul edx
mov ecx, dword [esi]
mov eax, dword [edi + 0x200]
shr edx, 0xe
sub edx, ecx
cmp edx, eax
jb 0x401b4d
jmp 0x401b37
push str.less
push ebx
call fcn.00420a10
add esp, 8
test eax, eax
jne 0x401b4d
push edi
call fcn.00418509
mov ecx, eax
mov eax, dword [ebp]
add esp, 4
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 0xc
cdq
idiv dword [ebp + 0xc]
cmp ecx, eax
jle 0x401b47
cmp dword [esi], 0
jne 0x401b17
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x45e7b273
mul ecx
shr edx, 0xe
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x45e7b273
mul edx
mov ecx, dword [esi]
mov eax, dword [edi + 0x200]
shr edx, 0xe
sub edx, ecx
cmp edx, eax
jb 0x401b4d
mov ecx, dword [esp + 0x10]
lea eax, [edi - 0x600]
push eax
call fcn.00401fb0
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
add esi, 0x828
add edi, 0x828
cmp esi, dword [ecx + 0x34]
jne 0x401a53
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
pop ecx
ret 4
pop esi
mov al, 1
pop ebp
pop ecx
ret 4
Function at 0x401c00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
mov edx, ecx
mov ecx, 0x100
xor eax, eax
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x410]
push edi
lea edi, [esp + 0x10]
lea ebx, [edx + 0xa8]
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x14]
push 0x400
push eax
push 0x44a580
push str.subalertid
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x418]
lea edi, [esp + 0x10]
xor eax, eax
push ebx
lea edx, [ecx + 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x44a580
push str.content
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x418]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
add edx, 0x204
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x44a580
push str.conditiontype
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x418]
or ecx, 0xffffffff
add edx, 0x404
lea edi, [esp + 0x10]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x400
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x44a580
push str.conditioncontent
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [esp + 0x418]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
add edx, 0x604
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x400
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push 0x44a580
push str.timedur
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x10]
push edx
call fcn.00418514
fmul qword [0x43a638]
add esp, 4
call fcn.004185bc
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebp
mov dword [ecx + 0x804], eax
mov al, 1
pop ebx
add esp, 0x400
ret 8