joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x401fad
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401fad
push esi
call fcn.004099d0
add esp, 4
test eax, eax
je 0x401f8a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f91
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x401f70
jmp 0x401f93
mov ebx, 0x1505
jmp 0x401f93
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401fb5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401fc4
inc ebp
dec edi
je 0x401fab
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401fab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401fc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004099d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401fc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.004099f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401fc0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401fad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401fad
Function at 0x4021d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4022e2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022e2
cmp dword [esp + 0x2c], 0
je 0x4022e2
push esi
call fcn.004099d0
add esp, 4
test eax, eax
je 0x40223a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402241
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402220
jmp 0x402243
mov ebx, 0x1505
jmp 0x402243
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x4022ea
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4022a7
call fcn.004023e0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022e2
push ecx
call fcn.004099d0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40235d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402308
inc edi
dec esi
je 0x40225c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402261
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402300
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.004099d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402300
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.004099f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402300
mov eax, 0xffffffff
jmp 0x4022e2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402378
inc edi
dec esi
je 0x4022a2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4022a7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402370
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.004099d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402370
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.004099f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402370
jmp 0x4022a7
Function at 0x402b30
Capabilities:
Compute adler32 checksum
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402ce6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402cdf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x402bc5
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ecx
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, edi
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub ecx, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x402cdf
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x402c4c
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
mov esi, edi
and esi, eax
xor edi, eax
lea eax, [edi + esi*2]
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
mov esi, ecx
and esi, eax
xor ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea ecx, [ecx + esi*2]
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x402be0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x402b8d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x402c90
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x402c70
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b80
jmp 0x402c9f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x402b80
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402cb0
jmp 0x402b80
shl ecx, 0x10
or ecx, edi
jmp 0x402ceb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402d00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x402d2e
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x402dcc
not eax
test bl, 1
jne 0x402d35
mov edx, ebx
cmp ebx, 1
jne 0x402d66
jmp 0x402dca
xor eax, eax
jmp 0x402dcc
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x44280c]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x44280c]
cmp ebx, 1
je 0x402dca
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44280c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44280c]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x44280c]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x44280c]
add esi, 2
cmp edx, esi
jne 0x402d70
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x409ea0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44ac00], 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 + 0x44b5bc], ecx
test eax, eax
je 0x409ef1
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44b5c0], ecx
add eax, 2
jmp 0x409eb0
mov dword [0x44abfc], 0x270
ret

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

Disassembly:
push esi
mov eax, dword [0x44abfc]
cmp eax, 0x270
jne 0x409f5f
mov eax, 0xfffff640
mov edx, dword [0x44ac00]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x44b5c4]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x44bbf4]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x44bf80], esi
add eax, 4
jne 0x409f20
mov eax, 0x270
jmp 0x409f75
cmp eax, 0x4e0
jb 0x409f75
mov ecx, 0x44abfc
call fcn.0040a140
mov eax, dword [0x44abfc]
lea ecx, [eax + 1]
mov dword [0x44abfc], ecx
mov eax, dword [eax*4 + 0x44ac00]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44bf80]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x409fc0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x210
call fcn.0043c450
test al, al
je 0x40a12f
lea eax, [esp + 8]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00435980
test al, al
je 0x40a12a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x540
mov ebp, 0x98adc506
mov ecx, ebx
shrd ebp, edx, cl
shr edx, cl
mov dword [esp], eax
mov eax, 0xfffffabf
mov esi, 0x67523af9
shrd esi, eax, cl
sar eax, cl
and cl, 0x20
xor edi, edi
test cl, cl
je 0x40a035
mov ebp, edx
xor edx, edx
mov esi, eax
or ebp, 0x98adc506
or edx, 0x540
neg cl
sbb edi, edi
or edi, eax
mov eax, edi
or eax, 0x540
mov ecx, esi
or ecx, 0x98adc506
sub esi, ecx
sbb edi, eax
add esi, ebp
adc edi, edx
mov ecx, edi
and ecx, 0x407f5f6c
mov ebp, esi
and ebp, 0xd91e8cc1
mov ebx, esi
and ebx, 0x26e1733e
mov eax, ebx
xor eax, 0x26e1733e
imul ecx, eax
mul ebp
mov dword [esp + 4], eax
add edx, ecx
mov ecx, edi
and ecx, 0xbf80a093
or esi, 0x26e1733e
mov eax, esi
imul esi, ecx
xor ecx, 0xbf80a093
imul ecx, ebp
add ecx, edx
mul ebx
add esi, edx
or edi, 0xbf80a093
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 0x40a106
mov ecx, 0x9acad940
mov eax, esi
mul ecx
imul ecx, esi, 0x8867c733
imul edi, ebx, 0x9acad940
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 0x40a102
mov esi, ebx
xor ebx, ebx
xor ebx, edi
xor esi, eax
or ebx, 0x1010101
or esi, 0x1010101
push ebx
push esi
call fcn.0040b200
add esp, 8
test al, al
je 0x40a12a
call fcn.0040e260
call fcn.0040ce30
call fcn.0043d680
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
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]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x40a150
mov eax, 0x353
mov edx, SysReAllocString
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*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 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0x40a1a0
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ffffffe
or eax, esi
shr eax, 1
and edx, 1
neg edx
xor eax, dword [ecx + 0x634]
and edx, 0x9908b0df
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x40a390
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 ecx, word [esi]
lea ebp, [esp + 4]
test cx, cx
je 0x40a4cd
mov edx, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, cx
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x40a3e0
lea ecx, [ebp + 1]
mov byte [ebp], bl
jmp 0x40a470
cmp ebx, 0x7ff
ja 0x40a410
cmp edx, 2
jb 0x40a410
mov ecx, ebx
shr ecx, 6
add cl, 0xc0
mov byte [ebp], cl
and bl, 0x3f
or bl, 0x80
lea ecx, [ebp + 2]
mov byte [ebp + 1], bl
jmp 0x40a470
mov ecx, ebx
and ecx, 0xfc00
cmp ecx, 0xd800
jne 0x40a48a
cmp edx, 4
jb 0x40a48a
movzx ecx, word [esi + 2]
shl ebx, 0xa
lea eax, [ebx + ecx]
add eax, 0xfca02400
mov ebx, eax
shr ebx, 0x12
add bl, 0xf0
mov byte [ebp], bl
mov ebx, eax
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
add esi, 4
shr eax, 6
and al, 0x3f
or al, 0x80
mov byte [ebp + 2], al
mov al, 0x3f
sub al, cl
and al, 0x3f
xor al, 0xbf
lea ecx, [ebp + 4]
mov byte [ebp + 3], al
mov edi, esi
nop
nop
nop
nop
nop
nop
add edx, ebp
sub edx, ecx
mov esi, edi
mov ebp, ecx
movzx ecx, word [esi]
test cx, cx
je 0x40a4cd
test edx, edx
jne 0x40a3c0
jmp 0x40a4cd
movzx eax, cx
cmp eax, 0xdc00
jne 0x40a498
mov esi, edi
jmp 0x40a478
cmp edx, 3
jb 0x40a4c9
mov eax, ebx
shr eax, 0xc
or al, 0xe0
mov byte [ebp], al
mov eax, ebx
shr eax, 6
mov ecx, eax
not ecx
or ecx, 0x3f
add ecx, eax
add cl, 0x81
mov byte [ebp + 1], cl
and bl, 0x3f
or bl, 0x80
lea ecx, [ebp + 3]
mov byte [ebp + 2], bl
jmp 0x40a470
mov ecx, ebp
jmp 0x40a470
mov esi, dword [esp + 0x420]
mov edx, dword [esp + 0x41c]
mov byte [ebp], 0
xor eax, eax
jmp 0x40a4f8
mov byte [esp + eax + 0x204], bl
inc eax
movzx ecx, byte [esp + eax + 4]
mov bl, 0x2f
cmp ecx, 0x5c
je 0x40a4f0
test ecx, ecx
je 0x40a50c
mov ebx, ecx
jmp 0x40a4f0
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.00404ed0
add esp, 0x28
test eax, eax
setne al
add esp, 0x404
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40be80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0x40c0f1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0x40bebc
cmp edx, esi
jae 0x40c0f1
test edi, edi
je 0x40c0f1
movzx ebp, bl
test bl, bl
js 0x40bef0
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 + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0x40beb0
jmp 0x40c0f1
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0x40bf28
cmp bl, 0xc2
jb 0x40bee0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0x40bf8a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0x40bfd8
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0x40bf52
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0x40bf94
cmp ebp, 0xe0
jne 0x40bf9d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0x40bedc
jmp 0x40bf9d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0x40c0d0
cmp bl, 0xf4
ja 0x40bee0
movzx ecx, byte [edx + 1]
je 0x40bfef
cmp ebp, 0xf0
jne 0x40bff8
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0x40bedc
jmp 0x40bff8
inc edx
mov esi, dword [esp + 0x24]
jmp 0x40bee2
cmp cl, 0x9f
ja 0x40bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40c0d7
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40bfe3
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 0x40bed2
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0x40bee2
cmp cl, 0x8f
ja 0x40bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40c0d7
movzx ebp, byte [edx + 2]
mov esi, ebp
not esi
or esi, 0xc0
add esi, ebp
cmp esi, 0x7f
jne 0x40c0dd
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0x40c0e5
and bl, 7
movzx esi, bl
shl esi, 0x12
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
add ecx, esi
lea esi, [ecx + ebp]
add esi, 0xfff80000
add edx, 4
and esi, 0xfffff800
cmp esi, 0xd800
je 0x40bedc
lea esi, [ecx + ebp]
mov ebx, dword [esp]
and ebx, 0x3f
add ebx, esi
add ebx, 0xfff80000
cmp ebx, 0x10000
jb 0x40bedc
cmp edi, 2
jb 0x40c0d0
add ecx, ebp
add ecx, 0x9f4b2545
add ecx, 0x60abdabb
shr ecx, 0xa
mov esi, ecx
xor esi, 0x2400
or ecx, 0x3ff
and ecx, esi
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0x40bed2
mov ecx, eax
jmp 0x40bed2
inc edx
jmp 0x40bedc
add edx, 2
jmp 0x40bedc
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0x40bee2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c680
Capabilities:
Encode data using xor
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 + 0x58], 0
mov dword [esi + 0x54], 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 + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44bfb4]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40c72e
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x445e20]
jmp dword [0x445e30]
Function at 0x40d8b0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x240
mov dword [esp + 0x40], 0xcf5dc9b5
mov dword [esp + 0x44], 0xc35bcd42
mov dword [esp + 0x48], 0xc75ac15c
mov dword [esp + 0x4c], 0xfba9c5a5
mov dword [esp + 0x50], 0xffacf9ad
mov dword [esp + 0x54], 0xf3d2fdac
mov dword [esp + 0x58], 0xf79df1a8
mov dword [esp + 0x5c], 0xeb78f56d
mov dword [esp + 0x60], 0xef7de98c
mov dword [esp + 0x64], 0xe375ed67
mov dword [esp + 0x68], 0xe794e1c0
mov dword [esp + 0x6c], 0x1b3ae590
mov dword [esp + 0x70], 0x1f4e1949
mov dword [esp + 0x74], 0x13421d4e
mov dword [esp + 0x78], 0x1736115f
mov dword [esp + 0x7c], 0xb93157f
mov dword [esp + 0x80], 0xf44099a
mov dword [esp + 0x84], 0x34d0d58
mov dword [esp + 0x88], 0x78e0120
mov dword [esp + 0x8c], 0x3b6e054e
mov dword [esp + 0x90], 0x3f1e3961
mov dword [esp + 0x94], 0x33a23d7d
mov dword [esp + 0x98], 0x37aa31a0
mov dword [esp + 0x9c], 0x2b413551
mov dword [esp + 0xa0], 0x2f48294d
mov dword [esp + 0xa4], 0x23bb2d53
mov dword [esp + 0xa8], 0x277521b4
mov dword [esp + 0xac], 0x5b0d2571
mov dword [esp + 0xb0], 0x5f0c5913
mov dword [esp + 0xb4], 0x53185d0b
mov dword [esp + 0xb8], 0x570e5170
mov dword [esp + 0xbc], 0x4b32552b
mov dword [esp + 0xc0], 0x4f33493c
mov dword [esp + 0xc4], 0x431e4d30
mov dword [esp + 0xc8], 0x47da4160
mov dword [esp + 0xcc], 0x7be545dd
mov dword [esp + 0xd0], 0x7f5e791d
mov dword [esp + 0xd4], 0x73177d07
mov dword [esp + 0xd8], 0x77e97117
mov dword [esp + 0xdc], 0x6b3375e7
mov dword [esp + 0xe0], 0x6f296948
mov dword [esp + 0xe4], 0x63f46df4
mov dword [esp + 0xe8], 0x67fb61f3
mov dword [esp + 0xec], 0x9bc96501
mov dword [esp + 0xf0], 0x9fcf99c9
mov dword [esp + 0xf4], 0x93c09dd5
mov dword [esp + 0xf8], 0x97c491c0
mov dword [esp + 0xfc], 0x8bd895c4
mov dword [esp + 0x100], 0x8fae89d8
mov dword [esp + 0x104], 0x83e38dfb
mov dword [esp + 0x108], 0x87e7811a
mov dword [esp + 0x10c], 0xbb238512
mov dword [esp + 0x110], 0xbfebb9eb
mov dword [esp + 0x114], 0xb3f9bdeb
mov dword [esp + 0x118], 0xb7e1b1e2
mov dword [esp + 0x11c], 0xabaab5fe
mov eax, dword [0x44bfa8]
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x40]
mov ebx, ecx
and ebx, 0xa4
mov edi, edx
xor edi, 0x52
add edi, ebx
mov ebp, esi
and ebp, 0x34
xor ebp, 0x81c50134
mov ebx, esi
xor ebx, 0x81c50134
or esi, 0xcb
and esi, ebx
mov ebx, ebp
xor ebx, esi
not esi
and esi, ebp
add ebx, ebp
sub ebx, esi
xor ebx, edi
xor bl, 0x34
add bl, 0x66
mov byte [esp + edx + 0x40], bl
inc edx
add ecx, 2
cmp edx, 0xe0
jne 0x40db00
lea ecx, [esp + 0x40]
push 0
push 0
push 0
push 0
push ecx
call eax
mov edi, eax
xor eax, eax
test edi, edi
setne al
mov eax, dword [eax*4 + 0x4460b8]
mov ecx, 0xabde0d60
xor ecx, dword [0x4460c0]
add eax, ecx
inc eax
jmp eax
Function at 0x420adb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x28]
mov eax, 0xfffffffe
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x420ad0
cmp eax, 0xffffffed
jge 0x420ae7
mov eax, 0xffffffff
jmp 0x420aea
add eax, 0x12
push eax
call fcn.004097b0
add esp, 4
mov esi, eax
mov dword [esp], 0x29872bf8
mov dword [esp + 4], 0x2d912f83
mov dword [esp + 8], 0x31c033d8
mov dword [esp + 0xc], 0x35903794
mov word [esp + 0x10], 0x3b34
mov dword [esp + 0x12], 0
mov byte [esp + 0x16], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov edx, eax
not edx
or edx, 0x47
mov ecx, eax
or ecx, 0x47
add ecx, eax
add ecx, edx
mov dl, 0xfe
sub dl, cl
xor dl, byte [esp + eax]
mov cl, 0x9c
sub cl, dl
mov byte [esp + eax], cl
mov edx, eax
xor edx, 0xfffffffe
mov ecx, eax
or ecx, 1
and ecx, edx
and eax, 0x1e
mov edx, eax
xor edx, 0x1e
xor eax, 0xfffffffe
or eax, edx
not eax
add eax, ecx
cmp eax, 0x17
jb 0x420b30
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x420b91
add edi, 2
mov eax, esi
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x420b80
mov word [eax], 0
movzx ecx, word [esp]
test cx, cx
je 0x420bc1
lea edx, [esp + 2]
nop
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 0x420bb0
mov word [eax], 0
mov eax, esp
push eax
push esi
call fcn.0043ff70
add esp, 8
mov edi, eax
mov ebx, dword [esp]
jmp dword [0x447320]