joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b3d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d9dd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x492110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0x8000
push 0x479008
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x45b42d
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test esi, esi
jne 0x45b442
xor ecx, ecx
jmp 0x45b456
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b447
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 8]
push esi
call fcn.00457d10
test esi, esi
je 0x45b46b
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45d8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], ebx
call fcn.0045cbe0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push edi
push dword [esi]
push dword [ebp + 0x10]
push 0
push dword [ebp - 4]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
cmp ebx, 0xea
jne 0x45d923
push dword [esi]
call fcn.00425080
mov dword [esi], 0
push 0x479d4b
push dword [edi]
call fcn.0042e2e8
add esp, 0xc
mov dword [esi], eax
push edi
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 8]
push 0
push dword [ebp - 4]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x45d94a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x46f4d0]
mov ecx, edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45d960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de15
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x492110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45daaa
mov ebx, dword [ebp + 0x14]
cmp ebx, 1
jb 0x45daaa
xor esi, esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
cmp ecx, 1
jne 0x45d9ff
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.0045d190
mov ebx, eax
test ebx, ebx
jne 0x45da1b
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [ebp + 0x10], esi
lea eax, [ebx + 0x20]
push eax
mov dword [ebp - 0x1c], eax
call fcn.00425070
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
test edi, edi
jne 0x45da3d
lea ebx, [eax + 8]
jmp 0x45da82
cmp ecx, 7
jne 0x45d9db
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
mov ecx, edx
call fcn.0045cfd0
mov ebx, eax
test ebx, ebx
je 0x45d9d2
mov esi, dword [ebp - 0x10]
push esi
call fcn.00425080
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 0x20]
push eax
push edi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 0x10]
call fcn.0045d4d0
mov ebx, eax
test ebx, ebx
jne 0x45da82
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0045cbe0
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edi
push 3
push ebx
push dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.00406a39
push edi
call fcn.00425080
add esp, 4
push esi
call fcn.00425080
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x461830
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x461855
xor ecx, ecx
cmp cx, word [eax]
je 0x461855
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x461855
test al, 0x10
je 0x461855
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x4621f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e10d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x492110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00404790
mov edi, eax
test edi, edi
je 0x462326
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x46f4d0]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
xor edi, edi
nop dword [eax]
lea edx, [edi + 1]
test edx, edx
js 0x46231c
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x462278
push edx
lea ecx, [ebp - 0x10]
call fcn.00453620
mov esi, dword [ebp - 0x10]
cmp dword [esi - 4], 1
jle 0x46228c
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00453520
mov esi, dword [ebp - 0x10]
push esi
push dword [esi - 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test edi, edi
je 0x4622d5
push dword [esi - 8]
push esi
call fcn.00435f26
add esp, 8
test eax, eax
js 0x46231c
cmp eax, dword [esi - 8]
jg 0x46231c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, dword [esi - 0xc]
ja 0x462250
add esi, 0xfffffff0
push esi
call fcn.00454b90
mov ebx, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [ebx], eax
jmp 0x4622e7
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 0x486d10
call fcn.004543d0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x462308
mov edi, dword [esi]
push esi
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x46f4d0]
mov ecx, edi
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00406a91
push 0x80004005
call fcn.00406a91
int3

Function at 0x4623b0
Capabilities:
Delete registry key

Disassembly:
mov dword [ecx], vtable.CoreTech::internal::CRegKeyImpl.0
jmp fcn.004623e0

Function at 0x4623e0
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x46241a
cmp byte [esi + 0xc], 0
je 0x462403
push 0x486d10
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esi + 4]
mov byte [esi + 0xc], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
ret
xor eax, eax
mov dword [esi + 8], eax
pop esi
ret
Function at 0x4631d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x492110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
push ebx
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
cmp dword [ebp + 0x14], 0
je 0x4632e0
test eax, eax
jne 0x4632e0
push edi
xor edi, edi
push esi
nop word [eax + eax]
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0042f1f0
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x4632b6
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x208]
push eax
push 0xf003f
push esi
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4632be
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x210]
push dword [ebp + 0xc]
push dword [ebp - 0x208]
call fcn.004631d0
push dword [ebp - 0x208]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4632be
cmp esi, 0x103
je 0x4632dc
inc edi
test esi, esi
je 0x463220
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042db8f
mov esp, ebp
pop ebp
ret 0x10
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042db8f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4635a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret
Function at 0x463e00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e68d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x492110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00404790
mov edi, eax
test edi, edi
je 0x463ed9
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x46f4d0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
sub ecx, 0
je 0x463ea2
sub ecx, 1
je 0x463e79
sub ecx, 1
je 0x463e72
mov eax, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x463e7e
mov eax, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x463e7e
mov eax, 0x486344
mov esi, dword [ebp + 0x18]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004592a0
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x463ec6
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x46f4d0]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.00406a91
int3
Function at 0x466690
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
cmp byte [esi + 0x10], 0
jne 0x466747
mov edi, dword [ebp + 8]
mov eax, edi
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x14], 8
jb 0x4666bc
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x466747
mov eax, dword [esi + 8]
add esi, 4
mov ecx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov edx, dword [esi]
sub ecx, edx
cmp ebx, ecx
jae 0x4666ea
lea eax, [edx + ebx]
mov dword [esi + 4], eax
jmp 0x46671f
jbe 0x46671f
mov eax, dword [esi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x466703
lea eax, [ebp - 1]
mov ecx, esi
push eax
push ebx
call fcn.00401de4
jmp 0x46671f
mov esi, ebx
sub esi, ecx
mov ecx, dword [ebp - 0x10]
add esi, ecx
push esi
push ecx
call fcn.00401f79
mov eax, dword [ebp - 8]
add esp, 8
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0x14], 8
jb 0x466727
mov edi, dword [edi]
push dword [esi]
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [ebp - 8]
cmp eax, 1
pop edi
sete al
pop esi
mov byte [ecx + 0x10], al
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40782e
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x40f150]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 8]
mov edx, 0x104
push ebx
push esi
push edi
push ecx
push ecx
xor edi, edi
mov dword [esp + 0x1c], eax
push ecx
lea ecx, [esp + 0x24]
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.0040656d
push 0x402330
lea ecx, [esp + 0x1c]
call fcn.004064d4
lea eax, [esp + 0x18]
push eax
push edi
push 0x1f0003
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
mov esi, eax
test esi, esi
jne 0x4078b2
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x4078e8
mov ecx, dword [ebp + 4]
mov edx, 0xc8
push 0x4022c8
call fcn.0040752f
mov edi, eax
jmp 0x4078e8
lea edx, [esp + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
call fcn.0041cc2d
mov ebx, eax
test ebx, ebx
jns 0x4078da
push ebx
push ecx
mov ecx, dword [ebp + 4]
mov edx, 0xce
call fcn.00407510
mov edi, ebx
jmp 0x4078e8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
test esi, esi
je 0x4078f2
push esi
call fcn.004075b1
mov ecx, dword [esp + 0x224]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040ca10
mov esp, ebp
pop ebp
ret 8
Function at 0x40cb9f
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x40cbdc
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x40cbd5
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x40cbe1
add edx, 0x28
cmp edx, esi
jne 0x40cbc6
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x40cbde

Function at 0x417167
Capabilities:
Encode data using xor

Disassembly:
call 0x4170e0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x417110
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x41712c
xor edx, 0
jmp 0x417137
xor edx, edx
jmp 0x41714e
jmp 0x41715a
xor eax, eax
push 0x8427d7c0
call 0x417167
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4171a3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x41717c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4171ba
add eax, 0
jno 0x4171bf
add esi, 0
ret 0x10
Function at 0x417f28
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x417f4a
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4180ec
cmp edi, dword [ebp + 0x10]
jb 0x4180ec
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00417a14
inc edi
jmp 0x417fd3
jmp 0x417fe0
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00417a14
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00417a14
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x418034
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x418018
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.00418062
add dword [eax], 0x39
jle 0x41803e
sub al, 0xf5
mov ch, al
call fcn.00418077
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x419d4f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x419d65
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x419d76
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00419db7
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x41c123
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x41c06c
add ebx, 0
push ecx
call 0x41c081
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c47a3fa
sub ebx, dword [0x6c499c39]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c499c29
call fcn.00417b4b
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.00417059
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x41c1df
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x41c1df
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x41c196
mov eax, 1
lock xchg dword [0x6c499c35], eax
push 0x3dd1fc71
call 0x41c123
push esi
add esp, 8
cmp eax, 0
jne 0x41c10c
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x41c132
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x41c147
cmp ecx, edx
cmp eax, 0
je 0x41c16c
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x41c156
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0041c185
dec eax
loope 0x41c188
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c499c35], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x41c1bc
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x41c1d1
jmp 0x41c1dc
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x41c0ca

Function at 0x423244
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x42351a
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c4868ad
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c47d873
push 0xffffffffffffffff
call fcn.0041a444
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4232ae
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.004232c6
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x42350e
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4234e2
Function at 0x432d14
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x432d36
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x432d36
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x432d36
ret
cmp word [ebx + 4], 0x14c
jne 0x432d36
test word [ebx + 0x16], 2
je 0x432d36
test word [ebx + 0x16], 0x100
je 0x432d36
cmp word [ebx + 0x18], 0x10b
jne 0x432d36
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x432d36
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x432dc2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x432d56
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00419ca1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x432d36
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x432dc2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x432d36
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x432d36
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x432d36
ret
cmp word [ebx + 4], 0x14c
jne 0x432d36
test word [ebx + 0x16], 2
je 0x432d36
test word [ebx + 0x16], 0x100
je 0x432d36
cmp word [ebx + 0x18], 0x10b
jne 0x432d36
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x432d36
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x432dc2
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x432d56
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.00419ca1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x432d36
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8