joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a9b3
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x467900]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x44a9e4
xor eax, eax
jmp 0x44ab6d
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x469680]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x44aa20
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.00450d04
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x44aafb
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x44ab39
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x44aa84
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x44aa75
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x44aa55
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44aac4
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x44aacd
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x44aa46
jmp 0x44aacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x44ab68
cmp dword [ebp - 0x6c], edi
je 0x44ab39
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x44ab2e
call fcn.0044ace8
mov dword [eax], 9
call fcn.0044acf1
mov dword [eax], esi
jmp 0x44ab63
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44ab23
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x44aacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x44aacf
push dword [ebp - 0x6c]
call fcn.0044acfa
pop ecx
jmp 0x44ab63
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x44ab51
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x44ab51
xor eax, eax
jmp 0x44ab6b
call fcn.0044ace8
mov dword [eax], 0x1c
call fcn.0044acf1
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x44ab6b
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.0043f599
add ebp, 0x3a0
leave
ret
Function at 0x44b0e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4694d8], ebx
push esi
push edi
jne 0x44b165
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44b1a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4624b4
push edi
call esi
test eax, eax
mov dword [0x4694d8], eax
je 0x44b1a0
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4694dc], eax
call esi
cmp dword [0x46917c], 2
mov dword [0x4694e0], eax
jne 0x44b165
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4694e8], eax
je 0x44b165
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4694e4], eax
mov eax, dword [0x4694e4]
test eax, eax
je 0x44b1aa
call eax
test eax, eax
je 0x44b191
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4694e8]
test eax, eax
je 0x44b191
test byte [ebp - 8], 1
jne 0x44b1aa
cmp dword [0x469188], 4
jb 0x44b1a4
or byte [ebp + 0x12], 0x20
jmp 0x44b1c9
xor eax, eax
jmp 0x44b1d9
or byte [ebp + 0x12], 4
jmp 0x44b1c9
mov eax, dword [0x4694dc]
test eax, eax
je 0x44b1c9
call eax
mov ebx, eax
test ebx, ebx
je 0x44b1c9
mov eax, dword [0x4694e0]
test eax, eax
je 0x44b1c9
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4694d8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44c2e2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004481c0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44c37d
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x46917c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44c37d
cmp eax, 1
je 0x44c39e
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44c37d
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44c34a
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44c379
xor eax, eax
inc eax
jmp 0x44c3bd
cmp edi, eax
jae 0x44c381
xor eax, eax
jmp 0x44c3bd
cmp eax, esi
jae 0x44c388
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x46917c]
jmp 0x44c3a1
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ef50
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x44ef69
or eax, 0xffffffff
jmp 0x44efca
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x44efc6
push 0x3d
push esi
call fcn.00452616
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x44efc6
cmp esi, eax
je 0x44efc6
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x46919c]
sete cl
cmp eax, dword [0x4691a0]
mov dword [ebp - 8], ecx
jne 0x44efac
mov edi, eax
call fcn.0044eeef
mov dword [0x46919c], eax
cmp eax, ebx
jne 0x44f005
cmp dword [ebp + 0xc], ebx
je 0x44efce
cmp dword [0x4691a4], ebx
je 0x44efce
call fcn.0044916c
test eax, eax
je 0x44f005
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x44efd7
xor eax, eax
jmp 0x44efc9
push 4
call fcn.00441720
cmp eax, ebx
pop ecx
mov dword [0x46919c], eax
je 0x44efc6
mov dword [eax], ebx
cmp dword [0x4691a4], ebx
jne 0x44f005
push 4
call fcn.00441720
cmp eax, ebx
pop ecx
mov dword [0x4691a4], eax
je 0x44efc6
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x46919c]
call fcn.0044eea2
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x44f066
cmp dword [esi], ebx
je 0x44f066
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004401b3
cmp dword [ebp - 8], ebx
pop ecx
jne 0x44f049
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x44f0a7
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x44f040
mov eax, edi
shl eax, 2
push eax
push dword [0x46919c]
call fcn.004425ac
cmp eax, ebx
pop ecx
pop ecx
je 0x44f0a7
jmp 0x44f0a2
cmp dword [ebp - 8], ebx
jne 0x44f112
cmp edi, ebx
jge 0x44f075
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x46919c]
call fcn.004425ac
cmp eax, ebx
pop ecx
pop ecx
je 0x44efc6
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x46919c], eax
cmp dword [ebp + 0xc], ebx
je 0x44f0fc
push dword [ebp - 4]
call fcn.00442110
inc eax
inc eax
push eax
call fcn.00441720
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x44f0fc
push dword [ebp - 4]
push esi
call fcn.00445c80
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x44f0f5
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.004401b3
pop ecx
cmp dword [ebp - 8], ebx
je 0x44f10a
push dword [ebp - 4]
call fcn.004401b3
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x44efc9
push dword [ebp - 4]
call fcn.004401b3
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x44efd3
Function at 0x4533d7
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x463c48
call fcn.00442560
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x469640], edi
jne 0x45341b
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x453406
mov dword [0x469640], ebx
jmp 0x45341b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45341b
mov dword [0x469640], 2
mov eax, dword [0x469640]
cmp eax, ebx
jne 0x45343b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4534fe
cmp eax, 2
je 0x453444
cmp eax, edi
jne 0x45346c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x453457
mov eax, dword [0x469508]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x453473
xor eax, eax
jmp 0x4534fe
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.004481c0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4534a6
cmp esi, edi
jne 0x4534bc
push dword [ebp - 0x20]
call fcn.00441720
pop ecx
mov esi, eax
cmp esi, edi
je 0x45346c
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4534ef
cmp dword [ebp + 0x14], edi
jne 0x4534d9
push edi
push edi
jmp 0x4534df
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x4534fb
push esi
call fcn.004401b3
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0044259b
ret
Function at 0x453507
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x463c58
call fcn.00442560
xor esi, esi
cmp dword [0x469644], esi
jne 0x45354b
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x453536
mov dword [0x469644], edi
jmp 0x45354b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x45354b
mov dword [0x469644], 2
mov eax, dword [0x469644]
cmp eax, 2
je 0x45362c
cmp eax, esi
je 0x45362c
cmp eax, 1
jne 0x453590
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x453579
mov eax, dword [0x469508]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x453597
xor eax, eax
jmp 0x45363e
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004481c0
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4535cd
cmp edi, esi
jne 0x4535e8
lea eax, [ebx + ebx]
push eax
call fcn.00441720
pop ecx
mov edi, eax
cmp edi, esi
je 0x453590
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x45361b
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x453605
push esi
push esi
jmp 0x45360b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x453627
push edi
call fcn.004401b3
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x45363e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0044259b
ret
Function at 0x401855
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push edi
mov dword [ebp - 4], eax
call fcn.00401827
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x401925
push esi
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call dword [0x411d48]
mov esi, eax
test esi, esi
je 0x401922
movzx ecx, word [edi + 0x14]
lea eax, [edi + 0x18]
mov edx, dword [ebp - 4]
add eax, ecx
movzx ecx, word [edi + 6]
push ebx
push dword [edi + 0x54]
imul ebx, ecx, 0x28
mov ecx, esi
mov dword [ebp - 8], eax
add ebx, eax
call fcn.0040151f
pop ecx
mov ecx, dword [ebp - 8]
cmp ecx, ebx
jae 0x4018fc
sub ebx, ecx
mov edi, dword [ebp - 4]
lea eax, [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
push 0x28
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0xc]
pop ecx
div ecx
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebx]
cmp dword [ebx - 8], ecx
mov edx, dword [ebx + 4]
cmovb ecx, dword [ebx - 8]
add edx, edi
push ecx
mov ecx, dword [ebx - 4]
add ecx, esi
call fcn.0040151f
dec dword [ebp - 8]
lea ebx, [ebx + 0x28]
pop ecx
jne 0x4018d7
mov edi, dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
call fcn.0040171f
mov edx, edi
mov ecx, esi
call fcn.0040179c
pop ebx
test eax, eax
jne 0x401922
push 0x8000
push eax
push esi
call dword [0x411ffc]
xor esi, esi
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4019ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
xor edi, 0x47e6bc7e
mov dword [ebp - 4], eax
mov eax, edi
mov dword [ebp - 0x10], edi
and eax, 3
jne 0x4019d0
lea esi, [edi + 4]
jmp 0x4019d7
mov esi, edi
sub esi, eax
add esi, 4
mov ecx, esi
call fcn.004014f2
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x401a49
mov eax, dword [ebp - 4]
mov edx, ebx
and dword [ebp - 4], 0
add eax, 4
and dword [ebp - 0xc], 0
shr esi, 2
lea ecx, [eax + esi*4]
mov esi, ecx
sub esi, eax
add esi, 3
shr esi, 2
cmp eax, ecx
cmova esi, dword [ebp - 4]
test esi, esi
je 0x401a45
mov ebx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, 0x47e6bc7e
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebx
mov byte [edx - 1], cl
cmp ebx, esi
jb 0x401a16
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + edi], 0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, edx
push esi
push edi
mov dword [ebp - 0x10], eax
mov edi, dword [ebx]
xor edi, eax
mov eax, edi
mov dword [ebp - 0x14], edi
and eax, 3
jne 0x401a75
lea esi, [edi + 4]
jmp 0x401a7c
mov esi, edi
sub esi, eax
add esi, 4
lea ecx, [esi + esi]
call fcn.004014f2
mov edx, eax
mov dword [ebp - 0x18], edx
test edx, edx
je 0x401b00
and dword [ebp - 8], 0
lea eax, [ebx + 4]
and dword [ebp - 4], 0
shr esi, 2
lea ecx, [eax + esi*4]
mov esi, edx
mov ebx, ecx
sub ebx, eax
add ebx, 3
shr ebx, 2
cmp eax, ecx
cmova ebx, dword [ebp - 8]
test ebx, ebx
je 0x401afa
mov edx, dword [ebp - 0x10]
mov edi, eax
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, edx
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [esi - 4], ax
shr ecx, 8
movzx eax, cl
mov word [esi - 2], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, ebx
jb 0x401ab9
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor eax, eax
mov word [edx + edi*2], ax
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401750
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov ecx, dword [0x421ad6]
call fcn.0040a030
test eax, eax
je 0x4017e3
movzx edx, word [eax]
mov ebp, dword [esp + 0x5c]
test dx, dx
je 0x4017a4
xor edi, edi
mov esi, 1
mov byte [esp + esi + 2], dl
movzx edx, word [eax + esi*2]
test dx, dx
setne bl
cmp esi, 0x40
setb bh
xor bh, bl
jne 0x4017a4
neg edi
mov ebx, 1
sub ebx, edi
cmp esi, 0x40
lea esi, [esi + 1]
mov edi, ebx
jb 0x401779
mov eax, 1
test ebp, ebp
jle 0x4017e5
mov edx, dword [esp + 0x58]
lea edi, [esp + 3]
lea esi, [esp + 0x43]
mov ebx, edi
add ebp, edx
cmp ebx, esi
movzx eax, byte [edx]
cmovae ebx, edi
movzx ecx, byte [ebx]
inc ebx
mov ch, al
not ch
and ch, cl
not cl
and cl, al
or cl, ch
mov byte [edx], cl
inc edx
cmp edx, ebp
jb 0x4017bd
mov eax, 1
jmp 0x4017e5
xor eax, eax
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c590
Capabilities:
Encode data using xor
Encrypt data using chaskey

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x40c6e9
mov ecx, dword [esp + 0x18]
xor esi, esi
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov ebp, ebx
mov dword [esp], eax
add edx, ebx
shr ebx, 0x1b
inc esi
shl ebp, 5
mov eax, ebp
and ebp, 0x6f64a20
not eax
and eax, 0xf909b5c9
or ebp, eax
mov eax, ebx
and ebx, 0x16
not eax
and eax, 0xf909b5c9
or ebx, eax
xor ebx, ebp
mov ebp, edx
mov eax, ebx
and ebx, 0xb0233726
and ebp, 0xb0233726
not eax
and eax, 0x4fdcc8d9
or ebx, eax
mov eax, edx
rol edx, 0x10
not eax
and eax, 0x4fdcc8d9
or ebp, eax
mov eax, edi
xor ebp, ebx
mov ebx, edi
shl eax, 8
shr edi, 0x18
neg ebx
sub ebx, ecx
mov ecx, eax
and eax, 0xe95a6a00
not ecx
and ecx, 0x16a595b6
or eax, ecx
mov ecx, edi
and edi, 0x49
not ecx
and ecx, 0x16a595b6
or edi, ecx
mov ecx, ebp
xor edi, eax
sub ecx, ebx
neg ebx
mov eax, edi
and edi, 0x30411554
not eax
and eax, 0xcfbeeaab
or edi, eax
mov eax, ebx
and ebx, 0x30411554
not eax
and eax, 0xcfbeeaab
or ebx, eax
xor ebx, edi
mov eax, ebx
rol ebx, 0xd
neg eax
sub eax, edx
mov edx, eax
mov eax, ebx
and ebx, 0xfcf56b76
not eax
neg edx
and eax, 0x30a9489
mov edi, edx
or ebx, eax
mov eax, edx
and edi, 0xfcf56b76
not eax
and eax, 0x30a9489
or edi, eax
mov eax, ebp
shr ebp, 0x19
shl eax, 7
xor edi, ebx
mov ebx, eax
and eax, 0x97117280
not ebx
and ebx, 0x68ee8d60
or eax, ebx
mov ebx, ebp
and ebp, 0x1f
not ebx
and ebx, 0x68ee8d60
or ebp, ebx
mov ebx, ecx
xor ebp, eax
mov eax, dword [esp]
not ebx
and ebx, ebp
not ebp
and ebp, ecx
rol ecx, 0x10
or ebx, ebp
dec eax
jne 0x40c5b2
mov eax, dword [esp + 0x18]
mov dword [eax + 4], ebx
mov dword [eax], edx
mov dword [eax + 0xc], edi
mov dword [eax + 8], ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x410c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x14], 1
jne 0x410c4c
mov eax, pe_nt_image_headers32
test ecx, ecx
je 0x410c87
mov esi, 8
mov edx, 0x421ba4
mov edi, 0x4169f0
mov ebx, 0x421ba4
add esi, edx
mov ebp, dword [ebx]
add ebx, 4
xor ebp, dword [edi]
add edi, 4
mov dword [ecx], ebp
add ecx, 4
cmp ebx, esi
cmovae ebx, edx
cmp edi, 0x416a58
jb 0x410c2e
jmp 0x410c87
mov eax, 0x360
test ecx, ecx
je 0x410c87
mov esi, 8
mov edx, 0x421ba4
mov edi, 0x4189a0
mov ebx, 0x421ba4
add esi, edx
mov ebp, dword [ebx]
add ebx, 4
xor ebp, dword [edi]
add edi, 4
mov dword [ecx], ebp
add ecx, 4
cmp ebx, esi
cmovae ebx, edx
cmp edi, fcn.00418d00
jb 0x410c6b
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x411220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1e8
lea ecx, [esp + 0x40]
mov dword [esp], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0
call fcn.00408530
mov byte [esp + 4], 1
mov word [esp + 0x24], 0x50
mov byte [esp + 5], 2
mov word [esp + 0x26], 0x50
mov byte [esp + 6], 3
mov word [esp + 0x28], 0x50
mov byte [esp + 7], 4
mov word [esp + 0x2a], 0x50
mov byte [esp + 8], 5
mov word [esp + 0x2c], 0x50
mov byte [esp + 9], 6
mov word [esp + 0x2e], 0x50
mov byte [esp + 0xa], 7
mov word [esp + 0x30], 0x50
mov byte [esp + 0xb], 8
mov word [esp + 0x32], 0x50
mov byte [esp + 0xc], 9
mov word [esp + 0x34], 0x50
mov byte [esp + 0xd], 0xa
mov word [esp + 0x36], 0x1bb
mov byte [esp + 0xe], 0xb
mov word [esp + 0x38], 0x1bb
mov byte [esp + 0x1e], 0
mov word [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0x1b], 0xd
mov word [esp + 0x15], 0xe0d
mov byte [esp + 0x1d], 0xe
mov byte [esp + 0x1f], 0xf
mov word [esp + 0x19], 0x100f
mov byte [esp + 0xf], 0xc
mov word [esp + 0x3a], 0x1bb
mov byte [esp + 0x1c], 0x11
call fcn.00418db0
mov edx, 0xaaaaaaab
mov ecx, eax
xor esi, esi
mul edx
mov ebp, ecx
shr edx, 1
and edx, 0x7ffffffc
lea eax, [edx + edx*2]
sub ebp, eax
neg eax
lea ebx, [ecx + eax + 1]
cmp ebx, 0xb
cmova ebx, esi
cmp ebx, ebp
je 0x411467
lea edi, [esp + 0x120]
movzx eax, byte [esp + ebx + 4]
push eax
push edi
call fcn.00418e70
add esp, 8
movzx eax, word [esp + ebx*2 + 0x24]
lea ecx, [esp + 0x40]
push eax
push edi
call fcn.00409f80
test eax, eax
je 0x411443
movzx eax, byte [esp + ebx + 0x14]
test eax, eax
je 0x411396
push eax
lea esi, [esp + 0x5c]
push esi
call fcn.00418e70
mov edx, esi
xor esi, esi
add esp, 8
jmp 0x4113a2
mov dword [esp + 0x58], 0
lea edx, [esp + 0x58]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
push edx
call fcn.004158c0
test eax, eax
sete al
cmp dword [esp + 0x20], 0xc8
setne cl
or cl, al
cmp cl, 1
je 0x411443
mov al, 1
test al, al
je 0x411443
mov eax, esp
lea ecx, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00413f50
test eax, eax
je 0x411443
mov esi, dword [esp + 0x10]
mov eax, esp
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 8]
push esi
call fcn.00411810
add esp, 0x10
mov edi, eax
test edi, edi
je 0x41141e
push dword [esp]
push dword [esp + 0x200]
push 0
push dword [esp + 0x48]
call fcn.0041a750
add esp, 0x10
test eax, eax
jne 0x41149c
test esi, esi
je 0x411433
push esi
call fcn.004193e0
add esp, 4
mov dword [esp + 0x10], 0
test edi, edi
mov esi, 0
lea edi, [esp + 0x120]
jne 0x411467
push 0x7d0
call dword [0x420184]
neg ebx
mov eax, 1
sub eax, ebx
cmp eax, 0xb
cmova eax, esi
cmp eax, ebp
mov ebx, eax
jne 0x411352
mov edi, dword [esp + 0x1fc]
mov esi, 1
cmp dword [edi], 0
jne 0x411486
push 0x22
call fcn.00416750
add esp, 4
xor esi, esi
mov dword [edi], eax
lea ecx, [esp + 0x40]
call fcn.00409430
mov eax, esi
add esp, 0x1e8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 1
jmp 0x411486