joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x53210ee9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5321d90
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x43fb90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x43fbb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43fbb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43fba8
mov eax, 1
add ebx, ebx
jne 0x43fbcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43fbc0
jne 0x43fbdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43fbc0
xor ecx, ecx
sub eax, 3
jb 0x43fbf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43fc62
mov ebp, eax
add ebx, ebx
jne 0x43fbfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43fc08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43fc2c
inc ecx
add ebx, ebx
jne 0x43fc18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43fc0d
jne 0x43fc29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43fc0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43fc4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43fc3d
jmp 0x43fbae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43fc4c
add edi, ecx
jmp 0x43fbae
pop esi
mov edi, esi
mov ecx, 0xe0d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43fc6a
cmp byte [edi], 0x11
jne 0x43fc6a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43fc6f
lea edi, [esi + 0x3c000]
mov eax, dword [edi]
or eax, eax
je 0x43fcde
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f4e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f50c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43fc9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3f514]
or eax, eax
je 0x43fcd8
mov dword [ebx], eax
add ebx, 4
jmp 0x43fcb9
call dword [esi + 0x3f510]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x43fd0f
cmp al, 0xef
ja 0x43fd02
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43fce4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x43fcf1
mov ebp, dword [esi + 0x3f518]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43fd43
sub esp, 0xffffff80
jmp 0x40feb5
Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10025224
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10025233
pop dword [ebp - 0x10]
mov eax, 0xf2dda30a
add eax, 0x1d24af29
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xca429a2e
add dword [ebp - 0x20], 0x840fab1d
mov dword [ebp - 0x1c], 0x1d621885
add dword [ebp - 0x1c], 0x14d133c0
mov dword [ebp - 0x18], 0xa075b15c
add dword [ebp - 0x18], 0xabd692d2
mov dword [ebp - 0x14], 0xf9b0b6ee
add dword [ebp - 0x14], 0x64f4912
lea eax, [ebp - 0x20]
push eax
mov eax, 0xca15130a
sub eax, 0xba0f12fa
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x8e76576f
add dword [ebp - 0x20], 0xe5fc11e7
mov dword [ebp - 0x1c], 0x7ebad1a6
sub dword [ebp - 0x1c], 0x3d4e7031
mov dword [ebp - 0x18], 0x1fe011aa
add dword [ebp - 0x18], 0x438f5ac2
mov dword [ebp - 0x14], 0xd51f840
add dword [ebp - 0x14], 0xf2ae07c0
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x4f3c696f
add eax, 0xc0c996a5
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x55e78
push 0
call eax
mov ecx, 0x8282f1b2
sub ecx, 0x8282a936
xor edx, edx
add edx, eax
mov esi, 0xe10627b9
add esi, 0x2f029447
add esi, dword [ebp - 0x10]
mov ebx, 0x22fb58b2
add ebx, 0xe191c07c
sub dword [ebp - 0xc], ebx
mov edi, dword [esi]
add dword [ebp - 4], 0xa71dac6f
add edi, ebx
xor dword [ebp - 8], 0xb96cf598
mov dword [edx], edi
sub dword [ebp - 4], ecx
add edx, 0xdc547cb8
add edx, 0x23ab834c
add esi, 4
loop 0x10025357
add eax, 0x6eb2ef39
sub eax, 0x6eb1da76
mov ebx, eax
add eax, 0x90186a9c
sub eax, 0x90186a97
mov ecx, 0x6052664e
add ecx, 0xafad99b2
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x40153a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
call sub.KERNEL32.dll_GetTickCount
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA
cmp byte [ebp - 0x104], 0
jne 0x4016a4
sbb al, 0x9c
pop es
add byte [edi + 0x5e], bl
pop ebx
pop ebp
ret 8
cmp byte [ebp - 0x104], 0
jne 0x4017f1
inc ebp
in al, dx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x44498f
push 0
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_GetFileAttributesExA
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp dword [0x42406a], 0
je 0x40181c
mov ebx, edi
add ebx, edi
jmp 0x40181e
mov ebx, edi
mov esi, ebx
and esi, 0xffffffa8
or edi, edi
jne 0x40197b
test eax, eax
jne 0x5b334f
push dword [ebp + 0x10]
push edi
push esi
call fcn.004016d9
mov esi, eax
lea ecx, [ebp - 0x18]
call 0x44d3b6
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call 0x4b56f9
leave
ret 0xc
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403cf8
nop
sub eax, 0x403c9e
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40ac04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40ac48
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40ac17
jmp 0x40ac48
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40ac38
pop esi
pop ebp
ret

Function at 0x40b9a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40b9d5
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40b9ff
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40b9ff
test edi, edi
je 0x40b9cc
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b9cc
test edi, edi
je 0x40ba07
mov eax, edi
jmp 0x40b9ce
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40b9ce
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.0040e709
add esp, 0xc
int3
Function at 0x40e73d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonSize], eax
call fcn.0040b9a0
pop ecx
mov ecx, dword [sym.TestMacroForEach.exe_gMozillaPoisonSize]
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40e775
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestMacroForEach.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4043cd
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov ch, byte [eax + 3]
mov esi, dword [ebp + 8]
mov cl, byte [eax + 2]
push edi
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
xor edi, edi
movzx edx, byte [eax]
movzx ebx, byte [eax + 5]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax + 7]
mov dl, byte [eax + 6]
movzx eax, byte [eax + 4]
shl edx, 8
or edx, ebx
shl edx, 8
or eax, edx
cmp dword [ebp + 0x14], edi
jne 0x40446a
mov edx, dword [esi]
test edx, edx
jle 0x4044c3
mov dword [ebp + 8], edx
mov edx, eax
mov ebx, eax
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, edi
and ebx, 3
add edx, eax
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edi
sub edi, 0x61c88647
xor edx, ebx
add ecx, edx
mov edx, ecx
mov ebx, ecx
shr edx, 5
shl ebx, 4
xor edx, ebx
mov ebx, edi
shr ebx, 0xb
and ebx, 3
add edx, ecx
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edi
xor edx, ebx
add eax, edx
dec dword [ebp + 8]
jne 0x404420
jmp 0x4044c3
mov edi, dword [esi]
mov edx, edi
imul edx, edx, 0x9e3779b9
test edi, edi
jle 0x4044c3
mov dword [ebp + 8], edi
mov edi, ecx
mov ebx, ecx
shr edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, edx
shr ebx, 0xb
and ebx, 3
add edi, ecx
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edx
add edx, 0x61c88647
xor edi, ebx
sub eax, edi
mov edi, eax
mov ebx, eax
shr edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, edx
and ebx, 3
add edi, eax
mov ebx, dword [esi + ebx*4 + 4]
add ebx, edx
xor edi, ebx
sub ecx, edi
dec dword [ebp + 8]
jne 0x40447b
mov esi, dword [ebp + 0x10]
mov edx, ecx
shr edx, 8
mov byte [esi + 1], dl
mov byte [esi], cl
mov edx, ecx
mov byte [esi + 4], al
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 5], cl
mov ecx, eax
shr edx, 0x10
shr ecx, 0x10
shr eax, 0x18
mov byte [esi + 2], dl
mov byte [esi + 6], cl
mov byte [esi + 7], al
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x80da5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushfd
push dword [esp + 0x3c]
pop dword [ebp]
pushfd
push 0x17a8e492
mov byte [esp], 0xaa
lea esp, [esp + 0x48]
jmp fcn.0080c692
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x86ddfb
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [edx + ecx + 0x10]
mov dword [ebp - 8], eax
jmp 0x7ac740
mov edi, dword [edx + ecx + 0x18]
cmc
test edi, edi
jmp 0x8b1fd6
push esi
jmp 0xbf6c93
dec edi
jmp 0x763eb2
ret
je 0xc35232
mov esi, dword [ebp + 0xc]
cmp eax, ebx
test esi, esi
jmp 0x7f9e1b
mov dword [ebp - 0xc], eax
js 0x7ac740
jmp 0x7573e5
je 0xc35232
mov eax, 0x5a4d
cmp ebp, 0x58662163
test ebp, 0x7ca5223f
jmp 0x8207f4
mov dword [ebp - 8], 0xffffffff
cmp edx, esi
cmp esp, 0x791b793d
cmp esi, 0xffff
jmp 0xbf2c67
cmp word [ecx], ax
jmp 0xc3522c
push ebp
mov ebp, esp
rcr cl, 3
shrd cx, di, 0
rol ecx, cl
mov ecx, dword [ebp + 8]
test ebp, eax
lea esp, [esp - 0x114]
stc
jmp 0x72d575
je 0x7ac740
mov eax, dword [edx + ecx + 0x20]
test esi, 0xa7c7b42
cmc
lea eax, [eax + ecx]
sub ebx, ebx
jmp 0x73b1d0
je 0xc35232
mov eax, dword [eax + ecx + 0x7c]
push ebx
cmp dl, 0x2b
cmc
test cl, 0xa3
push edi
test ah, 0x2f
mov dword [ebp - 0x10], eax
stc
jmp 0x7ffd5d
ja 0x7258c0
mov eax, esi
clc
jmp 0x72344c
test ecx, ecx
jmp 0x75da71
jne 0xc35232
mov edx, dword [eax + ecx + 0x78]
test bp, bp
mov dword [ebp - 4], edx
cmp dx, 0x4939
test edx, edx
jmp 0x8b5144
je 0xc738a5
xor eax, eax
pop esi
jmp 0xc5d0c4
mov esp, ebp
bswap ebp
movsx ebp, ax
pop ebp
jmp 0x7427ab
mov eax, dword [ecx + 0x3c]
stc
clc
cmc
cmp dword [eax + ecx], 0x4550
jmp 0xc0db81
Function at 0x40108e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
lea eax, [ebp - 0x104]
push eax
call fcn.004011e4
push 0x401065
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401160
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401074
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a0
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x40106f
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a0
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x401145
mov word [ebx], 0x5c
push 0x40101c
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a0
mov dword [ebp - 0x108], eax
push 0x40100b
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x401195
push 0x3e8
call eax
test eax, eax
je 0x401195
call 0x401185
add dword [esp], 0x1e7b
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401016
push 0x401026
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x41cac2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x39e8
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]