joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9a70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4a9b13
test eax, eax
jbe 0x4a9b13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4a9b13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4a9abe
xor esi, esi
jmp 0x4a9ac4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4a9aef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0042a750
add esi, eax
push esi
mov ebx, esi
call fcn.0042a750
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4a9ad0
pop ebp
test edi, edi
pop edi
jne 0x4a9b13
test ebx, ebx
je 0x4a9b13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0052d570
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4a9c55
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4a9d6d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a9d6d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00543127
mov esi, eax
test esi, esi
je 0x4a9d6d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4a9d6d
mov ecx, esi
call fcn.004a9bc0
cmp edi, eax
jge 0x4a9d6d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4a9cf3
mov dword [esp + 0x34], 1
jmp 0x4a9d4e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4a9d6d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004a91c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4b2ac0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x609158]
sub esp, 0x310
test eax, eax
push esi
je 0x4b2aed
push eax
lea eax, [esp + 8]
push 0x5bf050
push eax
push 0xe6
call fcn.004b1a70
add esp, 0x10
jmp 0x4b2b73
call fcn.004b25e0
test eax, eax
je 0x4b2b2c
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x10c]
push edx
call fcn.004b2020
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b2b55
mov eax, 7
pop esi
add esp, 0x310
ret
lea ecx, [esp + 0x10c]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x10c]
push edx
call fcn.004b1ff0
mov esi, eax
add esp, 4
test esi, esi
je 0x4b2b1f
push esi
lea eax, [esp + 8]
push 0x5bf050
push eax
push 0xe6
call fcn.004b1a70
push esi
call fcn.0052d66e
add esp, 0x14
lea ecx, [esp + 4]
push ecx
call fcn.004b1c90
add esp, 4
test eax, eax
jbe 0x4b2b92
lea ecx, [esp + 4]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x4b2b92
dec eax
jne 0x4b2b89
push ebx
mov byte [esp + eax + 8], 0
mov eax, dword [esp + 0x31c]
lea edx, [esp + 8]
push edi
mov edi, dword [esp + 0x324]
push edx
push str._setilqs_
add eax, 0xffffffe2
push edi
push eax
call fcn.004b1a70
push edi
call fcn.004b1c90
mov esi, eax
lea ecx, [esi + edi]
push ecx
push 0x14
call fcn.004b1ad0
add esp, 0x1c
mov ecx, 0x14
xor eax, eax
xor edx, edx
mov al, byte [esi + edi]
mov ebx, 0x3e
div ebx
inc esi
dec ecx
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + edi - 1], dl
jne 0x4b2bd6
mov byte [esi + edi], 0
pop edi
pop ebx
xor eax, eax
pop esi
add esp, 0x310
ret

Function at 0x4b71c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
push edi
mov ebp, dword [esi + 0x5c]
cmp ebx, ebp
jle 0x4b729e
mov cl, byte [esi + 6]
test cl, cl
je 0x4b729e
mov ecx, dword [esi + 0x58]
mov eax, ebx
shl eax, 5
push eax
push ecx
call fcn.004b08d0
mov edx, eax
add esp, 8
test edx, edx
jne 0x4b7206
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
mov ecx, ebx
mov eax, ebp
sub ecx, ebp
shl eax, 5
shl ecx, 5
mov ebx, ecx
lea edi, [eax + edx]
xor eax, eax
mov dword [esp + 0x14], edi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
mov ebx, dword [esp + 0x18]
and ecx, 3
cmp ebp, ebx
rep stosb byte es:[edi], al
mov dword [esi + 0x58], edx
mov dword [esi + 0x5c], ebx
jge 0x4b7295
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x18]
mov edx, dword [esi + 0x18]
mov dword [edi - 4], edx
mov eax, dword [esi + 0x3c]
cmp dword [eax], 0
je 0x4b7264
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
test eax, eax
jl 0x4b7264
jg 0x4b725c
test ecx, ecx
jbe 0x4b7264
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
jmp 0x4b7271
mov ecx, dword [esi + 0x70]
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], 0
mov edx, dword [esi + 0x30]
mov dword [edi], edx
mov eax, dword [esi + 0x18]
push eax
call fcn.004b46b0
add esp, 4
mov dword [edi - 8], eax
test eax, eax
je 0x4b71fc
inc ebp
add edi, 0x20
cmp ebp, ebx
jl 0x4b723e
push esi
call fcn.004b6e70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4c4ef0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
push ecx
call fcn.004c5080
mov ebx, eax
xor eax, eax
mov ax, word [esi + 0xc]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
mov ax, word [esi + 0x10]
mov dl, byte [esi + 5]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ax, word [ecx + 0x18]
xor ecx, ecx
mov ch, byte [edx + ebp + 5]
mov dword [esp + 0x28], ebx
mov cl, byte [edx + ebp + 6]
add esp, 4
mov edi, ecx
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x28], edx
lea esi, [edi + ebp]
add edi, ebx
mov ebx, ecx
mov dword [esp + 0x1c], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, eax
and ecx, 3
mov dword [esp + 0x20], 0
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4c5015
mov edx, dword [esp + 0x14]
lea esi, [edx + ebp]
mov dword [esp + 0x10], esi
jmp 0x4c4f8a
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov ch, byte [esi]
mov cl, byte [esi + 1]
mov edi, ecx
cmp edi, eax
jge 0x4c5072
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
lea esi, [edi + edx]
push esi
push eax
call fcn.004c43a0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
and eax, 0xffff
add esp, 8
sub ebx, eax
lea ecx, [ecx + edx*2]
cmp ebx, ecx
jl 0x4c5072
lea ecx, [eax + edi]
mov edi, dword [esp + 0x1c]
cmp ecx, edi
jg 0x4c5072
mov ecx, eax
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
add eax, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
mov byte [eax - 1], bl
sar ecx, 8
mov byte [eax - 2], cl
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x10], eax
cmp ecx, edx
mov dword [esp + 0x20], ecx
jl 0x4c4f82
mov edx, dword [esp + 0x28]
mov eax, ebx
mov ecx, dword [esp + 0x14]
sar eax, 8
mov byte [edx + ebp + 5], al
mov byte [edx + ebp + 6], bl
mov byte [edx + ebp + 1], 0
mov byte [edx + ebp + 2], 0
mov byte [edx + ebp + 7], 0
mov edx, dword [esp + 0x18]
xor eax, eax
lea edx, [ecx + edx*2]
sub ebx, edx
mov ecx, ebx
lea edi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop esi
mov ax, word [ecx + 0xe]
pop ebp
mov edx, eax
mov eax, ebx
sub eax, edx
pop ebx
neg eax
sbb eax, eax
and eax, 0xb
add esp, 0x1c
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x1c
ret
Function at 0x4c64b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebp
push esi
push 0
mov ebp, dword [eax + 0x58]
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + 0x3c]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x2c], esi
call fcn.004b8a80
add esp, 0x14
test eax, eax
jne 0x4c664c
mov ecx, dword [ebp + 0x40]
mov ax, word [esi + 0x18]
push ebx
xor ebx, ebx
mov bl, byte [ebp + 5]
mov dword [esp + 0x14], ecx
push edi
xor edi, edi
lea esi, [ebx + ecx]
mov ecx, dword [esp + 0x10]
mov di, word [ebp + 0xc]
xor edx, edx
mov ecx, dword [ecx + 0x40]
mov dh, byte [esi + 5]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov cx, word [ebp + 0x10]
mov dl, byte [esi + 6]
lea ecx, [edi + ecx*2]
mov edi, dword [esp + 0x14]
sub ecx, ebx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
sub ecx, edx
lea esi, [edx + eax]
mov eax, dword [esp + 0x14]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
push eax
call fcn.004b8660
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x4c663b
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [ebp + 1]
lea esi, [ebp + 0x14]
shl ecx, 3
mov eax, ecx
lea edi, [edx + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
mov cl, byte [ebp + 1]
mov byte [edx + 1], cl
mov eax, dword [esp + 0x10]
cmp byte [eax + 1], bl
je 0x4c65a3
mov word [eax + 0xe], bx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov cl, byte [eax]
and ecx, 0xfffffff7
push ecx
push ebp
call fcn.004b76d0
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x40]
xor eax, eax
push edx
mov al, byte [ebp + 5]
lea edx, [eax + ecx + 8]
push edx
call fcn.004b6520
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp byte [eax + 0x13], bl
je 0x4c6612
mov ecx, dword [ebp + 0x48]
mov edx, dword [esp + 0x10]
push ecx
push 5
mov ecx, dword [edx + 0x48]
push ecx
push eax
call fcn.004b8050
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x4c6607
mov edx, dword [esp + 0x10]
push edx
call fcn.004b8100
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4c6612
mov eax, dword [esp + 0x10]
cmp esi, ebx
mov byte [eax + 1], bl
jne 0x4c663b
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
inc word [eax + 0x54]
mov dword [eax + 0x5c], ecx
mov word [eax + 0xa8], bx
call fcn.004c5230
add esp, 4
mov esi, eax
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
mov edx, dword [esp + 0x10]
push edx
call fcn.004b7540
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x4c9b40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
test eax, eax
jg 0x4c9b5d
push edi
call fcn.004b1c90
add esp, 4
test eax, eax
jle 0x4c9b78
xor ecx, ecx
xor edx, edx
mov cl, byte [edi]
mov dl, byte [ecx + 0x58e4ec]
lea ecx, [esi*8]
xor edx, ecx
xor esi, edx
inc edi
dec eax
jne 0x4c9b5d
mov eax, esi
pop edi
and eax, 0x7fffffff
pop esi
ret
Function at 0x4d7200
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x4d7211
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ebx, dword [esp + 0x10]
push 0x44
push ebx
call fcn.004b0a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d722a
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi]
push eax
push ebx
call fcn.004d7100
mov dword [esi], eax
mov ecx, dword [edi + 8]
push ecx
push ebx
call fcn.004d72e0
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
push edx
push ebx
call fcn.004d7050
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
push eax
push ebx
call fcn.004d7100
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
push ecx
push ebx
call fcn.004d7050
mov dword [esi + 0x14], eax
mov edx, dword [edi + 0x18]
push edx
push ebx
call fcn.004d7100
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov ecx, dword [edi + 0x1c]
push ecx
push ebx
call fcn.004d7200
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x28]
push edx
push ebx
call fcn.004d7050
add esp, 0x40
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
call fcn.004d7050
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov cx, word [edi + 6]
add esp, 8
or eax, 0xffffffff
and ecx, 0xfff7
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov word [esi + 6], cx
mov dword [esi + 0x24], 0
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x4f84f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004fe970
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4f85e9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004f8600
test eax, eax
jne 0x4f85e9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004f8600
test eax, eax
jne 0x4f85e9
lea edx, [esp + 0x10]
push 0x5c36b0
push edx
call fcn.0052dc70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4f85ba
lea eax, [esp + 0x10]
push 0x5c36ac
push eax
call fcn.0052dc70
mov esi, eax
add esp, 8
test esi, esi
jne 0x4f85ba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4f85bd
mov byte [esi], 0
push 0x5c2e74
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4f8600
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4f8662
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4fb5f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5577c4
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2ac]
mov ebp, ecx
push edi
mov ecx, esi
mov edi, dword [esp + 0x2ac]
lea eax, [ebp + 0x140]
xor ebx, ebx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp + 0x12c], eax
mov dword [ebp + 0x130], ecx
mov edx, dword [edi]
cmp dword [edx - 8], ebx
jne 0x4fb669
mov eax, dword [esp + 0x2a4]
xor edx, edx
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x4fddac
push edi
lea eax, [esp + 0x38]
push str._body_
push eax
call fcn.0054193e
push eax
mov ecx, edi
mov dword [esp + 0x2a0], ebx
call fcn.0054176e
lea ecx, [esp + 0x34]
mov dword [esp + 0x29c], 0xffffffff
call fcn.00541681
push str.__body_
mov ecx, edi
call fcn.00541a11
mov ecx, dword [ebp + 0x134]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x144], ecx
push 0x61e29c
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.005416ef
push 0x61e29c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2a0], 1
call fcn.005416ef
push 0x61e29c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 2
call fcn.005416ef
push 0x61e29c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 3
call fcn.005416ef
mov eax, dword [0x5c4dac]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x2b4]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
mov byte [esp + 0x2a4], 5
call fcn.004fe680
mov eax, dword [edi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [eax - 8]
cmp eax, ebx
jle 0x4fdc56
jmp 0x4fb770

Function at 0x4fe8b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x557848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4fe960
mov eax, dword [0x5c4dac]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00541a65
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00541ab4
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.00541a11
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4fe947
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4fe947
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00541681
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x501a60
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x557cd0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x501c07
mov ecx, dword [0x5c4dac]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x501b5c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00500780
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0054176e
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00541681
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5c2e74
call fcn.005416ef
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00500b40
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.0054176e
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00541681
lea ecx, [esp + 0xc]
call fcn.00541b70
mov ecx, dword [esp + 0xc]
push 0x5c38b4
push ecx
call fcn.0052cba4
add esp, 8
test eax, eax
je 0x501b84
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x501abd
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00541681
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00541681
jmp 0x501c0b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00501800
test eax, eax
push 0
je 0x501bef
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004ffea0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x501bd5
cmp eax, 0x64
jg 0x501bc3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x501b60
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x501b60
cmp eax, 0x64
jge 0x501b5c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x501b60
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004ffea0
mov esi, eax
jmp 0x501b60
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x501c15
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x50c5c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x50c633
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x50c628
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0052fcaa
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x51e760
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x558e66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x5c4dac]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.00543b12
cmp dword [0x62a394], ebx
je 0x51e7d0
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00541681
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x5c4dac]
push ebp
push edi
mov edi, 1
mov dword [0x62a394], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x51e7f9
mov dword [esp + 0x20], ebx
jmp 0x51e800
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.00545d50
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.0054176e
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x51e85e
mov dword [esp + 0x14], ebx
jmp 0x51e865
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x51e87f
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x51e879
cmp eax, 2
jne 0x51e87f
mov dword [esp + 0x18], edi
jmp 0x51e883
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x51e891
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00543100
mov edi, eax
cmp edi, ebx
jne 0x51e8a1
xor eax, eax
jmp 0x51e8a4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x51e8cc
mov ecx, esi
call fcn.00545d50
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x51e8e4
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x62a394], 0
test eax, eax
je 0x51e90d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x51e90d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.00541681
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00541681
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret