joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404bd2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40b6cc], ebx
push esi
push edi
jne 0x404c52
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x404c8d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4089fc
push edi
call esi
test eax, eax
mov dword [0x40b6cc], eax
je 0x404c8d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40b6d0], eax
call esi
cmp dword [0x40b570], 2
mov dword [0x40b6d4], eax
jne 0x404c52
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40b6dc], eax
je 0x404c52
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40b6d8], eax
mov eax, dword [0x40b6d8]
test eax, eax
je 0x404c97
call eax
test eax, eax
je 0x404c7e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40b6dc]
test eax, eax
je 0x404c7e
test byte [ebp - 8], 1
jne 0x404c97
cmp dword [0x40b57c], 4
jb 0x404c91
or byte [ebp + 0x12], 0x20
jmp 0x404cb6
xor eax, eax
jmp 0x404cc6
or byte [ebp + 0x12], 4
jmp 0x404cb6
mov eax, dword [0x40b6d0]
test eax, eax
je 0x404cb6
call eax
mov ebx, eax
test ebx, ebx
je 0x404cb6
mov eax, dword [0x40b6d4]
test eax, eax
je 0x404cb6
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40b6cc]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407534
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004043c0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4075c9
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x40b570]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4075c9
cmp eax, 1
je 0x4075e1
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4075c9
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x40759e
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4075c5
xor eax, eax
inc eax
jmp 0x4075fd
cmp esi, ebx
jae 0x4075cd
xor eax, eax
jmp 0x4075fd
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40b570]
jmp 0x4075e3
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x924b50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DSX1
lea edi, [esi - 0x391000]
push edi
jmp 0x924b6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x924b71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924b60
mov eax, 1
add ebx, ebx
jne 0x924b83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x924b94
jne 0x924bb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924bb3
dec eax
add ebx, ebx
jne 0x924ba0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x924b78
add ebx, ebx
jne 0x924baf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x924c05
xor ecx, ecx
sub eax, 3
jb 0x924bcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x924c3a
sar eax, 1
mov ebp, eax
jmp 0x924bd6
add ebx, ebx
jne 0x924bd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924ba4
inc ecx
add ebx, ebx
jne 0x924be4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x924ba4
add ebx, ebx
jne 0x924bf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x924be6
jne 0x924c02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x924be6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x924c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x924c16
jmp 0x924b66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x924c24
add edi, ecx
jmp 0x924b66
pop esi
mov edi, esi
mov ecx, 0x57fe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x924c42
cmp byte [edi], 0x11
jne 0x924c42
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 0x924c47
lea edi, [esi + 0x521000]
mov eax, dword [edi]
or eax, eax
je 0x924cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x52c764]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x52c840]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x924c74
mov ecx, edi
jns 0x924ca3
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 + 0x52c844]
or eax, eax
je 0x924cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x924c91
call dword [esi + 0x52c854]
mov ebp, dword [esi + 0x52c848]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x924cf3
sub esp, 0xffffff80
jmp 0x4b3d5a
Function at 0x100021b3
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov edi, 0xff
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [esp + 0x10], ebx
mov edx, ebx
lea ebp, [edi + 1]
mov eax, edx
mov dword [esp + esi*4 + 0x414], edx
and al, 0x80
mov dword [esp + edx*4 + 0x14], esi
movsx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
xor edx, ecx
and edx, edi
inc esi
cmp esi, ebp
jl 0x100021d0
mov esi, ebx
mov edx, 0x51ca90
mov eax, esi
mov dword [edx], esi
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
add esi, esi
and ecx, 0x1b
add edx, 4
xor esi, ecx
and esi, edi
cmp edx, 0x51cab8
jl 0x100021fe
mov byte [0x51d2c0], 0x63
mov byte [0x51b1f3], 0
mov ecx, dword [esp + ebx*4 + 0x14]
lea eax, [esp + 0x810]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
and ecx, edi
mov edx, ecx
xor ebx, ecx
sar edx, 7
lea eax, [ecx + ecx]
or edx, eax
and edx, edi
mov esi, edx
xor ebx, edx
sar esi, 7
lea eax, [edx + edx]
or esi, eax
and esi, edi
mov ecx, esi
sar ecx, 7
lea eax, [esi + esi]
or ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, 0x63
and ecx, edi
xor ecx, esi
xor ebx, ecx
mov byte [eax + 0x51d2c0], bl
mov byte [ebx + 0x51b190], al
mov ebx, eax
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, ebp
jl 0x1000222d
xor esi, esi
movzx edx, byte [esi + 0x51d2c0]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
and ecx, edi
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
movzx ecx, byte [esi + 0x51b190]
mov dword [esi*4 + 0x51b290], eax
rol eax, 8
mov dword [esi*4 + 0x51b690], eax
rol eax, 8
mov dword [esi*4 + 0x51ba90], eax
rol eax, 8
mov dword [esi*4 + 0x51be90], eax
test ecx, ecx
je 0x1000230a
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x4c]
cdq
idiv edi
mov ebp, dword [esp + edx*4 + 0x414]
jmp 0x1000230c
xor ebp, ebp
test ecx, ecx
je 0x10002324
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x38]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x414]
jmp 0x10002326
xor ebx, ebx
test ecx, ecx
je 0x1000233e
mov eax, dword [esp + ecx*4 + 0x14]
add eax, dword [esp + 0x48]
cdq
idiv edi
mov edi, dword [esp + edx*4 + 0x414]
jmp 0x10002340
xor edi, edi
test ecx, ecx
je 0x1000235d
mov eax, dword [esp + ecx*4 + 0x14]
mov ecx, 0xff
add eax, dword [esp + 0x40]
cdq
idiv ecx
mov eax, dword [esp + edx*4 + 0x414]
jmp 0x1000235f
xor eax, eax
shl eax, 8
xor eax, edi
mov edi, 0xff
shl eax, 8
xor eax, ebx
shl eax, 8
xor eax, ebp
mov dword [esi*4 + 0x51c290], eax
rol eax, 8
mov dword [esi*4 + 0x51c690], eax
rol eax, 8
mov dword [esi*4 + 0x51cac0], eax
rol eax, 8
mov dword [esi*4 + 0x51cec0], eax
inc esi
cmp esi, 0x100
jl 0x10002297
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x804
ret
Function at 0x100046cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 4], ecx
push esi
mov esi, edx
push edi
cmp ebx, 0x180
jbe 0x100046f4
push 0xffffffffffffffc8
pop eax
jmp 0x10004861
push 0x1a0
lea eax, [esp + 0x7c]
push 0
push eax
call 0x10009e00
push 0x118
lea eax, [esp + 0x228]
push 0
push eax
call 0x10009e00
mov eax, ebx
mov byte [esp + 0xa3], bl
shr eax, 0x18
mov byte [esp + 0xa0], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0xa1], al
mov eax, ebx
shr eax, 8
push ebx
mov byte [esp + 0xa6], al
lea eax, [esp + 0xac]
push esi
push eax
mov byte [esp + 0xb3], 0x30
call 0x10009dd0
lea esi, [ebx + 0x19]
mov byte [esp + ebx + 0xb4], 0x80
add esp, 0x24
mov dword [esp + 0x14], esi
xor eax, eax
mov byte [esp + eax + 0x58], al
inc eax
cmp eax, 0x20
jl 0x1000476f
push ecx
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x21c]
call fcn.100023c1
xor ebx, ebx
pop ecx
mov dword [esp + 0x10], ebx
xor eax, eax
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, esi
test esi, esi
je 0x100047e7
lea esi, [esp + 0x78]
lea eax, [esp + 0x18]
push 0x10
sub esi, eax
pop ebx
xor edx, edx
lea ecx, [esp + 0x18]
add ecx, edx
mov al, byte [esi + ecx]
xor byte [ecx], al
inc edx
cmp edx, ebx
jl 0x100047b0
add esi, ebx
lea ecx, [esp + 0x218]
cmp edi, ebx
mov eax, edi
cmovae eax, ebx
sub edi, eax
lea eax, [esp + 0x18]
push eax
mov edx, eax
call fcn.100025f2
pop ecx
test edi, edi
jne 0x100047ae
mov ebx, dword [esp + 0x10]
lea edi, [esp + 0x28]
add edi, ebx
lea esi, [esp + 0x18]
inc byte [esp + 0x7b]
push 0x10
pop eax
movsd dword es:[edi], dword [esi]
add ebx, eax
mov dword [esp + 0x10], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
cmp ebx, 0x30
jl 0x10004791
push ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x21c]
call fcn.100023c1
pop ecx
push 3
pop ebx
lea eax, [esp + 0x48]
push eax
mov edx, eax
lea ecx, [esp + 0x21c]
call fcn.100025f2
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x4c]
mov edi, eax
add eax, 0x10
mov dword [esp + 0x10], eax
pop ecx
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 ebx
jne 0x10004820
lea eax, [esp + 0x218]
mov ecx, 0x118
mov byte [eax], 0
inc eax
dec ecx
jne 0x10004858
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004868
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push 0x30
lea ebp, [esp + 0x20]
mov dword [esp + 0x18], edx
xor esi, esi
mov eax, ebp
push esi
push eax
mov ebx, ecx
call 0x10009e00
xor edi, edi
mov dword [esp + 0x1c], 3
inc edi
add esp, 0xc
sub edi, ebx
lea ecx, [ebx + 0xf]
inc byte [ecx]
jne 0x100048a5
dec ecx
lea eax, [edi + ecx]
test eax, eax
jg 0x10004899
push ebp
mov edx, ebx
lea ecx, [ebx + 0x20]
call fcn.100025f2
add ebp, 0x10
dec dword [esp + 0x14]
pop ecx
jne 0x10004896
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub edi, eax
lea edx, [esp + 0x1c]
add edx, esi
mov al, byte [edi + edx]
xor byte [edx], al
inc esi
cmp esi, 0x30
jl 0x100048c4
push ecx
lea edx, [esp + 0x20]
lea ecx, [ebx + 0x20]
call fcn.100023c1
mov edi, ebx
lea esi, [esp + 0x40]
pop ecx
xor eax, 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]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x10005dcc
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, edx
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x14], ebx
lea eax, [edi + 1]
push eax
push ebx
push ebp
call 0x10009e00
add esp, 0xc
mov esi, ebx
test edi, edi
je 0x10005e4b
mov eax, dword [esp + 0x28]
movzx eax, al
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
test eax, eax
je 0x10005e46
mov al, byte [esi + ebp]
mov byte [esp + 0x13], al
mov eax, esi
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.10002e4e
mov ecx, ebx
shl al, cl
mov cl, byte [esp + 0x13]
or cl, al
mov eax, dword [esp + 0x18]
inc ebx
mov byte [esp + 0x13], cl
add eax, edi
mov byte [esi + ebp], cl
mov dword [esp + 0x18], eax
cmp ebx, dword [esp + 0x1c]
jb 0x10005e11
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, edi
jb 0x10005dfc
xor esi, esi
inc esi
cmp edi, esi
jb 0x10005e89
mov dh, byte [esi + ebp]
mov ch, dh
xor dh, bl
and ch, bl
mov byte [esi + ebp], dh
mov al, dh
mov bl, 1
and al, 1
sub bl, al
mov al, byte [esi + ebp - 1]
imul bl
shl bl, 7
or byte [esi + ebp - 1], bl
mov cl, al
xor byte [esi + ebp], al
and cl, dh
or cl, ch
inc esi
mov byte [esp + 0x14], cl
mov ebx, dword [esp + 0x14]
cmp esi, edi
jbe 0x10005e52
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x10006d22
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
and dword [ecx], 0
and dword [ecx + 4], 0
test edx, edx
jne 0x10006d67
mov dword [ecx + 8], 0x6a09e667
mov dword [ecx + 0xc], 0xbb67ae85
mov dword [ecx + 0x10], 0x3c6ef372
mov dword [ecx + 0x14], 0xa54ff53a
mov dword [ecx + 0x18], 0x510e527f
mov dword [ecx + 0x1c], 0x9b05688c
mov dword [ecx + 0x20], 0x1f83d9ab
mov dword [ecx + 0x24], 0x5be0cd19
jmp 0x10006d9f
mov dword [ecx + 8], 0xc1059ed8
mov dword [ecx + 0xc], 0x367cd507
mov dword [ecx + 0x10], 0x3070dd17
mov dword [ecx + 0x14], 0xf70e5939
mov dword [ecx + 0x18], 0xffc00b31
mov dword [ecx + 0x1c], 0x68581511
mov dword [ecx + 0x20], 0x64f98fa7
mov dword [ecx + 0x24], 0xbefa4fa4
mov dword [ecx + 0x68], edx
ret
Function at 0x100079b6
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
test edx, edx
jne 0x10007a39
mov dword [ecx + 0x10], 0xf3bcc908
mov dword [ecx + 0x14], 0x6a09e667
mov dword [ecx + 0x18], 0x84caa73b
mov dword [ecx + 0x1c], 0xbb67ae85
mov dword [ecx + 0x20], 0xfe94f82b
mov dword [ecx + 0x24], 0x3c6ef372
mov dword [ecx + 0x28], 0x5f1d36f1
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0xade682d1
mov dword [ecx + 0x34], 0x510e527f
mov dword [ecx + 0x38], 0x2b3e6c1f
mov dword [ecx + 0x3c], 0x9b05688c
mov dword [ecx + 0x40], 0xfb41bd6b
mov dword [ecx + 0x44], 0x1f83d9ab
mov dword [ecx + 0x48], 0x137e2179
mov dword [ecx + 0x4c], 0x5be0cd19
jmp 0x10007aa9
mov dword [ecx + 0x10], 0xc1059ed8
mov dword [ecx + 0x14], 0xcbbb9d5d
mov dword [ecx + 0x18], 0x367cd507
mov dword [ecx + 0x1c], 0x629a292a
mov dword [ecx + 0x20], 0x3070dd17
mov dword [ecx + 0x24], 0x9159015a
mov dword [ecx + 0x28], 0xf70e5939
mov dword [ecx + 0x2c], 0x152fecd8
mov dword [ecx + 0x30], 0xffc00b31
mov dword [ecx + 0x34], 0x67332667
mov dword [ecx + 0x38], 0x68581511
mov dword [ecx + 0x3c], 0x8eb44a87
mov dword [ecx + 0x40], 0x64f98fa7
mov dword [ecx + 0x44], 0xdb0c2e0d
mov dword [ecx + 0x48], 0xbefa4fa4
mov dword [ecx + 0x4c], 0x47b5481d
mov dword [ecx + 0xd0], edx
ret
Function at 0x402130
Capabilities:
Encode data using xor

Disassembly:
aaa
xor dh, byte [edx]
rcr byte [eax + 0x32], cl
xor dh, byte [edx]
jmp 0x40216c
cmpsb byte [esi], byte es:[edi]
mov eax, dword [0x62945fa2]
cmpsb byte [esi], byte es:[edi]
imul esp, dword [ebp - 0x6a], 0x68
xor cl, byte [edx - 0x65e42559]
in eax, 0x27
sbb esi, 0x4ab680d5
movsb byte es:[edi], byte [esi]
add dword gs:[edx], ebp
clc
and dword [ebx - 0x14bce249], esi
adc eax, 0xe7888232
inc esi
sub byte [edx - 0x65e42559], cl
in eax, 0x27
sbb esi, 0x4ab680d5
movsb byte es:[edi], byte [esi]
add dword gs:[edx], ebp
clc
and dword [ebx - 0x14bce249], esi
adc eax, 0xe7888232
mov bh, ah
inc esi
sub byte [eax + 0x3b323232], bh
xor dh, byte [edx]
sal byte [ebx + 0x32], cl
xor dl, dl
jae 0x4021f4
xor dh, byte [edx]
arpl word [ebp - 0x43eb7a7e], ax
mov bh, byte [eax - 0x12]
jle 0x402239
jne 0x4021be
inc ebp
lds ebx, [eax - 0x36]
lahf
add byte [edi + 0x32], dl
xor dh, byte [edx]
xor dh, byte ss:[edx]
xor dh, byte [edx]
push ecx
xor dh, byte [edx]
xor bh, byte [ebx]
xor dh, byte [edx]
xor al, byte [ebp + 0x63325f32]
xor bl, byte [edi + 0x32]
xor bl, byte [bx + 0x32]
arpl word [edx], si
xor ah, byte [ebx + 0x32]
push 0x32
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
imul esi, dword [edx], 0x32
xor ah, byte [ebx - 0x7b]
add byte [ebp + 0x769f48e3], 0xdf
mov edi, 0x7ad97aa2
jb 0x402275
salc
outsd dx, dword [esi]
stosb byte es:[edi], al
mov esi, 0x3232324f
lcall 0x327a, 0x32323232
xor dh, byte [edx]
cmp eax, 0xdc47a57e
jl 0x40221d
jle 0x40220e
cmpsd dword [esi], dword es:[edi]
jo 0x4021b4
xor dword [esi + ebx*8 - 0x1b], 0x32323232
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
jle 0x402276
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor bh, byte [esi + 0x32]
xor dh, byte [edx]
xor eax, dword [esi + 0x34]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, dl
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
js 0x402258
jb 0x40228b
xor dh, byte [edx]
push edx
xor dh, byte [edx]
xor dl, byte [ebp - 0x69]
xor dl, byte [edx + 0x32]
xor dh, byte [edx]
push ebp
xchg edi, eax
fstp dword [esi - 0x36]
dec ebx
or dword [ebx], esi
push ebp
xchg edi, eax
fstp dword [esi - 0x36]
dec ebx
or dword [ebx], esi
push ebp
xchg edi, eax
fstp dword [esi - 0x36]
dec ebx
or dword [ebx], esi
xor ebx, edx
ret 0x3233
fcmovb st(0), st(2)
xor esi, dword [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor esi, dword [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
xor dh, byte [edx]
dec ebx
xor al, 0x46
xor dh, byte [edx]
xor cl, byte [ebx + 0x34]
inc esi
xor dl, byte [ecx - 0x7e]
adc al, byte [ecx + 0x6c1c5202]
wait
inc edx
aam 0xa
cmp dh, byte [edx]
pop ebp
bound esp, qword [edx - 0x31]
dec ebx
xor ah, byte [ecx + 0x75]
insb byte es:[edi], dx
invalid
Function at 0x402e31
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4fc7ac]
mov ecx, dword [0x4fc640]
sub esp, 0x808
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x402ed8
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x4fc7ac], 0x5d
jne 0x402eca
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x4022f4
push 0x402320
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x40232c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push edi
call fcn.004025d4
add edi, 8
dec ebx
jne 0x402e59
pop edi
pop ebx
pop esi
leave
ret
Function at 0x406b7d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b43b8]
jne 0x406b87
repz ret
jmp fcn.00408959

Function at 0x408516
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004065b4
and dword [ebp - 4], 0
cmp dword [0x4bc24c], 0
mov ebx, eax
jne 0x4085c7
push 0x401954
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408678
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401948
push edi
call esi
test eax, eax
je 0x408678
push eax
call fcn.00406542
mov dword [esp], 0x401938
push edi
mov dword [0x4bc24c], eax
call esi
push eax
call fcn.00406542
mov dword [esp], 0x401924
push edi
mov dword [0x4bc250], eax
call esi
push eax
call fcn.00406542
mov dword [esp], 0x401908
push edi
mov dword [0x4bc254], eax
call esi
push eax
call fcn.00406542
pop ecx
mov dword [0x4bc25c], eax
test eax, eax
je 0x4085c7
push 0x4018f0
push edi
call esi
push eax
call fcn.00406542
pop ecx
mov dword [0x4bc258], eax
mov eax, dword [0x4bc258]
cmp eax, ebx
je 0x40861f
cmp dword [0x4bc25c], ebx
je 0x40861f
push eax
call fcn.004065bd
push dword [0x4bc25c]
mov esi, eax
call fcn.004065bd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40861f
test edi, edi
je 0x40861f
call esi
test eax, eax
je 0x408616
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408616
test byte [ebp - 0xc], 1
jne 0x40861f
or dword [ebp + 0x10], 0x200000
jmp 0x408658
mov eax, dword [0x4bc250]
cmp eax, ebx
je 0x408658
push eax
call fcn.004065bd
pop ecx
test eax, eax
je 0x408658
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408658
mov eax, dword [0x4bc254]
cmp eax, ebx
je 0x408658
push eax
call fcn.004065bd
pop ecx
test eax, eax
je 0x408658
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bc24c]
call fcn.004065bd
pop ecx
test eax, eax
je 0x408678
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40867a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40644e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40645d
pop dword [ebp - 0x1c]
mov eax, 0x8fa9e394
add eax, 0x709680c9
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x90d44cd5
add dword [ebp - 0x2c], 0xbd7df876
mov dword [ebp - 0x28], 0x95ebd84e
add dword [ebp - 0x28], 0x9c4773f7
mov dword [ebp - 0x24], 0x4b54d868
add dword [ebp - 0x24], 0xf76bc6
mov dword [ebp - 0x20], 0x7c70ee4
add dword [ebp - 0x20], 0xf838f11c
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x1cf995ee
add eax, 0xe346ea8a
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xdcaa81ed
sub dword [ebp - 0x2c], 0x68381897
mov dword [ebp - 0x28], 0xdbcbc06a
add dword [ebp - 0x28], 0x65a0a10b
mov dword [ebp - 0x24], 0x49ce75ca
add dword [ebp - 0x24], 0x19a0f6a2
mov dword [ebp - 0x20], 0xe6ddf68f
sub dword [ebp - 0x20], 0xe6ddf68f
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xd462707b
add eax, 0x2bde1001
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37617
push 0
call eax
mov ecx, 0x9e0538fb
sub ecx, 0x9e04efab
mov edx, eax
mov ebx, 0xbef5599e
sub ebx, 0xbeafc79e
add ebx, dword [ebp - 0x1c]
mov edi, 0xad1a8d9b
sub edi, 0x14bfe9a4
add dword [ebp - 0xc], 0xe76bfe82
mov esi, dword [ebx]
sub dword [ebp - 4], 0xba5980c5
sub esi, edi
xor dword [ebp - 4], 0x790c4112
mov dword [edx], esi
sub dword [ebp - 0x18], edi
add edx, 4
add ebx, 0xa6c1f89
add ebx, 0xf593e07b
loop 0x40657f
add eax, 0x11813
xor ebx, ebx
add ebx, eax
add eax, 0x9a18f1b2
add eax, 0x65e70e53
mov ecx, 0xf7016890
add ecx, 0x93e9770
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

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

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc