joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447b56
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x447b98
call fcn.0045f148
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x447b98
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x447b8f
xor eax, eax
jmp 0x447ba0
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00447ba6
pop edi
pop esi
pop ebx
ret 4

Function at 0x449bde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x449c00
cmp dword [edi + 0x3c], 0
jne 0x449c00
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0045f148
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00449c2d
pop edi
pop esi
pop ebx
ret 8

Function at 0x449c7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0045f148
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x449cac
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00449cbf
pop edi
pop esi
pop ebx
ret 8

Function at 0x45daf0
Capabilities:
Create http request

Disassembly:
mov eax, 0x46a808
call fcn.00434078
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x45db28
call fcn.0045f148
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x45db4d
push eax
push dword [esi + 4]
call fcn.0045e7ce
jmp 0x45db59
push esi
push eax
mov ecx, 0xf87b48
call fcn.0045db6a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x45de37
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x46a867
call fcn.00434078
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0044c490
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0xf81a40]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.00449179
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00449179
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x46070b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0045f148
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x460748
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x460748
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
jne 0x46074c
xor eax, eax
jmp 0x4607ca
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00444ff4
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x460784
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x46076e
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004608bb
push ebx
mov edi, eax
call fcn.0044501d
test edi, edi
pop ecx
je 0x4607c6
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00460684
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004607cf
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x401e00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00403570
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
lea esi, [ebx + 0xd]
mov ecx, ebx
shr ecx, 9
lea eax, [ecx - 1]
movsx ecx, cl
movsx eax, al
xor eax, ecx
xor eax, 1
cdq
idiv esi
movsx eax, bl
movsx ecx, dl
imul ecx, eax
mov byte [ebp + ebx - 0x3a988], cl
inc ebx
cmp ebx, 0x3a980
jb 0x401e88
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040287f
mov esp, ebp
pop ebp
ret
Function at 0x4030af
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4030ee
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4030ee
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4030ee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4030ee
cmp dword [ecx + 0x74], 0xe
jbe 0x4030ee
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001ca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push 0
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.KERNEL32.dll_VirtualAllocExNuma
push dword [ebp + 0xc]
mov ecx, dword [0x1002607c]
mov edi, eax
push dword [ebp + 8]
xor eax, eax
test edi, edi
push edi
cmovne ecx, eax
mov dword [0x1002607c], ecx
call fcn.100087c0
add esp, 0xc
mov eax, edi
pop edi
pop ebp
ret
Function at 0x10002230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x10002264
sub eax, 1
jne 0x1000226a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0x10001210
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100034a0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000af38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100113d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp + 0xc]
mov bh, 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [edi + 1]
push eax
call fcn.10009821
mov esi, eax
add esp, 4
test esi, esi
je 0x100034fc
lea eax, [edi + 1]
push eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100034fe
xor esi, esi
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push edi
push esi
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne bl
test eax, eax
je 0x10003572
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10003572
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x100035a1
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [eax + 8]
call eax
mov bh, al
test bh, bh
je 0x10003572
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
setne bl
test eax, eax
jne 0x10003527
and bl, bh
test esi, esi
je 0x10003581
push esi
call fcn.1000981c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100097aa
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
Function at 0x10005420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebx + 0x10]
mov dword [ebp - 4], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
mov ebx, 1
mov dword [ebp + 0xc], eax
push dword [ebp + 0x14]
xor eax, eax
mov ecx, esi
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.10009fc0
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x10005443
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], 0x138
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10005ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0
test eax, eax
je 0x10005bdf
cmp word [eax], 0
je 0x10005bdf
push 0
lea ecx, [ebp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10005c0c
mov ecx, dword [ebp + 8]
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
mov edi, eax
test ecx, ecx
je 0x10005c09
cmp ecx, esi
je 0x10005c09
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x10005c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x100113d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10005d04
push str.Error_opening_Steam_key_n
jmp 0x10005dc4
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10005dbf
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x10005dbf
shr ecx, 1
mov eax, esi
je 0x10005d78
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x10005d73
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x10005d60
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.10005b10
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.10005870
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100097aa
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.10005e00
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.100097aa
mov esp, ebp
pop ebp
ret
Function at 0x10005e70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100113d4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x1000c588]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x1000c58c]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x1000c570]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x1000c580]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10005f40
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x10005f09
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x10005f56
inc ax
mov word [ebp - 0xa], ax
jmp 0x10005f1f
cmp eax, 0xe7
jne 0x10005f56
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x10005f56
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x10005ef0
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100097aa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100097aa
mov esp, ebp
pop ebp
ret
Function at 0x89caa3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
or ah, 0xc3
rol ax, 6
push esi
sar ah, cl
stc
bsr eax, edi
push edi
pushal
add eax, ebp
mov dword [esp + 0x1c], ebx
movzx ax, dl
sar al, 3
mov dword [esp + 0x18], edx
clc
rcr eax, cl
cwde
sal ax, cl
mov eax, dword [ebp + 8]
clc
stc
test eax, eax
mov byte [esp], 0xc0
jmp 0x89d02c
pushal
lea esp, [esp + 0x38]
je 0x89cf5e
setns dh
mov esi, dword [eax + 0x3c]
cmc
movsx dx, bl
add esi, eax
setb dl
mov edx, dword [esi + 0x78]
stc
pushal
test ch, 0x64
cmp ch, 0xfa
test edx, edx
mov byte [esp + 0x10], 0xec
pushfd
pushfd
push dword [esp]
lea esp, [esp + 0x2c]
je 0x89cf5e
sal ch, cl
add edx, eax
btr cx, bx
cmc
mov ecx, dword [esi + 0x7c]
push 0x7a7b8da2
clc
add ecx, edx
pushfd
clc
mov dword [ebp - 0x10], ecx
mov byte [esp], 0xbb
setg cl
and ecx, 0xdc5c725c
mov ecx, dword [ebp + 0xc]
pushfd
stc
cmp ecx, 0xffff
jmp 0x89d362

Function at 0xb07b82
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub ecx, 0xbc81dce0
mov byte [esp], 0xe
pushfd
add ecx, 0
pushfd
jmp 0xb07dc0
Function at 0x418cfa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x14]
test eax, eax
je 0x418d2b
cmp dword [eax + 4], 0
je 0x418d2b
inc dword [0x4781dc]
mov eax, dword [esi + 0x14]
add eax, 0xfff
shr eax, 0xc
add dword [0x4781d8], eax
push edi
call fcn.0041739e
mov dword [ebp + 0xc], eax
mov al, byte [eax + 0x30]
mov byte [ebp + 8], al
push 0
push dword [ebp + 8]
call dword [0x474408]
mov edx, eax
test edx, edx
jne 0x418d55
mov eax, 0xc000009a
jmp 0x418ddf
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x418d5e
mov dword [eax], edx
mov ecx, dword [edx + 0x60]
push ebx
sub ecx, 0x24
mov dword [edx + 4], esi
mov dword [edx + 8], 3
mov eax, dword fs:[0x124]
mov ebx, dword [ebp + 0x1c]
mov dword [edx + 0x50], eax
mov dword [edx + 0x64], edi
mov eax, dword [esi + 0x18]
add eax, dword [esi + 0x10]
mov byte [edx + 0x20], 0
mov dword [edx + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x34], eax
mov dword [edx + 0x28], ebx
mov byte [ecx], 4
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ecx + 0xc], esi
mov eax, dword [eax + 4]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x18], edi
mov ecx, dword [ebp + 0xc]
call dword [0x474400]
mov ecx, 0xc0000000
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x418dde
and dword [ebx + 4], 0
push 0
push ebx
push dword [ebp + 0x18]
mov dword [ebx], eax
call dword [ebp + 0x14]
mov eax, 0x103
pop ebx
pop edi
pop esi
pop ebp
ret 0x1c
Function at 0x448c24
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, eax
and edi, 0xfff
neg edi
sbb edi, edi
shr eax, 0xc
neg edi
add edi, eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax*4 + 0x472628]
dec esi
mov dword [ebp - 4], ebx
not esi
mov dword [ebp - 8], eax
call dword [fcn.00400714]
push ebx
push edi
push dword [0x47bc14]
mov byte [ebp + 0xf], al
jmp 0x448bfe
cmp dword [ebp + 0x14], 0
je 0x448c27
cmp dword [ebp - 8], 1
je 0x448bd5
lea eax, [ebx + edi]
cmp ebx, eax
mov dword [ebp + 8], ebx
jae 0x448bd5
push dword [ebp + 8]
call fcn.00447792
test eax, eax
jne 0x448c1c
inc dword [ebp + 8]
lea eax, [ebx + edi]
cmp dword [ebp + 8], eax
jb 0x448bbe
lea eax, [ebx + edi - 1]
xor eax, ebx
test esi, eax
je 0x448c27
and ebx, esi
add ebx, dword [ebp + 0x14]
mov dword [ebp - 4], ebx
mov eax, dword [0x47bc14]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
jae 0x448c0a
lea edx, [edi + ecx]
cmp edx, dword [ebp + 0x10]
ja 0x448c0a
push ecx
push edi
push eax
call fcn.00450846
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x448ba8
mov cl, byte [ebp + 0xf]
call dword [fcn.0040071c]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x1c
inc dword [0x480364]
inc dword [ebp - 4]
jmp 0x448be7
lea eax, [ebx + edi]
cmp eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
ja 0x448c0a
push edi
push ebx
push dword [0x47bc14]
call fcn.00450af8
mov eax, dword [0x47bf60]
mov ecx, dword [ebp - 8]
mov esi, ebx
imul esi, esi, 0x1c
add esi, dword [0x480b48]
shr eax, 9
and eax, 0x7ffff8
and ecx, 3
sub eax, 0x40000000
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x10], ebx
shl ecx, 0xc
mov edx, dword [esi + 0xc]
and edx, 0xffffcf8f
or edx, ecx
and edx, 0xfffffffb
mov dword [esi + 0xc], edx
mov dword [esi + 4], eax
add esi, 0x1c
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x448c6b
mov eax, dword [ebp + 0x14]
or dword [esi - 0x10], 4
mov cl, byte [ebp + 0xf]
mov ebx, dword [fcn.0040071c]
or dword [eax + 0xc], 2
sub esi, 0x1c
call ebx
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x1c]
xor ecx, ecx
shld ecx, eax, 0xc
mov edx, edi
shl edx, 0xc
push edx
shl eax, 0xc
push ecx
push eax
call fcn.0042d1b6
mov edx, eax
test edx, edx
mov dword [ebp + 0x1c], edx
jne 0x448cf6
call dword [fcn.00400714]
mov byte [ebp + 0xf], al
mov eax, dword [esi + 0xc]
push edi
push dword [ebp + 0x10]
and eax, 0xfffffffb
or eax, 0x3000
mov dword [esi + 0xc], eax
push dword [0x47bc14]
call fcn.00450b7c
mov cl, byte [ebp + 0xf]
call ebx
jmp 0x448c13
shr edx, 9
mov edi, 0x7ffff8
and edx, edi
sub edx, 0x40000000
mov ecx, dword [ebp + 0x14]
mov eax, edx
shr eax, 9
and eax, edi
mov dword [ecx + 4], edx
mov ebx, dword [eax - 0x40000000]
mov eax, dword [eax - 0x3ffffffc]
shrd ebx, eax, 0xc
xor ebx, dword [ecx + 0x18]
add ecx, 0x1c
and ebx, 0x3ffffff
xor dword [ecx - 4], ebx
shr eax, 0xc
add edx, 8
cmp ecx, esi
mov dword [ebp + 0x14], ecx
jbe 0x448d06
mov eax, dword [ebp + 0x1c]
jmp 0x448c15
Function at 0x44a90e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor ecx, ecx
movzx edx, word [esi + ecx*2 + 2]
movzx edi, word [esi + ecx*2]
xor edx, edi
add eax, edx
inc ecx
inc ecx
cmp ecx, 0x20
jb 0x44a91d
mov edi, 0x399b
xor edx, edx
mov ecx, edi
div ecx
mov ebx, edx
mov dword [ebp + 8], ebx
jmp 0x44a961
push 0x40
push esi
push eax
call fcn.0046a070
cmp eax, 0x40
je 0x44a973
lea eax, [ebx + 1]
xor edx, edx
mov ecx, edi
div ecx
mov ebx, edx
cmp ebx, dword [ebp + 8]
je 0x44a99a
mov ecx, dword [0x474a5c]
mov eax, ebx
shl eax, 6
add eax, ecx
cmp dword [eax], 0
jne 0x44a943
mov ecx, dword [0x474a5c]
mov eax, ebx
shl eax, 6
lea edi, [eax + ecx]
cmp dword [edi], 0
jne 0x44a991
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
inc dword [0x481948]
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, edi
jmp 0x44a993

Function at 0x452cc8
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
je 0x452d09
cmp edx, 0xffffffff
je 0x452d09
cmp word [edx], 0x5a4d
jne 0x452d09
mov eax, dword [edx + 0x3c]
mov ecx, dword [0x480bbc]
add eax, edx
cmp edx, ecx
jae 0x452cff
cmp eax, ecx
jae 0x452d07
lea edx, [eax + 0xf8]
cmp edx, ecx
jae 0x452d07
cmp dword [eax], 0x4550
je 0x452d09
xor eax, eax
pop ebp
ret 4

Function at 0x452d12
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
movzx ecx, word [ecx + 6]
push esi
xor esi, esi
test ecx, ecx
push edi
jbe 0x452d48
mov edx, dword [eax + 0xc]
cmp dword [ebp + 0x10], edx
jb 0x452d40
mov edi, dword [eax + 0x10]
add edi, edx
cmp dword [ebp + 0x10], edi
jb 0x452d4a
add eax, 0x28
inc esi
cmp esi, ecx
jb 0x452d2e
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc