joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408980
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44972c], 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 + 0x44a0e8], ecx
test eax, eax
je 0x4089d1
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44a0ec], ecx
add eax, 2
jmp 0x408990
mov dword [0x449728], 0x270
ret

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

Disassembly:
push esi
mov eax, dword [0x449728]
cmp eax, 0x270
jne 0x408a3f
mov eax, 0xfffff640
mov edx, dword [0x44972c]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x44a0f0]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x44a720]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x44aaac], esi
add eax, 4
jne 0x408a00
mov eax, 0x270
jmp 0x408a55
cmp eax, 0x4e0
jb 0x408a55
mov ecx, 0x449728
call fcn.00408c70
mov eax, dword [0x449728]
lea ecx, [eax + 1]
mov dword [0x449728], ecx
mov eax, dword [eax*4 + 0x44972c]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44aaac]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
mov edx, eax
and edx, ecx
add edx, edx
sub eax, edx
add eax, ecx
mov ecx, eax
shl ecx, 0xf
mov edx, ecx
or edx, 0xefc40000
xor ecx, 0x10380000
and ecx, edx
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x408ab0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x214
call fcn.0043bc70
test al, al
je 0x408c5c
lea eax, [esp + 0xc]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00435480
test al, al
je 0x408c57
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0xa5f28628
mov esi, 0xf18f794e
mov ecx, ebx
shrd esi, edi, cl
mov dword [esp], eax
shr edi, cl
test bl, 0x20
je 0x408b10
mov esi, edi
xor edi, edi
lea eax, [esi + esi]
mov ecx, edi
shld ecx, esi, 1
and ecx, 0x4be50c51
and eax, 0xe31ef29c
sub esi, eax
sbb edi, ecx
mov ecx, 0x55b1ec15
mov eax, esi
mul ecx
imul ecx, esi, 0xe71a4fea
add ecx, edx
imul ebx, edi, 0x55b1ec15
add ebx, ecx
mov esi, eax
add esi, 0xd986db66
mov edi, ebx
adc edi, 0x52965ad1
mov ecx, edi
shld ecx, esi, 0xb
mov ebp, edi
shr ebp, 0x15
mov edx, 0x26792499
sub edx, eax
mov eax, 0xad69a52e
sbb eax, ebx
and eax, 0xc8b0a2b2
and edx, 0xef4d3838
and edi, 0x374f5d4d
or edi, eax
xor edi, ebp
and esi, 0x10b2c7c7
or esi, edx
xor esi, ecx
xor esi, 0xef4d3838
xor edi, 0xc8b0a2b2
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x408c33
mov ecx, 0x122f84da
mov eax, esi
mul ecx
imul ecx, esi, 0x3737
add ecx, edx
imul edx, edi, 0x122f84da
add edx, ecx
mov ebx, eax
mov ecx, dword [esp]
shrd ebx, edx, cl
mov ebp, edx
shr ebp, cl
test cl, 0x20
je 0x408bd1
mov ebx, ebp
xor ebp, ebp
mov ecx, ebx
add ecx, eax
mov dword [esp], ecx
mov ecx, ebp
adc ecx, edx
mov dword [esp + 8], ecx
and ebp, edx
and ebx, eax
mov eax, ebx
or eax, 2
mov edi, ebx
and edi, 2
mov ecx, ebp
imul ecx, edi
mul edi
mov dword [esp + 4], eax
mov esi, edx
or esi, ecx
xor edi, 2
and ebx, 0xfffffffc
mov eax, edi
mul ebx
imul ebp, edi
or edx, ebp
add eax, dword [esp + 4]
adc edx, esi
mov edi, edx
not edi
mov ecx, dword [esp + 8]
and edi, ecx
not ecx
and ecx, edx
mov edx, ecx
mov esi, eax
not esi
mov ecx, dword [esp]
and esi, ecx
not ecx
and ecx, eax
sub esi, ecx
sbb edi, edx
or edi, 0x1010101
or esi, 0x1010101
push edi
push esi
call fcn.00409d70
add esp, 8
test al, al
je 0x408c57
call fcn.0040ccf0
call fcn.0040ba70
call fcn.0043c770
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x408c70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov edx, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
mov esi, dword [ecx + eax*4 - 0x630]
and edx, 0x80000000
mov ebx, esi
or ebx, 0x7ffffffe
lea edi, [esi - 0x80000000]
and edi, ebx
or edi, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
shr edi, 1
xor esi, dword [ecx + eax*4]
xor esi, edi
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
jne 0x408c80
mov esi, dword [ecx + 0xd50]
mov eax, 0x355
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, edx
mov edx, dword [ecx + eax*4 - 0xd50]
mov ebx, edi
and ebx, edx
add edi, edx
add ebx, ebx
sub edi, ebx
mov dword [ecx + eax*4 - 0x9c4], edi
inc eax
cmp eax, 0x4e1
jne 0x408cd0
mov esi, SysReAllocString
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
and eax, 1
neg eax
and eax, 0x9908b0df
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
xor eax, dword [ecx + 0x634]
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x409d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x22c
mov eax, dword [0x44ab08]
mov dword [esp], eax
mov dword [esp + 0x1ac], 0xd9dac3c4
mov dword [esp + 0x1b0], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x1ac]
mov eax, ecx
and eax, 5
mov edx, ecx
and edx, 2
mov edi, ecx
or edi, 2
imul edi, edx
mov ebx, edx
xor ebx, 2
imul ebx, eax
mov edx, ecx
xor edx, 0x666cfb4f
add edx, edi
add edx, ebx
xor edx, esi
mov eax, edx
xor eax, 0x20e88c
and edx, 0xffdf1773
add edx, edx
sub edx, eax
add edx, 0xeb9653f3
mov eax, edx
xor eax, 0xf2
and edx, 0xd
add edx, edx
sub edx, eax
mov byte [esp + ecx + 0x1ac], dl
inc ecx
cmp ecx, 8
jne 0x409da0
mov eax, dword [esp + 0x1ac]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], 0x3fa939a3
mov dword [esp + 0x20], 0x23813dea
mov dword [esp + 0x24], 0x27f021f7
mov dword [esp + 0x28], 0x2b8e25f6
mov dword [esp + 0x2c], 0x2f822984
mov dword [esp + 0x30], 0x2d2c
mov byte [esp + 0x34], 0
mov edx, 0xd4b24e8a
mov esi, 0xa9649d14
nop
nop
nop
nop
movzx edi, byte [esp + edx + 0x2b4db192]
mov eax, esi
and eax, 0xa1249514
mov ebx, edx
xor ebx, 0xd29b7aca
add ebx, eax
mov eax, ebx
and eax, 0x8000488a
xor eax, 0xd0b24e8a
and ebx, 0x234d8175
sub ebx, eax
mov ebp, ebx
and ebp, edi
mov ecx, ebp
or ecx, 0xfd
inc ecx
mov eax, ebp
and eax, 0xfffffffd
imul eax, ecx
mov ecx, ebp
and ecx, 2
or ebp, 2
imul ebp, ecx
sub eax, ebp
add ebx, edi
add ebx, eax
add bl, 0xe
mov byte [esp + edx + 0x2b4db192], bl
inc edx
add esi, 2
cmp edx, 0xd4b24ea3
jne 0x409e50
lea esi, [esp + 0x1c]
push dword [esp + 4]
push 0
push esi
call dword [esp + 0xc]
mov ecx, 0x44ab0c
push eax
call fcn.0043bbe0
movzx eax, al
mov eax, dword [eax*4 + 0x4449f4]
mov ecx, 0x99728145
xor ecx, dword [0x4449fc]
add eax, ecx
inc eax
xor ebx, ebx
jmp eax
Function at 0x40baa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x438
mov ebp, dword [esp + 0x44c]
mov dword [esp + 0x38], 0xd765c91d
mov dword [esp + 0x3c], 0xd37bd552
mov dword [esp + 0x40], 0xdf6ad164
mov dword [esp + 0x44], 0xdb29dd7d
mov dword [esp + 0x48], 0xa754d925
mov dword [esp + 0x4c], 0xa342a554
mov dword [esp + 0x50], 0xaf75a148
mov dword [esp + 0x54], 0xab18ad05
mov dword [esp + 0x58], 0xb705a904
mov dword [esp + 0x5c], 0xb30db50f
mov dword [esp + 0x60], 0xbf6cb150
mov dword [esp + 0x64], 0xbb5abd60
mov dword [esp + 0x68], 0x8776b949
mov dword [esp + 0x6c], 0x83728576
mov dword [esp + 0x70], 0x8f6e8147
mov dword [esp + 0x74], 0x8b238d57
mov dword [esp + 0x78], 0x976c893a
mov dword [esp + 0x7c], 0x93559568
mov dword [esp + 0x80], 0x9f269170
mov dword [esp + 0x84], 0x9b669d66
mov dword [esp + 0x88], 0x67869971
mov dword [esp + 0x8c], 0x63d265a5
mov dword [esp + 0x90], 0x6fda61d0
mov dword [esp + 0x94], 0x6bb16dc1
mov dword [esp + 0x98], 0x77d869c5
mov dword [esp + 0x9c], 0x73db75a3
mov dword [esp + 0xa0], 0x7f8d71cc
mov dword [esp + 0xa4], 0x7b857d81
mov dword [esp + 0xa8], 0x47b47983
mov dword [esp + 0xac], 0x43b845bb
mov dword [esp + 0xb0], 0x4fa641a0
mov dword [esp + 0xb4], 0x4b824d9b
mov dword [esp + 0xb8], 0x57834994
mov dword [esp + 0xbc], 0x53a65580
mov dword [esp + 0xc0], 0x5fea51b0
mov dword [esp + 0xc4], 0x5bed5df5
mov dword [esp + 0xc8], 0x27c659f5
mov dword [esp + 0xcc], 0x238f25ef
mov dword [esp + 0xd0], 0x2f99218f
mov dword [esp + 0xd4], 0x2bc32d9f
mov dword [esp + 0xd8], 0x37f929c8
mov dword [esp + 0xdc], 0x338c359c
mov dword [esp + 0xe0], 0x3f8b3183
mov dword [esp + 0xe4], 0x3bc93d91
mov dword [esp + 0xe8], 0x7f739c9
mov dword [esp + 0xec], 0x3f005fd
mov dword [esp + 0xf0], 0xffc01f0
mov dword [esp + 0xf4], 0xbf80dfc
mov dword [esp + 0xf8], 0x17f609f8
mov dword [esp + 0xfc], 0x13b315cb
mov dword [esp + 0x100], 0x1fbf11ba
mov dword [esp + 0x104], 0x1bb31da2
mov dword [esp + 0x108], 0xe71b19eb
mov dword [esp + 0x10c], 0xe319e51b
mov dword [esp + 0x110], 0xef11e112
mov dword [esp + 0x114], 0xebeaed16
mov dword [esp + 0x118], 0
mov eax, dword [0x44aad8]
lea ecx, [esp + 0x38]
mov edx, 0x43376451
nop
nop
nop
nop
movzx esi, byte [ecx]
lea edi, [edx - 0x43376400]
and edi, esi
or esi, edx
not esi
or esi, edi
lea ebx, [esi*2 - 0x5fd614ce]
add esi, 0x5014f599
and ebx, 2
mov edi, ebx
and edi, esi
or ebx, esi
xor ebx, 1
add ebx, edi
mov byte [ecx], bl
inc ecx
dec edx
cmp edx, 0x4337636d
jne 0x40bd00
lea ecx, [esp + 0x38]
push 0
push 0
push 0
push 0
push ecx
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x444dcc]
mov ecx, 0x531d8857
xor ecx, dword [0x444dd4]
add eax, ecx
inc eax
jmp eax
Function at 0x40c430
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x234
mov dword [esp + 0x34], 0xb92bbbf7
mov dword [esp + 0x38], 0xbd21bf36
mov dword [esp + 0x3c], 0xb12eb320
mov dword [esp + 0x40], 0xb5e7b7d7
mov dword [esp + 0x44], 0xa9f8abff
mov dword [esp + 0x48], 0xad8eaff8
mov dword [esp + 0x4c], 0xa1cba3f4
mov dword [esp + 0x50], 0xa534a73f
mov dword [esp + 0x54], 0xd94bdbc0
mov dword [esp + 0x58], 0xdd4bdf51
mov dword [esp + 0x5c], 0xd1a0d3fc
mov dword [esp + 0x60], 0xd5f6d7a4
mov dword [esp + 0x64], 0xc99acb83
mov dword [esp + 0x68], 0xcd9ecf9a
mov dword [esp + 0x6c], 0xc1e2c381
mov dword [esp + 0x70], 0xc559c7a9
mov dword [esp + 0x74], 0xf9b0fb56
mov dword [esp + 0x78], 0xfdb3ffac
mov dword [esp + 0x7c], 0xf17af3dc
mov dword [esp + 0x80], 0xf5a2f7ba
mov dword [esp + 0x84], 0xe9caebab
mov dword [esp + 0x88], 0xed7eefaf
mov dword [esp + 0x8c], 0xe17ee37c
mov dword [esp + 0x90], 0xe58fe77b
mov dword [esp + 0x94], 0x197c1b7f
mov dword [esp + 0x98], 0x1d811f65
mov dword [esp + 0x9c], 0x11431388
mov dword [esp + 0xa0], 0x1543175b
mov dword [esp + 0xa4], 0x9580b5d
mov dword [esp + 0xa8], 0xd440f5d
mov dword [esp + 0xac], 0x15a032c
mov dword [esp + 0xb0], 0x57e077d
mov dword [esp + 0xb4], 0x39493b70
mov dword [esp + 0xb8], 0x3d623f44
mov dword [esp + 0xbc], 0x31ae331c
mov dword [esp + 0xc0], 0x35ab37af
mov dword [esp + 0xc4], 0x290a2baf
mov dword [esp + 0xc8], 0x2db52f51
mov dword [esp + 0xcc], 0x21bf2349
mov dword [esp + 0xd0], 0x257927b1
mov dword [esp + 0xd4], 0x591f5b04
mov dword [esp + 0xd8], 0x5dc85fc0
mov dword [esp + 0xdc], 0x51c153cd
mov dword [esp + 0xe0], 0x550757cb
mov dword [esp + 0xe4], 0x491d4b03
mov dword [esp + 0xe8], 0x4d1c4f07
mov dword [esp + 0xec], 0x4110431c
mov dword [esp + 0xf0], 0x45144710
mov dword [esp + 0xf4], 0x795a7b14
mov dword [esp + 0xf8], 0x7d197f0d
mov dword [esp + 0xfc], 0x711573e6
mov dword [esp + 0x100], 0x75e977e6
mov dword [esp + 0x104], 0x69216b25
mov dword [esp + 0x108], 0x6d276f3d
mov dword [esp + 0x10c], 0x6137633e
mov dword [esp + 0x110], 0x6566672a
mov dword [esp + 0x114], 0
mov eax, dword [0x44aad8]
xor ecx, ecx
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x34]
lea edx, [ecx - 0x63800ae1]
mov edi, 0x63800ae0
sub edi, ecx
and edi, 0x40800250
and edx, 0x840755af
or edx, edi
xor edx, esi
mov esi, edx
and esi, 0x64
add esi, esi
xor esi, 0x80
xor edx, 0x34
add edx, esi
inc dl
mov byte [esp + ecx + 0x34], dl
add ecx, 0x578b22e9
mov edx, ecx
xor edx, 0x578b22e8
and ecx, 0x117
add ecx, ecx
sub ecx, edx
cmp ecx, 0xe4
jb 0x40c680
lea ecx, [esp + 0x34]
push 0
push 0
push 0
push 0
push ecx
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov eax, dword [eax*4 + 0x444fbc]
mov ecx, dword [0x444fc4]
mov edx, ecx
and edx, 0xd8e18dde
add edx, edx
sub edx, ecx
add eax, edx
add eax, 0xa71e7222
jmp eax
Function at 0x418790
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edi + 2], 0
lea edi, [edi + 2]
jne 0x4187b0
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4187d0
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
mov dword [esp + 0x1c], edi
jns 0x4187f4
mov eax, 0xffffffff
jmp 0x4187fd
add eax, edi
lea eax, [eax*2 + 4]
push eax
call fcn.004082d0
add esp, 4
movzx ecx, word [esi]
mov edi, eax
test cx, cx
je 0x418831
add esi, 2
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x418820
mov word [edi], 0x5c
add edi, 2
movzx ecx, word [ebx]
test cx, cx
je 0x418861
lea edx, [ebx + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418850
mov word [edi], 0
lea ecx, [esp + 4]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x28], eax
push eax
call fcn.0043ef80
add esp, 0x14
mov dword [esp], eax
mov dword [esp + 8], 0xf3323173
mov dword [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 8]
mov ecx, 0xf04d9bf3
sub ecx, eax
or ecx, edx
mov esi, 0xf3
sub esi, eax
and esi, edx
mov edi, ecx
not edi
mov ebx, esi
not ebx
lea ebp, [esi + ebx*2]
mov edx, 0xfffffffe
sub edx, ebp
lea esi, [esi + ebx*2]
inc esi
and esi, edi
xor edx, ecx
add esi, ecx
add esi, edx
mov ecx, 0xb1840bc1
sub ecx, esi
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 8], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb case.default.0x418907
xor eax, eax
mov esi, dword [esp]
cmp esi, dword [esp + 8]
sete al
jmp dword [eax*4 + 0x445524]
mov dword [esp + 0x10], 0x195a5b90
mov dword [esp + 0x14], 0
mov esi, 0xdbbf2c0e
mov eax, 0x2440d3f1
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi + 0x2440d402]
lea edx, [esi + 1]
mov ebx, edx
and ebx, edi
lea ebp, [eax + ebx*2]
add ebx, ebx
xor ebp, edi
mov ecx, esi
sub ecx, ebx
and ecx, edi
add ecx, ecx
sub ecx, ebp
add cl, 0xb5
mov byte [esp + esi + 0x2440d402], cl
dec eax
mov esi, edx
cmp edx, 0xdbbf2c16
jne 0x418930
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [esp]
cmp esi, eax
sete cl
mov ebp, dword [esp + 0x18]
jmp dword [ecx*4 + 0x44552c]
mov ebp, dword [esp + 0x18]
push 0
push 0x1388
push ebp
call fcn.00438870
add esp, 0xc
mov ecx, dword [case.0x418907.7]
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
movzx eax, al
jmp dword [eax*4 + 0x445544]
not esi
shr esi, 0x1f
jmp dword [esi*4 + 0x44554c]
Function at 0x4189a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edi + 2], 0
lea edi, [edi + 2]
jne 0x4187b0
mov esi, dword [eax + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4187d0
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
mov dword [esp + 0x1c], edi
jns 0x4187f4
mov eax, 0xffffffff
jmp 0x4187fd
add eax, edi
lea eax, [eax*2 + 4]
push eax
call fcn.004082d0
add esp, 4
movzx ecx, word [esi]
mov edi, eax
test cx, cx
je 0x418831
add esi, 2
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x418820
mov word [edi], 0x5c
add edi, 2
movzx ecx, word [ebx]
test cx, cx
je 0x418861
lea edx, [ebx + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], cx
add edi, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418850
mov word [edi], 0
lea ecx, [esp + 4]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x28], eax
push eax
call fcn.0043ef80
add esp, 0x14
mov dword [esp], eax
mov dword [esp + 8], 0xf3323173
mov dword [esp + 0xc], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 8]
mov ecx, 0xf04d9bf3
sub ecx, eax
or ecx, edx
mov esi, 0xf3
sub esi, eax
and esi, edx
mov edi, ecx
not edi
mov ebx, esi
not ebx
lea ebp, [esi + ebx*2]
mov edx, 0xfffffffe
sub edx, ebp
lea esi, [esi + ebx*2]
inc esi
and esi, edi
xor edx, ecx
add esi, ecx
add esi, edx
mov ecx, 0xb1840bc1
sub ecx, esi
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
mov byte [esp + eax + 8], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb case.default.0x418907
xor eax, eax
mov esi, dword [esp]
cmp esi, dword [esp + 8]
sete al
jmp dword [eax*4 + 0x445524]
mov dword [esp + 0x10], 0x195a5b90
mov dword [esp + 0x14], 0
mov esi, 0xdbbf2c0e
mov eax, 0x2440d3f1
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + esi + 0x2440d402]
lea edx, [esi + 1]
mov ebx, edx
and ebx, edi
lea ebp, [eax + ebx*2]
add ebx, ebx
xor ebp, edi
mov ecx, esi
sub ecx, ebx
and ecx, edi
add ecx, ecx
sub ecx, ebp
add cl, 0xb5
mov byte [esp + esi + 0x2440d402], cl
dec eax
mov esi, edx
cmp edx, 0xdbbf2c16
jne 0x418930
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov esi, dword [esp]
cmp esi, eax
sete cl
mov ebp, dword [esp + 0x18]
jmp dword [ecx*4 + 0x44552c]
mov ebp, dword [esp + 0x18]
push 0
push 0x1388
push ebp
call fcn.00438870
add esp, 0xc
mov ecx, dword [case.0x418907.7]
nop
nop
nop
nop
nop
nop
nop
nop
jmp ecx
movzx eax, al
jmp dword [eax*4 + 0x445544]
not esi
shr esi, 0x1f
jmp dword [esi*4 + 0x44554c]
Function at 0x418c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x418c50
sar esi, 1
lea ecx, [esp + 0x78]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x44be2c]
mov dword [esp + 0x270], 0x539291b3
mov word [esp + 0x274], 0
mov byte [esp + 0x276], 0
xor ecx, ecx
nop
lea edi, [ecx + ecx]
mov edx, edi
and edx, 8
mov ebx, ecx
xor ebx, 0x1c
add ebx, edx
xor bl, byte [esp + ecx + 0x270]
add bl, 0x74
mov byte [esp + ecx + 0x270], bl
and edi, 2
xor ecx, 1
add ecx, edi
cmp ecx, 7
jb case.default.0x418ccb
xor ecx, ecx
cmp eax, dword [esp + 0x270]
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x4459f0]
mov ebx, dword [esp + 0x78]
test ebx, ebx
jns 0x418ce1
mov eax, 0xffffffff
jmp 0x418ce4
lea eax, [ebx + ebx]
push eax
call fcn.004082d0
add esp, 4
lea ecx, [esp + 0x78]
push ecx
push ebx
mov dword [esp + 0x70], eax
push eax
push esi
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push 0
call dword [0x44be2c]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4459f8]
xor ebx, ebx
jmp dword [0x445a00]
push dword [esp + 0x68]
call fcn.004082e0
add esp, 4
jmp 0x41ae46
mov eax, dword [esp + 0x78]
mov ecx, eax
add ecx, 0xd
jns 0x418d3e
mov eax, 0xffffffff
jmp 0x418d45
lea eax, [eax*2 + 0x1a]
push eax
call fcn.004082d0
add esp, 4
mov esi, eax
mov dword [esp + 0x270], 0xf306f114
mov dword [esp + 0x274], 0xef7ded0d
mov dword [esp + 0x278], 0xebcae964
mov dword [esp + 0x27c], 0xe77be50a
mov dword [esp + 0x280], 0xe371e172
mov dword [esp + 0x284], 0x9f099d05
mov dword [esp + 0x288], 0x9b9a990e
xor ecx, ecx
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
and edx, 0xc
mov edi, ecx
xor edi, 0xac
lea edx, [edi + edx*2]
xor dl, byte [esp + ecx + 0x270]
add dl, 0xa4
mov byte [esp + ecx + 0x270], dl
and eax, 1
not ecx
or ecx, 1
sub eax, ecx
mov ecx, eax
cmp eax, 0x1c
jb 0x418db0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax]
mov eax, esi
test cx, cx
je 0x418e11
mov eax, dword [esp + 0x68]
lea edx, [eax + 2]
mov eax, esi
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 0x418e00
mov word [eax], 0
movzx ecx, word [esp + 0x270]
test cx, cx
je 0x418e41
lea edx, [esp + 0x272]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418e30
mov word [eax], 0
lea eax, [esp + 0xf0]
push 0x60
push 3
push 0x120089
push eax
push esi
call fcn.0043ef80
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x445a08]
lea eax, [esp + 0x24]
push 0
push eax
push dword [esp + 0xf8]
call fcn.0043f2e0
add esp, 0xc
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x445a10]
xor ebx, ebx
jmp case.0x418ccb.1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp dword [0x445a70]
Function at 0x418cd2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x430
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x418c50
sar esi, 1
lea ecx, [esp + 0x78]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [0x44be2c]
mov dword [esp + 0x270], 0x539291b3
mov word [esp + 0x274], 0
mov byte [esp + 0x276], 0
xor ecx, ecx
nop
lea edi, [ecx + ecx]
mov edx, edi
and edx, 8
mov ebx, ecx
xor ebx, 0x1c
add ebx, edx
xor bl, byte [esp + ecx + 0x270]
add bl, 0x74
mov byte [esp + ecx + 0x270], bl
and edi, 2
xor ecx, 1
add ecx, edi
cmp ecx, 7
jb case.default.0x418ccb
xor ecx, ecx
cmp eax, dword [esp + 0x270]
setne cl
xor ebx, ebx
jmp dword [ecx*4 + 0x4459f0]
mov ebx, dword [esp + 0x78]
test ebx, ebx
jns 0x418ce1
mov eax, 0xffffffff
jmp 0x418ce4
lea eax, [ebx + ebx]
push eax
call fcn.004082d0
add esp, 4
lea ecx, [esp + 0x78]
push ecx
push ebx
mov dword [esp + 0x70], eax
push eax
push esi
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push 0
call dword [0x44be2c]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x4459f8]
xor ebx, ebx
jmp dword [0x445a00]
push dword [esp + 0x68]
call fcn.004082e0
add esp, 4
jmp 0x41ae46
mov eax, dword [esp + 0x78]
mov ecx, eax
add ecx, 0xd
jns 0x418d3e
mov eax, 0xffffffff
jmp 0x418d45
lea eax, [eax*2 + 0x1a]
push eax
call fcn.004082d0
add esp, 4
mov esi, eax
mov dword [esp + 0x270], 0xf306f114
mov dword [esp + 0x274], 0xef7ded0d
mov dword [esp + 0x278], 0xebcae964
mov dword [esp + 0x27c], 0xe77be50a
mov dword [esp + 0x280], 0xe371e172
mov dword [esp + 0x284], 0x9f099d05
mov dword [esp + 0x288], 0x9b9a990e
xor ecx, ecx
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
and edx, 0xc
mov edi, ecx
xor edi, 0xac
lea edx, [edi + edx*2]
xor dl, byte [esp + ecx + 0x270]
add dl, 0xa4
mov byte [esp + ecx + 0x270], dl
and eax, 1
not ecx
or ecx, 1
sub eax, ecx
mov ecx, eax
cmp eax, 0x1c
jb 0x418db0
mov eax, dword [esp + 0x68]
movzx ecx, word [eax]
mov eax, esi
test cx, cx
je 0x418e11
mov eax, dword [esp + 0x68]
lea edx, [eax + 2]
mov eax, esi
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 0x418e00
mov word [eax], 0
movzx ecx, word [esp + 0x270]
test cx, cx
je 0x418e41
lea edx, [esp + 0x272]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x418e30
mov word [eax], 0
lea eax, [esp + 0xf0]
push 0x60
push 3
push 0x120089
push eax
push esi
call fcn.0043ef80
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x445a08]
lea eax, [esp + 0x24]
push 0
push eax
push dword [esp + 0xf8]
call fcn.0043f2e0
add esp, 0xc
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x445a10]
xor ebx, ebx
jmp case.0x418ccb.1
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp dword [0x445a70]