joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d40
Capabilities:
Get disk information

Disassembly:
sub esp, 0x83c
mov eax, dword [esp + 0x840]
mov ecx, dword [eax]
push ebx
mov ebx, dword [0x44b768]
push ebp
mov ebp, dword [0x44b76c]
push esi
mov esi, dword [eax + 4]
push edi
xor edi, edi
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], 0x9e3779b9
call fcn.00404d10
mov eax, dword [0x44b770]
mov edx, dword [0x44b774]
add dword [esp + 0x10], 0x23f
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], 0x20
jmp 0x404da6
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [0x70b7f4]
shl ecx, 4
add ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
cmp eax, 0xfa9
jne 0x404dd6
mov dword [0x70b7f0], 0xedeb2e40
jmp 0x404de3
cmp eax, 0x3eb
jne 0x404de3
mov dword [0x7086f8], edi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
mov dword [0x70b7ec], 0xf4ea3dee
call fcn.00404d20
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor dword [esp + 0x18], eax
cmp dword [0x70b7f4], 0x213
jne 0x404e77
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push edi
push edi
mov dword [esp + 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
lea ecx, [esp + 0x4c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
lea edx, [esp + 0x44]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov eax, esi
mov dword [esp + 0x2c], esi
call fcn.00404d00
add dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, esi
shr eax, 5
add eax, ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
cmp dword [0x70b7f4], 0x121
jne 0x404ed7
push edi
push edi
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
call fcn.00404d30
mov eax, dword [esp + 0x3c]
sub dword [esp + 0x10], eax
sub dword [esp + 0x30], 1
jne 0x404da2
mov eax, dword [esp + 0x850]
mov edx, dword [esp + 0x28]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x83c
ret 4
Function at 0x408e9d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a208]
jne 0x408ea7
repz ret
jmp fcn.00410cbc

Function at 0x4148b1
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.0040e368
and dword [ebp - 4], 0
cmp dword [0x44da30], 0
mov ebx, eax
jne 0x414962
push 0x402d70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414a13
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402d64
push edi
call esi
test eax, eax
je 0x414a13
push eax
call fcn.0040e2f6
mov dword [esp], 0x402d54
push edi
mov dword [0x44da30], eax
call esi
push eax
call fcn.0040e2f6
mov dword [esp], 0x402d40
push edi
mov dword [0x44da34], eax
call esi
push eax
call fcn.0040e2f6
mov dword [esp], 0x402d24
push edi
mov dword [0x44da38], eax
call esi
push eax
call fcn.0040e2f6
pop ecx
mov dword [0x44da40], eax
test eax, eax
je 0x414962
push 0x402d0c
push edi
call esi
push eax
call fcn.0040e2f6
pop ecx
mov dword [0x44da3c], eax
mov eax, dword [0x44da3c]
cmp eax, ebx
je 0x4149ba
cmp dword [0x44da40], ebx
je 0x4149ba
push eax
call fcn.0040e371
push dword [0x44da40]
mov esi, eax
call fcn.0040e371
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4149ba
test edi, edi
je 0x4149ba
call esi
test eax, eax
je 0x4149b1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4149b1
test byte [ebp - 0xc], 1
jne 0x4149ba
or dword [ebp + 0x10], 0x200000
jmp 0x4149f3
mov eax, dword [0x44da34]
cmp eax, ebx
je 0x4149f3
push eax
call fcn.0040e371
pop ecx
test eax, eax
je 0x4149f3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4149f3
mov eax, dword [0x44da38]
cmp eax, ebx
je 0x4149f3
push eax
call fcn.0040e371
pop ecx
test eax, eax
je 0x4149f3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44da30]
call fcn.0040e371
pop ecx
test eax, eax
je 0x414a13
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414a15
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404510
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 0x404600
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404600
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x40455a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x404561
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404540
jmp 0x404563
mov esi, 0x1505
jmp 0x404563
mov esi, ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov dword [esp + 8], edx
sub edx, 1
mov dword [esp + 0xc], edx
jb 0x404600
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
xor edi, edi
mov edx, ebx
mov dword [esp], ebx
jmp 0x4045a1
mov eax, edi
and eax, 1
xor edi, 1
lea edi, [edi + eax*2]
cmp edi, dword [esp + 8]
jae 0x4045fe
lea eax, [edi + edx]
and eax, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [ebx + eax*4]
cmp ebp, 0xffffffff
je 0x4045fe
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x404590
mov eax, dword [ecx + 0xc]
mov ebx, dword [eax + ebp*4]
push ebx
call fcn.0040c960
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0x404590
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x30]
call fcn.0040c980
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404590
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404600
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405840
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, 0xffffffff
cmp dword [esp + 0x2c], 0
je 0x405a34
mov esi, dword [esp + 0x30]
test esi, esi
je 0x405a34
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x405a34
cmp dword [ecx], 0
jne 0x405a34
push esi
call fcn.0040c960
add esp, 4
test eax, eax
je 0x4058aa
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x4058b1
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405890
jmp 0x4058b3
mov edi, 0x1505
jmp 0x4058b3
mov edi, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov dword [esp + 0xc], edx
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x405986
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405913
call fcn.00405b20
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x30]
jne 0x405a34
push esi
call fcn.0040c960
add esp, 4
mov edx, esi
lea esi, [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push esi
push edi
push eax
call fcn.00405a40
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x30]
push esi
call fcn.0040c960
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x405a2f
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040c760
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405a34
mov dword [esp + 4], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
xor esi, esi
mov edx, ebx
mov dword [esp], ebx
jmp 0x4059b5
mov eax, esi
and eax, 1
xor esi, 1
lea esi, [esi + eax*2]
cmp esi, dword [esp + 0xc]
jae 0x4058ce
lea ebp, [esi + edx]
and ebp, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov ebx, dword [eax + ebp*4]
cmp ebx, 0xffffffff
je 0x4058d3
mov eax, dword [ecx + 8]
cmp dword [eax + ebx*4], edi
jne 0x4059a0
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + ebx*4]
push ebp
call fcn.0040c960
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4059a0
push dword [esp + 4]
push ebp
push dword [esp + 0x38]
call fcn.0040c980
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x4059a0
mov eax, dword [ecx + 0x10]
push dword [eax + ebx*4]
call fcn.00404930
mov edx, dword [esp + 0x30]
add esp, 4
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x34]
mov dword [eax + ebx*4], esi
jmp 0x40597b
mov eax, 0xffffffff
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406b10
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x406c96
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x406c8f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov ebx, esi
sub ebx, eax
jmp 0x406ba5
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 ebx, 0x15b0
je 0x406c8f
xor eax, eax
cmp ebx, 8
mov dword [esp], ebx
mov dword [esp + 8], esi
jb 0x406c21
and ebx, 0x1ff8
mov dword [esp + 4], ebx
xor edx, edx
nop
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 3]
add esi, edx
add ecx, esi
lea edx, [eax + 8]
movzx edi, byte [ebp + eax + 4]
add edi, esi
add ecx, edi
movzx esi, byte [ebp + eax + 5]
add esi, edi
add ecx, esi
movzx ebx, byte [ebp + eax + 6]
add ebx, esi
add ecx, ebx
movzx edi, byte [ebp + eax + 7]
add edi, ebx
mov ebx, dword [esp]
add ecx, edi
add eax, 0xf
cmp eax, ebx
jb 0x406bc0
add ebp, edx
mov esi, dword [esp + 8]
mov eax, dword [esp + 4]
mov edx, eax
sub edx, ebx
jae 0x406b6d
mov dword [esp + 0xc], edx
mov esi, ebx
and esi, 3
mov dword [esp + 4], eax
mov edx, ebp
je 0x406c4c
nop
nop
nop
nop
inc eax
movzx ebx, byte [edx]
add edi, ebx
add ecx, edi
inc edx
dec esi
jne 0x406c40
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406b60
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
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 0x406c60
jmp 0x406b60
shl ecx, 0x10
or ecx, edi
jmp 0x406c9b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x406cde
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x406d7c
not eax
test bl, 1
jne 0x406ce5
mov edx, ebx
cmp ebx, 1
jne 0x406d16
jmp 0x406d7a
xor eax, eax
jmp 0x406d7c
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 + 0x448c50]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x448c50]
cmp ebx, 1
je 0x406d7a
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 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
add esi, 2
cmp edx, esi
jne 0x406d20
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x40c610
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0x40c67c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0x40c65e
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0x40c660
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 2
mov ebp, ebx
or ebx, 2
imul ebx, edx
xor edx, 2
and ebp, 0xfffffffd
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0x40c640
jmp 0x40c660
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0x40c67a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0x40c67c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x408
mov dword [esp], ecx
mov esi, dword [esp + 0x41c]
movzx eax, word [esi]
lea ebp, [esp + 8]
test ax, ax
je 0x40d2c5
mov edx, 0x1ff
nop
nop
nop
nop
nop
nop
nop
movzx ebx, ax
lea edi, [esi + 2]
cmp bx, 0x7f
ja 0x40d1c0
mov byte [ebp], bl
lea eax, [ebp + 1]
jmp 0x40d270
cmp ebx, 0x7ff
ja 0x40d1f0
cmp edx, 2
jb 0x40d1f0
mov eax, ebx
shr eax, 6
add al, 0xc0
mov byte [ebp], al
and bl, 0x3f
or bl, 0x80
lea eax, [ebp + 2]
mov byte [ebp + 1], bl
jmp 0x40d270
mov eax, ebx
and eax, 0xfc00
cmp eax, 0xd800
jne 0x40d28a
cmp edx, 4
jb 0x40d28a
movzx eax, word [esi + 2]
mov dword [esp + 4], eax
add esi, 4
shl ebx, 0xa
add ebx, 0xfca00000
lea edi, [eax - 0xdc00]
mov eax, edi
and eax, ebx
xor edi, ebx
lea ecx, [edi + eax*2]
lea ebx, [edi + eax*2]
add ebx, 0x10000
mov eax, ebx
shr eax, 0x12
add al, 0xf0
mov byte [ebp], al
shr ebx, 0xc
and bl, 0x3f
or bl, 0x80
mov byte [ebp + 1], bl
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [ebp + 2], cl
mov eax, dword [esp + 4]
and al, 0x3f
or al, 0x80
mov ecx, eax
lea eax, [ebp + 4]
mov byte [ebp + 3], cl
mov edi, esi
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 0x40d2c5
test edx, edx
jne 0x40d1a0
jmp 0x40d2c5
movzx eax, ax
cmp eax, 0xdc00
jne 0x40d298
mov esi, edi
jmp 0x40d278
cmp edx, 3
jb 0x40d2c1
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 0x40d270
mov eax, ebp
jmp 0x40d270
mov esi, dword [esp + 0x424]
mov edx, dword [esp + 0x420]
mov byte [ebp], 0
movzx ebx, byte [esp + 8]
lea eax, [esp + 0x208]
mov ecx, eax
test bl, bl
je 0x40d316
lea ecx, [esp + 0x208]
lea edi, [esp + 9]
jmp 0x40d30b
mov byte [ecx], bh
inc ecx
movzx ebx, byte [edi]
inc edi
test bl, bl
je 0x40d316
mov bh, 0x2f
cmp bl, 0x5c
je 0x40d300
mov bh, bl
jmp 0x40d300
mov byte [ecx], 0
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.00408e20
add esp, 0x28
test eax, eax
setne al
add esp, 0x408
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40d3d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x60]
mov dword [esp + 0x14], eax
mov word [esp], 0x2523
mov byte [esp + 2], 0x1e
mov dword [esp + 3], 0
xor eax, eax
nop
mov edx, eax
and edx, 3
xor edx, 0xfb
mov ecx, eax
and ecx, 4
sub ecx, edx
xor cl, byte [esp + eax]
add cl, 0xe7
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x40d400
mov dword [esp + 8], 0x160c1026
mov word [esp + 0xc], 0x30a
mov dword [esp + 0xe], 0
mov byte [esp + 0x12], 0
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, eax
and ebx, 2
mov ecx, edx
xor ecx, 0x81
add ecx, ebx
xor cl, byte [esp + edx + 8]
add cl, 0x7b
mov byte [esp + edx + 8], cl
inc edx
add eax, 2
cmp edx, 0xb
jne 0x40d450
mov dword [esp + 0x1c], 0xa08cccd
mov dword [esp + 0x20], 0xe0ed8dc
mov dword [esp + 0x24], 0x131e08dd
mov dword [esp + 0x28], 0x1613121f
mov dword [esp + 0x2c], 0xd61b0706
mov dword [esp + 0x30], 0x103df3f1
mov dword [esp + 0x34], 0x6d630d12
mov dword [esp + 0x38], 0x6246a870
mov dword [esp + 0x3c], 0x78656977
mov dword [esp + 0x40], 0x606b796d
mov dword [esp + 0x44], 0x758eb762
mov dword [esp + 0x48], 0xbe7f637f
mov dword [esp + 0x4c], 0x466a4874
mov dword [esp + 0x50], 0x427085a3
mov dword [esp + 0x54], 0x819b7c75
mov byte [esp + 0x58], 0xdc
mov dword [esp + 0x59], 0
mov byte [esp + 0x5d], 0
mov ebp, 0xa6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ebp - 0x8a]
mov ecx, ebx
and ecx, ebp
mov eax, ecx
or al, 0xfd
inc al
mov edx, ecx
and dl, 0xfd
mul dl
mov edx, eax
add dl, bl
mov eax, ecx
shr al, 1
and al, 1
or cl, 2
mul cl
add al, al
sub dl, al
movzx eax, dl
add eax, ebp
add al, 0xc2
mov byte [esp + ebp - 0x8a], al
inc ebp
cmp ebp, 0xe8
jne 0x40d510
mov ebx, dword [esp + 0x74]
add ebx, dword [esp + 0x14]
movzx ecx, byte [esp + 0x1c]
mov eax, ebx
test cl, cl
je 0x40d57b
lea edx, [esp + 0x1d]
mov eax, ebx
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40d570
mov byte [eax], 0
movzx ecx, byte [esi]
test cl, cl
je 0x40d59b
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [esi]
inc esi
test cl, cl
jne 0x40d590
mov byte [eax], 0
movzx ecx, byte [esp + 8]
test cl, cl
je 0x40d5bb
lea edx, [esp + 9]
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40d5b0
mov byte [eax], 0
movzx ecx, byte [edi]
test cl, cl
je 0x40d5db
inc edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edi]
inc edi
test cl, cl
jne 0x40d5d0
mov byte [eax], 0
movzx ecx, byte [esp]
test cl, cl
je 0x40d5fb
lea edx, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40d5f0
mov byte [eax], 0
sub eax, ebx
mov ecx, dword [esp + 0x18]
add dword [ecx + 0x60], eax
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40dfd0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x198
mov ebp, dword [0x451e54]
mov dword [esp + 0x118], 0x919e679c
mov word [esp + 0x11c], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x118]
mov edi, ecx
and edi, 0xa
mov ebx, edx
xor ebx, edi
and edi, edx
xor ebx, 0x8ddc5865
lea ebx, [ebx + edi*2]
xor ebx, esi
mov esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
add bl, 6
mov byte [esp + edx + 0x118], bl
inc edx
add ecx, 2
cmp edx, 6
jne 0x40e000
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x18], 0x374f39b3
mov dword [esp + 0x1c], 0x334a3546
mov dword [esp + 0x20], 0x4fc231bc
mov dword [esp + 0x24], 0x4b784d3c
mov dword [esp + 0x28], 0x47324934
mov dword [esp + 0x2c], 0x43424530
mov word [esp + 0x30], 0
mov byte [esp + 0x32], 0
mov edx, 0xb6
mov esi, 0x49
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx - 0x9e]
mov ebx, edx
xor ebx, esi
and ebx, edi
xor ebx, esi
mov al, 0x71
sub al, bl
mov byte [esp + edx - 0x9e], al
inc edx
dec esi
cmp edx, 0xd1
jne 0x40e090
lea esi, [esp + 0x18]
push ecx
push 0
push esi
call ebp
mov ecx, 0x451e1c
push eax
call fcn.00440c60
movzx eax, al
mov eax, dword [eax*4 + 0x44bb00]
mov ecx, 0x38d3da57
xor ecx, dword [0x44bb08]
add eax, ecx
inc eax
jmp eax

Function at 0x40f070
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]
push eax
sub esp, 8
mov dword [esi + 0xc], esp
push eax
mov ebx, esp
push eax
mov dword [esi + 0x20], esp
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 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 + 0x38], 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 [0x451e30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f13e
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 + 0x44be64]
mov eax, dword [0x44be74]
nop
nop
nop
nop
nop
nop
jmp eax
Function at 0x40f084
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]
push eax
sub esp, 8
mov dword [esi + 0xc], esp
push eax
mov ebx, esp
push eax
mov dword [esi + 0x20], esp
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 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 + 0x38], 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 [0x451e30]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40f13e
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 + 0x44be64]
mov eax, dword [0x44be74]
nop
nop
nop
nop
nop
nop
jmp eax