joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4442a0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
xor esi, esi
push edi
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x4442e0
cmp eax, 3
je 0x4442e0
xor esi, ecx
jmp 0x4442e5
mov eax, ecx
imul esi, eax
add ecx, 1
cmp ecx, 0x17
jl 0x4442c1
lea ecx, [esp + 0x10]
push ecx
push 0x45fee8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor eax, eax
nop
mov edx, eax
add eax, 1
imul esi, edx
cmp eax, 0x17
jl 0x444300
test esi, esi
jle 0x444314
lea esi, [esi + esi*4]
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
mov ecx, esi
sub ecx, eax
jne 0x44432e
lea esi, [ecx + 0x11]
nop
nop
nop
xor ecx, ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 1
je 0x444352
cmp eax, 4
je 0x444352
and esi, ecx
jmp 0x444354
sub esi, ecx
add ecx, 1
cmp ecx, 0x17
jl 0x444333
push 0xfa
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
mov edi, edi
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea ecx, [edx + edx*2]
mov edx, edi
sub edx, ecx
cmp edx, 1
jne 0x444389
and esi, edi
jmp 0x44439f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or esi, edi
add edi, 1
cmp edi, 0xd
jl 0x444370
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea eax, [edx + edx*2]
sub ecx, eax
je 0x4443df
mov ecx, edi
imul esi, ecx
add edi, 1
call ebx
mov ecx, eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
sub ecx, edx
jne 0x4443c3
nop
nop
nop
mov edi, 0x11
nop
nop
nop
xor ecx, ecx
lea esp, [esp]
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 2
je 0x44440f
cmp eax, 3
je 0x44440f
xor edi, ecx
jmp 0x444414
mov eax, ecx
imul edi, eax
add ecx, 1
cmp ecx, 2
jl 0x4443f0
lea ecx, [esp + 0x10]
push ecx
push 0x45fef0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor esi, esi
mov edi, edi
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea edx, [edx + edx*2]
mov eax, esi
sub eax, edx
cmp eax, 1
jne 0x444449
and edi, esi
jmp 0x44445f
mov eax, 1
mov ebx, 2
mov ecx, 3
mov edx, 4
or edi, esi
add esi, 1
cmp esi, 2
jl 0x444430
push 0x45fef8
push 0x45ff00
add edi, 1
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [esp + 0x264]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040470b
mov esp, ebp
pop ebp
ret
Function at 0x453c50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
call fcn.0041c460
push 0x3c
lea eax, [esp + 4]
push 0
push eax
call fcn.00408780
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add esp, 0xc
lea eax, [esp]
push eax
mov dword [esp + 4], 0x3c
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], str.open
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 1
mov dword [esp + 8], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x453cb3
add esp, 0x3c
ret
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x3c
ret

Function at 0x453df0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x474534]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
call fcn.0041e730
xor ebx, ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
push ebx
mov dword [esp + 0x80], ebx
call fcn.00404f03
add esp, 4
push eax
call fcn.00404f3f
mov ecx, 0xd
mov esi, 0x46e4fc
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
add esp, 4
movsw word es:[edi], word [esi]
mov dword [esp + 0x14], ebx
call fcn.00404f4c
and eax, 0x80000007
jns 0x453e90
dec eax
or eax, 0xfffffff8
inc eax
js 0x453f3b
lea ebx, [ebx]
call fcn.00404f4c
cdq
mov ecx, 0x1a
idiv ecx
movzx edi, word [esp + edx*2 + 0x38]
or edx, 0xffffffff
sub edx, dword [esp + 0x30]
cmp edx, 1
ja 0x453eb3
call fcn.0040405a
mov esi, dword [esp + 0x30]
add esi, 1
cmp esi, 0x7ffffffe
jbe 0x453ec7
call fcn.0040405a
mov eax, dword [esp + 0x34]
cmp eax, esi
jae 0x453f7d
mov eax, dword [esp + 0x30]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
call fcn.00402e10
mov eax, dword [esp + 0x34]
cmp esi, ebx
jbe 0x453f17
cmp eax, 8
mov eax, dword [esp + 0x20]
jae 0x453ef8
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
mov word [eax + edx*2], di
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
jae 0x453f13
lea eax, [esp + 0x20]
mov word [eax + esi*2], bx
mov esi, dword [esp + 0x14]
add esi, 1
mov dword [esp + 0x14], esi
call fcn.00404f4c
and eax, 0x80000007
jns 0x453f33
dec eax
or eax, 0xfffffff8
inc eax
cmp esi, eax
jle 0x453e90
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
call fcn.004027b0
cmp dword [esp + 0x34], 8
jb 0x453f5f
mov eax, dword [esp + 0x20]
push eax
call fcn.00404706
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0040470b
add esp, 0x70
ret
cmp esi, ebx
jne 0x453ee9
cmp eax, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
jae 0x453f96
lea eax, [esp + 0x20]
mov word [eax], bx
jmp 0x453f17
Function at 0x453fa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov edi, ecx
call fcn.0043f420
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push str.SoftwareBaiduBaiduSd
push 0x80000002
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45403b
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.SupplyID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45403b
lea edx, [esp + 0x10]
push edx
push 0x46e5bc
call fcn.00402fb0
add esp, 8
call fcn.0043e330
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040470b
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0040470b
add esp, 0x218
ret
Function at 0x454060
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45a099
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x474534]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov dword [esp + 0x48], 1
call fcn.0041d080
push 0x46e548
push 0x6a
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x4540fb
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x4540cd
mov eax, dword [esp + 0x54]
push eax
call fcn.00404706
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
jb 0x4540f4
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00404706
add esp, 4
xor eax, eax
jmp 0x45428b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x454151
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x454123
mov edx, dword [esp + 0x54]
push edx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
jb 0x4540f4
mov eax, dword [esp + 0x70]
push eax
call fcn.00404706
add esp, 4
xor eax, eax
jmp 0x45428b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
cmp ebp, edi
jne 0x4541a9
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x454177
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x84], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
mov word [esp + 0x54], di
jb 0x4540f4
mov edx, dword [esp + 0x70]
push edx
call fcn.00404706
add esp, 4
xor eax, eax
jmp 0x45428b
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push ebp
call esi
cmp esi, edi
mov ebx, eax
je 0x454247
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x74]
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
call fcn.004027b0
push 1
push 0x46e558
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call fcn.00402af0
push edi
lea eax, [esp + 0x54]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x28]
call fcn.00402a30
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x454213
lea eax, [esp + 0x24]
push edi
push edi
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x20]
push ecx
push edx
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45425d
lea esi, [esp + 0x20]
call fcn.004025a0
lea esi, [esp + 0x50]
call fcn.004025a0
lea esi, [esp + 0x6c]
call fcn.004025a0
xor eax, eax
jmp 0x45428b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea esi, [esp + 0x20]
call fcn.004025a0
lea esi, [esp + 0x50]
call fcn.004025a0
lea esi, [esp + 0x6c]
call fcn.004025a0
mov eax, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0040470b
add esp, 0x38
ret
Function at 0x4542b0
Capabilities:
Create directory
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x45a0d7
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
push edi
mov eax, dword [0x474534]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
call fcn.0041d800
xor edi, edi
push 0x208
lea eax, [esp + 0x4a]
push edi
push eax
mov word [esp + 0x50], di
call fcn.00408780
add esp, 0xc
push 0x104
lea ecx, [esp + 0x48]
push ecx
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x44]
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x454335
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x48]
push edx
lea esi, [esp + 0x14]
call fcn.00402bc0
mov dword [esp + 0x260], edi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x264], 1
call fcn.00453df0
add esp, 4
push 1
push 0x46e544
mov ecx, esi
call fcn.00402af0
push edi
lea ecx, [esp + 0x2c]
push ecx
or eax, 0xffffffff
call fcn.00402a30
push 0xffffffffffffffff
push edi
mov eax, esi
mov ecx, ebx
call fcn.004027b0
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x4543bb
lea eax, [esp + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [esp + 0x40], esi
jb 0x4543d6
mov edx, dword [esp + 0x2c]
push edx
call fcn.00404706
add esp, 4
cmp dword [esp + 0x24], esi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x4543fa
mov eax, dword [esp + 0x10]
push eax
call fcn.00404706
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.0040470b
add esp, 0x258
ret
Function at 0x454b00
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
xor bl, bl
test esi, esi
jne 0x454b33
xor al, al
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0040470b
add esp, 0x230
ret
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x454b5d
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0040470b
add esp, 0x230
ret
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x454ba0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x454b80
push esi
lea ecx, [esp + 0x34]
push ecx
call ebp
test eax, eax
je 0x454b9d
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x454b80
jmp 0x454b9f
mov bl, 1
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0040470b
add esp, 0x230
ret
Function at 0x458a20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x474534]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
mov edi, ecx
call fcn.0043f420
lea eax, [esp + 4]
push eax
push 0xf003f
push 0
push 0x45e48c
push 0x80000002
mov dword [esp + 0x1c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x458abb
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.InstallDir
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458abb
lea edx, [esp + 0x10]
push edx
push 0x45e4d4
call fcn.00402fb0
add esp, 8
call fcn.0043e330
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0040470b
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0040470b
add esp, 0x218
ret
Function at 0x406b25
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x406b62
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x406b5b
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x406b67
add edx, 0x28
cmp edx, esi
jne 0x406b4c
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x406b64

Function at 0x40d2f2
Capabilities:
Encode data using xor

Disassembly:
call 0x40d26b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x40d29b
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x40d2b7
xor edx, 0
jmp 0x40d2c2
xor edx, edx
jmp 0x40d2d9
jmp 0x40d2e5
xor eax, eax
push 0x8427d7c0
call 0x40d2f2
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x40d32e
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x40d307
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x40d345
add eax, 0
jno 0x40d34a
add esi, 0
ret 0x10
Function at 0x40e0b3
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x40e0d5
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x40e277
cmp edi, dword [ebp + 0x10]
jb 0x40e277
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.0040db9f
inc edi
jmp 0x40e15e
jmp 0x40e16b
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040db9f
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.0040db9f
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x40e1bf
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x40e1a3
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0040e1ed
add dword [eax], 0x39
jle 0x40e1c9
sub al, 0xf5
mov ch, al
call fcn.0040e202
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x40feda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40fef0
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40ff01
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0040ff42
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x4122ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x4121f7
add ebx, 0
push ecx
call 0x41220c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6c6ba38c
sub ebx, dword [0x6c6d9bcb]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c6d9bbb
call fcn.0040dcd6
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040d1e4
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x41236a
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x41236a
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x412321
mov eax, 1
lock xchg dword [0x6c6d9bc7], eax
push 0x3dd1fc71
call 0x4122ae
push esi
add esp, 8
cmp eax, 0
jne 0x412297
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4122bd
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4122d2
cmp ecx, edx
cmp eax, 0
je 0x4122f7
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x4122e1
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.00412310
dec eax
loope 0x412313
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c6d9bc7], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x412347
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x41235c
jmp 0x412367
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x412255

Function at 0x4193cf
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4196a5
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c6c683f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c6bd805
push 0xffffffffffffffff
call fcn.004105cf
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x419439
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.00419451
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x419699
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x41966d
Function at 0x428e9f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x428ec1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x428ec1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x428ec1
ret
cmp word [ebx + 4], 0x14c
jne 0x428ec1
test word [ebx + 0x16], 2
je 0x428ec1
test word [ebx + 0x16], 0x100
je 0x428ec1
cmp word [ebx + 0x18], 0x10b
jne 0x428ec1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x428ec1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x428f4d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x428ee1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040fe2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x428ec1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x428f4d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x428ec1
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x428ec1
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x428ec1
ret
cmp word [ebx + 4], 0x14c
jne 0x428ec1
test word [ebx + 0x16], 2
je 0x428ec1
test word [ebx + 0x16], 0x100
je 0x428ec1
cmp word [ebx + 0x18], 0x10b
jne 0x428ec1
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x428ec1
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x428f4d
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x428ee1
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0040fe2c
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x428ec1
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8