joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d60
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41e59d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x29]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x140], ebx
mov dword [esp + 0x24], esi
mov byte [esp + 0x30], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push str.SOFTWAREACD_SystemsACDSee_MessageCenter20_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.LocalADRootFolder
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x14], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x406e40
sub eax, edx
jne 0x406e96
lea ecx, [esp + 0xc]
push ecx
call fcn.00405de0
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0x138], 1
call fcn.00402b30
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406eb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x406eb8
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x406ea0
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004026b0
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0041ce52
add esp, 0x12c
ret
Function at 0x406ee0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41e59d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x13c]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x29]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x140], ebx
mov dword [esp + 0x24], esi
mov byte [esp + 0x30], bl
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
push str.SOFTWAREACD_SystemsACDSee_MessageCenter20_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.LocalMsgRootHttpHeader
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x434350]
mov eax, dword [edx + 0xc]
mov ecx, 0x434350
call eax
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x14], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x406fc0
sub eax, edx
jne 0x407039
lea ecx, [esp + 0xc]
push ecx
call fcn.00405c40
add esp, 4
push 0x421d90
push 0x421d8c
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c], 1
call fcn.004051b0
mov edx, dword [esp + 0xc]
push edx
push str.file:___
push str._s__s
push esi
call fcn.00402bb0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407058
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407058
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x407040
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004026b0
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0041ce52
add esp, 0x12c
ret
Function at 0x407be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e6c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
mov dword [esp + 0x20], 3
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x20], 4
lea edi, [esi + 4]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x20], 5
lea ebx, [esi + 8]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x20], 6
lea ebp, [esi + 0xc]
call edx
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x24], 7
call fcn.00402b30
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00402b30
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00402b30
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.00402b30
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407d72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x28
Function at 0x40db20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push ebp
xor ebp, ebp
test eax, eax
jle 0x40dbb8
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebx, [ebx]
mov cx, word [edi + 8]
or cx, 2
movzx ecx, cx
movzx edx, cx
mov ecx, edx
xor ecx, 1
imul ecx, edx
mov edx, dword [edi]
sar ecx, 8
xor cl, byte [eax + ebp]
mov esi, dword [edi + 8]
movzx ebx, cl
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x429188]
xor ebx, edx
movzx edx, bl
add edx, dword [edi + 4]
mov dword [edi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [edi + 4], edx
shr edx, 0x18
xor edx, esi
and edx, 0xff
shr esi, 8
xor esi, dword [edx*4 + 0x429188]
add ebp, 1
cmp ebp, dword [esp + 0x1c]
mov dword [edi + 8], esi
mov byte [eax + ebp - 1], cl
jl 0x40db40
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40e010
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [esp + 0x18]
xor ebp, ebp
test esi, esi
jle 0x40e19c
push ebx
push edi
mov edi, dword [esp + 0x18]
jmp 0x40e030
push edi
mov ebx, 1
call fcn.0040dc10
add esp, 4
test eax, eax
je 0x40e0b8
test byte [esp + 0x24], 4
je 0x40e059
push 0x42b2e8
push edi
call fcn.0040dd90
add esp, 8
jmp 0x40e067
push edi
mov ebx, 8
call fcn.0040dc10
add esp, 4
mov ecx, dword [0x434200]
mov edx, ecx
xor edx, eax
shr ecx, 8
and edx, 0xff
xor ecx, dword [edx*4 + 0x429588]
add ebp, 1
mov dword [0x434200], ecx
mov ecx, dword [0x434204]
mov byte [ecx + 0x42bfe8], al
add ecx, 1
cmp ecx, 0x8000
mov dword [0x434204], ecx
jne 0x40e190
xor ecx, ecx
mov dword [0x434204], ecx
jmp 0x40e190
test byte [esp + 0x24], 2
push edi
je 0x40e0dc
mov ebx, 7
call fcn.0040dc10
push 0x433ff8
push edi
mov esi, eax
call fcn.0040dd90
shl eax, 7
jmp 0x40e0f6
mov ebx, 6
call fcn.0040dc10
push 0x433ff8
push edi
mov esi, eax
call fcn.0040dd90
shl eax, 6
add esp, 0xc
push 0x42b0e8
push edi
or esi, eax
call fcn.0040dd90
add esp, 8
cmp eax, 0x3f
jne 0x40e11d
push edi
lea ebx, [eax - 0x37]
call fcn.0040dc10
add esp, 4
add eax, 0x3f
add eax, dword [0x42998c]
mov ecx, dword [0x434204]
add esi, 1
test eax, eax
jle 0x40e18c
mov edx, dword [0x434200]
add ebp, eax
mov ebx, eax
mov dword [esp + 0x10], ebp
mov edi, edi
mov eax, ecx
sub eax, esi
and eax, 0x7fff
movzx eax, byte [eax + 0x42bfe8]
mov ebp, edx
xor ebp, eax
and ebp, 0xff
shr edx, 8
xor edx, dword [ebp*4 + 0x429588]
mov byte [ecx + 0x42bfe8], al
add ecx, 1
cmp ecx, 0x8000
jne 0x40e177
xor ecx, ecx
sub ebx, 1
jne 0x40e140
mov ebp, dword [esp + 0x10]
mov dword [0x434204], ecx
mov dword [0x434200], edx
mov esi, dword [esp + 0x20]
cmp ebp, esi
jl 0x40e030
pop edi
pop ebx
jmp 0x40e1a2
mov ecx, dword [0x434204]
mov eax, dword [0x433fec]
add eax, ebp
cmp eax, dword [0x433fe8]
mov dword [0x433fec], eax
push esi
jne 0x40e1d7
cmp ecx, 0x4000
jl 0x40e1f7
mov edx, dword [esp + 0x18]
push 0x42ffe8
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
cmp ecx, 0x4000
jge 0x40e1f7
mov eax, dword [esp + 0x18]
push 0x42ffe8
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x18]
push 0x42bfe8
push ecx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop esi
mov eax, ebp
pop ebp
pop ecx
ret

Function at 0x40e220
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40e25c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e25c
mov edx, esi
imul edx, eax
mov eax, dword [esp + 8]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40e25c
xor edx, edx
div esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x40e260
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x1b]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e28f
cmp eax, 1
movzx esi, byte [esp + 0xf]
je 0x40e293
mov esi, dword [esp + 0x10]
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x1b]
push eax
push edi
mov ebp, esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e2b8
cmp eax, 1
jne 0x40e2b8
movzx esi, byte [esp + 0xf]
mov ecx, dword [esp + 0x18]
shl esi, 8
add esi, ebp
mov dword [ecx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x40e2d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
push 0
lea eax, [esp + 0x14]
push eax
push 1
lea ecx, [esp + 0x1b]
push ecx
push edi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e2ff
cmp eax, 1
movzx esi, byte [esp + 0xf]
je 0x40e303
mov esi, dword [esp + 0x10]
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x1b]
push eax
push edi
mov ebp, esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e328
cmp eax, 1
jne 0x40e328
movzx esi, byte [esp + 0xf]
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
shl ecx, 8
push edi
add ebp, ecx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e352
cmp eax, 1
jne 0x40e352
movzx esi, byte [esp + 0xf]
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x1b]
mov ecx, esi
push eax
shl ecx, 0x10
push edi
add ebp, ecx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e37c
cmp eax, 1
jne 0x40e37c
movzx esi, byte [esp + 0xf]
mov ecx, dword [esp + 0x18]
shl esi, 0x18
add esi, ebp
mov dword [ecx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x40e390
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
mov ebp, 0xffff
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0
call edi
cmp eax, 0xffffffff
jne 0x40e3c8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push 1
push 0
push 0
push esi
call edi
mov esi, eax
cmp esi, ebp
mov dword [esp + 0x14], esi
jae 0x40e3e1
mov dword [esp + 0xc], esi
mov ebp, eax
push 0x404
call dword [sym.imp.MSVCR80.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x40e3bf
push ebx
mov ebx, 4
cmp ebp, ebx
jbe 0x40e4b7
jmp 0x40e418
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea eax, [ebx + 0x400]
cmp eax, ebp
mov ebx, ebp
ja 0x40e426
mov ebx, eax
mov ebp, esi
sub ebp, ebx
mov eax, esi
sub eax, ebp
cmp eax, 0x404
mov esi, 0x404
ja 0x40e43c
mov esi, eax
mov eax, dword [esp + 0x24]
push 0
push 0
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x40e4b7
test esi, esi
je 0x40e4b7
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40e4b7
xor edx, edx
div esi
cmp eax, 1
jne 0x40e4b7
lea eax, [esi - 3]
test eax, eax
jle 0x40e4ad
sub eax, 1
cmp byte [eax + edi], 0x50
jne 0x40e49f
cmp byte [eax + edi + 1], 0x4b
jne 0x40e49f
cmp byte [eax + edi + 2], 5
jne 0x40e49f
cmp byte [eax + edi + 3], 6
je 0x40e4a5
test eax, eax
jg 0x40e481
jmp 0x40e4ad
add eax, ebp
mov dword [esp + 0x14], eax
jne 0x40e4b7
cmp ebx, dword [esp + 0x10]
jb 0x40e410
push edi
call dword [sym.imp.MSVCR80.dll_free]
mov eax, dword [esp + 0x18]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x415500
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41f9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov ecx, 0x94
mov eax, 0x95
mov edx, 0x93
push str.SOFTWAREACD_SystemsACDSee_MessageCenter20_
mov ebx, 0x92
mov dword [esi + 0x28], ecx
mov dword [esi + 0x38], ecx
push SysReAllocStringLen
lea ecx, [esp + 0x1c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], 0x6e
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x18], edi
call fcn.0041aec0
push edi
push str.AnimationInterval
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], edi
call fcn.0041b0b0
mov ebp, dword [sym.imp.MSVCR80.dll_atoi]
mov ebx, eax
cmp ebx, edi
jne 0x4155b0
mov dword [esi + 0x44], 0xc8
jmp 0x4155db
push ebx
call ebp
add esp, 4
cmp eax, 0x64
mov dword [esi + 0x44], eax
jge 0x4155c5
mov dword [esi + 0x44], 0x64
mov eax, 0x3e8
cmp dword [esi + 0x44], eax
jle 0x4155d2
mov dword [esi + 0x44], eax
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push edi
push str.AnimationTimerValue
lea ecx, [esp + 0x1c]
call fcn.0041b0b0
mov ebx, eax
cmp ebx, edi
jne 0x4155f9
mov dword [esi + 0x48], 0xf
jmp 0x415624
push ebx
call ebp
add esp, 4
cmp eax, 1
mov dword [esi + 0x48], eax
jge 0x41560e
mov dword [esi + 0x48], 1
mov eax, 0x3c
cmp dword [esi + 0x48], eax
jle 0x41561b
mov dword [esi + 0x48], eax
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041af40
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x415b40
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x41f9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x1e8], eax
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [0x42b0c4]
push 0x6c
push eax
mov dword [esp + 0x208], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
test edi, edi
jne 0x415ba5
push str.Kevin:_Can_not_load_IDI_SMALL_icon_from_resource_dll_n
call fcn.0041ae70
add esp, 4
mov ecx, dword [0x42b0c8]
push 0x64
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], 0x1e8
mov dword [esp + 0x28], edi
mov edx, dword [ecx + 0x1b4]
mov ecx, dword [0x42b0c4]
push 0x6f
push ecx
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [esp + 0x1c], 0x44c
mov dword [esp + 0x18], 0x17
mov dword [esp + 0x14], 0x2712
mov dword [esp + 0x1ac], 0x2710
mov dword [esp + 0x1f0], 1
lea eax, [esp + 0x24]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + 0x18c], cl
add eax, 1
test cl, cl
jne 0x415c10
mov esi, dword [esp + 0x208]
lea edx, [esp + 0xac]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x415c31
lea edx, [esp + 0xc]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi - 0x10]
mov dword [esp + 0x200], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415c78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.0041ce52
add esp, 0x1f8
ret 4

Function at 0x416820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41fba6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 1
call fcn.00417760
lea edi, [esi + 0x10]
mov ecx, edi
mov byte [esp + 0x2c], 2
mov dword [esi], vtable.CGetADsJob.0
call fcn.00402250
lea ebp, [esi + 0x30]
mov ecx, ebp
mov byte [esp + 0x2c], 3
call fcn.00402250
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00417760
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
mov dword [esi + 0x50], ecx
push edx
mov ecx, edi
mov byte [esp + 0x30], 5
mov dword [esi + 0x54], eax
call fcn.00416780
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call fcn.00416780
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00417770
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 0
call fcn.004017e0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004017e0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x4c
Function at 0x416cc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41fba6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 1
call fcn.00417760
lea edi, [esi + 0x10]
mov ecx, edi
mov byte [esp + 0x2c], 2
mov dword [esi], vtable.CGetMessagesJob.0
call fcn.00402250
lea ebp, [esi + 0x30]
mov ecx, ebp
mov byte [esp + 0x2c], 3
call fcn.00402250
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00417760
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
mov dword [esi + 0x50], ecx
push edx
mov ecx, edi
mov byte [esp + 0x30], 5
mov dword [esi + 0x54], eax
call fcn.00416780
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call fcn.00416780
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0xc], ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.00417770
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 0
call fcn.004017e0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004017e0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 0x4c

Function at 0x417650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41fd11
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], 1
call fcn.00417760
lea edi, [esi + 0x14]
mov ecx, edi
mov byte [esp + 0x30], 2
mov dword [esi], vtable.CGetUpdatesJob.0
call fcn.00402250
lea ebp, [esi + 0x38]
mov ecx, ebp
mov byte [esp + 0x30], 3
call fcn.00402250
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
mov byte [esp + 0x30], 4
lea ebx, [esi + 0x58]
call edx
add eax, 0x10
mov dword [ebx], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
call fcn.00417760
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x40]
mov dword [esi + 0x10], ecx
push edx
mov ecx, ebp
mov byte [esp + 0x34], 6
mov dword [esi + 0x34], eax
call fcn.00416780
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call fcn.00416780
mov ecx, dword [esp + 0x80]
push 0
mov dword [esi + 0xc], ecx
push 0x421a65
mov ecx, ebx
call fcn.004026b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 5
call fcn.00417770
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 0
call fcn.004017e0
lea ecx, [esp + 0x60]
mov dword [esp + 0x30], 0xffffffff
call fcn.004017e0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x4c
Function at 0x418a20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x418a2b
xor eax, eax
ret
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not esi
jb 0x418b27
push ebp
mov ebp, edi
shr ebp, 3
jmp 0x418a50
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x423bc8]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x418a50
pop ebp
test edi, edi
je 0x418b4c
jmp 0x418b30
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x423bc8]
add ecx, 1
sub edi, 1
jne 0x418b30
mov eax, esi
pop edi
not eax
pop esi
ret