joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a20
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
mov ecx, dword [esi + 0x654]
add ecx, 0x24
call fcn.0043be00
mov edi, eax
xor ecx, ecx
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov ebp, dword [edi + 4]
mov edx, dword [edi]
xor eax, eax
or ecx, ebp
or edx, eax
mov dword [esi + 0x80], ecx
mov ecx, esi
mov dword [esi + 0x84], edx
call fcn.004422f0
mov ecx, dword [esi + 0x80]
mov eax, dword [esi + 0x78]
cmp ecx, eax
jne 0x442a7f
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x7c]
cmp edx, eax
je 0x442b41
cmp dword [edi + 4], 0xffffffff
je 0x442b41
mov al, byte [esi + 0x5c]
test al, al
jne 0x442b41
push 0
push 0x80
push 3
push 0
push 1
push OleUIAddVerbMenuA
push 0
lea ecx, [esi + 0x70]
call fcn.0057b449
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x442b48
lea eax, [esp + 0x10]
push 0
push eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [edi + 9]
mov byte [edi], 5
mov ecx, dword [esp + 0x18]
push 0x1ff7
push eax
push ebx
mov dword [edi + 1], ecx
mov dword [edi + 5], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x442b32
mov ecx, dword [esi + 0x654]
add eax, 9
push eax
push edi
push ecx
mov ecx, dword [esi + 0x658]
call fcn.004476c0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, esi
call fcn.00442150
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x442b50
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x44c
lea eax, [esp + 0x348]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x45c]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push 0x402620
mov ebp, ecx
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x358]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x442ba5
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x44c
ret 4
cmp byte [esp + 0x3c], 0x2e
je 0x442bf7
test byte [esp + 0x10], 0x10
lea eax, [esp + 0x3c]
push eax
push esi
push 0x402618
je 0x442bdc
lea ecx, [esp + 0x15c]
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x150]
mov ecx, ebp
push edx
call fcn.00442b50
jmp 0x442bf7
lea ecx, [esp + 0x260]
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442ba5
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
test eax, eax
pop ebp
pop ebx
setne al
add esp, 0x44c
ret 4
Function at 0x443bb0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418ba8
push 0x5607cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [fcn.004376f0]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x443d0d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x443c5c
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x443c5c
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x443c37
cmp al, 0x5c
je 0x443c37
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x443c1f
cmp byte [esi], 0
je 0x443c40
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x443c55
cmp al, 0x5c
je 0x443c55
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x443c3d
cmp byte [esi], 0
je 0x443c7b
jmp 0x443c77
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x443c7b
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x443c7b
cmp al, 0x5c
jne 0x443c7b
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x443cd1
cmp al, 0x5c
jne 0x443cc3
mov byte [esi], 0
push edi
call ebx
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x443cb6
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x443cc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x443cc0
push edi
jmp 0x443d04
and eax, 0x10
cmp al, 0x10
je 0x443cc0
push edi
jmp 0x443d04
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x443c81
mov dword [ebp - 4], 0xffffffff
push edi
call dword [0x4376f4]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [0x4376f4]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446460
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x597652
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
mov dword [esp + 4], 0
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x128]
lea eax, [esp + 0xc]
push 0x100
push eax
mov eax, dword [esp + 0x128]
push ecx
push edx
push eax
mov dword [esp + 0x128], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0057b087
mov dword [esp + 4], 1
lea ecx, [esp + 0x11c]
mov byte [esp + 0x110], 2
call fcn.0057b019
lea ecx, [esp + 0x120]
mov byte [esp + 0x110], 1
call fcn.0057b019
lea ecx, [esp + 0x124]
mov byte [esp + 0x110], 0
call fcn.0057b019
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret 0x10

Function at 0x446530
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x597668
push eax
mov dword fs:[0], esp
push esi
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0057b019
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0xffffffff
call fcn.0057b019
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0xc
Function at 0x446d30
Capabilities:
Access peb ldr_data
Get kernel32 base address
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x5976fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, 0x419498
mov eax, 0xa
mov dword [esp + 8], esi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esp + 0x1a8], ebx
mov dword [esi + 0x48], ecx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], eax
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a8], 1
call fcn.0043dfd0
lea eax, [esp + 0x10]
mov dword [esi], 0x419494
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x5bfa88
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov byte [esp + 8], 0x48
mov byte [esp + 9], 0x65
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x72
mov edx, dword [esp + 8]
lea ecx, [esi + 0x26]
mov dword [esi + 0x6c], eax
mov al, 0x74
mov dword [ecx], edx
mov dword [esi + 0x68], ebx
mov byte [esi + 0x78], bl
mov byte [esi + 0x25], bl
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1a0]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x74], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 0x2710
mov dword [esi + 0x88], 0x1d4c0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret
Function at 0x446f40
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push 1
push 0
mov esi, ecx
mov ecx, dword [esp + 0x24]
push 0
push 0
push 1
push 2
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], edx
call dword [sym.imp.WS2_32.dll_WSASocketA]
cmp eax, 0xffffffff
mov dword [esi + 0x68], eax
je 0x447053
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
test eax, eax
mov dword [esi + 0x64], eax
jne 0x446f99
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
pop esi
add esp, 0x10
ret 0x10
mov ecx, dword [esi + 0x68]
push 8
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x447049
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x68]
lea ecx, [esp + 4]
push 0x10
push ecx
push edx
mov word [esp + 0x12], ax
mov word [esp + 0x10], 2
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x446ff7
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
pop esi
add esp, 0x10
ret 0x10
mov ecx, dword [esi + 0x68]
push OleUIAddVerbMenuA
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x447049
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
push esi
push 0x447060
push 0
push 0
call dword [fcn.00437718]
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 0x70], eax
je 0x447053
mov ecx, esi
call fcn.00447350
mov byte [esi + 0x24], 1
mov al, 1
pop esi
add esp, 0x10
ret 0x10
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
pop esi
add esp, 0x10
ret 0x10
Function at 0x447350
Capabilities:
Create tcp socket
Create udp socket
Get system information on windows

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
push 0
push 1
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x447376
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
push 0
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
mov dword [esi + 0x74], eax
push edi
jne 0x44739b
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x94], 0xa
mov dword [esi + 0x98], 0x4b
lea eax, [ecx + ecx]
lea ecx, [esi + 0x7c]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
call fcn.0043e030
mov edx, dword [esp + 0x28]
xor edi, edi
mov dword [esi + 0x20], 0
lea ebx, [edx + edx]
test ebx, ebx
jbe 0x447422
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x447440
push 0
push 0
call dword [fcn.00437718]
add esp, 0x18
test eax, eax
je 0x44742c
mov ecx, dword [esi + 0x20]
push eax
inc ecx
mov dword [esi + 0x20], ecx
call ebp
inc edi
cmp edi, ebx
jb 0x4473f5
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x28
ret
mov ecx, dword [esi + 0x74]
push ecx
call ebp
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x28
ret

Function at 0x447640
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x18
call fcn.00576f33
mov edx, eax
add esp, 4
test edx, edx
je 0x44766d
push edi
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 1
pop edi
jmp 0x44766f
xor edx, edx
mov esi, dword [esp + 0x14]
push 0
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi]
push ecx
lea edx, [esi + 0x50]
push 1
push edx
push eax
mov dword [esp + 0x24], 0x8000
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x4476b3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4476b3
push 0
push esi
mov ecx, ebx
call fcn.00447e40
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x447c10
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [0x5bfab8]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
test al, 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
jne 0x447c5c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
or al, 1
mov byte [0x5bfab8], al
call esi
mov dword [0x5bfab0], eax
jmp 0x447c62
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x5bfac4]
add eax, edi
mov dword [0x5bfac4], eax
call esi
sub eax, dword [0x5bfab0]
cmp eax, 0x3e8
jb 0x447ca1
call esi
mov dword [0x5bfab0], eax
mov eax, dword [0x5bfac4]
add ebx, 0x14
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [0x5bfac4], 0
mov esi, dword [ebp + 8]
push edi
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0043be10
mov ecx, ebx
call fcn.0043bc40
test eax, eax
jne 0x447ce3
mov ecx, ebx
call fcn.0043bde0
mov ecx, dword [esi + 0x2060]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x18
call fcn.00576f33
mov edx, eax
add esp, 4
test edx, edx
je 0x447d09
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx + 0x14], 2
mov edi, edx
jmp 0x447d0b
xor edi, edi
mov eax, dword [ebp - 0x14]
push 3
push esi
mov edx, dword [eax + 8]
push edx
call dword [eax + 4]
push 0
mov ecx, ebx
call fcn.0043be00
mov ecx, ebx
mov dword [esi + 0x205c], eax
call fcn.0043bc40
lea ecx, [esi + 0x2058]
push 0
push edi
push 0x8000
mov dword [ecx], eax
mov eax, dword [esi]
push ecx
push 1
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x447d68
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x447d68
mov ecx, dword [ebp - 0x14]
push 0
push esi
call fcn.00447e40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x447e40
Capabilities:
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x597840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
push 0x402a3c
lea ecx, [esp + 0xc]
call fcn.0057b087
mov eax, dword [0x4051a4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0057b152
push 0x5bfa88
mov dword [esp + 0x14], 0x5bfa88
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 8]
mov byte [esp + 0x20], 3
call fcn.0057b019
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test eax, eax
jne 0x447ee3
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 4
push edx
push 0x80
push 0xffff
push eax
mov word [esp + 0x20], 1
mov word [esp + 0x22], 0
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x30]
test eax, eax
je 0x447f25
cmp dword [eax + 8], esi
je 0x447ef7
mov eax, dword [eax]
test eax, eax
jne 0x447eea
jmp 0x447f25
test eax, eax
je 0x447f25
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov eax, dword [edi + 8]
push 2
push esi
push eax
call dword [edi + 4]
push esi
mov ecx, edi
call fcn.00448080
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0057b019
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x448080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5978a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
push 0x402a50
lea ecx, [esp + 0x10]
call fcn.0057b087
mov eax, dword [0x4051a4]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
push ecx
lea ecx, [esp + 0x18]
call fcn.0057b152
push 0x5bfa88
mov dword [esp + 0x14], 0x5bfa88
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.0057b019
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x4481ee
mov edi, dword [esp + 0x28]
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x448111
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4480fb
jmp 0x4481ee
test ebx, ebx
je 0x4481ee
push ebp
lea ecx, [edi + 0x14]
call fcn.0043bde0
lea ecx, [edi + 4]
call fcn.0043bde0
lea ecx, [edi + 0x24]
call fcn.0043bde0
lea ecx, [edi + 0x34]
call fcn.0043bde0
mov eax, dword [esi + 0x58]
mov ebp, dword [esi + 0x50]
test eax, eax
jne 0x448171
mov edx, dword [esi + 0x60]
push 0xc
lea eax, [esi + 0x5c]
push edx
push eax
call fcn.00576370
mov ecx, dword [esi + 0x60]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x448171
inc ecx
mov edx, dword [esi + 0x58]
mov dword [eax], edx
mov dword [esi + 0x58], eax
sub eax, 0xc
dec ecx
jne 0x448163
mov edi, dword [esi + 0x58]
push 1
mov eax, dword [edi]
mov dword [esi + 0x58], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x54]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x54], ecx
call fcn.0048ae80
mov ecx, dword [esp + 0x2c]
mov dword [ebp], ecx
mov eax, dword [esi + 0x50]
test eax, eax
pop ebp
je 0x4481a7
mov dword [eax], edi
jmp 0x4481aa
mov dword [esi + 0x4c], edi
lea ecx, [esi + 0x2c]
mov dword [esi + 0x50], edi
cmp ebx, dword [ecx + 4]
jne 0x4481bc
mov edx, dword [ebx]
mov dword [ecx + 4], edx
jmp 0x4481c3
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [eax], edx
cmp ebx, dword [ecx + 8]
jne 0x4481d0
mov eax, dword [ebx + 4]
mov dword [ecx + 8], eax
jmp 0x4481d8
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x10]
mov dword [ebx], edx
mov eax, dword [ecx + 0xc]
dec eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0xc], eax
jne 0x4481ee
call fcn.00549b20
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0057b019
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x453560
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4535c5
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4535bd
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x4535d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x453673
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x453605
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.00576f33
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x19
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov edx, dword [eax + 0x154]
mov ecx, dword [eax + 0x158]
push edx
call fcn.004476c0
push ebp
call fcn.00576f5c
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x468300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59b0a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0057a87a
mov eax, dword [0x4051a4]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], eax
mov ecx, dword [0x4051a4]
mov dword [esi + 0x54], ecx
mov dword [esi + 0x68], 0x4212a8
mov dword [esi + 0x6c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x421250
call fcn.00594b7d
lea edx, [esi + 0x40]
or eax, 0xffffffff
push edx
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x64], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x46b2e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
push eax
lea ebx, [edi + 0x3c]
push ecx
mov ecx, ebx
call fcn.00469b40
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
mov ecx, esi
call fcn.00468500
mov ebp, dword [esp + 0x1c]
mov ecx, esi
push ebp
call fcn.004cd500
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
cmp ecx, eax
je 0x46b32a
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 4]
test ebp, ebp
je 0x46b337
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x46b34f
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x46b34f
push 0
mov ecx, ebx
call fcn.00469dd0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x474420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bd49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00577075
mov eax, dword [0x4051a4]
lea edi, [esi + 0x3c]
mov dword [esp + 0x14], 0
mov dword [edi], eax
mov edx, dword [0x4051a4]
lea ecx, [esi + 0x40]
mov dword [ecx], edx
mov eax, dword [0x4051a4]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x18], 3
mov dword [esi], 0x422460
mov dword [esi + 0x48], edx
call fcn.0057b1a2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4c], edx
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.0057afa4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x58], 1
mov dword [esi + 0x64], 0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c