joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fd20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4878f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x42fd59
inc eax
mov dword [esi + 0x10], eax
jmp 0x42fe6c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x42fd6d
mov eax, 0xffffffc7
jmp 0x42fe6e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x42fd7e
cmp dword [esi + 8], eax
jne 0x42fd6d
cmp dword [esi + 8], eax
jne 0x42fd97
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x42fd97
mov eax, 0xffffffc7
jmp 0x42fe6e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x42fdab
push eax
mov ecx, ebx
call fcn.0042f550
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401430
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x42fddc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401450
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0042ecc0
test eax, eax
mov dword [esp + 0x38], eax
je 0x42fe0f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bbd70
call fcn.00401630
mov eax, dword [esp + 0x38]
jmp 0x42fe6e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0042fb80
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x42fe53
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0042fba0
mov esi, eax
test esi, esi
jne 0x42fe83
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0042fb80
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x42fe25
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bbd70
call fcn.00401630
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4bbd70
call fcn.00401630
mov eax, esi
jmp 0x42fe6e

Function at 0x432fa0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x433000
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x433000
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x433000
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x433000
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x433040
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43f600
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x487f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047f047
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043efa0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047ef75
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047b761
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047b761
push 1
push 0
push 0
mov ecx, esi
call fcn.0047b709
push 1
push 0
push 1
mov ecx, esi
call fcn.0047b709
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047f0b9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43f780
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x487f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047f047
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043efa0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047ef75
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43f844
cmp dword [esp + 0x40], 1
jne 0x43f842
cmp ecx, eax
jge 0x43f844
mov eax, ecx
cmp eax, 0xc8
jge 0x43f850
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043f600
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047f0b9
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43ffc0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x487fb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00479b7c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047f2ef
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00480847
test eax, eax
je 0x4400dc
mov ecx, dword [esp + 0x3c]
call fcn.0047f31c
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4400a0
push edi
mov ecx, esi
call fcn.0047c8dc
mov ecx, esi
call fcn.00440240
cmp dword [esp + 0x38], 1
jne 0x4400d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047ca46
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x442b00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442b33
push esi
call fcn.00450e40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442b2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x442bb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442ba2
mov eax, dword [esi + 8]
test eax, eax
je 0x442b57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x442b9e
cmp eax, 2
je 0x442ba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x442b4a
cmp eax, 3
je 0x442b7d
cmp eax, 1
jne 0x442b4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x442b4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x442b4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00442be0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x442bc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00442be0
add esp, 4
pop esi
ret

Function at 0x443450
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x443471
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x443471
mov eax, dword [eax + 0x44]
test eax, eax
je 0x443471
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x47a972
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47a9aa
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.00478989
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00478961
jmp 0x47a9b6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47c065
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 0x47c0a7
call fcn.00481d53
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47c0a7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47c09e
xor eax, eax
jmp 0x47c0af
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047c0b5
pop edi
pop esi
pop ebx
ret 4
Function at 0x482283
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 0x4822b1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4822cf
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004821e9
jmp 0x4822cf
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4822cf
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004821e9
test edi, edi
mov eax, edi
jne 0x4822b9
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4a45d5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x5cb3b0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x6413c8], 1
jge 0x5cb41f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x5cb3f5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x5cb3f5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5cb3d2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x5cb40b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x5cb412
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x5cb51d
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movdqa xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movdqa xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x5cb4ee
mov eax, dword [ebx + 8]
movdqu xmm0, xmmword [eax]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movdqa xmmword [ebp - 0x40], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movdqa xmmword [ebp - 0x20], xmm0
movdqa xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x5cb4e3
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x5cb4d7
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x5cb4de
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x5cb51d
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x5cb518
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x5cb501
mov eax, dword [ebx + 8]
jmp 0x5cb51d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x5cb50f
xor eax, eax
jmp 0x5cb51d
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x5cb442
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100010f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001109
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001144
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001140
lea ebx, [ebx]
cmp esi, eax
jae 0x10001144
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001130
cmp esi, eax
jb 0x1000114a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10002eb0
Capabilities:
Find taskbar

Disassembly:
call fcn.10001c90
mov ecx, eax
jmp 0x10002eb0
sub esp, 0x20c
mov eax, dword [0x100330f0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
push edi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov ebp, ecx
mov word [esp + 0x14], 0
call fcn.1000f660
mov eax, dword [ebp + 0x60]
add esp, 0xc
test eax, eax
je 0x10002ef1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x100281a0
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 [ebp + 0x60], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x10003053
push esi
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
test esi, esi
je 0x10003052
call fcn.10006a46
mov eax, dword [eax + 8]
push esi
push eax
push 0x10002e60
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [ebp + 4], eax
je 0x10003052
push ebx
push str.CHookManager::InstallHook
call fcn.10003080
mov ebx, dword [sym.imp.USER32.dll_GetWindow]
add esp, 4
push 5
push edi
call ebx
mov esi, eax
test esi, esi
je 0x10003051
mov edi, dword [sym.imp.USER32.dll_GetClassNameW]
push 0x104
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
mov ecx, str.TrayNotifyWnd
lea eax, [esp + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002fce
test dx, dx
je 0x10002fca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002fce
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002fa8
xor eax, eax
jmp 0x10002fd3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002fe4
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10002f92
jmp 0x10003051
push 5
push esi
call ebx
mov esi, eax
test esi, esi
je 0x10003051
nop
push 0x104
lea edx, [esp + 0x14]
push edx
push esi
call edi
mov ecx, str.TrayClockWClass
lea eax, [esp + 0x10]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000302c
test dx, dx
je 0x10003028
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000302c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10003006
xor eax, eax
jmp 0x10003031
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10003042
push 2
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x10002ff0
jmp 0x10003051
mov eax, dword [ebp + 4]
push eax
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
pop esi
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
xor ecx, esp
call fcn.1000ea12
add esp, 0x20c
ret
Function at 0x1000434e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100330f0]
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 0x1000438b
push 0x100286c8
push 4
push eax
call fcn.1001071e
push eax
call fcn.10001040
add esp, 0x10
jmp 0x1000439d
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10004408
push edi
call fcn.100107c5
mov edi, dword [eax]
call fcn.100107c5
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.1000f4ce
add esp, 0x18
mov ebx, eax
call fcn.100107c5
cmp dword [eax], 0
je 0x100043e8
call fcn.100107c5
push dword [eax]
call fcn.10003afb
pop ecx
jmp 0x100043ef
call fcn.100107c5
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x10004408
cmp ebx, esi
jae 0x10004408
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1000440a
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1000ea12
leave
ret
Function at 0x1000ea12
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100330f0]
jne 0x1000ea1c
repz ret
jmp fcn.100132d2

Function at 0x10016912
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10033418]
je 0x1001692d
inc edi
cmp edi, 0x17
jb 0x1001691e
cmp edi, 0x17
jae 0x10016aad
push ebp
push 3
call fcn.1001c2e0
cmp eax, 1
pop ecx
je 0x10016a79
push 3
call fcn.1001c2e0
test eax, eax
pop ecx
jne 0x10016961
cmp dword [0x100365c0], 1
je 0x10016a79
cmp ebx, 0xfc
je 0x10016aac
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10036a10
push ebp
call fcn.10012941
add esp, 0xc
test eax, eax
je 0x10016997
push esi
push esi
push esi
push esi
push esi
call fcn.1000f900
add esp, 0x14
push 0x104
mov esi, 0x10036a29
push esi
push 0
mov byte [0x10036b2d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100169db
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10012941
add esp, 0xc
test eax, eax
je 0x100169db
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000f900
add esp, 0x14
push esi
call fcn.100129b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10016a20
push esi
call fcn.100129b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10036d24
push 0x1002a0a4
sub ecx, eax
push ecx
push eax
call fcn.10018956
add esp, 0x14
test eax, eax
je 0x10016a20
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1000f900
add esp, 0x14
jmp 0x10016a22
xor esi, esi
push 0x1002a0a0
push ebx
push ebp
call fcn.10018894
add esp, 0xc
test eax, eax
je 0x10016a42
push esi
push esi
push esi
push esi
push esi
call fcn.1000f900
add esp, 0x14
push dword [edi*8 + 0x1003341c]
push ebx
push ebp
call fcn.10018894
add esp, 0xc
test eax, eax
je 0x10016a64
push esi
push esi
push esi
push esi
push esi
call fcn.1000f900
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1001c123
add esp, 0xc
jmp 0x10016aac
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10016aac
cmp ebp, 0xffffffff
je 0x10016aac
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1003341c]
push dword [esi]
call fcn.100129b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1001c123
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100160ce
xor ebx, ebx
cmp dword [0x10037048], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1001c1f9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1001c2d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001c2d9
push eax
call fcn.10016060
mov dword [esp], 0x1002b27c
push edi
mov dword [0x10037048], eax
call esi
push eax
call fcn.10016060
mov dword [esp], 0x1002b268
push edi
mov dword [0x1003704c], eax
call esi
push eax
call fcn.10016060
mov dword [0x10037050], eax
lea eax, [ebp - 0xc]
push eax
call fcn.10010b46
test eax, eax
pop ecx
pop ecx
je 0x1001c1c7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000f900
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1001c1f9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10016060
cmp eax, ebx
pop ecx
mov dword [0x10037058], eax
je 0x1001c1f9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10016060
pop ecx
mov dword [0x10037054], eax
mov eax, dword [0x10037054]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1001c27e
cmp dword [0x10037058], ecx
je 0x1001c27e
push eax
call fcn.100160d7
push dword [0x10037058]
mov esi, eax
call fcn.100160d7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1001c27e
cmp edi, ebx
je 0x1001c27e
call esi
cmp eax, ebx
je 0x1001c24b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001c24b
test byte [ebp - 0x18], 1
jne 0x1001c27e
lea eax, [ebp - 0x10]
push eax
call fcn.10010b7d
test eax, eax
pop ecx
je 0x1001c266
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000f900
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1001c275
or dword [ebp + 0x10], 0x200000
jmp 0x1001c2b9
or dword [ebp + 0x10], 0x40000
jmp 0x1001c2b9
mov eax, dword [0x1003704c]
cmp eax, dword [ebp - 8]
je 0x1001c2b9
push eax
call fcn.100160d7
cmp eax, ebx
pop ecx
je 0x1001c2b9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001c2b9
mov eax, dword [0x10037050]
cmp eax, dword [ebp - 8]
je 0x1001c2b9
push eax
call fcn.100160d7
cmp eax, ebx
pop ecx
je 0x1001c2b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10037048]
call fcn.100160d7
cmp eax, ebx
pop ecx
je 0x1001c2d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001c2db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret