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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46c8b8
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 0x4368b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4369cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4368cd
mov eax, 0xffffffc7
jmp 0x4369ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4368de
cmp dword [esi + 8], eax
jne 0x4368cd
cmp dword [esi + 8], eax
jne 0x4368f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4368f7
mov eax, 0xffffffc7
jmp 0x4369ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43690b
push eax
mov ecx, ebx
call fcn.004360b0
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.004069e0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43693c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406a00
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00435820
test eax, eax
mov dword [esp + 0x38], eax
je 0x43696f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55f0a8
call fcn.00406be0
mov eax, dword [esp + 0x38]
jmp 0x4369ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004366e0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4369b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00436700
mov esi, eax
test esi, esi
jne 0x4369e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004366e0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x436985
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x55f0a8
call fcn.00406be0
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], 0x55f0a8
call fcn.00406be0
mov eax, esi
jmp 0x4369ce

Function at 0x439b10
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x439b70
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x439b70
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x439b70
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x439b70
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 0x439bb0
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 0x43fac0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46cee8
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.00465cf0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043f460
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.00465c1e
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.004624e2
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.004624e2
push 1
push 0
push 0
mov ecx, esi
call fcn.0046248a
push 1
push 0
push 1
mov ecx, esi
call fcn.0046248a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465d62
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43fc40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46cf08
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.00465cf0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043f460
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.00465c1e
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 0x43fd04
cmp dword [esp + 0x40], 1
jne 0x43fd02
cmp ecx, eax
jge 0x43fd04
mov eax, ecx
cmp eax, 0xc8
jge 0x43fd10
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043fac0
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.00465d62
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x440490
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46cf73
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.00460902
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.00465f98
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004674b4
test eax, eax
je 0x4405ac
mov ecx, dword [esp + 0x3c]
call fcn.00465fc5
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 0x440570
push edi
mov ecx, esi
call fcn.00463629
mov ecx, esi
call fcn.00440710
cmp dword [esp + 0x38], 1
jne 0x4405a5
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.00463764
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 0x442fd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443003
push esi
call fcn.004460c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x442ffc
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 0x443089
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443072
mov eax, dword [esi + 8]
test eax, eax
je 0x443027
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 0x44306e
cmp eax, 2
je 0x443072
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44301a
cmp eax, 3
je 0x44304d
cmp eax, 1
jne 0x44301a
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 0x44301a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44301a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004430b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443098
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004430b0
add esp, 4
pop esi
ret

Function at 0x4616f8
Capabilities:
Get graphical window text

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

Function at 0x462de6
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 0x462e28
call fcn.0046889f
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462e28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462e1f
xor eax, eax
jmp 0x462e30
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462e36
pop edi
pop esi
pop ebx
ret 4

Function at 0x468dcf
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 0x468dfd
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468e1b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468d35
jmp 0x468e1b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468e1b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468d35
test edi, edi
mov eax, edi
jne 0x468e05
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x418ec4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x418f02
call fcn.00418f04
mov edx, dword [ebp + 0x10]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov eax, dword [edx]
jbe 0x418f00
push esi
push edi
mov esi, dword [ebp + 8]
movzx edi, al
movzx esi, byte [esi + ecx]
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x413f40]
xor eax, esi
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x418ee0
pop edi
pop esi
mov dword [edx], eax
pop ebp
ret

Function at 0x418f04
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp word [0x414340], si
jne 0x418f48
push edi
mov ecx, 0x413f40
push 8
mov eax, esi
pop edi
mov dl, al
and edx, 1
shr eax, 1
cmp dx, 1
jne 0x418f2d
xor eax, 0xedb88320
dec edi
jne 0x418f1b
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x414340
jb 0x418f16
mov word [0x414340], 1
pop edi
pop esi
ret
Function at 0x418f67
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, eax
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
shr esi, 6
and eax, 0x3f
mov dword [ebp - 8], ebx
mov dword [ebp + 0x14], eax
jbe 0x418fa3
and dword [ebp + 0x14], 7
mov edi, eax
shr edi, 3
cmp edi, ebx
jbe 0x418fa3
cmp esi, ebx
jbe 0x418fa3
mov dword [ebp - 8], 1
dec esi
push 8
lea eax, [ebp - 0x18]
push 0x4135cc
push eax
call fcn.0041d920
push ebx
push dword [ebp + 8]
call fcn.0041910f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041933c
add esp, 0x1c
cmp esi, ebx
jbe 0x41901e
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], esi
push 8
lea eax, [ebp - 0x10]
pop esi
push esi
push ebx
push eax
call fcn.0041d920
add esp, 0xc
xor eax, eax
mov cl, byte [eax + ebp - 0x18]
xor byte [eax + ebp - 0x10], cl
inc eax
cmp eax, esi
jb 0x418fe9
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.0041933c
push esi
lea eax, [ebp - 0x18]
push dword [ebp + 0x10]
push eax
call fcn.0041d920
add dword [ebp + 0x10], esi
add esp, 0x14
add ebx, esi
dec dword [ebp + 8]
jne 0x418fd6
jmp 0x419024
mov ebx, dword [ebp + 0xc]
push 8
pop esi
cmp word [ebp - 8], 0
je 0x4190b0
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0041d920
add esp, 0xc
xor eax, eax
mov cl, byte [eax + ebp - 0x18]
xor byte [eax + ebp - 0x10], cl
inc eax
cmp eax, esi
jb 0x41903f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041933c
add ebx, 8
push edi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0041d920
mov eax, esi
sub eax, edi
push eax
lea eax, [edi + ebp - 0x10]
push 0
push eax
call fcn.004187b6
add esp, 0x20
xor eax, eax
mov cl, byte [eax + ebp - 0x18]
xor byte [eax + ebp - 0x10], cl
inc eax
cmp eax, esi
jb 0x41907d
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.0041933c
lea eax, [ebp - 0x18]
add esi, 8
push edi
push eax
push esi
call fcn.0041d920
add esp, 0x14
mov dword [ebp - 4], edi
xor edi, edi
mov dword [ebp + 0x10], esi
test edi, edi
jbe 0x4190e2
xor esi, esi
test edi, edi
jbe 0x4190df
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], ebx
lea eax, [ebp - 0x18]
sub dword [ebp + 0xc], eax
lea eax, [ebp - 0x18]
sub ecx, eax
mov edx, dword [ebp + 0xc]
lea eax, [esi + ebp - 0x18]
mov dl, byte [eax + edx]
xor dl, byte [eax]
inc esi
cmp esi, edi
mov byte [eax + ecx], dl
jb 0x4190cb
mov dword [ebp - 4], edi
cmp dword [ebp + 0x14], 0
jbe 0x419108
mov eax, dword [ebp - 4]
lea esi, [eax + ebp - 0x18]
push esi
push dword [ebp + 0x14]
call fcn.00419626
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
mov cl, byte [ebx + eax]
xor cl, byte [esi]
mov byte [edx + eax], cl
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x419762
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
shr edi, 6
and eax, 0x3f
mov dword [ebp - 8], ebx
mov dword [ebp + 0x14], eax
jbe 0x41979e
and dword [ebp + 0x14], 7
mov esi, eax
shr esi, 3
cmp esi, ebx
jbe 0x41979e
cmp edi, ebx
jbe 0x41979e
mov dword [ebp - 8], 1
dec edi
push 8
lea eax, [ebp - 0x10]
push 0x4135cc
push eax
call fcn.0041d920
push ebx
push dword [ebp + 8]
call fcn.0041910f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041933c
push 1
push dword [ebp + 8]
call fcn.0041910f
add esp, 0x24
cmp edi, ebx
jbe 0x41982b
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
sub eax, ebx
mov dword [ebp + 0x10], edi
mov edi, dword [ebp + 0xc]
mov dword [ebp + 8], eax
push 8
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.0041d920
push ebx
push edi
call fcn.0041933c
add esp, 0x14
push 8
pop eax
mov ecx, dword [ebp + 8]
mov cl, byte [ebx + ecx]
xor byte [ebx], cl
inc ebx
dec eax
jne 0x4197ff
lea eax, [ebp - 0x28]
push 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041d920
sub dword [ebp + 8], 8
add esp, 0xc
add edi, 8
dec dword [ebp + 0x10]
jne 0x4197e6
jmp 0x419831
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
cmp word [ebp - 8], 0
je 0x4198d9
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0041933c
add edi, 8
push esi
lea eax, [ebp - 0x20]
push edi
push eax
mov dword [ebp + 0x10], edi
call fcn.0041d920
mov dword [ebp + 8], 8
lea edi, [esi + ebp - 0x20]
sub dword [ebp + 8], esi
push dword [ebp + 8]
push 0
push edi
call fcn.004187b6
add esp, 0x20
xor eax, eax
mov cl, byte [eax + ebp - 0x20]
xor byte [eax + ebp - 0x18], cl
inc eax
cmp eax, 8
jb 0x419875
push dword [ebp + 8]
lea eax, [esi + ebp - 0x18]
push eax
push edi
call fcn.0041d920
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0041933c
add esp, 0x14
lea eax, [ebp - 0x10]
mov edi, ebx
sub eax, ebx
push 8
pop ecx
mov dl, byte [eax + edi]
xor byte [edi], dl
inc edi
dec ecx
jne 0x4198a8
lea eax, [ebp - 0x18]
add ebx, 8
push esi
push eax
push ebx
call fcn.0041d920
lea eax, [ebp - 0x20]
push 8
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041d920
mov edi, dword [ebp + 0x10]
add esp, 0x18
mov dword [ebp - 4], esi
xor esi, esi
test esi, esi
jbe 0x419912
and dword [ebp + 8], 0
test esi, esi
jbe 0x41990f
mov dword [ebp + 0x10], edi
lea eax, [ebp - 0x10]
sub dword [ebp + 0x10], eax
mov ecx, ebx
lea eax, [ebp - 0x10]
sub ecx, eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [eax + ebp - 0x10]
mov dl, byte [eax + edx]
xor dl, byte [eax]
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
mov byte [eax + ecx], dl
jb 0x4198f5
mov dword [ebp - 4], esi
cmp dword [ebp + 0x14], 0
jbe 0x419935
mov eax, dword [ebp - 4]
lea esi, [eax + ebp - 0x10]
push esi
push dword [ebp + 0x14]
call fcn.00419626
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov cl, byte [edi + eax]
xor cl, byte [esi]
mov byte [ebx + eax], cl
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40c9b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40c9ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c9d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c9c0
mov eax, 1
add ebx, ebx
jne 0x40c9e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c9d8
jne 0x40c9f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c9d8
xor ecx, ecx
sub eax, 3
jb 0x40ca08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ca7a
mov ebp, eax
add ebx, ebx
jne 0x40ca13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ca20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ca44
inc ecx
add ebx, ebx
jne 0x40ca30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ca25
jne 0x40ca41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ca25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ca64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ca55
jmp 0x40c9c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ca64
add edi, ecx
jmp 0x40c9c6
pop esi
mov edi, esi
mov ecx, 0x129
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ca82
cmp byte [edi], 1
jne 0x40ca82
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 al, bl
loop 0x40ca87
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40caff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc0c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40cab4
mov ecx, edi
jns 0x40cae3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc0cc]
or eax, eax
je 0x40caf9
mov dword [ebx], eax
add ebx, 4
jmp 0x40cad1
call dword [esi + 0xc0dc]
mov ebp, dword [esi + 0xc0d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40cb33
sub esp, 0xffffff80
jmp 0x405196
Function at 0x402570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
push 0x208
push 0
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.004090c0
add esp, 0xc
push 0x103
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.00406710
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x4025f4
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4025f4
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.004026c0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x207
push 0x208
push 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
add ecx, 8
push ecx
call fcn.004090c0
add esp, 0xc
mov dword [ebp - 4], 1
lea edx, [ebp - 8]
push edx
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
add ecx, 8
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx]
add eax, 8
mov esp, ebp
pop ebp
ret

Function at 0x4026c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00408e6d
add esp, 4
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
mov edx, dword [ebp - 4]
add edx, 4
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 4