joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x47c554]
xor eax, esp
mov dword [esp + 0x238], eax
cmp dword [0xd9a744], 0
mov ax, cx
push ebx
push esi
push edi
mov word [esp + 0xe], ax
mov dword [esp + 0x10], str.getaddrinfo
mov dword [esp + 0x14], 0x403cb0
mov dword [esp + 0x18], str.getnameinfo
mov dword [esp + 0x1c], 0x404070
mov dword [esp + 0x20], str.freeaddrinfo
mov dword [esp + 0x24], 0x403c60
je 0x404316
movzx eax, ax
jmp 0x40442b
push 0x104
lea eax, [esp + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40441c
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0043f2f3
add esp, 0xc
lea eax, [esp + 0x28]
push str.ws2_32
push 0x10c
push eax
call fcn.0043f34d
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x40438e
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x4043e1
push edi
call esi
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0043f2f3
add esp, 0xc
lea eax, [esp + 0x28]
push str.wship6
push 0x10c
push eax
call fcn.0043f34d
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40441c
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x4043e1
push edi
call esi
jmp 0x40441c
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x404415
inc esi
cmp esi, 3
jl 0x4043e3
mov eax, dword [esp + 0x14]
mov dword [0x47ce34], eax
mov eax, dword [esp + 0x1c]
mov dword [0x47ce3c], eax
mov eax, dword [esp + 0x24]
mov dword [0x47ce44], eax
jmp 0x40441c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [esp + 0xe]
mov dword [0xd9a744], 1
mov ecx, dword [esp + 0x244]
mov eax, dword [eax*8 + 0x47ce34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x404670
Capabilities:
Check for time delay via queryperformancecounter
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46ba68
push 0x43da90
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x47c554]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x54], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [0xd9a768]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [esi], 0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, edi
cmp edi, 0xffffffff
mov ecx, 0xffffffff
cmove eax, ecx
push eax
push 0
push dword [ebx + 0x14]
movsx eax, word [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
jne 0x40470c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x404798
test eax, eax
jne 0x40478f
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx + 0x14]
push dword [eax]
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
jne 0x404732
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x404798
mov eax, dword [ebp - 0x4c]
test al, 1
je 0x40476d
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebx + 0x18]
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
jne 0x40475a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x404798
add dword [esi], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x404834
test al, 0x20
jne 0x40477b
mov eax, 0x2733
mov dword [ebp - 0x50], eax
jmp 0x4047a2
mov eax, 0x2745
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x404834
cmp eax, 0x102
je 0x404801
neg eax
mov dword [ebp - 0x50], eax
cmp eax, 0x2733
jne 0x404809
cmp edi, 0xffffffff
je 0x4047ed
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
sbb eax, dword [ebp - 0x68]
push 0
push 0x3e8
push eax
push ecx
call fcn.0043b8c0
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push edx
push eax
call fcn.0043b810
add edi, eax
mov dword [ebp - 0x78], edi
test edi, edi
jle 0x404801
mov dword [ebp - 0x50], 0x2733
jmp 0x4046d1
cmp eax, 0x2733
je 0x4046d1
mov dword [ebp - 4], 0xfffffffe
jmp 0x404834
mov eax, 0x274c
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x404834
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x404850
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46ba88
push 0x43da90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x47c554]
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 ebx, edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x20], esi
push 0
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push dword [ecx + 0x18]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4048ce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x4048dc
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
cmp edi, edi
jne 0x4048dc
mov ecx, dword [ebp - 0x1c]
jmp 0x404894
add esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
mov ecx, dword [ebp - 0x1c]
jne 0x404894
xor edi, edi
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
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 0x405640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x188
call fcn.0044bf44
push 0x188
mov edi, eax
push 0
push edi
call fcn.0043d400
mov esi, dword [ebp + 8]
add esp, 0x10
cmp dword [esi + 0x138], 1
jge 0x405679
mov dword [esi + 0x138], 1
push esi
lea eax, [edi + 0x1c]
push 0x1f
push eax
call fcn.0043f2f3
lea eax, [esi + 0x1f]
push eax
lea ebx, [edi + 0x3b]
push 0xf
push ebx
call fcn.0043f2f3
lea eax, [esi + 0x2f]
push eax
lea ecx, [edi + 0x4b]
push 0x105
push ecx
call fcn.0043f2f3
mov eax, dword [esi + 0x134]
add esp, 0x24
mov dword [edi + 0x150], eax
mov eax, dword [esi + 0x138]
mov dword [edi + 0x154], eax
mov eax, dword [esi + 0x13c]
push 0
push 0
mov dword [edi + 0x158], eax
mov eax, dword [esi + 0x140]
push 1
mov dword [edi + 0x15c], eax
mov eax, dword [esi + 0x144]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
mov dword [edi + 0x160], eax
call esi
push 0
push 0
push 1
push 0
mov dword [edi + 0x170], eax
call esi
push edi
mov dword [edi + 0x174], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xd9a74c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xd9a764]
push 0xd9a74c
mov dword [edi + 0x184], eax
mov dword [0xd9a764], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebx], 0
jne 0x405762
lea ecx, [edi + 0x4b]
call fcn.00404cb0
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x40575f
push eax
push 0x10
push ebx
call fcn.0043f2f3
add esp, 0xc
jmp 0x405762
mov byte [ebx], 0
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x404d80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x180], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4061c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.0043f2f3
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.0044c04b
add esp, 0x14
test eax, eax
je 0x40620e
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.0044c04b
add esp, 8
mov byte [eax], 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x40623f
cmp eax, 0x50
je 0x40623f
cmp eax, 0xb7
je 0x40623f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret

Function at 0x406250
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x47c554]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0xe]
push eax
movzx eax, word [esp + 0x10]
push eax
movzx eax, word [esp + 0x12]
push eax
movzx eax, word [esp + 0x14]
push eax
push str._02u:_02u:_02u__03u:
lea eax, [esp + 0x24]
push 0x201
push eax
call fcn.004038d0
lea eax, [esp + 0x2c]
add esp, 0x1c
lea edx, [eax + 1]
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062b0
lea ecx, [ebp + 0xc]
sub eax, edx
push ecx
push 0
push dword [ebp + 8]
mov ecx, 0x201
sub ecx, eax
push ecx
lea ecx, [esp + 0x20]
add eax, ecx
push eax
call fcn.004038c0
push dword [eax + 4]
push dword [eax]
call fcn.00442f4b
add esp, 0x1c
lea eax, [esp + 0x10]
push 0x46ab94
push 0x201
push eax
call fcn.0043f34d
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x406b80
Capabilities:
Create tcp socket
Create thread
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x188
call fcn.0044bf44
push 0x188
mov edi, eax
push 0
push edi
call fcn.0043d400
mov esi, dword [ebp + 8]
add esp, 0x10
cmp dword [esi + 0x24], 1
jge 0x406bb3
mov dword [esi + 0x24], 1
push esi
lea eax, [edi + 0x1c]
mov dword [edi + 0x18], 1
push 0x1f
push eax
call fcn.0043f2f3
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 0x20]
mov dword [edi + 0x154], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x158], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x15c], eax
mov eax, dword [esi + 0x30]
push 0x1c
mov byte [edi + 0x3b], 0
mov byte [edi + 0x4b], 0
mov dword [edi + 0x150], ebx
mov dword [edi + 0x160], eax
call fcn.0044bf44
push 4
mov esi, eax
call fcn.0044bf44
add esp, 0x14
mov dword [esi + 0x14], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x406cd3
mov eax, 2
mov dword [esi + 4], 0
push ebx
mov word [esi], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
push esi
push dword [esi + 0x18]
mov word [esi + 2], ax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x406c91
push closesocket
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_listen]
mov ebx, eax
test ebx, ebx
jne 0x406c91
mov eax, 1
mov word [esi + 0x10], ax
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov ecx, dword [esi + 0x14]
mov dword [ecx], eax
test eax, eax
je 0x406c91
mov eax, dword [esi + 0x14]
push 8
push dword [eax]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
jmp 0x406cdf
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test ebx, ebx
je 0x406cdf
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esi + 0x14]
call fcn.0044af5d
push esi
call fcn.0044af5d
add esp, 8
mov dword [edi + 0x16c], 0
push edi
call fcn.0044af5d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test ebx, ebx
jne 0x406ca6
mov dword [edi + 0x16c], esi
test ebx, ebx
jne 0x406cc1
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
mov dword [edi + 0x170], eax
mov dword [edi + 0x174], ebx
call esi
mov ecx, dword [edi + 0x16c]
mov dword [edi + 0x164], ebx
call fcn.00404c10
push 0xd9a74c
mov dword [edi + 0x168], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xd9a764]
push 0xd9a74c
mov dword [edi + 0x184], eax
mov dword [0xd9a764], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call esi
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 0x406a30
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x180], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x244
mov ebx, ecx
mov edi, edx
push 0
push ebx
call fcn.0043d400
push dword [0xd9a774]
call fcn.0044bf44
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
mov dword [ebx + 0x10], eax
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [ebx + 0x1c], eax
call esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x20], eax
call esi
mov dword [ebx + 0x24], eax
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x406ec0
push 0
push 0
mov dword [ebx + 0x238], 0xffffffff
mov dword [ebx + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov dword [ebx + 0x14], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c240
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x40c2dc
push ebx
push esi
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 2
push 0x111
push edi
call esi
push 0
push 1
push 0x111
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_GetMessageA]
nop word [eax + eax]
push 0
push 0
push 0
push edi
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x40c2cf
push 0
push 0
push edi
lea eax, [ebp - 0x1c]
push eax
call ebx
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageA]
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
jmp 0x40c2a0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x40c2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
xor esi, esi
cmp byte [ebp + 8], 1
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x40c410
nop
push 1
push dword [esi + 0x46f3f8]
push dword [0x47cea4]
call ebx
push eax
call edi
add esi, 4
cmp esi, 0x24
jb 0x40c320
push 4
push dword [0x47cea0]
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_SetMenu]
mov edi, 1
mov dword [ebp - 0x110], 4
mov ebx, section..data
mov esi, 0x4af520
nop
cmp byte [esi + 0x105], 0
lea eax, [esi + 0x105]
je 0x40c3ae
cmp byte [esi], 0
je 0x40c3ae
push eax
push esi
push edi
push str._u__s_s
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
add esp, 0x18
push ecx
push eax
push 0
jmp 0x40c3d4
push edi
push str._u_None
lea eax, [ebp - 0x10c]
push 0x105
push eax
call fcn.004038d0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
add esp, 0x10
push ecx
push eax
push 3
push eax
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_ModifyMenuA]
add esi, 0x20a
inc edi
add ebx, 4
sub dword [ebp - 0x110], 1
jne 0x40c370
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
push 0
push dword [esi + 0x46f3f8]
push dword [0x47cea4]
call ebx
push eax
call edi
add esi, 4
cmp esi, 0x24
jb 0x40c410
push 0x92
push dword [0x47cea0]
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push dword [0x47cea4]
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x40c460
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x254
push 0
push dword [esi + 0x48dfc8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x47cea4]
push str.ISIPLC___PC_Based_Controler___Version_1.10.4
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x160]
push 0x40
push eax
mov dword [ebp - 0x304], 0x1f8
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0x10
mov dword [ebp - 0x164], 5
call fcn.0043f2f3
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x104
push eax
push dword [esi + 0x48dfc8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x10c]
push eax
push str.The_windows__s_has_been_reduced_to_this_icon_nClic_here_to_open_it
lea eax, [ebp - 0x264]
push 0x100
push eax
call fcn.004038d0
add esp, 0x10
mov dword [ebp - 0x120], 1
lea eax, [ebp - 0x304]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp byte [0x4b0779], 1
pop esi
jne 0x40c55e
mov eax, dword [0x4af298]
test eax, eax
jne 0x40c555
push eax
push 0x435930
push eax
push 0x91
push dword [0x47cea0]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov eax, dword [0x4af298]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x40e8c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push 0x4daa20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
imul eax, dword [0x4d1e10], 0x118
push ebx
push 0x101
add eax, 0x4d1e2c
push eax
call fcn.0043f2f3
imul eax, dword [0x4d1e10], 0x118
add esp, 0xc
add eax, 0x4d1e1c
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
imul eax, dword [0x4d1e10], 0x118
mov byte [eax + 0x4d1f2d], 0
imul ecx, dword [0x4d1e10], 0x118
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x4d1f30], eax
mov edx, dword [0x4d1e10]
mov eax, dword [0x4d1e14]
cmp edx, eax
jne 0x40e964
cmp byte [0x4d1e18], 0
jne 0x40e964
inc eax
and eax, 0x8000007f
jns 0x40e95f
dec eax
or eax, 0xffffff80
inc eax
mov dword [0x4d1e14], eax
mov ecx, dword [0x4daa1c]
test ecx, ecx
je 0x40e9d9
push esi
push edi
imul edi, dword [ecx], 0x118
add ecx, 0xc
imul esi, edx, 0x118
add edi, ecx
mov ecx, 0x46
add esi, 0x4d1e1c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4daa1c]
pop edi
pop esi
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40e9b9
cmp byte [ecx + 8], 0
jne 0x40e9b9
inc eax
and eax, 0x8000007f
jns 0x40e9b0
dec eax
or eax, 0xffffff80
inc eax
mov dword [ecx + 4], eax
mov ecx, dword [0x4daa1c]
mov eax, dword [ecx]
inc eax
and eax, 0x8000007f
jns 0x40e9c8
dec eax
or eax, 0xffffff80
inc eax
mov dword [ecx], eax
mov eax, dword [0x4daa1c]
mov byte [eax + 8], 0
mov edx, dword [0x4d1e10]
imul ecx, edx, 0x118
push ebx
movzx eax, word [ecx + 0x4d1e2a]
push eax
movzx eax, word [ecx + 0x4d1e28]
push eax
movzx eax, word [ecx + 0x4d1e26]
push eax
movzx eax, word [ecx + 0x4d1e24]
push eax
movzx eax, word [ecx + 0x4d1e1c]
push eax
movzx eax, word [ecx + 0x4d1e1e]
push eax
movzx eax, word [ecx + 0x4d1e22]
push eax
lea eax, [ebp - 0x204]
push str._02u__02u__04u__02u:_02u:_02u__03u_:_s_n
push eax
call fcn.0040ea80
add esp, 0x28
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x4d1e10]
inc eax
and eax, 0x8000007f
jns 0x40ea4b
dec eax
or eax, 0xffffff80
inc eax
push 0x4daa20
mov dword [0x4d1e10], eax
mov byte [0x4d1e18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x412860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x524
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412890
sub ecx, edx
mov eax, 0x105
sub eax, ecx
push str.AWPLCI5.dll
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0043f34d
push 0x45b9d4
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.0043f4a5
add esp, 0x18
test eax, eax
jne 0x4129c1
push esi
mov esi, 0x3000
nop dword [eax + eax]
call fcn.0043f3b0
push dword [ebp - 0x524]
mov byte [ebp - 0x510], al
lea eax, [ebp - 0x510]
push 1
push 1
push eax
call fcn.0044ad23
add esp, 0x10
sub esi, 1
jne 0x4128e0
pop esi
push 0
push 0x1a85
push dword [ebp - 0x524]
call fcn.0043fd25
add esp, 0xc
test eax, eax
jne 0x4129b3
movsd xmm0, qword [0x4b07b0]
lea eax, [ebp - 0x520]
push eax
sub esp, 8
movsd qword [esp], xmm0
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
movzx eax, word [ebp - 0x51e]
push eax
movzx eax, word [ebp - 0x518]
push eax
movzx eax, word [ebp - 0x51a]
push eax
movzx eax, word [ebp - 0x514]
push eax
movzx eax, word [ebp - 0x520]
push eax
movzx eax, word [ebp - 0x516]
push eax
xor eax, eax
cmp byte [0x4b07b8], 1
sete al
add eax, 0x41
push eax
push str._c_04x_04x_04x_04x_04x_04x
lea eax, [ebp - 0x510]
push 0x401
push eax
call fcn.004038d0
push dword [ebp - 0x524]
lea eax, [ebp - 0x510]
push 1
push 0x1b
push eax
call fcn.0044ad23
add esp, 0x38
push dword [ebp - 0x524]
call fcn.0043f6f8
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
Function at 0x4132d0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x534
mov eax, dword [0x47c554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413302
sub ecx, edx
mov eax, 0x105
sub eax, ecx
push str.AWPLCI5.dll
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0043f34d
push 0x45b9d8
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.0043f4a5
add esp, 0x18
test eax, eax
jne 0x413423
push eax
push 0x1a85
push dword [ebp - 0x534]
call fcn.0043fd25
add esp, 0xc
test eax, eax
jne 0x413415
push dword [ebp - 0x534]
lea eax, [ebp - 0x510]
push 1
push 0x1a
push eax
call fcn.0043f901
add esp, 0x10
cmp eax, 1
jne 0x413415
lea eax, [ebp - 0x51e]
mov byte [ebp - 0x4f6], 0
push eax
lea eax, [ebp - 0x518]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x51a]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x516]
push eax
lea eax, [ebp - 0x50f]
push str._04hx_04hx_04hx_04hx_04hx_04hx
push eax
movups xmmword [ebp - 0x520], xmm0
call fcn.0040c170
add esp, 0x20
cmp eax, 6
jne 0x413415
push esi
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x413415
cmp byte [ebp - 0x510], 0x42
push dword [ebp - 0x534]
sete al
mov byte [esi + 8], al
call fcn.0043f6f8
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043b572
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x534]
call fcn.0043f6f8
add esp, 4
xorps xmm0, xmm0
mov eax, 0x1f
movups xmmword [ebp - 0x530], xmm0
mov word [ebp - 0x52a], ax
lea eax, [ebp - 0x530]
push esi
push eax
mov dword [ebp - 0x530], 0xc0833
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [ebp - 4]
mov byte [esi + 8], 0
xor ecx, ebp
pop esi
call fcn.0043b572
mov esp, ebp
pop ebp
ret