joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4202e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0x10], edi
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov ecx, dword [eax]
push edx
push eax
mov dword [esp + 0x3c], edi
call dword [ecx + 0x30]
test eax, eax
jl 0x415d78
mov eax, dword [esp + 0x18]
push ebp
lea edx, [esp + 0x18]
push edi
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x415d6d
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov ecx, 4
mov edi, 0x423b60
xor edx, edx
lea esi, [eax + 0x2c]
repe cmpsd dword [esi], dword es:[edi]
jne 0x415d4e
mov ecx, dword [eax + 0x44]
cmp dword [ecx + 0x34], ebp
jne 0x415d46
mov edx, dword [esp + 0x48]
mov esi, dword [ecx + 0x38]
cmp esi, edx
je 0x415d67
push eax
mov ecx, ebx
call fcn.00416000
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push 0
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x415d1c
jmp 0x415d6b
mov dword [esp + 0x10], eax
xor edi, edi
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop ebp
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x10]
push ecx
push 0x423af0
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x415dde
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x415dad
mov eax, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [esp + 0xc]
mov ecx, ebx
push eax
call fcn.00416000
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
jl 0x415dde
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x34]
mov dword [ebx + 0x20], edx
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x38]
mov ecx, ebx
mov dword [ebx + 0x24], edx
call fcn.00416000
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x34], 0xffffffff
je 0x415e15
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x415ec0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
call fcn.00416050
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
call fcn.00416160
mov ecx, dword [esp + 0x4c]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x415f06
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret 4
push esi
mov esi, dword [ebp + 0x20]
xor edx, edx
push edi
lea ecx, [esi + esi*2]
mov dword [esp + 0x18], edx
shl ecx, 3
mov dword [esp + 0x1c], edx
mov edi, dword [ebp + 0x24]
lea eax, [ecx + 0x1f]
mov dword [esp + 0x20], edx
and al, 0xe0
mov word [esp + 0x24], dx
cdq
and edx, 7
push 0
add edx, eax
mov eax, ecx
sar edx, 3
mov ecx, edx
mov word [esp + 0x1c], 0x4d42
mov dword [esp + 0x26], 0x36
cdq
and edx, 7
add eax, edx
lea edx, [esi + esi*2]
sar eax, 3
sub ecx, eax
xor eax, eax
add ecx, edx
mov word [esp + 0x22], ax
imul ecx, edi
add ecx, 0x36
lea edi, [esp + 0x2c]
mov dword [esp + 0x1e], ecx
mov ecx, 0xa
mov word [esp + 0x24], ax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
push 0xe
mov dword [esp + 0x38], esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ecx
push ebx
mov dword [esp + 0x3c], 0x28
mov word [esp + 0x48], 1
mov word [esp + 0x4a], 0x18
mov dword [esp + 0x4c], 0
call esi
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x30]
push 0x28
push eax
push ebx
call esi
mov edx, dword [ebp + 0x2c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push 0
push ecx
push edx
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 4
Function at 0x416180
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420316
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x828
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x4161ae
or eax, 0xffffffff
jmp 0x416369
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
lea eax, [esp + 8]
mov dword [esp + 0x834], ebx
push eax
push 0x423b20
push 1
push ebx
push 0x423b80
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x4161fa
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebx
je 0x41624d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x416369
mov dword [esp + 4], ebx
mov eax, dword [esp + 8]
lea ecx, [esp + 4]
push ebx
push ecx
mov edx, dword [eax]
push 0x423b70
push eax
mov byte [esp + 0x844], 1
call dword [edx + 0xc]
cmp eax, ebx
je 0x416255
mov eax, dword [esp + 4]
mov byte [esp + 0x834], bl
cmp eax, ebx
je 0x416234
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebx
je 0x41624d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
jmp 0x416369
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 4]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jne 0x416337
push ebp
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov esi, dword [esp + 0x848]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push 0x423ba0
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x41630c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push ebx
mov word [esp + 0x2c], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x416302
mov ecx, dword [esp + 0x30]
push ebx
push ebx
lea eax, [esp + 0x40]
push 0x800
push eax
push 0xffffffffffffffff
push ecx
push ebx
push ebx
call edi
lea edx, [esp + 0x38]
push eax
push edx
push esi
call dword [esp + 0x854]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
inc edx
push eax
mov dword [esp + 0x1c], edx
call ebp
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
cmp eax, ebx
je 0x416293
pop edi
pop esi
pop ebp
mov eax, dword [esp + 4]
mov byte [esp + 0x834], bl
cmp eax, ebx
je 0x41634c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov dword [esp + 0x834], 0xffffffff
cmp eax, ebx
je 0x416365
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x82c]
pop ebx
mov dword fs:[0], ecx
add esp, 0x834
ret 8
Function at 0x41b2ca
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 0x41b30c
call fcn.0041e582
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41b30c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41b303
xor eax, eax
jmp 0x41b314
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041b31a
pop edi
pop esi
pop ebx
ret 4
Function at 0x401b6b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
push edi
push edi
push edi
push dword [ebp + 8]
call dword [0x40e07c]
lea eax, [ebp - 4]
push edi
push eax
push 0x100000
push 0x413f78
push dword [ebp + 8]
call dword [0x40e078]
test eax, eax
je 0x401bb7
cmp word [0x413f78], 0x5a4d
jne 0x401bb7
mov ecx, dword [0x413fb4]
cmp dword [ecx + 0x413f78], 0x4550
je 0x401bbc
or eax, 0xffffffff
jmp 0x401be7
push esi
xor eax, eax
movzx esi, word [ecx + 0x413f7e]
cmp esi, edi
jle 0x401be6
lea edx, [ecx + 0x414080]
mov ecx, dword [edx + 4]
add ecx, dword [edx]
cmp ecx, eax
jbe 0x401bdb
mov eax, ecx
add edx, 0x28
inc edi
movsx ecx, di
cmp ecx, esi
jl 0x401bd0
pop esi
pop edi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x418e8c
Capabilities:
Encode data using xor

Disassembly:
invalid
scasd eax, dword es:[edi]
pop ecx
scasb al, byte es:[edi]
fsubr qword [edx + edx*2 + 0x112663c3]
loop 0x418eb7
wait
lodsd eax, dword [esi]
popfd
pop esi
fsub dword [ebx + ebp*4 - 0x668018ea]
add eax, 0xe4888d9e
dec esi
fsub dword [ebx]
in al, dx
sar byte [ecx + 0x31], 0xc8
jl 0x418e5d
pop ss
xchg byte cs:[0x6980b320], dh
jg 0x418ecb
std
outsd dx, dword [esi]
outsd dx, dword [esi]
mov esp, dword [ebp - 0x78]
dec ebx
pop ss
sub dl, byte [ebx + 0x1b5696a]
movsd dword es:[edi], dword [esi]
std
ret
mov bl, 0x97
jb 0x418f31
mov edx, 0xdd55092f
invalid
push 0xffffffffffffffaf
or byte [edi + 0x1f], bl
sub bh, byte [edi + 0x19cf0d86]
sbb al, 0x24
push edx
jno 0x418ee4
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4e3b799b]
stosd dword es:[edi], eax
je 0x418e6c
pop ecx
and dword [ecx - 0x16f7c585], eax
xchg dword [ecx], esp
invalid
invalid
invalid

Function at 0x41a8fc
Capabilities:
Encode data using xor

Disassembly:
daa
mov esi, 0xf17b0fef
xor al, 0xcc
dec esp
sbb eax, 0xcf455ab7
sbb bh, byte [esi + 0x3a]
jg 0x41a8d0
test al, 0x1b
inc ecx
adc dword [ebx - 0x1b6ac44b], 0x450383d4
clc
mov eax, dword [0x4dd1dc9c]
jae 0x41a8d1
push ecx
cmp al, al
xchg edi, eax
xor byte [0x49cabb29], ch
int1
push cs
dec ebp
dec ebx
and bl, byte [eax]
loope 0x41a91e
jg 0xa691540c
mov ecx, 0xd414027e
test byte [edx - 0x7b], dl
mov eax, dword [0x694a59c]
and dword [ebp - 0x127562fb], esp
jnp 0x41a9a6
pop eax
popal
bound esp, qword [ebx - 0x74]
mov bh, byte [ebp - 0x39810ac6]
lahf
xchg ah, dh
ffree st(0)
or dword [ecx], ecx
out dx, eax
and cl, byte [edi - 0x326ff659]
push edx
dec esp
fisubr word [edi]
mov ch, 0x8b
jmp 0x316914ac
fmul dword [ebx]
in eax, 0xf4
invalid

Function at 0x41d604
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xc257d4f7
mov byte [edi + 0x5c], 0x45
fadd qword [eax - 0x2b]
mov bh, 0x56
cmp al, al
invalid

Function at 0x41e838
Capabilities:
Encode data using xor

Disassembly:
and al, 0xb0
xchg esp, eax
imul byte [edi]
xor ah, dl
cli
salc
inc esi
std
sahf
jae 0x41e82e
mov ebp, 0x937ca94a
inc edx
invalid

Function at 0x41fd54
Capabilities:
Encode data using xor

Disassembly:
cmp byte [esi], dh
mov eax, 0x9d12bf9a
push ds
dec esp
scasd eax, dword es:[edi]
lahf
mov ds, word [ecx]
inc esp
mov dh, byte [esi + 0x32ee2a40]
sub eax, 0xc62d5841
inc ecx
pop eax
sub eax, 0x85ad37c6
and ecx, dword [esi]
inc ecx
pop eax
sub eax, 0x85ad37c6
and ecx, dword [esi]
xchg esi, eax
lds ebp, [edx + ebx*8 - 0x3a]
loope 0x41fd9f
ja 0x41fd65
call dword [ecx - 0x23]
jno 0x41fd3e
push ecx
fnsave dword [ecx - 0x2c]
das
insd dword es:[edi], dx
outsb dx, byte [esi]
imul ebx, dword [ebx], 0x2f94b151
adc bh, byte [ecx - 0x78d63ade]
int3
and edx, eax
pop eax
or al, 0xf0
invalid
Function at 0x421ea4
Capabilities:
Encode data using xor

Disassembly:
test dword [ecx + eax - 0x77], 0x8251eaed
das
sub ah, byte [esi]
inc ebx
stosb byte es:[edi], al
dec edi
jg 0x421ebb
sahf
mov esp, 0x874c7c00
jno 0x421e92
fmul dword [edx + 0x669d9708]
imul esp, dword [edi + edx - 0x3ddcf699], 0xf9e44204
stc
adc byte [edx + 0xa], al
xor ch, byte [ebx]
push 0xf71d32e1
nop
push ds
inc edx
or dh, byte [edx]
sub ebp, dword [eax - 0x1f]
xor bl, byte [0x1e3690f7]
push ss
sub byte [edx], 0xca
fnstenv [ebx - 0x49]
cmp esp, edx
loopne 0x421ebd
invalid

Function at 0x424494
Capabilities:
Encode data using xor

Disassembly:
test al, 0x33
push es
mov byte [ebp - 5], ah
jecxz 0x42448e
scasb al, byte es:[edi]
adc byte [ecx - 0x10ac1301], bl
push eax
push 0xafdda773
aam 0x2a
pop ds
xor dword [ebx - 0x7fbfaff1], 0x59d14f9b
add ecx, dword [eax - 0x4cfeb52c]
mov ebx, 0x699a4d6
or eax, 0x65ac0a79
stosb byte es:[edi], al
jb 0x42449e
mov edi, 0xc7f177cd
shl byte [ebx - 0x7999305c], 1
or dword [edi + 0x1a], 0xffffffc7
xchg ebx, eax
mov ebp, 0xd9031209
push eax
fcomp qword [edi + 0x326e66b4]
imul edi, esi, 0x891c3783
mov eax, 0xd92196d
sti
in eax, 0x9d
into
inc ebp
push ds
mov ah, byte [eax]
adc al, 0x76
sbb al, 0x50
add al, 0x18
pop esp
xor dword [ecx], edi
Function at 0x427970
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
invalid
cdq
rcl byte [ecx - 0x78], cl
sti
inc eax
outsd dx, dword [esi]
jl 0x427945
fdiv st(6), st(0)
sub byte [eax - 0x6bc928c4], al
invalid
out 0x65, al
adc dword [esi + 0x3806240], ecx
fstp dword [ecx + 0x7ade9156]
cmp eax, 0x4b540774
fidivr word [edx + 0x3d]
je 0x427988
push esp
dec ebx
xchg eax, edx
push 0x350880ad
out 0x27, eax
jbe 0x427927
or byte [0x997627e7], dh
jge 0x4279ad
in al, 0xf9
pop eax
jge 0x427a12
cmp al, 0xb
inc edi
pop ebp
fisub word [eax + 0xb45c370]
pop es
pop ds
stosd dword es:[edi], eax
jne 0x427968
cmpsb byte [esi], byte es:[edi]
xchg dh, bh
or dword [edx + 0x57e04aa0], ebp
jle 0x42797c
mov ss, word [edx]
add edx, esi
mov ah, 0xb5
mov cl, 0x6a
jno 0x42795f
push ebp
dec esi
clc
out dx, eax
cmpsd dword [esi], dword es:[edi]
outsb dx, byte [esi]
dec edi
cmp eax, 0xabc5e59c
inc ebx
adc dword [ecx], eax
jl 0x4279c9
out dx, eax
sub al, 8
cmp byte [esi - 0x4f193951], al
fld xword [ebp + 0x5d]
dec esi
adc edi, dword [ebx - 0xaf5d81f]
bswap eax
mov dword [0x85826985], eax
cmp al, 0x14
loop 0x427a37
adc dl, byte [ebp - 0xfd65ddf]
call 0xdcecf4f7
and dword [edx - 0x58], esp
mov cl, 0xe5
popfd
cmc
clc
mov dword [0x8bddacf2], ebp
in al, dx
jge 0x4279c0
invalid
cwde
rcl bl, 1
lodsd eax, dword [esi]
stosb byte es:[edi], al
loop 0x427a44
add byte cs:[edx - 0x1f], 0xb1
mov byte [eax + 0x72], bl
pop ecx
cdq
xlatb
sub byte [ebx], 0xcc
scasb al, byte es:[edi]
jbe 0x427a98
mov esp, ecx
push edx
imul dword [eax - 0x64]
sbb dword [edi + 0x153a683], ebp
lahf
nop
mov esp, dword [edi]
lodsb al, byte [esi]
lcall 0x179b, 0x390cd7f4
cld
mov gs, word [ecx + 0x369492b8]
inc edx
cwde
sal dh, cl
sub eax, 0xf9976480
jg 0x427a63
sbb al, 0x99
pop dword [esi + 0xe]
inc edx
sub byte [edx], dh
pop eax
aad 0x42
cmp byte [ebx - 0x63], bl
mov gs, word [edi + ecx*4 - 0x28]
rcr byte [esi + esi*2 - 0x23], 1
sahf
jne 0x427ad2
ljmp 0xa373:0xfcbfa3d7
wait
fisttp dword [edi - 0x66]
shl byte [esi - 0x39ad6eaf], cl
test dword [ebx], edi
push 0xffffffffffffff86
cmpsb byte [esi], byte es:[edi]
test byte [0x1a70216c], dh
stosd dword es:[edi], eax
xor dword [eax + ecx*8 + 0x29], esi
inc ebp
xlatb
or esp, dword [esi]
fldenv [edx - 0x4a2e669e]
sub byte [edi - 0x67], 0x5c
invalid
invalid
cmpsd dword [esi], dword es:[edi]
Function at 0x427c84
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx - 0x69], ebx
fstp dword [0xf556eb05]
jne 0x427cb6
xchg ebp, eax
fsubr st(2)
mul dword [esi + 0x4a]
popal
cli
and dh, bl
jnp 0x427c81
loope 0x427c9e
pop ebx
aad 0x65
out 0x73, eax
xlatb
dec esi
ror dword [ebx + 0x6f6d34c5], cl
fbld tbyte [esp + edx + 0x48]
shl edi, 0x7a
outsd dx, dword [esi]
into
cmp dword [esi + 0x6f], eax
outsd dx, dword [esi]
xchg esi, eax
cmp dword [edi + 0x18], edx
push edi
sbb byte [ebp + 0x157de464], bh
dec edx
push es
pop edi
das
fdivr qword [ebx + 0x2ccb94cd]
jmp 0x427d12
ret 0xd3e5
mov al, byte [0xc2558857]
fisttp dword [eax]
pop edx
xor eax, 0xa3192da6
mov eax, dword [0xbe03c63b]
pop ebx
shr byte [esi - 0x4acb44ac], cl
js 0x427c9a
mov ch, 0xf3
js 0x427c9a
sbb dh, byte [edi]
cmp byte [esi - 0xe], bh
popfd
pop ebp
pop es
jnp sym.ZimoIII.exe__Tb2version_initialization_qqrv
sub ch, cl
xchg edi, eax
mov eax, 0x51b8f98e
outsb dx, byte [esi]
sar dword [ebx + 0x25a0434f], 0xe
popal
pop es
stosd dword es:[edi], eax
sal byte [eax - 0x65], cl
mov ecx, 0x13e59a0b
movd mm0, dword [edi - 0x60bb5ebe]
loope 0x427cd5
out 0xc3, al
out dx, eax
mov eax, dword [esi + edx*2 - 0x6b52acbe]
push 0xc22929da
jl 0x427cb6
rcr dword [esi], cl
inc ebp
retf
mov ebp, 0x220fb2ce
add eax, ebx
mov al, 0xe3
and eax, esi
invalid

Function at 0x428ff8
Capabilities:
Encode data using xor

Disassembly:
cdq
mov esi, cs
lcall 0xfd13, 0xf2d62ee3
ja 0x42902a
jg 0x428faf
mov ch, byte [edi + 0xe]
fbld tbyte cs:[ecx]
test dword [edi + 0x1d], esi
pushfd
stc
push ss
push eax
ja 0x428fbc
sbb bh, byte [edx + 0x1f84b523]
invalid

Function at 0x4290e0
Capabilities:
Encode data using xor

Disassembly:
mov esp, 0x434bf8d9
movsb byte es:[edi], byte [esi]
push ebp
mov eax, dword ss:[0x6d461e95]
mov word [0xcec4e38b], gs
stosb byte es:[edi], al
invalid
Function at 0x1003ccf
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x100eb54]
push ebx
push esi
push edi
push 0x45
mov dword [ebp - 4], eax
mov ebx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x19c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x19c]
push eax
mov dword [ebp - 0x19c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x18c], 1
push 0
sete al
or dword [ebx + 8], 0xffffffff
mov dword [ebx + 0xc], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push esi
push 0
mov dword [ebx + 4], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push dword [0x100eb74]
call esi
test eax, eax
push 0xa
pop edi
je 0x1003d72
push edi
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov byte [ebx + 0x10], al
jmp 0x1003d76
mov byte [ebx + 0x10], 0
push 0x17
pop ecx
xor eax, eax
mov dword [ebp - 0x1b4], edi
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
mov al, byte [ebx + 0x10]
push 0x20
mov byte [ebp - 0x71], al
lea eax, [ebp - 0x6c]
push eax
push 0xfa6
push dword [0x100eb74]
mov dword [ebp - 0x1b8], 8
mov dword [ebp - 0x1b0], 0xc
mov dword [ebp - 0x1ac], 0xe
mov dword [ebp - 0x1a8], 0x12
mov dword [ebp - 0x1a4], 0x18
call esi
and dword [ebp - 0x1a0], 0
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea esi, [ebx + 0x494c]
mov eax, dword [ebp - 0x1a0]
fild dword [ebp + eax*4 - 0x1b8]
fimul dword [ebx + 4]
fmul dword [0x100185c]
fadd dword [0x1001858]
call sub.msvcrt.dll__ftol
neg eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
call edi
mov dword [esi - 0x18], eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 0x73], 1
call edi
inc dword [ebp - 0x1a0]
mov dword [esi], eax
add esi, 4
cmp dword [ebp - 0x1a0], 6
mov byte [ebp - 0x73], 0
jl 0x1003de7
lea eax, [ebx + 0x48d8]
push eax
lea eax, [ebx + 0x46e4]
push eax
call fcn.01006c3e
lea esi, [ebx + 0x11c8]
mov ecx, esi
call fcn.0100b0ea
mov eax, 0x46d
mov ecx, eax
lea edi, [ebx + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea esi, [ebx + 0x11c8]
lea edi, [ebx + 0x237c]
rep movsd dword es:[edi], dword [esi]
and dword [ebx], 0
lea ecx, [ebx + 0x3530]
call fcn.01003a8f
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100bd6d
leave
ret
Function at 0x1004da7
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [0x1015bb4], 0
mov eax, dword [0x100eb54]
mov dword [ebp - 4], eax
jne 0x1004e37
push ebx
xor ebx, ebx
lea eax, [ebp - 0x118]
inc ebx
push eax
mov dword [0x1015bb4], ebx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x1004e36
push edi
push 0x1001acc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x1004e35
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001ab0
push edi
call esi
test eax, eax
je 0x1004e34
call eax
cmp ax, 0x409
jne 0x1004e34
push 0x1001a94
push edi
call esi
test eax, eax
je 0x1004e34
call eax
cmp ax, 0x409
je 0x1004e34
mov dword [0x1015bb0], ebx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [0x1015bb0]
call fcn.0100bd6d
leave
ret

Function at 0x1004e4b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x1015bb8], 0
jne 0x1005018
push esi
push edi
mov dword [0x1015bb8], 1
call fcn.01004da7
test eax, eax
jne 0x1004f1c
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
pop edi
push edi
push 0x10134e8
push 0x138a
push dword [0x100eb74]
call esi
push edi
push 0x10135b0
push 0x138b
push dword [0x100eb74]
call esi
push edi
push 0x1013678
push 0x138c
push dword [0x100eb74]
call esi
push edi
push 0x1013740
push 0x138d
push dword [0x100eb74]
call esi
push edi
push 0x1013808
push 0x138e
push dword [0x100eb74]
call esi
push edi
push 0x10138d0
push 0x138f
push dword [0x100eb74]
call esi
push edi
push 0x1013998
push 0x1390
push dword [0x100eb74]
call esi
push edi
push 0x1013a60
push 0x1391
push dword [0x100eb74]
call esi
jmp 0x1004f82
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1001c44
push 0x10134e8
call esi
push 0x1001c04
push 0x10135b0
call esi
push 0x1001be4
push 0x1013678
call esi
push 0x1001bb8
push 0x1013740
call esi
push 0x1001b80
push 0x1013808
call esi
push 0x1001b5c
push 0x10138d0
call esi
push 0x1001b28
push 0x1013998
call esi
push 0x1001ae8
push 0x1013a60
call esi
lea eax, [ebp - 8]
push eax
push 0x1001898
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1005016
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
mov dword [ebp - 4], 0x100e080
mov ebx, 0x1013b28
mov dword [ebp - 0xc], 0x10
mov esi, 0x208
and word [ebx], 0
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push 0
push dword [eax]
mov dword [ebp - 0x10], esi
push dword [ebp - 8]
call edi
add dword [ebp - 4], 4
add ebx, esi
dec dword [ebp - 0xc]
jne 0x1004fb9
lea eax, [ebp - 0x14]
push eax
push 0x1015bac
push 0
push 0
push 0x10018c4
push dword [ebp - 8]
mov dword [ebp - 0x14], 4
call edi
test eax, eax
pop ebx
je 0x100500d
mov dword [0x1015bac], 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret