joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e19ab
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e19e3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004dfa26
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004df9fe
jmp 0x4e19ef
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e31aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e31ec
call fcn.004e98f1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e31ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e31e3
xor eax, eax
jmp 0x4e31f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e31fa
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e9e21
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e9e4f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e9e6d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e9d87
jmp 0x4e9e6d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e9e6d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e9d87
test edi, edi
mov eax, edi
jne 0x4e9e57
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45ec2c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x479898
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x45ec4e
shr eax, 1
xor eax, 0xedb88320
jmp 0x45ec50
shr eax, 1
dec edx
jne 0x45ec3c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45ec35
mov dword [0x477d3c], 1
pop esi
pop ebx
ret

Function at 0x45ec70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [0x477d3c]
test al, al
jne 0x45ec8e
call fcn.0045ec2c
mov eax, 4
lea edx, [ebp - 8]
xor ebx, ebx
mov bl, byte [edx]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x479898]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc edx
dec eax
jne 0x45ec96
mov edx, dword [ebp + 8]
dec edx
test edx, edx
jl 0x45ece6
inc edx
xor eax, eax
xor ebx, ebx
mov bl, byte [esi + eax]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x479898]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc eax
dec edx
jne 0x45ecc3
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x461cec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x461d1a
mov eax, ebx
call fcn.00462790
cmp dword [ebx + 0x3c], 0
je 0x461d13
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x461d8b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x461d7d
cmp dword [ebx + 8], 0
je 0x461d3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x461d4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x461d7d
cmp dword [ebx + 8], 0
je 0x461d2f
cmp eax, 3
je 0x461d61
dec eax
jne 0x461d2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x461d2f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x461d2f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x461da9
cmp dword [ebx + 0x10], 0xcc
je 0x461da9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00461db4
pop ebx
ret
Function at 0xfc1cc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xff2c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00fd6cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xfc1d8f
mov eax, 0xfec894
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xfc1d05
sub eax, edx
sar eax, 1
je 0xfc1d8f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.00fe9234]
push 0xfec894
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00fd48ea
push 0xfec8b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00fd4e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xfc1d8f
push eax
push 1
push 0x200
push esi
call fcn.00fd512e
mov eax, dword [esp + 0x14]
push eax
call fcn.00fd51c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret

Function at 0xfc1db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xff2c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00fd6cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0xfc1eb5
mov eax, 0xfec7e0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0xfc1df5
sub eax, edx
sar eax, 1
je 0xfc1eb5
cmp dword [0xff3fbc], 3
jne 0xfc1e3c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.00fe9214]
push 0xfec8b8
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00fd48ea
add esp, 0xc
jmp 0xfc1e4c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.00fe9234]
push 0xfec7e0
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.00fd48ea
push 0xfec8b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00fd4e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0xfc1eb5
push eax
push 1
push 0x200
push esi
call fcn.00fd512e
mov edx, dword [esp + 0x14]
push edx
call fcn.00fd51c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret
Function at 0xfc25c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.00fd49e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xfee4b0]
fadd qword [0xfee4c8]
call fcn.00fd89e0
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0xfc26e0
call fcn.00fd49e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0xfee4b0]
fmul qword [0xfee4c0]
fadd qword [0xfee4b8]
call fcn.00fd89e0
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0xfc26c8
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0xfc26b9
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0xfc26b0
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0xfc2677
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0xfc2780
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0xff2c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00fd6cc0
add esp, 0xc
cmp edi, esi
je 0xfc2868
mov eax, 0xfec790
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0xfc27c5
sub eax, edx
sar eax, 1
je 0xfc27ef
push 0xfec924
lea edx, [esp + 8]
push 0xfec790
push edx
call fcn.00fd4e3b
add esp, 0xc
jmp 0xfc282a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.00fe9234]
push 0xfec894
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00fd48ea
push 0xfec924
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00fd4e3b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0xfc284d
push eax
push 1
push 0x200
push edi
call fcn.00fd5401
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00fd51c2
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00fd48db
add esp, 0x214
ret
Function at 0xfc2880
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0xfec8b0
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00fd4e3b
add esp, 0xc
test eax, eax
je 0xfc28a4
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00fd550d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00fd572f
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00fd550d
lea ebp, [esi + 0x32]
push ebp
call fcn.00fd57ec
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.00fd512e
mov eax, dword [esp + 0x40]
push eax
call fcn.00fd51c2
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.00fc2950
mov ecx, dword [esp + 0x4c]
push 0xfec924
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00fd4e3b
add esp, 0x40
test eax, eax
je 0xfc2922
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00fd5401
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00fd51c2
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0xfc4570
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.00fd9170
mov eax, dword [0xff2c20]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1010]
push ebx
push ebp
mov ebp, dword [0xfe93d4]
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0xfc45c8
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.00fd48db
add esp, 0x100c
ret
cmp dword [esp + 8], ebx
jbe 0xfc4607
push esi
nop
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0xfc4606
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00fd5401
add ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0xc]
jb 0xfc45d0
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.00fd51c2
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp ebx, dword [esp + 8]
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00fd48db
add esp, 0x100c
ret
Function at 0xfc61b0
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.00fd9170
mov eax, dword [0xff2c20]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0xfec8b0
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.00fd4e3b
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0xfc621b
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.00fd48db
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.00fd550d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00fd572f
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.00fd550d
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.00fd512e
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0xfc62c6
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.00fc6020
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.00fd512e
mov esi, eax
add esp, 0x18
test esi, esi
ja 0xfc6291
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.00fc60c0
mov edx, dword [esp + 0x10]
push edx
call fcn.00fd51c2
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0xfc61f4
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00fd48db
add esp, 0x1068
ret
Function at 0xfc8080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0xfc8087
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0xfc8164
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xfede80]
inc ecx
sub edx, 8
sub esi, 1
jne 0xfc80a0
pop edi
test edx, edx
je 0xfc818b
jmp 0xfc8170
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xfede80]
inc ecx
sub edx, 1
jne 0xfc8170
not eax
pop esi
ret

Function at 0xfc8190
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xfede80]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0xfede80]
mov dword [edx + 8], ecx
ret

Function at 0xfc81e0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0xfede80]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0xfede80]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0xfc95e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0xfc95fe
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0xfc95f2
cmp dword [edi + 0x7c], ebx
je 0xfc960d
call fcn.00fc99c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00fc9350
add esp, 0xc
test eax, eax
je 0xfc9634
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.00fd57ec
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xfc9672
push 0x4000
call fcn.00fd57ec
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0xfc967f
push esi
call fcn.00fd5d47
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0xfc96c7
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00fc84a0
test eax, eax
jne 0xfc96c7
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0xfc96ee
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0xfc96f4
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0xfc9731
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0xfc9731
call fcn.00fc8190
add ebp, 1
jne 0xfc9720
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40325a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xcf24ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
push 0xffffffffffffffff
lea ecx, [ecx + 4]
call fcn.00403f12
mov edx, dword [ebp - 0x14]
mov dword [edx], 0xf448b4
xor eax, eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], eax
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], eax
mov dword [ebp - 4], 3
xor eax, eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 4
xor eax, eax
mov dword [edx + 0x44], eax
mov dword [edx + 0x48], eax
mov dword [edx + 0x4c], eax
mov dword [ebp - 4], 5
xor eax, eax
mov dword [edx + 0x50], eax
mov dword [edx + 0x54], eax
mov dword [edx + 0x58], eax
mov dword [ebp - 4], 6
mov ecx, edx
mov dword [ecx + 0x5c], 0
call fcn.004033ba
mov ebx, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x4033a4
test ebx, ebx
jl 0x403348
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0x104
lea ecx, [eax + 0x60]
push edx
push ecx
call 0xcb96be
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x403369
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
lea esi, [eax + 0x164]
mov dl, byte [edi]
add edi, 1
mov byte [esi], dl
add esi, 1
test dl, dl
jne 0x40335b
push ebx
push 0x92
push 0xd272dc
push 0xd26b80
push 6
call fcn.00404d2a
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0xd272ec
push 1
call fcn.00404d2a
add esp, 8
mov ebx, 0x80070057
jmp 0x403348

Function at 0x416fee
Capabilities:
Encode data using xor

Disassembly:
test dword [edi + 0x14bccd93], ebp
inc eax
lodsb al, byte [esi]
push esp
push ebx
or dword [edi], 0x8f2fe684
xchg ebp, eax
adc dword [ecx - 0x44], edx
insb byte es:[edi], dx
jno 0x41706f
cmpsb byte [esi], byte es:[edi]
xor ch, cl
mov edx, 0xd9a5a8a8
and esi, dword [0x204b3176]
daa
mov byte [0xdeed2279], al
lodsd eax, dword [esi]
loop 0x417006
stosb byte es:[edi], al
cmpsd dword [esi], dword es:[edi]
aas
dec edi
inc ebx
aaa
popal
jge 0x41702e
stosd dword es:[edi], eax
iretd
out dx, al
xchg esp, eax
sti
or esp, dword [edi + 0xc]
xchg ebx, eax
sbb dword [edx + 0x5072bc3d], ebx
sal edx, cl
cmpsd dword [esi], dword es:[edi]
push cs
and al, 0x78
sub ecx, ecx
invalid
cmp al, byte [ebp - 0x60]
lcall 0x1c51, 0xdf2909c0
sbb ecx, ebp
retf
Function at 0x417c10
Capabilities:
Check os version

Disassembly:
sub esp, 8
push esi
mov word [0x4c5c4c], 0x7f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, eax
push 0
and esi, 0xff
cmp esi, 6
setae al
mov byte [0x4c5c2d], al
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x4c5958
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esp + 4]
mov dword [esp + 4], 8
push ecx
mov dword [esp + 0xc], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x4c5958
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 6
jb 0x417cd4
mov edx, dword [0x4c2064]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetThreadPreferredUILanguages
push eax
call edi
mov dword [0x4c5978], eax
mov eax, dword [0x4c2064]
push eax
call esi
push str.SetThreadPreferredUILanguages
push eax
call edi
mov ecx, dword [0x4c2064]
mov dword [0x4c5974], eax
push ecx
call esi
push str.GetThreadUILanguage
push eax
call edi
mov esi, eax
pop edi
mov dword [0x4c5970], esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
add esp, 8
ret