joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c850
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 8
push edi
mov edi, ecx
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x40c86a
call fcn.0040bae0
test eax, eax
je 0x40c8f5
push esi
lea eax, [esp + 8]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x1c], esi
call dword [0x41d004]
test eax, eax
jne 0x40c8d6
mov esi, dword [esp + 8]
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push eax
push str.RavDown
push esi
mov dword [esp + 0x20], eax
call dword [0x41d030]
test eax, eax
jne 0x40c8d6
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x40c8c2
cmp eax, 2
jne 0x40c8d6
mov eax, dword [esp + 8]
test eax, eax
jbe 0x40c8d6
push str.RavDown
push esi
call dword [0x41d024]
mov eax, dword [edi + 0x84]
push 0
push 1
push eax
call fcn.0040d8c0
add esp, 0xc
test esi, esi
je 0x40c8f4
push esi
call dword [section..rdata]
pop esi
mov eax, dword [edi + 0x68]
test eax, eax
pop edi
je 0x40c90d
push 0
push 6
push 0x7e8
push eax
call dword [0x41d270]
add esp, 8
ret

Function at 0x40cb30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
test ebx, ebx
push ebp
mov ebp, dword [esp + 0x18]
je 0x40cc6c
test esi, esi
je 0x40cc6c
xor eax, eax
lea ebx, [ebx]
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x40cb50
mov edx, 1
sub edx, esi
mov dword [esp + 8], edx
mov edx, 2
sub edx, esi
mov dword [esp + 0xc], edx
push edi
xor eax, eax
mov edx, 3
xor edi, edi
sub edx, esi
mov dword [esp + 8], eax
mov ecx, esi
mov dword [esp + 0x14], edx
cdq
idiv ebp
movzx eax, byte [edx + ebx]
movzx edx, byte [ecx]
add eax, edi
add edx, eax
mov edi, edx
and edi, 0x800000ff
jns 0x40cba7
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + esi]
mov al, byte [ecx]
mov byte [ecx], dl
mov byte [edi + esi], al
mov eax, dword [esp + 0xc]
add eax, ecx
cdq
idiv ebp
movzx eax, byte [ecx + 1]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x40cbd8
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + esi]
mov al, byte [ecx + 1]
mov byte [ecx + 1], dl
mov byte [edi + esi], al
mov eax, dword [esp + 0x10]
add eax, ecx
cdq
idiv ebp
movzx eax, byte [ecx + 2]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x40cc0b
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + esi]
mov al, byte [ecx + 2]
mov byte [ecx + 2], dl
mov byte [edi + esi], al
mov eax, dword [esp + 0x14]
add eax, ecx
cdq
idiv ebp
movzx eax, byte [ecx + 3]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x40cc3e
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ecx + 3]
mov dl, byte [edi + esi]
mov byte [ecx + 3], dl
mov byte [edi + esi], al
mov eax, dword [esp + 8]
add eax, 4
add ecx, 4
cmp eax, 0x100
mov dword [esp + 8], eax
jl 0x40cb87
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x10
ret
xor eax, eax
pop ebp
add esp, 0x10
ret
Function at 0x40cc80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
push edi
mov edi, eax
mov ebx, ecx
je 0x40cd5f
test ebx, ebx
je 0x40cd5f
test edi, edi
jne 0x40cca1
mov edi, ebp
push esi
push 0x100
call fcn.00412749
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0040cb30
add esp, 8
test eax, eax
jne 0x40cccf
push esi
call fcn.00412bc8
add esp, 4
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x18]
xor eax, eax
xor ecx, ecx
test edx, edx
jle 0x40cd44
sub ebp, edi
mov dword [esp + 0x14], edx
inc eax
and eax, 0x800000ff
jns 0x40ccf0
dec eax
or eax, 0xffffff00
inc eax
movzx edx, byte [eax + esi]
add ecx, edx
and ecx, 0x800000ff
jns 0x40cd06
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [ecx + esi]
mov dl, byte [eax + esi]
mov byte [eax + esi], bl
mov byte [ecx + esi], dl
movzx edx, byte [eax + esi]
movzx ebx, byte [ecx + esi]
add edx, ebx
and edx, 0x800000ff
jns 0x40cd2c
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [edx + esi]
xor dl, byte [edi + ebp]
mov byte [edi], dl
mov edx, dword [esp + 0x14]
inc edi
dec edx
mov dword [esp + 0x14], edx
jne 0x40cce1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40cd4e
mov dword [eax], edx
push esi
call fcn.00412bc8
add esp, 4
pop esi
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
ret
pop edi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x40dcf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4217fc]
xor eax, ebp
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x114], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, esi
mov dword [esp + 0xc], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40dd31
sub eax, edx
cmp eax, 0x103
jbe 0x40dd48
push 0x6f
jmp 0x40de10
push 0x103
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0041343d
lea ecx, [esp + 0x1c]
push 0x5c
push ecx
call fcn.00413064
add esp, 0x14
test eax, eax
je 0x40de0e
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
call dword [0x41d1c0]
cmp eax, 3
jge 0x40dd92
push 0x41d38c
lea eax, [esp + 0x14]
push eax
call dword [0x41d0bc]
mov edi, dword [0x41d254]
push ebx
call edi
test eax, eax
jne 0x40dda3
push 2
jmp 0x40de10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x40ddc1
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.0040db60
add esp, 8
test eax, eax
jne 0x40ddc1
push 0x52
jmp 0x40de10
push esi
call edi
test eax, eax
mov ebx, dword [0x41d0a8]
je 0x40ddd6
push 0x80
push esi
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push esi
push eax
call dword [0x41d134]
mov edi, eax
test edi, edi
je 0x40ddf7
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x40ddf7
push eax
push esi
call ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, ebp
call fcn.0041277f
mov esp, ebp
pop ebp
ret
push 0x57
call dword [0x41d058]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041277f
mov esp, ebp
pop ebp
ret

Function at 0x40de30
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
mov edx, dword [esp + 0x48]
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 1
call dword [0x41d24c]
pop edi
add esp, 0x3c
ret
Function at 0x41388c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4138ba
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4138c1
cmp ebx, dword [eax + 4]
jae 0x4138c1
xor eax, eax
jmp 0x413ab1
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4138d2
xor eax, eax
inc eax
jmp 0x413ab0
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4138e8
cmp ecx, edx
jae 0x413a2d
cmp dword [eax + 4], 0
je 0x4138f1
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4138d9
cmp dword [ebp + 8], 0
je 0x413913
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x413a2d
cmp eax, esi
jae 0x413a2d
mov eax, dword [0x4229d8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x413938
cmp dword [esi*4 + 0x4229e0], edi
je 0x413a31
inc esi
cmp esi, eax
jl 0x413926
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x41d1b0]
test eax, eax
je 0x413aad
cmp dword [ebp - 8], 0x1000000
jne 0x413aad
test byte [ebp - 0xc], 0xcc
je 0x4139b6
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x413aad
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x413aad
cmp word [eax + 0x18], 0x10b
jne 0x413aad
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x413aad
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4139b6
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4139b6
test byte [ecx + 0x27], 0x80
jne 0x413a2d
push 1
push 0x422a20
call dword [0x41d05c]
test eax, eax
jne 0x4138ca
mov ecx, dword [0x4229d8]
test ecx, ecx
mov edx, ecx
jle 0x4139ea
lea eax, [ecx*4 + 0x4229dc]
cmp dword [eax], edi
je 0x4139ea
dec edx
sub eax, 4
test edx, edx
jg 0x4139de
test edx, edx
jne 0x413a1b
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4139f7
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x413a0f
lea eax, [edx*4 + 0x4229e0]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4139fd
cmp ecx, 0x10
jge 0x413a1b
inc ecx
mov dword [0x4229d8], ecx
push 0
push 0x422a20
call dword [0x41d05c]
jmp 0x4138ca
xor eax, eax
jmp 0x413ab0
test esi, esi
jle 0x4138ca
mov ebx, dword [0x41d05c]
push 1
push 0x422a20
call ebx
test eax, eax
jne 0x4138ca
cmp dword [esi*4 + 0x4229e0], edi
je 0x413a87
mov eax, dword [0x4229d8]
lea esi, [eax - 1]
test esi, esi
jl 0x413a75
cmp dword [esi*4 + 0x4229e0], edi
je 0x413a71
dec esi
jns 0x413a65
test esi, esi
jge 0x413a85
cmp eax, 0x10
jge 0x413a80
inc eax
mov dword [0x4229d8], eax
lea esi, [eax - 1]
jmp 0x413a87
je 0x413a9f
xor ecx, ecx
test esi, esi
jl 0x413a9f
lea eax, [ecx*4 + 0x4229e0]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x413a8d
push 0
push 0x422a20
call ebx
jmp 0x4138ca
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411db0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411e12
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x411e20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47fa5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c7080]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x411f58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x411e86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004724d6
xor eax, eax
jmp 0x411fcf
push 0x4bfda8
lea ecx, [esp + 0xc]
call fcn.0047265f
push esi
lea ecx, [esp + 0xc]
call fcn.004728ee
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4bfda0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x411fad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4bfd98
push 0x80000000
call fcn.00411db0
test eax, eax
jne 0x411fad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4bfd84
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x80000000
mov ecx, edi
call fcn.00411db0
test eax, eax
jne 0x411fad
lea eax, [esp + 0x14]
push 0x4bfd7c
push eax
call fcn.00462e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x411f8c
lea ecx, [esp + 0x14]
push 0x4bfd78
push ecx
call fcn.00462da0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411f8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x411f8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047260f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x411e9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004724d6
xor eax, eax
jmp 0x411fcf
mov byte [esi], 0
push 0x4bfd74
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004724d6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x429b70
Capabilities:
Encode data using xor

Disassembly:
jnp 0x429b28
mov al, byte [0x601e985f]
xchg edx, eax
adc dword [eax], ebx
aam 0xbe
xchg esi, eax
mov eax, 0xadb9e8fa
push ss
pushal
push eax
ret 0xd661
lodsb al, byte [esi]
sub ah, bl
cmc
out dx, eax
and ah, ch
mov ecx, 0x43fa2ebe
rol ebp, cl
sbb edx, dword [edx - 0x30531b56]
jmp 0x429b9d
ja 0x429afd
or dh, byte [edx + 0x38]
lodsb al, byte [esi]
inc esi
lodsb al, byte [esi]
mov dword [ecx], ebp
out 0x1b, eax
mov ebp, 0xdb6d15a9
ret 0x947a
push 0xe5f7a9f4
xchg edi, eax
xchg edi, eax
or dword [edi - 0x57360c20], esi
mov esi, 0x717b8566
xor eax, 0x43be87bb
wait
jne 0x429ba3
pop ss
das
pop ebp
lea esp, fs:[eax]
imul ecx, esp, 0xabbd084f
hlt

Function at 0x430860
Capabilities:
Encode data using xor

Disassembly:
aad 0x86
cmp al, 0xaa
xor eax, 0x2e92556d
and al, 0xd2
invalid

Function at 0x463f30
Capabilities:
Encode data using xor

Disassembly:
sub dword [eax - 0x1aca28f0], eax
or dword [ebp + ebx*2 - 0x45705769], 0x48
dec ebx
xor dh, ah
adc byte [eax], 0xd7
xor eax, 0x5d8c83e5
xchg edi, eax
test al, 0x8f
mov edx, 0xf4324b48
hlt
fld xword [esi - 0x2bea653]
lodsd eax, dword [esi]
pop ecx
inc ecx
std
jl 0x463f69
jnp 0x463fa9
cmp dh, byte [esi - 0x66]
test eax, 0x963c5d3b
or al, 0x86
pushfd
inc ecx
and byte [eax], 0xe5
cmc
xor edi, dword [edi - 0x12]
or eax, 0xdb9f1605
scasd eax, dword es:[edi]
enter 0x7f74, 0xffffffffffffff81
jae 0x463f2f
lds eax, [eax - 0x7ed83591]
and bh, byte [edx - 0x26f95e24]
and byte [eax + eax*2], bl
sub byte [edi - 0x36], 0x27
and dword [edx], 0x6a1dcba
fldenv [eax]
sbb al, 0x40
cmp byte [ecx + 0x3c21c975], 0x82
jg 0x463f3f
daa
jg 0x463f42
xlatb
sbb ah, dh
mov ecx, 0x711e287d
jge 0x463fb2
push ds
jno 0x463fd0
xchg esp, eax
xchg ecx, eax
xor ebx, edi
inc ebx
add eax, 0xa5c18b98
cmp ecx, dword [edx - 0x3587b723]
sub al, 0xb
or ebx, ebp
pop edx
mov ah, 0xa
and dl, byte [edx - 0x4dd0c6bf]
sar dl, 0xcc
dec esp
jns 0x463fd4
pop ss
inc edi
add esp, edx
dec edi
sbb dword [ebx + eax*2], 0xf
in al, 0xf8
or edx, ebp
sub ah, byte [edi - 0x4d]
sal byte [edx - 0xa], 1
cmp ecx, dword [ebx]
popal
test byte [esi + 0x453f01f0], bh
aas
inc ebp
aad 0xc3
loopne 0x464042
dec ebx
or al, 0x4d
adc bl, bh
pop ss
xchg ebx, eax
dec eax
stc
sub bl, byte [ebx + 0x6943bb0e]
je 0x46405e
xchg ebp, eax
mov byte [ebx], al
xchg esp, eax
add dword [ebx + 0xf1bee3f], 8
jl 0x464029
hlt
inc ebp
xchg edx, eax
test al, 0x38
push ebp
sub esp, ebp
xlatb

Function at 0x4795d7
Capabilities:
Encode data using xor

Disassembly:
pop ebp
or ch, byte [edi + 4]
out dx, al
dec ebp
sbb byte [edi - 0x15], cl
jns 0x47961a
sbb dword [esi + 0xe], 0xffffffe4
cmp al, 0x51
or al, 0x32
in al, dx
Function at 0x479da2
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x6f209aaf]
push 0xa5ff3e39
cmp dword [edx], ebx
loop 0x479deb
salc
invalid
mov dh, 0x17
lahf
dec edx
mov ah, 0x33
pushfd
mov esp, fs
leave
push esi
mov esp, 0x3a3c7fbe
lahf
popfd
xor al, 0x68
fimul dword [esi - 0x1f]
cli
or bl, byte ds:[esi + 0x51]
test byte [edx + edi*2], 0x46
xor eax, 0x59c093c
clc
in eax, dx
jbe 0x479e28
cmpsd dword [esi], dword es:[edi]
jne 0x479d84
dec edi
adc byte [ebp + 0x5b], cl
fld qword [0x2539bb7f]
invalid
test dword [ecx - 0x7f], esi

Function at 0x47c515
Capabilities:
Encode data using xor

Disassembly:
xchg ecx, eax
inc eax
or eax, 0x5fd0e60c
pushfd
fadd st(4), st(0)
adc edi, dword [edx + 0x69]
mov ecx, edx
ror ebx, 1
xor byte [edx - 0x66], cl
in al, 0xab
mov dh, 0xaa
div dword [ebx + 0x555636ff]
push ebp
adc eax, 0x76f035da
sub byte [ebx], dl
jae 0x47c53f
les ecx, [edx]
loopne 0x47c5b0
ljmp 0xae16:0x9d720dd9
mov ebp, 0x40eb4329
jno 0x47c5eb
into
shl byte [ebp - 0xe1bbe82], 1
mov byte [edi + 0x57b18b74], cl
push ecx
sbb al, 0x77
lcall 0x9636, 0x16fb0588
in al, dx
add bh, byte [edi - 0x27]
inc edi
push ecx
sub byte [eax], dh
xor dh, byte [edx + 0x1f]
inc ecx
push es
mov eax, dword [0x1c86270e]
out 0x93, eax
xor al, 0x7a
cmp al, 0x33
and byte [ecx], dl
in al, dx
fsub dword [edx + 0x44]
inc esp
mov dword [0xbdc7b913], eax
popal
sub eax, 0x129b3166
call [edx]
inc ecx
xchg ebx, eax
mov edi, ebp
mov byte [0xe583550c], al
clc
std
call 0x5a3cbd5b
mov al, reloc.OLEAUT32.dll_VariantClear
fcmovne st(0), st(7)
mov ecx, 0x9adf4f00
loopne 0x47c5e2
pop ebx
fdivr qword [edi + 0x7fc60cb4]
ror dword [esi - 0x1c], 0xb7
hlt
Function at 0x410f82
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x42f490
call 0x104a109f
mov edi, 0x94
mov eax, edi
call 0x2d340fab
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x42a2f0]
mov ecx, dword [esi + 0x10]
mov dword [0x43b680], ecx
mov eax, dword [esi + 4]
mov dword [0x43b68c], eax
mov edx, dword [esi + 8]
mov dword [0x43b690], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x43b684], esi
cmp ecx, 2
je 0x410fe2
or esi, 0x8000
mov dword [0x43b684], esi
shl eax, 8
add eax, edx
mov dword [0x43b688], eax
xor esi, esi
push esi
mov edi, dword [0x42a210]
call edi
cmp word [eax], 0x5a4d
jne 0x41101d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41101d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x411035
cmp eax, 0x20b
je 0x411022
mov dword [ebp - 0x1c], esi
jmp 0x411049
cmp dword [ecx + 0x84], 0xe
jbe 0x41101d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x411043
cmp dword [ecx + 0x74], 0xe
jbe 0x41101d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call 0xb5691161
pop ecx
test eax, eax
jne 0x41105d
push 0x1c
call 0x5b40106d
pop ecx
call 0xa35e1173
test eax, eax
jne 0x41106e
push 0x10
call 0x5b40107e
pop ecx
call 0xfc8e1184
mov dword [ebp - 4], esi
call 0xf896118c
test eax, eax
jge 0x411087
push 0x1b
call 0x36401097
pop ecx
call dword [0x42a0e8]
mov dword [0x43cee0], eax
call 0xd69511a8
mov dword [0x43b6c4], eax
call 0x349511b2
test eax, eax
jge 0x4110ad
push 8
call 0x364010bd
pop ecx
call 0x19311c3
test eax, eax
jge 0x4110be
push 9
call 0x364010ce
pop ecx
call 0xcc3d10d4
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4110d1
push eax
call 0x364010e1
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [0x42a0e4]
call 0x989211f4
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x4110f2
movzx eax, word [ebp - 0x34]
jmp 0x4110f5
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call 0x40ed1214
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x411113
push edi
call 0x43f1124
call 0x263f1129
jmp 0x411145
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call 0x4b4a1264
ret
Function at 0xb0b360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x44]
push ebx
push esi
push edi
push ebp
mov edi, edx
mov esi, ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetClipBox]
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
mov dword [esp + 0x14], eax
push esi
call edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], eax
push edi
call fcn.00b0b190
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x30], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x34]
push 0
mov dword [esp + 0x3c], eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esp + 0x40], eax
push esi
call dword [sym.imp.GDI32.dll_RealizePalette]
push edi
call fcn.00b0b280
mov ebp, eax
push edi
call fcn.00b0b2a0
mov dword [esp + 0x28], eax
push edi
call fcn.00b0b2c0
mov ebx, eax
push 0
push edi
push ebp
push 4
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
xor edi, edi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
test eax, eax
jle 0xb0b4af
xor ebp, ebp
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
add edi, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x4c], edi
jle 0xb0b4a3
lea eax, [esp + 0x44]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push eax
mov dword [esp + 0x4c], ebp
push ecx
add ebp, ebx
push edx
mov dword [esp + 0x5c], ebp
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0xb0b497
mov eax, dword [esp + 0x10]
push 0xcc0020
mov ecx, dword [esp + 0x2c]
push 0
mov edx, dword [esp + 0x50]
push 0
push eax
push ebx
mov eax, dword [esp + 0x58]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp eax, ebp
jg 0xb0b44f
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x18]
cmp eax, edi
jg 0xb0b435
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x40]
push 1
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectPalette]
mov ecx, dword [esp + 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov eax, dword [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret 4