joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449820
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d00b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.IConfigureObserver.0
xor edi, edi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x10]
mov dword [ebp - 4], edi
mov dword [esi], vtable.CDesktopAgent.1.0
mov dword [esi + 4], vtable.CDesktopAgent.0
call fcn.004ef87b
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov word [esi + 0x30], ax
mov dword [esi + 0x32], eax
push 0x400
mov dword [esi + 0x36], eax
lea ecx, [esi + 0x42]
push edi
mov dword [esi + 0x3a], eax
push ecx
mov dword [esi + 0x3e], eax
call fcn.00534b40
add esp, 0xc
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

Function at 0x449b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c980
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], str.CDestAg
mov dword [ebp - 0x1c], 0x57ba0c
mov dword [ebp - 0x18], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esi + 8]
call fcn.00449b30
neg eax
sbb esi, esi
neg esi
mov dword [ebp - 4], 1
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x449c2e
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
lea eax, [esi - 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x449c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x449c9b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x449cd2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x449cce
jmp 0x449cc0
cmp esi, eax
jae 0x449cd2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x449cc0
cmp esi, eax
jb 0x449cd9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44caa0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push edi
push eax
call edx
mov ecx, dword [esi + 0x54]
call fcn.0044d2a0
lea edi, [esi + 0x3c]
mov ebx, 3
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
add edi, 4
dec ebx
jne 0x44cac6
mov ecx, dword [esi + 0x50]
xor edi, edi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x50]
cmp eax, edi
je 0x44caf9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], edi
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x44cb0b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x10], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x44cb1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
pop edi
mov dword [esi + 0x38], eax
pop esi
mov eax, 1
pop ebx
ret

Function at 0x44cfe0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov dword [esi], 1
call fcn.0044cee0
test eax, eax
js 0x44d032
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
call fcn.0044ccb0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 1
push eax
call edx
test eax, eax
js 0x44d032
push 0
push 0
push esi
push 0x44cd50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [esi + 0x50], eax
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x44d5b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], 0
cmp eax, 1
jne 0x44d738
test edi, edi
jne 0x44d600
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
test eax, eax
je 0x44d615
push eax
call fcn.00535f7c
add esp, 4
mov dword [esi], 0
push 0x10000
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
jne 0x44d6e6
push str.WAVE
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x44d66c
push 0x57c6e0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x44d66c
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x44d654
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x44d654
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x44d654
push edi
call fcn.00535efc
push edi
push ebx
push eax
mov dword [esi + 0x90], eax
call fcn.00534c80
push 0x48
lea ecx, [ebp - 0x4c]
push 0
push ecx
call fcn.00534b40
mov edx, dword [esi + 0x90]
add esp, 0x1c
push 0x10000
lea eax, [ebp - 0x4c]
push eax
push 0
mov dword [ebp - 0x48], 0x204d454d
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0044d060
mov edi, eax
test edi, edi
jns 0x44d714
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.0044d1f0
test eax, eax
js 0x44d787
mov edx, dword [esi + 0xc]
pop edi
mov dword [esi + 0x30], edx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
push 0x11002
push 0
push edi
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [esi + 4], eax
test eax, eax
je 0x44d654
push ebx
mov ecx, esi
call fcn.0044d3d0
mov edi, eax
test edi, edi
jns 0x44d780
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.WINMM.dll_mmioClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.0044d1f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44d830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push edi
mov edi, dword [ebp + 8]
call edx
cmp eax, 2
je 0x44daae
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x44daae
call fcn.00454150
cmp dword [eax + 0x660], 0
je 0x44daae
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00534b40
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov ecx, str.32770
lea eax, [ebp - 0x404]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d8e0
test dl, dl
je 0x44d8dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d8e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d8c0
xor eax, eax
jmp 0x44d8e5
sbb eax, eax
sbb eax, 0xffffffff
push esi
test eax, eax
jne 0x44d8ef
lea esi, [eax + 1]
jmp 0x44d930
mov ecx, str.TConsoleForm
lea eax, [ebp - 0x404]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44d920
test dl, dl
je 0x44d91c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44d920
add eax, 2
add ecx, 2
test dl, dl
jne 0x44d900
xor eax, eax
jmp 0x44d925
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44da8f
lea esi, [eax + 2]
push 0x400
lea edx, [ebp - 0x404]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x6b
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.00534b40
add esp, 0xc
cmp esi, 1
jne 0x44d9fa
push 6
lea ecx, [ebp - 0x404]
push 0x57c740
push ecx
call fcn.005374b7
add esp, 0xc
test eax, eax
jne 0x44d988
mov dword [ebp - 0x470], 0x2329
jmp 0x44da29
push 4
lea edx, [ebp - 0x404]
push 0x57c738
push edx
call fcn.005374b7
add esp, 0xc
test eax, eax
jne 0x44d9ae
mov dword [ebp - 0x470], 0x232a
jmp 0x44da29
push 8
lea eax, [ebp - 0x404]
push 0x57c72c
push eax
call fcn.005374b7
add esp, 0xc
test eax, eax
jne 0x44d9d4
mov dword [ebp - 0x470], 0x270c
jmp 0x44da29
push 6
lea ecx, [ebp - 0x404]
push 0x57c724
push ecx
call fcn.005374b7
add esp, 0xc
test eax, eax
jne 0x44da20
mov dword [ebp - 0x470], 0x270e
jmp 0x44da29
push 0x12
lea edx, [ebp - 0x404]
push 0x57c710
push edx
call fcn.005374b7
add esp, 0xc
test eax, eax
jne 0x44da20
mov dword [ebp - 0x470], 0x270b
jmp 0x44da29
cmp dword [ebp - 0x470], 0
je 0x44da8f
mov ecx, dword [0x67eb7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
push 0x67bfc0
mov dword [ebp - 0x46c], eax
call fcn.0044d7a0
add esp, 4
test eax, eax
je 0x44da66
mov eax, dword [0x67bfc0]
mov cx, word [0x67bfc4]
mov dword [ebp - 0x468], eax
mov word [ebp - 0x464], cx
call fcn.00434a50
mov dword [ebp - 0x45c], eax
call fcn.00454150
mov eax, dword [eax + 0x660]
mov edx, dword [eax]
mov edx, dword [edx]
push 0x6b
lea ecx, [ebp - 0x470]
push ecx
push 8
mov ecx, eax
call edx
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
Function at 0x44db20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
je 0x44dc4d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push esi
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x44dc4a
xor eax, eax
mov dword [ebp - 0xb], eax
mov byte [ebp - 7], al
lea esi, [eax + 6]
mov eax, dword [0x67bfc0]
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
mov edx, 0x67bfc0
cmp eax, dword [ebp - 0xc]
jne 0x44db96
mov esi, 2
lea ecx, [ebp - 8]
mov edx, 0x67bfc4
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x44dbc7
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x44dbc7
cmp esi, 2
jbe 0x44dbcf
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x44dbc7
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jne 0x44dbdc
push 0x67bfc0
call fcn.004f1d51
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x44db00
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
xor esi, esi
call edx
cmp eax, 2
je 0x44dc34
nop
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 4
je 0x44dc34
inc esi
cmp esi, 0x12c
jg 0x44dc34
push 0x1f4
call edi
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
jne 0x44dc00
mov ecx, dword [0x67eb8c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp eax, 2
jne 0x44db52
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret

Function at 0x44dd00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d270
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], str.CGIMCon
mov dword [ebp - 0x20], 0x57ba0c
mov dword [ebp - 0x1c], eax
call fcn.004ebfc1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xd]
push 0
push eax
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
call fcn.00435600
add esp, 8
cmp byte [ebp - 0xd], 0
mov eax, 0x57c428
jne 0x44dd79
mov eax, 0x57c2bc
push eax
push str.qqFunction
call fcn.00430d60
add esp, 8
mov dword [ebp - 4], 1
call esi
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
je 0x44ddb3
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44f070
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d358
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], str.CGIMCon
mov dword [ebp - 0x1c], str.Initi
mov dword [ebp - 0x18], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call fcn.00463ed0
mov dword [esi + 0x10], eax
test eax, eax
je 0x44f0df
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push esi
call eax
mov ecx, esi
call fcn.0044e0b0
test eax, eax
jne 0x44f143
mov ecx, esi
call fcn.0044e170
test eax, eax
jne 0x44f143
mov dword [ebp - 4], 1
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x44f121
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x44f16f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x453e40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c980
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], 0x57cae4
mov dword [ebp - 0x1c], 0x57ba0c
mov dword [ebp - 0x18], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x14], eax
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call fcn.0044dd00
lea ecx, [esi + 0x6c]
call fcn.0044dce0
lea ecx, [esi + 0x74]
call fcn.00455390
lea ecx, [esi + 0x7c]
call fcn.00453510
lea ecx, [esi + 0x60]
call fcn.0044aea0
lea ecx, [esi + 0x648]
call fcn.004513b0
mov esi, dword [esi + 0x658]
test esi, esi
je 0x453ed9
call esi
mov dword [ebp - 4], 1
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x453f05
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push str._s_running_time
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x454a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56daa8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], 0x57cc48
mov dword [ebp - 0x20], 0x57ba0c
mov dword [ebp - 0x1c], eax
call fcn.004ebfc1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [edi + 0x14], eax
je 0x454ae1
mov ecx, dword [0x67eb84]
lea esi, [edi + 0x10]
mov dword [esi], eax
cmp ecx, eax
je 0x454acc
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x57cc38
call eax
test eax, eax
jne 0x454acc
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x454acc
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
push esi
push 0x57cbbc
call eax
cmp eax, 0xffffffff
je 0x454b30
cmp dword [esi], 0
je 0x454b30
lea ecx, [edi + 4]
call fcn.004549d0
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x14], eax
mov dword [ebp - 4], 2
call ebx
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
je 0x454b0d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.error_QueryAgentInterface_for_guid_alarm_interface
push str.InformationAgent
push 0x67eba0
call fcn.004ebec7
add esp, 0xc
mov dword [ebp - 4], 1
call ebx
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0
je 0x454b73
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push eax
push ecx
push str._s_running_time
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4550e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4551ed
push 0x104
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x108]
push str.ALKATIP
push ecx
call fcn.005383e0
add esp, 8
test eax, eax
je 0x4551ed
lea edx, [ebp - 0x210]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x210]
push eax
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, edi
je 0x4551ed
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
lea edx, [ebp - 0x20c]
push str.ALKATIP
push edx
call fcn.005383e0
add esp, 8
test eax, eax
je 0x4551ed
cmp dword [0x6738a4], edi
jne 0x4551f3
cmp dword [0x67bfe8], edi
je 0x4551b3
push edi
call fcn.005377d5
sub eax, dword [0x67bfe8]
add esp, 4
cmp eax, 0x708
jle 0x4551d2
push edi
call fcn.005377d5
add esp, 4
push str.ALKATIP
push 0x927c2
mov ecx, ebx
mov dword [0x67bfe8], eax
call fcn.00454df0
pop edi
mov eax, 1
pop esi
mov dword [0x6738a4], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
mov dword [0x6738a4], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x45d530
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
call fcn.005377d5
add esp, 4
mov dword [0x67c0a4], eax
call fcn.0045ba90
mov ecx, eax
call fcn.0045b430
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00534b40
mov ecx, dword [0x67d5a8]
mov ecx, dword [ecx + 0xd4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esp, 0xc
mov dword [ebp - 0x408], 0
call eax
test eax, eax
je 0x45d5ad
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [ebp - 0x408]
push ecx
push 0x57cf7c
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x408]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
sete al
movzx ecx, al
push ecx
call fcn.00433cf0
lea edx, [ebp - 0x404]
push 0x3ff
push edx
call fcn.00433ce0
add esp, 0xc
test eax, eax
jne 0x45d60d
mov eax, dword [0x67d5a8]
push str.Initialize_log_file:_GetCurrentNetLogPath_failed
add eax, 0x4c
push str.NetworkAgent
push eax
call fcn.004ebec7
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x404]
push ecx
call fcn.004ee71c
add esp, 4
test eax, eax
jne 0x45d669
lea edx, [ebp - 0x404]
push edx
call fcn.004ee6c0
add esp, 4
test al, al
jne 0x45d669
mov ecx, dword [0x67d5a8]
lea eax, [ebp - 0x404]
push eax
push str.Initialize_log_file_path:_CreateDirectory__s__failed
add ecx, 0x4c
push str.NetworkAgent
push ecx
call fcn.004ebec7
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, esi
call fcn.0045bcf0
cmp eax, 0xffffffff
jne 0x45d6c2
mov ecx, dword [0x67d5a8]
push str.InitSaveAttachFileU_failed
add ecx, 0x4c
push str.NetworkAgent
push ecx
call fcn.004ebec7
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
push edi
push 0x45d510
lea edi, [esi + 0x54]
push esi
push edi
mov dword [esi + 0x50], 0
call fcn.004f045d
mov edi, dword [edi]
add esp, 0xc
cmp edi, 0xffffffff
je 0x45d6e7
test edi, edi
jne 0x45d703
mov edx, dword [0x67d5a8]
push str.Failed_to_create_netbar_cfg_thread
add edx, 0x4c
push str.NetBar
push edx
call fcn.004ebe5c
add esp, 0xc
mov ecx, esi
call fcn.0045bfa0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4