joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630a20
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x6ce488]
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 esi, ecx
mov eax, dword [esi + 0x5b0]
sub eax, 0x10
push eax
call fcn.00401b80
add eax, 0x10
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
mov eax, dword [esi + 0x600]
push dword [eax - 0xc]
push eax
call fcn.00417970
push 1
push 0x6a2f8c
lea ecx, [ebp - 0x14]
call fcn.00417970
push str.dplylchr.dll
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00411d40
add esp, 4
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov ecx, dword [eax]
mov edi, dword [0x6d927c]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x408c35
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x408c27
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x408c27
push edx
call fcn.00401b80
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, esi
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x408c1d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [0x6d927c], eax
jmp 0x408c35
push dword [ecx - 0xc]
push ecx
mov ecx, 0x6d927c
call fcn.00401e40
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408c53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x6d927c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x408d06
push str.fnDeployerLauncher
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x408ce0
push str.GSoInputDeployer.exe
lea ecx, [ebp - 0x98]
call fcn.00413a80
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x408ca1
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00411d40
mov byte [ebp - 4], 3
push 0
push dword [eax]
call ebx
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408cd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.00402f20
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [0x6d927c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408d06
push 4
push eax
push dword [0x6d927c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x408d25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x4133d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
push 0x48
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__36_.0
push eax
call fcn.005feb40
mov eax, dword [ebp + 8]
lea edx, [esi + 6]
mov ecx, 0xfffffffc
mov dword [ebp + 8], 2
sub ecx, esi
mov dword [esi + 0x4c], 0x1e451a06
mov dword [ebp - 8], ecx
mov ebx, eax
mov ecx, 0xfffffffe
mov dword [ebp - 4], 3
sub ecx, esi
lea edi, [eax + 4]
mov dword [ebp - 0xc], ecx
add esp, 0xc
mov ecx, 2
sub ebx, esi
sub ecx, esi
mov dword [ebp - 0x10], ecx
mov ecx, 4
sub ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, 0xfffffffa
sub ecx, esi
sub dword [ebp + 8], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [esi + 0x4c]
add ecx, edx
and ecx, 3
sar eax, cl
xor ax, word [edi - 4]
mov ecx, dword [ebp - 8]
add ecx, edx
mov word [edx - 2], ax
mov eax, dword [esi + 0x4c]
and ecx, 3
sar eax, cl
xor ax, word [edi - 2]
mov ecx, dword [ebp - 0xc]
add ecx, edx
mov word [edx], ax
mov eax, dword [esi + 0x4c]
and ecx, 3
sar eax, cl
xor ax, word [edi]
mov ecx, dword [ebp + 8]
add ecx, edi
mov word [edx + 2], ax
mov eax, dword [esi + 0x4c]
and ecx, 3
sar eax, cl
xor ax, word [ebx + edx]
mov ecx, dword [ebp - 0x10]
add ecx, edx
mov word [edx + 4], ax
mov eax, dword [esi + 0x4c]
and ecx, 3
sar eax, cl
xor ax, word [edi + 4]
mov ecx, dword [ebp - 0x14]
add ecx, edx
mov word [edx + 6], ax
mov eax, dword [esi + 0x4c]
and ecx, 3
sar eax, cl
xor ax, word [edi + 6]
add edi, 0xc
mov ecx, dword [ebp - 0x18]
mov word [edx + 8], ax
add edx, 0xc
sub dword [ebp - 4], 1
jne 0x413448
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4134e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push 0x2c
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__22_.0
push edi
call fcn.005feb40
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x30], 0x1e451a06
xor eax, eax
nop word [eax + eax]
mov edx, dword [esi + 0x30]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dx, word [eax + ebx]
mov word [eax + edi], dx
add eax, 2
cmp eax, 0x16
jb 0x413510
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x4135f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push 0x40
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__32_.0
push eax
call fcn.005feb40
mov eax, dword [ebp + 8]
lea edx, [esi + 6]
mov ecx, 0xfffffffc
mov dword [ebp + 8], 2
sub ecx, esi
mov dword [esi + 0x44], 0x1e451a06
mov dword [ebp - 8], ecx
mov ebx, eax
mov ecx, 0xfffffffe
mov dword [ebp - 4], 4
sub ecx, esi
lea edi, [eax + 4]
mov dword [ebp - 0xc], ecx
add esp, 0xc
mov ecx, 0xfffffffa
sub ebx, esi
sub ecx, esi
sub dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x44]
add ecx, edx
and ecx, 3
sar eax, cl
xor ax, word [edi - 4]
mov ecx, dword [ebp - 8]
add ecx, edx
mov word [edx - 2], ax
mov eax, dword [esi + 0x44]
and ecx, 3
sar eax, cl
xor ax, word [edi - 2]
mov ecx, dword [ebp - 0xc]
add ecx, edx
mov word [edx], ax
mov eax, dword [esi + 0x44]
and ecx, 3
sar eax, cl
xor ax, word [edi]
mov ecx, dword [ebp + 8]
add ecx, edi
mov word [edx + 2], ax
mov eax, dword [esi + 0x44]
and ecx, 3
sar eax, cl
add edi, 8
xor ax, word [ebx + edx]
mov ecx, dword [ebp - 0x10]
mov word [edx + 4], ax
add edx, 8
sub dword [ebp - 4], 1
jne 0x413654
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x413790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [esi], vtable.estrimp_char__11_.0
movq qword [esi + 4], xmm0
mov word [esi + 0xc], 0
mov byte [esi + 0xe], 0
mov dword [esi + 0x10], 0x1e451a06
nop dword [eax + eax]
mov edx, dword [esi + 0x10]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dl, byte [eax + edi]
mov byte [esi + eax + 4], dl
inc eax
cmp eax, 0xb
jb 0x4137c0
pop edi
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x413840
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xorps xmm0, xmm0
push edi
xor edi, edi
mov dword [esi], vtable.estrimp_char__14_.0
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
lea eax, [edi + 1]
mov word [esi + 0x10], 0
mov dword [esi + 0x14], 0x1e451a06
nop dword [eax + eax]
mov edx, dword [esi + 0x14]
mov ecx, edi
and ecx, 3
sar edx, cl
mov ecx, eax
xor dl, byte [eax + 0x6a0437]
and ecx, 3
mov byte [esi + eax + 3], dl
mov edx, dword [esi + 0x14]
sar edx, cl
xor dl, byte [eax + str.defaultbowser]
add eax, 2
mov byte [esi + edi + 5], dl
add edi, 2
cmp eax, 0xf
jb 0x413870
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x413940
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [ebp + 8], 2
mov eax, 1
mov dword [edi], vtable.estrimp_char__12_.0
movq qword [edi + 4], xmm0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0x1e451a06
mov edx, dword [edi + 0x10]
lea esi, [eax - 1]
and esi, 3
mov ecx, esi
sar edx, cl
mov ecx, eax
xor dl, byte [ebx + eax - 1]
and ecx, 3
mov byte [edi + eax + 3], dl
mov edx, dword [edi + 0x10]
sar edx, cl
lea ecx, [eax + 1]
xor dl, byte [eax + ebx]
and ecx, 3
mov byte [eax + edi + 4], dl
mov edx, dword [edi + 0x10]
sar edx, cl
lea ecx, [eax - 2]
xor dl, byte [eax + ebx + 1]
and ecx, 3
mov byte [eax + edi + 5], dl
mov edx, dword [edi + 0x10]
sar edx, cl
mov ecx, esi
xor dl, byte [eax + ebx + 2]
mov byte [eax + edi + 6], dl
mov edx, dword [edi + 0x10]
sar edx, cl
mov ecx, eax
xor dl, byte [eax + ebx + 3]
and ecx, 3
mov byte [eax + edi + 7], dl
mov edx, dword [edi + 0x10]
sar edx, cl
xor dl, byte [eax + ebx + 4]
mov byte [eax + edi + 8], dl
add eax, 6
sub dword [ebp + 8], 1
jne 0x413973
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x413a00
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xorps xmm0, xmm0
mov eax, 1
push edi
mov edi, dword [ebp + 8]
mov dword [esi], vtable.estrimp_char__21_.0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
lea ebx, [eax + 6]
mov byte [esi + 0x18], 0
mov dword [esi + 0x1c], 0x1e451a06
mov edx, dword [esi + 0x1c]
lea ecx, [eax - 1]
and ecx, 3
sar edx, cl
mov ecx, eax
xor dl, byte [edi + eax - 1]
and ecx, 3
mov byte [esi + eax + 3], dl
mov edx, dword [esi + 0x1c]
sar edx, cl
lea ecx, [eax + 1]
xor dl, byte [eax + edi]
and ecx, 3
mov byte [eax + esi + 4], dl
mov edx, dword [esi + 0x1c]
sar edx, cl
xor dl, byte [eax + edi + 1]
mov byte [eax + esi + 5], dl
add eax, 3
sub ebx, 1
jne 0x413a32
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x413a80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
push 0x54
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__42_.0
push eax
call fcn.005feb40
mov edi, dword [ebp + 8]
lea eax, [esi + 6]
mov ecx, 0xfffffffe
mov dword [esi + 0x58], 0x1e451a06
sub ecx, esi
mov dword [ebp + 8], 7
mov dword [ebp - 4], ecx
mov ebx, 0xfffffffc
mov ecx, 0xfffffffa
add esp, 0xc
add edi, 4
sub ebx, esi
sub ecx, esi
mov dword [ebp - 8], ecx
mov edx, dword [esi + 0x58]
lea edi, [edi + 6]
add ecx, eax
and ecx, 3
sar edx, cl
lea ecx, [ebx + eax]
xor dx, word [edi - 0xa]
and ecx, 3
mov word [eax - 2], dx
mov edx, dword [esi + 0x58]
sar edx, cl
xor dx, word [edi - 8]
mov ecx, dword [ebp - 4]
add ecx, eax
mov word [eax], dx
mov edx, dword [esi + 0x58]
and ecx, 3
sar edx, cl
xor dx, word [edi - 6]
mov ecx, dword [ebp - 8]
mov word [eax + 2], dx
add eax, 6
sub dword [ebp + 8], 1
jne 0x413ad3
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push 0x58
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__44_.0
push edi
call fcn.005feb40
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0x5c], 0x1e451a06
mov eax, 2
nop dword [eax]
mov edx, dword [esi + 0x5c]
lea ecx, [eax - 2]
and ecx, 3
sar edx, cl
mov ecx, eax
xor dx, word [ebx + eax - 2]
and ecx, 3
mov word [eax + edi - 2], dx
mov edx, dword [esi + 0x5c]
sar edx, cl
xor dx, word [eax + ebx]
mov word [eax + edi], dx
add eax, 4
cmp eax, 0x2e
jb 0x413bb0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x413bf0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
push 0x2f
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_char__47_.0
push edi
call fcn.005feb40
add esp, 0xc
mov dword [esi + 0x34], 0x1e451a06
xor eax, eax
mov edx, dword [esi + 0x34]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dl, byte [eax + str.GSoInput9055547F_25C8_4C19_AB57_629B7214A9D9]
mov byte [edi + eax], dl
inc eax
cmp eax, 0x2f
jb 0x413c13
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x413c40
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
push 0x4c
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__38_.0
push edi
call fcn.005feb40
add esp, 0xc
mov dword [esi + 0x50], 0x1e451a06
xor eax, eax
mov edx, dword [esi + 0x50]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dx, word [eax + str.GSoInputServer.exe]
mov word [eax + edi], dx
add eax, 2
cmp eax, 0x26
jb 0x413c63
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x413c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
push 0x9c
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__78_.0
push eax
call fcn.005feb40
mov eax, 0xfffffffc
mov dword [esi + 0xa0], 0x1e451a06
sub eax, esi
lea edx, [esi + 6]
mov dword [ebp - 4], eax
mov ebx, 0xfffffffe
mov eax, 0xfffffffa
add esp, 0xc
sub eax, esi
sub ebx, esi
mov dword [ebp - 8], eax
xor edi, edi
nop
lea ecx, [eax + edx]
mov eax, dword [esi + 0xa0]
and ecx, 3
sar eax, cl
xor ax, word [edi + str.D473B033_3C58_44FB_8EE0_06EE6D53E4C9]
mov ecx, dword [ebp - 4]
mov word [edx - 2], ax
add ecx, edx
mov eax, dword [esi + 0xa0]
and ecx, 3
sar eax, cl
lea ecx, [ebx + edx]
xor ax, word [edi + 0x6a0bb2]
and ecx, 3
mov word [edx], ax
mov eax, dword [esi + 0xa0]
sar eax, cl
xor ax, word [edi + 0x6a0bb4]
add edi, 6
mov word [edx + 2], ax
add edx, 6
mov eax, dword [ebp - 8]
cmp edi, 0x4e
jb 0x413ce0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x416710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41679b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x41675d
cmp eax, 2
jne 0x416779
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x416795
test ecx, ecx
je 0x416790
test cl, 1
jne 0x416779
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x416795
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005c358e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x416d40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x416d55
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416d60
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x417700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x417759
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x417759
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41774a
cmp esi, edx
jae 0x417759
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x417738
cmp esi, edx
jae 0x417759
cmp word [esi], 0
je 0x417759
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4196c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push 0xb8
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__92_.0
push edi
call fcn.005feb40
mov ebx, dword [ebp + 8]
add esp, 0xc
mov dword [esi + 0xbc], 0x1e451a06
mov eax, 2
mov edx, dword [esi + 0xbc]
lea ecx, [eax - 2]
and ecx, 3
sar edx, cl
mov ecx, eax
xor dx, word [ebx + eax - 2]
and ecx, 3
mov word [eax + edi - 2], dx
mov edx, dword [esi + 0xbc]
sar edx, cl
xor dx, word [eax + ebx]
mov word [eax + edi], dx
add eax, 4
cmp eax, 0x5e
jb 0x4196f3
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x419740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x68
push 0
lea eax, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__52_.0
push eax
call fcn.005feb40
mov ecx, 0xfffffffa
mov dword [esi + 0x6c], 0x1e451a06
mov ebx, 0xfffffffc
lea eax, [esi + 6]
sub ecx, esi
add esp, 0xc
sub ebx, esi
mov dword [ebp - 4], ecx
xor edi, edi
nop dword [eax]
mov edx, dword [esi + 0x6c]
add ecx, eax
and ecx, 3
sar edx, cl
lea ecx, [ebx + eax]
xor dx, word [edi + str.App_CreateMutex_failed:_d]
and ecx, 3
mov word [eax - 2], dx
mov edx, dword [esi + 0x6c]
sar edx, cl
xor dx, word [edi + 0x6a31fe]
add edi, 4
mov ecx, dword [ebp - 4]
mov word [eax], dx
add eax, 4
cmp edi, 0x34
jb 0x419780
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4197d0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
push 0x44
push 0
lea edi, [esi + 4]
mov dword [esi], vtable.estrimp_wchar_t__34_.0
push edi
call fcn.005feb40
add esp, 0xc
mov dword [esi + 0x48], 0x1e451a06
xor eax, eax
mov edx, dword [esi + 0x48]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dx, word [eax + 0x6a32bc]
mov word [eax + edi], dx
add eax, 2
cmp eax, 0x22
jb 0x4197f3
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x419940
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63185b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.005feb40
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x814]
call fcn.00419880
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x81c], 0
add esp, 0xc
mov dword [ebp - 0x818], 0xf
mov byte [ebp - 0x82c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4199c0
sub ecx, edx
lea eax, [ebp - 0x814]
push ecx
push eax
lea ecx, [ebp - 0x82c]
call fcn.00417150
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x818]
mov eax, edx
mov ecx, dword [ebp - 0x81c]
sub eax, ecx
push 2
push 0x6a4690
cmp eax, 2
jb 0x419a29
cmp edx, 0x10
lea esi, [ebp - 0x82c]
lea eax, [ecx + 2]
cmovae esi, dword [ebp - 0x82c]
add esi, ecx
mov dword [ebp - 0x81c], eax
push esi
call fcn.005fe5c0
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x419a43
mov byte [ebp - 0x830], 0
lea ecx, [ebp - 0x82c]
push dword [ebp - 0x830]
push 2
call fcn.004173c0
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push eax
call fcn.00419850
add esp, 4
lea eax, [ebp - 0x82c]
cmp dword [ebp - 0x818], 0x10
cmovae eax, dword [ebp - 0x82c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x818]
cmp edx, 0x10
jb 0x419ab1
mov ecx, dword [ebp - 0x82c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419aa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419acb
push edx
push ecx
call fcn.005c385c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
call fcn.00606fc9
int3
Function at 0x41d1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
mov esi, dword [edi]
test esi, esi
je 0x41d255
mov dword [edi], 0
push 0
mov edx, 0x400000
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
cmp esi, edx
push eax
mov eax, esi
cmova eax, edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x41d248
test ecx, ecx
je 0x41d255
test esi, esi
je 0x41d255
mov ecx, dword [ebp - 4]
jmp 0x41d20b
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d530
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x6d9660], ecx
inc eax
cmp eax, 0x100
jb 0x41d545
cmp eax, 0x800
jae 0x41d613
nop dword [eax]
mov edx, dword [eax*4 + 0x6d9260]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x6d9660]
mov dword [eax*4 + 0x6d9660], edx
inc eax
cmp eax, 0x800
jb 0x41d5f0
lea ecx, [ebp - 0x24]
mov dword [0x6d943c], 0x41e380
call fcn.0041e480
test eax, eax
je 0x41d6bd
mov edi, dword [ebp - 0x14]
xor ecx, ecx
mov esi, edi
mov eax, 0x6cf1cc
shr esi, 8
shr edi, 4
and esi, 0xff00f
and edi, 0xf00f
xor edx, edx
nop dword [eax]
mov ebx, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x41d667
mov ebx, dword [ebp - 0x1c]
cmp dword [eax - 4], ebx
mov ebx, dword [ebp - 0x18]
jne 0x41d667
cmp dword [eax], ebx
je 0x41d676
add edx, 0xc
inc ecx
add eax, 0xc
cmp edx, 0x24
jb 0x41d650
or ecx, 0xffffffff
sub ecx, 0
je 0x41d6a4
sub ecx, 1
je 0x41d693
sub ecx, 1
jne 0x41d6bd
cmp esi, 6
jb 0x41d6bd
jne 0x41d6b3
cmp edi, 0xf
jb 0x41d6bd
jmp 0x41d6b3
cmp esi, 5
jb 0x41d6bd
jne 0x41d6b3
cmp edi, 6
jb 0x41d6bd
cmp edi, 0xa
jmp 0x41d6b1
cmp esi, 6
jb 0x41d6bd
jne 0x41d6b3
cmp edi, 0x100c
je 0x41d6bd
mov dword [0x6d943c], 0x41e420
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret