joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00402b30
mov esi, eax
cmp esi, ebx
mov ebx, dword [ebp - 0xc]
jne 0x402bfc
test edi, edi
jne 0x402be1
lea esi, [edi + 0xd]
jmp 0x402bfc
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp + 0xc]
inc eax
push eax
push edi
push 1
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test ebx, ebx
je 0x402c07
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x403048
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406018]
jne 0x403052
repz ret
jmp fcn.00403504
Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x414dde
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], eax
mov esi, ecx
add ecx, ecx
add edi, 4
cmp edi, ebx
jne fcn.00414dde
inc edx
inc ecx
or ecx, ecx
ret
Function at 0x401210
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
or eax, 0xd3
imul edx
rcl edx, 2
bswap ebx
bswap eax
neg edx
rcr eax, 0xba
rcr edx, 0x40
rol edx, 0xc6
ror eax, 0x28
not edi
inc edx
inc esi
rol ebx, 0x5f
neg edx
neg edx
and edi, 0x9c
or edi, 0x2f
ror edi, 0xb1
sub ebx, 0x8d
rcl edx, 0xfe
bswap edx
not edx
sbb edi, 0xb7
ror edx, 0xb6
bswap edx
add esi, 0xe6
not edi
bswap ebx
bswap edi
rcl edx, 0x80
sub edi, 0x82
bswap edi
add edx, 0x1a
neg edi
add esi, 0xbf
add eax, 0x71
sbb esi, 0x69
not eax
add edx, 0x27
rcl esi, 1
inc ebx
inc edi
inc ebx
rol eax, 2
imul edi
add edi, 0x43
not ebx
bswap ebx
bswap ebx
xor ecx, ecx
xor edi, edi
bswap edi
rcl ebx, 0xe7
rol edx, 0x99
sub ebx, 9
not eax
not edx
inc edx
sub edx, 0x21
ror edx, 0xb7
imul esi
sub esi, 0xb3
neg esi
rcl edx, 0xb1
sbb eax, 0x9c
ror edi, 0xf8
imul edx
dec ebx
and edi, 0x80
add esi, 0x61
rol edx, 0xec
and edx, 0xcb
rol eax, 0xf6
bswap eax
imul ebx
add esi, 1
rol edi, 0x47
rcr edi, 0xdf
sbb edi, 0xa0
dec esi
neg ebx
inc edx
sbb edi, 0x6c
ror edx, 0x39
mov esi, 0xee
rcl edx, 0xa6
sub ebx, 0x20
ror eax, 0xbc
not esi
neg esi
bswap edi
imul eax
inc ebx
not esi
sub esi, 0xa1
inc ebx
dec esi
rcr esi, 0x95
imul esi
sbb ebx, 0x90
add ebx, 0x47
mov ecx, dword [ebp + 0xc]
or esi, 0xb3
sub edx, 0xc7
mov eax, 0x9f
inc ebx
imul eax
rol eax, 0x81
not ebx
rol edx, 0x3f
neg edx
mov ebx, 0x22
ror esi, 0x51
not ebx
imul edx
imul ebx
imul eax
or ebx, 0xbf
sub esi, 0x5b
rol edx, 0x56
sbb edx, 0x42
inc edx
sub esi, 0x9c
bswap esi
inc eax
or edx, 0x7b
rol esi, 0x17
mov edi, 0x51
neg edx
dec eax
inc eax
rcl eax, 0x5d
or edx, 0xdf
neg edx
inc ebx
imul edi
neg ebx
sub eax, 0xc9
neg esi
add esi, 0xf
mov edi, 0x1b
neg esi
not esi
neg esi
rol esi, 0xdb
add edx, 0x27
neg ebx
neg edi
not edx
bswap edi
dec eax
rol edi, 0xfd
mov edi, dword [ebp + 8]
mov esi, eax
xor ebx, eax
mov esi, eax
not byte [edi]
xor eax, esi
xor esi, ebx
mov ebx, ebx
mov esi, eax
mov esi, eax
mov ebx, esi
xor esi, ebx
mov ebx, eax
xor esi, esi
add byte [edi], 0x37
mov eax, esi
xor eax, esi
xor ebx, eax
mov ebx, eax
xor ebx, eax
xor esi, ebx
xor eax, eax
xor eax, esi
mov ebx, eax
sub byte [edi], 0x75
xor ebx, eax
xor eax, ebx
xor eax, esi
mov eax, eax
xor eax, esi
xor ebx, esi
mov esi, ebx
xor ebx, eax
xor eax, esi
imul byte [edi]
inc edi
loop 0x4013cd
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4060e3
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.00404fce
and dword [ebp - 4], 0
cmp dword [0x463c60], 0
mov ebx, eax
jne 0x406194
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406245
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406245
push eax
call fcn.00404f5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x463c60], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463c64], eax
call esi
push eax
call fcn.00404f5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x463c68], eax
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x463c70], eax
test eax, eax
je 0x406194
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f5c
pop ecx
mov dword [0x463c6c], eax
mov eax, dword [0x463c6c]
cmp eax, ebx
je 0x4061ec
cmp dword [0x463c70], ebx
je 0x4061ec
push eax
call fcn.00404fd7
push dword [0x463c70]
mov esi, eax
call fcn.00404fd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061ec
test edi, edi
je 0x4061ec
call esi
test eax, eax
je 0x4061e3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061e3
test byte [ebp - 0xc], 1
jne 0x4061ec
or dword [ebp + 0x10], 0x200000
jmp 0x406225
mov eax, dword [0x463c64]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406225
mov eax, dword [0x463c68]
cmp eax, ebx
je 0x406225
push eax
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406225
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463c60]
call fcn.00404fd7
pop ecx
test eax, eax
je 0x406245
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406247
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x463408]
jne 0x407f58
repz ret
jmp fcn.00409675
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x556d1047
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x42b80bbd
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x41e4e2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004152d1
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41e51a
xor eax, eax
jmp 0x41e546
cmp esi, dword [ebp - 4]
je 0x41e543
cmp dword [ebp + 0xc], 0
je 0x41e543
push dword [edi + 0x9c]
call fcn.0041e0f0
push dword [edi + 0x9c]
mov esi, eax
call fcn.00410a34
pop ecx
pop ecx
cmp esi, eax
je 0x41e516
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x279c3921
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xce62ed4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3d7a2aa6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x247c07d3
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret

Function at 0x40da20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40da42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40da49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40da38
mov eax, 1
add ebx, ebx
jne 0x40da5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40da50
jne 0x40da6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da50
xor ecx, ecx
sub eax, 3
jb 0x40da80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40daf2
mov ebp, eax
add ebx, ebx
jne 0x40da8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40da98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dabc
inc ecx
add ebx, ebx
jne 0x40daa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40da9d
jne 0x40dab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40da9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dadc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dacd
jmp 0x40da3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dadc
add edi, ecx
jmp 0x40da3e
pop esi
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40db3b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40daf9
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd068]
or eax, eax
je 0x40db35
mov dword [ebx], eax
add ebx, 4
jmp 0x40db16
call dword [esi + 0xd078]
mov ebp, dword [esi + 0xd06c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40db6f
sub esp, 0xffffff80
jmp 0x40b206
Function at 0x10009a35
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100099b7
Function at 0x1000b7a1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b83e
push ebx
push esi
call fcn.1000b76a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b6b3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b7eb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b83d
push edi
push eax
call fcn.1000c39d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b80b
call fcn.1000a5c7
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b83c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b6b3
add esp, 0x20
test eax, eax
jne 0x1000b82a
push edi
call fcn.1000a5c7
jmp 0x1000b832
push ebx
call fcn.1000a5c7
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000bb5d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017e38
push 0x10017e30
push str.FlsAlloc
push 0x1e
call fcn.1000b9fb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bb91
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016130]
call esi
jmp 0x1000bb97
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000bbdb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10017e48
push 0x10017e40
push str.FlsGetValue
push 0x20
call fcn.1000b9fb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000bc12
push dword [ebp + 8]
mov ecx, esi
call dword [0x10016130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10014e40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10014e6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10014e6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10001710
Capabilities:
Find taskbar

Disassembly:
call fcn.10001080
mov ecx, eax
jmp 0x10001710
sub esp, 0x20c
mov eax, dword [0x10028c40]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov edi, ecx
mov word [esp + 0x14], 0
call fcn.1000d680
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je 0x10001751
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x1002058c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0
push str.Shell_TrayWnd
mov dword [edi + 0x14], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x100018ba
push ebx
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
test ebx, ebx
je 0x100018b9
call fcn.10004c5f
mov eax, dword [eax + 8]
push ebx
push eax
push 0x100016f0
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [edi + 4], eax
je 0x100018b9
push 0
push 0
push 5
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push esi
call edi
mov esi, eax
test esi, esi
je 0x100018b9
mov ebx, dword [sym.imp.USER32.dll_GetClassNameW]
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
mov ecx, str.TrayNotifyWnd
lea eax, [esp + 0xc]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000182d
test dx, dx
je 0x10001829
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000182d
add eax, 4
add ecx, 4
test dx, dx
jne 0x10001807
xor eax, eax
jmp 0x10001832
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10001859
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x100017f1
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1000d627
add esp, 0x20c
ret
push 5
push esi
call edi
mov esi, eax
test esi, esi
je 0x100018b9
push 0x104
lea edx, [esp + 0x10]
push edx
push esi
call ebx
mov ecx, str.TrayClockWClass
lea eax, [esp + 0xc]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100018a6
test dx, dx
je 0x100018a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100018a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10001880
xor eax, eax
jmp 0x100018ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10001864
push eax
push eax
push eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.1000d627
add esp, 0x20c
ret
Function at 0x1000214a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10028c40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x10002187
push 0x10020a38
push 4
push eax
call fcn.1000ea44
push eax
call fcn.10001d42
add esp, 0x10
jmp 0x10002199
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10002204
push edi
call fcn.1000eda0
mov edi, dword [eax]
call fcn.1000eda0
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.1000d7c8
add esp, 0x18
mov ebx, eax
call fcn.1000eda0
cmp dword [eax], 0
je 0x100021e4
call fcn.1000eda0
push dword [eax]
call fcn.10001f36
pop ecx
jmp 0x100021eb
call fcn.1000eda0
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x10002204
cmp ebx, esi
jae 0x10002204
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10002206
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000d627
leave
ret