joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ae0
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402ca6
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test ebp, ebp
je 0x402c9f
mov edx, 0x5e6ea9af
mov eax, ebp
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov esi, ebp
sub esi, eax
jmp 0x402b82
mov esi, dword [esp]
mov eax, esi
sub eax, dword [esp + 4]
add ebx, eax
mov ebp, dword [esp + 0xc]
mov eax, ecx
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
mov dword [esp], eax
mov eax, edi
mov edx, 0x80078071
mul edx
sub ecx, dword [esp]
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov eax, ebp
not eax
and eax, esi
not esi
and ebp, esi
mov esi, 0x15b0
sub ebp, eax
je 0x402c9f
xor eax, eax
cmp esi, 8
mov dword [esp], esi
jb 0x402c03
and esi, 0x1ff8
mov dword [esp + 4], esi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
movzx edx, byte [ebx + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebx + eax + 1]
mov edi, edx
and edi, esi
xor edx, esi
lea edx, [edx + edi*2]
add ecx, edx
movzx esi, byte [ebx + eax + 2]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 3]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 4]
add esi, edx
add ecx, esi
movzx edx, byte [ebx + eax + 5]
add edx, esi
add ecx, edx
movzx esi, byte [ebx + eax + 6]
add esi, edx
add ecx, esi
movzx edi, byte [ebx + eax + 7]
add edi, esi
mov esi, dword [esp]
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x402ba0
add ebx, edx
mov eax, dword [esp + 4]
mov edx, eax
sub edx, esi
jae 0x402b3f
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov ebp, esi
and ebp, 3
mov dword [esp + 4], eax
je 0x402c50
neg ebp
xor eax, eax
mov edx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec eax
cmp ebp, eax
jne 0x402c30
mov ebp, dword [esp + 4]
sub ebp, eax
cmp dword [esp + 8], 0xfffffffc
ja 0x402b30
jmp 0x402c5f
mov ebp, eax
mov edx, ebx
cmp dword [esp + 8], 0xfffffffc
ja 0x402b30
mov eax, dword [esp]
sub eax, ebp
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + ebp]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + ebp + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 3]
add edi, esi
add ecx, edi
add ebp, 4
cmp eax, ebp
jne 0x402c70
jmp 0x402b30
shl ecx, 0x10
or ecx, edi
jmp 0x402cab
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402d2a
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x402d2c
not eax
xor esi, esi
nop
nop
nop
nop
movzx edx, byte [ecx + esi]
mov ebx, eax
mov edi, edx
and edi, 0xf
mov ebp, edi
and ebp, eax
and eax, 0xf
add eax, edi
add ebp, ebp
sub eax, ebp
shr ebx, 4
xor ebx, dword [eax*4 + 0x44380c]
mov eax, ebx
not eax
or eax, 0xf
add eax, ebx
inc eax
shr edx, 4
xor edx, eax
mov eax, ebx
shr eax, 4
xor eax, dword [edx*4 + 0x44380c]
mov edx, dword [esp + 0x1c]
inc esi
cmp edx, esi
jne 0x402ce0
not eax
jmp 0x402d2c
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408ef0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44b72c], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x44c0e8], ecx
test eax, eax
je 0x408f41
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44c0ec], ecx
add eax, 2
jmp 0x408f00
mov dword [0x44b728], 0x270
ret

Function at 0x408f60
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x210
call fcn.0043e000
test al, al
je 0x4090c6
lea eax, [esp + 8]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00437a00
test al, al
je 0x4090c1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0xb31e01ba
mov esi, 0x8d39f646
mov ecx, ebx
shrd esi, edi, cl
mov dword [esp], eax
shr edi, cl
test bl, 0x20
je 0x408fc0
mov esi, edi
xor edi, edi
mov eax, esi
and eax, 0x8d39f646
mov ecx, edi
and ecx, 0xb31e01ba
add esi, 0x8d39f646
adc edi, 0xb31e01ba
sub esi, eax
sbb edi, ecx
sub esi, eax
sbb edi, ecx
mov ecx, edi
and ecx, 0xae37f3e4
mov ebp, esi
and ebp, 0x66dd5810
mov ebx, esi
and ebx, 0x9922a7ef
mov eax, ebx
xor eax, 0x9922a7ef
imul ecx, eax
mul ebp
mov dword [esp + 4], eax
add edx, ecx
mov ecx, edi
and ecx, 0x51c80c1b
or esi, 0x9922a7ef
mov eax, esi
imul esi, ecx
xor ecx, 0x51c80c1b
imul ecx, ebp
add ecx, edx
mul ebx
add esi, edx
or edi, 0x51c80c1b
imul edi, ebx
add edi, esi
add eax, dword [esp + 4]
adc edi, ecx
mov ebx, edi
shr ebx, 0x15
xor ebx, edi
mov esi, edi
shld esi, eax, 0xb
xor esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x40909d
mov ecx, 0x75b8d0e8
mov eax, esi
mul ecx
imul ecx, esi, 0x11fd100b
imul edi, ebx, 0x75b8d0e8
add edi, edx
add edi, ecx
mov esi, eax
mov ecx, dword [esp]
shrd esi, edi, cl
mov ebx, edi
shr ebx, cl
test cl, 0x20
je 0x409087
mov esi, ebx
xor ebx, ebx
mov ecx, esi
and ecx, eax
mov edx, ebx
and edx, edi
add esi, eax
adc ebx, edi
shld edx, ecx, 1
add ecx, ecx
sub esi, ecx
sbb ebx, edx
or ebx, 0x1010101
or esi, 0x1010101
push ebx
push esi
call fcn.0040a230
add esp, 8
test al, al
je 0x4090c1
call fcn.0040cd20
call fcn.0040bbe0
call fcn.0043f1c0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4090d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x409147
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [ecx + edx*2 + 8]
mov ebx, edx
and ebx, 0x31a
mov ebp, eax
xor ebp, 0x18d
add ebp, ebx
mov ebx, edi
and ebx, 1
neg ebx
and ebx, 0x9908b0df
xor ebx, dword [ecx + ebp*4 + 4]
mov ebp, edi
and esi, 0x80000000
and ebp, 0x7ffffffe
or ebp, esi
shr ebp, 1
xor ebx, ebp
mov dword [ecx + edx*2 + 0x9c4], ebx
mov esi, edi
add edx, 2
inc eax
cmp edx, 0x4e0
jne 0x4090f0
mov eax, 0x270
jmp 0x409159
cmp eax, 0x4e0
jb 0x409159
mov esi, ecx
call fcn.004091a0
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
mov ecx, eax
and ecx, edx
add eax, edx
add ecx, ecx
sub eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4091a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
xor eax, eax
mov edx, SysReAllocString
nop
nop
nop
nop
nop
nop
lea esi, [eax + 0x270]
mov ebx, dword [ecx + eax*4 + 0x9c4]
and ebx, edx
mov edi, eax
and edi, 1
or esi, 1
add esi, edi
mov esi, dword [ecx + esi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 + 0xff8]
xor esi, edi
mov dword [ecx + eax*4 + 4], esi
inc eax
cmp eax, 0xe3
jne 0x4091b0
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 - 0xd50]
xor edi, edx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x409210
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7ffffffe
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x4093f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x404
mov dword [esp], ecx
mov esi, dword [esp + 0x418]
movzx eax, word [esi]
lea ebp, [esp + 4]
test ax, ax
je 0x409525
mov edx, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x409440
lea eax, [ebp + 1]
mov byte [ebp], bl
jmp 0x4094d0
cmp ebx, 0x7ff
ja 0x409470
cmp edx, 2
jb 0x409470
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
mov eax, ebx
xor eax, 0xc0
or ebx, 0x3f
and ebx, eax
add bl, 0x80
mov byte [ebp + 1], bl
lea eax, [ebp + 2]
jmp 0x4094d0
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x4094ea
cmp edx, 4
jb 0x4094ea
movzx ecx, word [esi + 2]
add esi, 4
shl ebx, 0xa
lea eax, [ebx + ecx]
add eax, 0xfca02400
mov ebx, eax
shr ebx, 0x12
or bl, 0xf0
mov byte [ebp], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
and cl, 0x3f
or cl, 0x80
lea eax, [ebp + 4]
mov byte [ebp + 3], cl
mov edi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add edx, ebp
sub edx, eax
mov esi, edi
mov ebp, eax
movzx eax, word [esi]
test ax, ax
je 0x409525
test edx, edx
jne 0x409420
jmp 0x409525
movzx eax, ax
cmp eax, 0xdc00
jne 0x4094f8
mov esi, edi
jmp 0x4094d8
cmp edx, 3
jb 0x409521
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ebx
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 1], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x4094d0
mov eax, ebp
jmp 0x4094d0
mov esi, dword [esp + 0x420]
mov edx, dword [esp + 0x41c]
mov byte [ebp], 0
xor eax, eax
jmp 0x409548
mov byte [esp + eax + 0x204], bl
inc eax
movzx ecx, byte [esp + eax + 4]
mov bl, 0x2f
cmp ecx, 0x5c
je 0x409540
test ecx, ecx
je 0x40955c
mov ebx, ecx
jmp 0x409540
mov byte [esp + eax + 0x204], 0
lea eax, [esp + 0x204]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push esi
push edx
push eax
push ecx
call fcn.00404d60
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40a230
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x44cb04]
mov dword [esp], eax
mov dword [esp + 0x1a8], 0x23221920
mov word [esp + 0x1ac], 0
xor ecx, ecx
mov edx, 0xca61c507
nop
nop
movzx edi, byte [esp + ecx + 0x1a8]
mov esi, edx
or esi, edi
mov ebx, ecx
xor ebx, 7
and ebx, edi
not esi
or esi, ebx
lea edi, [esi - 0xc1726d9]
mov ebp, edi
xor edi, 1
lea ebx, [esi + edi]
add ebx, 0xf3e8d927
and esi, 1
and ebp, 0xfe
or ebp, esi
sub ebx, ebp
inc bl
mov byte [esp + ecx + 0x1a8], bl
inc ecx
dec edx
cmp ecx, 6
jne 0x40a260
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x18], 0x1fb07fd
mov dword [esp + 0x1c], 0xde30332
mov dword [esp + 0x20], 0x93c0f31
mov dword [esp + 0x24], 0x15e60b3e
mov dword [esp + 0x28], 0x11e217e0
mov word [esp + 0x2c], 0x1310
mov dword [esp + 0x2e], 0
mov edx, 0x41
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x29]
mov ebx, eax
and ebx, edx
add bl, bl
sub al, bl
movzx eax, al
add eax, edx
add al, 0xbb
mov byte [esp + edx - 0x29], al
inc edx
cmp edx, 0x5b
jne 0x40a2f0
lea esi, [esp + 0x18]
push ecx
push 0
push esi
call dword [esp + 0xc]
mov ecx, 0x44cb08
push eax
call fcn.0043df70
movzx eax, al
mov eax, dword [eax*4 + 0x4469bc]
mov ecx, dword [0x4469c4]
mov edx, ecx
and edx, 0x180823ec
add edx, edx
sub edx, ecx
lea ecx, [eax + edx]
add ecx, 0xe7f7dc14
xor eax, eax
jmp ecx
Function at 0x40ada0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
movzx ebx, byte [edx]
test bl, bl
je 0x40b023
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x40addc
cmp edx, esi
jae 0x40b023
test edi, edi
je 0x40b023
movzx ebp, bl
test bl, bl
js 0x40ae10
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x28]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x40add0
jmp 0x40b023
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40ae4d
cmp bl, 0xc2
jb 0x40ae00
mov bh, byte [edx + 1]
movzx ecx, bh
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40aeba
and ebp, 0x1f
shl ebp, 6
add edx, 2
lea esi, [ecx + ebp]
add esi, 0xffffff80
jmp 0x40af0c
mov ecx, ebp
not ecx
or ecx, 0xf0
add ecx, ebp
cmp ecx, 0xdf
jne 0x40ae82
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x40aec4
cmp ebp, 0xe0
jne 0x40aecd
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x40adfc
jmp 0x40aecd
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40b002
cmp bl, 0xf4
ja 0x40ae00
movzx ecx, byte [edx + 1]
je 0x40af17
cmp ebp, 0xf0
jne 0x40af20
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x40adfc
jmp 0x40af20
inc edx
mov esi, dword [esp + 0x28]
jmp 0x40ae02
cmp cl, 0x9f
ja 0x40adfc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b009
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b00f
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0x40adf2
cmp cl, 0x8f
ja 0x40adfc
mov esi, ecx
xor esi, 0xffffff3f
mov ebp, ecx
or ebp, 0xc0
and ebp, esi
cmp ebp, 0x80
jne 0x40b009
mov bh, byte [edx + 2]
movzx ebp, bh
mov esi, ebp
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40b00f
mov dword [esp], ebp
movzx ebp, byte [edx + 3]
mov esi, ebp
not esi
or esi, 0xc0
mov dword [esp + 4], ebp
add esi, ebp
cmp esi, 0x7f
jne 0x40b01b
and bl, 7
movzx esi, bl
shl esi, 0x12
mov ebx, ecx
not ebx
or ebx, 0x3f
add ebx, ecx
shl ebx, 0xc
add ebx, esi
mov ecx, dword [esp]
and ecx, 0x3f
shl ecx, 6
add ecx, ebx
add ecx, 0x1000
add edx, 4
mov esi, ecx
and esi, 0xfffff800
cmp esi, 0xd800
je 0x40adfc
mov ebx, dword [esp + 4]
and ebx, 0x3f
or ebx, ecx
cmp ebx, 0x10000
mov esi, dword [esp + 0x28]
jb 0x40ae00
cmp edi, 2
jb 0x40b002
add ecx, 0xf0000
shr ecx, 0xa
and ecx, 0x3ff
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
mov word [eax + 2], bx
lea ecx, [eax + 4]
jmp 0x40adf2
mov ecx, eax
jmp 0x40adf2
inc edx
jmp 0x40adfc
add edx, 2
mov esi, dword [esp + 0x28]
jmp 0x40ae02
add edx, 3
jmp 0x40adfc
mov word [eax], 0
sub eax, dword [esp + 0x1c]
sar eax, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0x3c
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44cae0]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40b60e
sar edx, 1
lea edi, [esi + 0x24]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x446cc4]
mov eax, dword [0x446cd4]
nop
nop
nop
nop
nop
nop
jmp eax
Function at 0x40bc10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x43c
mov ebp, dword [esp + 0x468]
mov esi, dword [esp + 0x450]
mov dword [esp + 0x3c], 0xd1bfcf83
mov dword [esp + 0x40], 0xd5b9d3aa
mov dword [esp + 0x44], 0xd9bad7b8
mov dword [esp + 0x48], 0xddebdbbb
mov dword [esp + 0x4c], 0xe1f0dfeb
mov dword [esp + 0x50], 0xe5c2e3d0
mov dword [esp + 0x54], 0xe9bfe7cc
mov dword [esp + 0x58], 0xed84eb83
mov dword [esp + 0x5c], 0xf19fef88
mov dword [esp + 0x60], 0xf587f389
mov dword [esp + 0x64], 0xf9b8f7d4
mov dword [esp + 0x68], 0xfddafbac
mov dword [esp + 0x6c], 0x1ceffcf
mov dword [esp + 0x70], 0x532032e
mov dword [esp + 0x74], 0x9260739
mov dword [esp + 0x78], 0xd610b51
mov dword [esp + 0x7c], 0x11380f62
mov dword [esp + 0x80], 0x152f1324
mov dword [esp + 0x84], 0x196e1734
mov dword [esp + 0x88], 0x1d2e1b2e
mov dword [esp + 0x8c], 0x213e1f37
mov dword [esp + 0x90], 0x25522363
mov dword [esp + 0x94], 0x294a2754
mov dword [esp + 0x98], 0x2d732b4f
mov dword [esp + 0x9c], 0x314c2f4b
mov dword [esp + 0xa0], 0x3559337d
mov dword [esp + 0xa4], 0x39073740
mov dword [esp + 0xa8], 0x3d0f3b0f
mov dword [esp + 0xac], 0x41103f05
mov dword [esp + 0xb0], 0x45744375
mov dword [esp + 0xb4], 0x496e4764
mov dword [esp + 0xb8], 0x4d024b05
mov dword [esp + 0xbc], 0x51014f18
mov dword [esp + 0xc0], 0x557e531c
mov dword [esp + 0xc4], 0x593a5774
mov dword [esp + 0xc8], 0x5d375b33
mov dword [esp + 0xcc], 0x617e5f3b
mov dword [esp + 0xd0], 0x65056329
mov dword [esp + 0xd4], 0x690b6701
mov dword [esp + 0xd8], 0x6d416b19
mov dword [esp + 0xdc], 0x712b6f4c
mov dword [esp + 0xe0], 0x75007318
mov dword [esp + 0xe4], 0x79197705
mov dword [esp + 0xe8], 0x7d4b7b1f
mov dword [esp + 0xec], 0x814d7f4f
mov dword [esp + 0xf0], 0x85ac83bb
mov dword [esp + 0xf4], 0x89a887b4
mov dword [esp + 0xf8], 0x8da48bb8
mov dword [esp + 0xfc], 0x91ae8fbc
mov dword [esp + 0x100], 0x95f193c5
mov dword [esp + 0x104], 0x99f597f2
mov dword [esp + 0x108], 0x9df19bea
mov dword [esp + 0x10c], 0xa1a99fad
mov dword [esp + 0x110], 0xa59ba395
mov dword [esp + 0x114], 0xa993a78a
mov dword [esp + 0x118], 0xadaaab9e
mov eax, dword [0x44cad4]
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ecx
and edi, 0x9a
mov ebx, edx
xor ebx, 0x4d
add ebx, edi
xor bl, byte [esp + edx + 0x3c]
add bl, 0x7f
mov byte [esp + edx + 0x3c], bl
inc edx
add ecx, 2
cmp edx, 0xe0
jne 0x40be70
lea ecx, [esp + 0x3c]
push 0
push 0
push 0
push 0
push ecx
call eax
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x446d64]
mov ecx, 0x2004eb67
xor ecx, dword [0x446d6c]
add ecx, edx
inc ecx
jmp ecx
Function at 0x40c490
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x244
mov dword [esp + 0x44], 0xb72589fd
mov dword [esp + 0x48], 0xb3dbb532
mov dword [esp + 0x4c], 0xbf2ab124
mov dword [esp + 0x50], 0xbbe9bddd
mov dword [esp + 0x54], 0xa7f4b9e5
mov dword [esp + 0x58], 0xa382a5f4
mov dword [esp + 0x5c], 0xafd5a188
mov dword [esp + 0x60], 0xab38adc5
mov dword [esp + 0x64], 0xd745a9c4
mov dword [esp + 0x68], 0xd34dd54f
mov dword [esp + 0x6c], 0xdfacd1f0
mov dword [esp + 0x70], 0xdbfadda0
mov dword [esp + 0x74], 0xc796d989
mov dword [esp + 0x78], 0xc392c596
mov dword [esp + 0x7c], 0xcfeec187
mov dword [esp + 0x80], 0xcba3cdb7
mov dword [esp + 0x84], 0xf7acc95a
mov dword [esp + 0x88], 0xf3b5f5a8
mov dword [esp + 0x8c], 0xff66f1d0
mov dword [esp + 0x90], 0xfba6fda6
mov dword [esp + 0x94], 0xe7c6f9d1
mov dword [esp + 0x98], 0xe372e5a5
mov dword [esp + 0x9c], 0xef7ae170
mov dword [esp + 0xa0], 0xeb91ed81
mov dword [esp + 0xa4], 0x1778e985
mov dword [esp + 0xa8], 0x137b1563
mov dword [esp + 0xac], 0x1f4d118c
mov dword [esp + 0xb0], 0x1b451d41
mov dword [esp + 0xb4], 0x7541943
mov dword [esp + 0xb8], 0x358055b
mov dword [esp + 0xbc], 0xf260120
mov dword [esp + 0xc0], 0xb420d7b
mov dword [esp + 0xc4], 0x37430974
mov dword [esp + 0xc8], 0x33663540
mov dword [esp + 0xcc], 0x3faa3110
mov dword [esp + 0xd0], 0x3bad3d55
mov dword [esp + 0xd4], 0x27063955
mov dword [esp + 0xd8], 0x234f256f
mov dword [esp + 0xdc], 0x2fb9214f
mov dword [esp + 0xe0], 0x2b032dbf
mov dword [esp + 0xe4], 0x57192908
mov dword [esp + 0xe8], 0x53cc553c
mov dword [esp + 0xec], 0x5fcb51c3
mov dword [esp + 0xf0], 0x5b095d31
mov dword [esp + 0xf4], 0x47175909
mov dword [esp + 0xf8], 0x4310451d
mov dword [esp + 0xfc], 0x4f1c4110
mov dword [esp + 0x100], 0x4b184d1c
mov dword [esp + 0x104], 0x77564918
mov dword [esp + 0x108], 0x7313750b
mov dword [esp + 0x10c], 0x7f1f711a
mov dword [esp + 0x110], 0x7b137de2
mov dword [esp + 0x114], 0x673b792b
mov dword [esp + 0x118], 0x6339653b
mov dword [esp + 0x11c], 0x6f316132
mov dword [esp + 0x120], 0x6b6a6d36
mov word [esp + 0x124], 0
mov eax, dword [0x44cad4]
mov ecx, 0x1e
mov edx, 0xe1
nop
nop
movzx esi, byte [esp + ecx + 0x26]
mov ebx, edx
xor ebx, ecx
and ebx, esi
xor ebx, ecx
add bl, 0x6a
mov byte [esp + ecx + 0x26], bl
inc ecx
dec edx
cmp ecx, 0x100
jne 0x40c6f0
lea ecx, [esp + 0x44]
push 0
push 0
push 0
push 0
push ecx
call eax
xor ecx, ecx
test eax, eax
setne cl
mov edx, dword [ecx*4 + 0x446ec4]
mov ecx, 0xff7bf26f
xor ecx, dword [0x446ecc]
add ecx, edx
inc ecx
jmp ecx
Function at 0x4138c0
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x940
mov eax, dword [ebp + 8]
Function at 0x41d320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], 0xc1acc795
mov dword [esp + 0x14], 0xcd53c35d
mov dword [esp + 0x18], 0xc9cecf5a
mov word [esp + 0x1c], 0
mov byte [esp + 0x1e], 0
mov eax, 0xfcf275d1
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x30d8a3f]
mov edx, ecx
and edx, eax
add dl, dl
sub cl, dl
movzx ecx, cl
add ecx, eax
add cl, 0xeb
mov byte [esp + eax + 0x30d8a3f], cl
inc eax
cmp eax, 0xfcf275e0
jne 0x41d360
mov dword [esp + 0x30], 0x41da47ec
mov dword [esp + 0x34], 0x4dd243dc
mov dword [esp + 0x38], 0x491f4f16
mov dword [esp + 0x3c], 0xb5de4b19
mov dword [esp + 0x40], 0xb11bb725
mov dword [esp + 0x44], 0xbd26b313
mov dword [esp + 0x48], 0xb92fbf14
mov dword [esp + 0x4c], 0xa526bb25
mov dword [esp + 0x50], 0xa1a6a7fe
mov dword [esp + 0x54], 0
mov eax, 0x7d7901f1
mov ecx, 0xe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax - 0x7d7901c1]
mov ebx, ecx
and ebx, 0x35
mov edx, eax
and edx, 0xca
or edx, ebx
xor edx, eax
xor edx, edi
xor edx, 0x35
and edx, edi
xor edx, eax
add dl, 0x4b
mov byte [esp + eax - 0x7d7901c1], dl
inc eax
dec ecx
cmp eax, 0x7d790219
jne 0x41d3f0
movzx ecx, word [esp + 0x30]
lea eax, [esp + 0x14c]
test cx, cx
je 0x41d451
lea edx, [esp + 0x32]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d440
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
je 0x41d483
lea edx, [esi + 2]
mov edi, dword [ebp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d470
jmp 0x41d486
mov edi, dword [ebp + 0xc]
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0x41d4b1
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d4a0
mov word [eax], 0
mov edx, dword [edi]
mov dword [esp + 0x30], 0x1d1818fe
mov byte [esp + 0x34], 0xe0
mov dword [esp + 0x35], 0
mov dword [esp + 0x38], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xa9
xor cl, byte [esp + eax + 0x30]
add cl, 0xb3
mov byte [esp + eax + 0x30], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 0xc
jb 0x41d4e0
movzx eax, byte [esp + 0x30]
test al, al
je 0x41d51b
lea ecx, [esp + 0x31]
nop
nop
nop
mov byte [edx], al
inc edx
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x41d510
mov dword [esp], edx
mov byte [edx], 0
lea eax, [esp + 0x134]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14c]
push eax
push ecx
push edx
call fcn.0040b560
add esp, 0xc
movzx eax, al
mov eax, dword [eax*4 + 0x447d04]
mov ecx, 0xc4959b31
xor ecx, dword [0x447d0c]
add eax, ecx
inc eax
jmp eax