joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b400
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0xc], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x46b55b
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.004663e0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x46b52e
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 4], edx
cmp ebx, esi
jne 0x46b4b4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x46b521
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x46b4ee
mov edx, dword [edx]
mov dword [ebp - 8], edx
cmp edx, eax
je 0x46b4e6
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
jmp 0x46b521
cmp ebx, edx
je 0x46b4fe
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x46b537
cmp ebx, edx
jne 0x46b4f2
mov ebx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0xc]
mov eax, ecx
cmp ecx, esi
jne 0x46b462
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 8], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x46b521
push 0x50443c
call fcn.004c17da
int3
Function at 0x46b950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push esi
push 0x190
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x3c], 0xd
mov dword [ebp - 0x38], SysReAllocStringLen
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 0
call fcn.004c8c9a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46ba8f
mov eax, dword [0x555cb4]
lea esi, [ebp + 0xc]
push edi
inc eax
mov dword [ebp - 0x1c], ebx
mov ecx, 0x64
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 4], eax
lea esi, [ebx + 0x20]
lea eax, [ebp - 0x3c]
mov dword [esi], 1
push eax
push 0
push 0x104d
push dword [ebp + 8]
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xc0], 0
mov dword [ebx], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
cmp eax, 0xffffffff
je 0x46ba8f
mov eax, dword [0x550f4c]
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x188], eax
test eax, eax
je 0x46ba38
mov dword [eax + 0x18c], ebx
cmp byte [0x555291], 0
mov dword [0x550f4c], ebx
je 0x46ba5a
lock inc dword [esi]
push ebx
push 0
push 0x4b2d70
call fcn.004d5fba
add esp, 0xc
xor ecx, ecx
mov eax, 2
cmp byte [0x5552a0], cl
cmovne eax, ecx
push eax
mov eax, dword [ebx + 0xd4]
shr eax, 1
not al
and al, 1
movzx eax, al
push eax
push ebx
call fcn.004bbb40
add esp, 0xc
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 8]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
push edi
cmp esi, 0x65
jne 0x470cc9
mov edi, dword [0x555ecc]
jmp 0x470ce5
cmp esi, 0x66
jne 0x470cd6
mov edi, dword [0x555ed0]
jmp 0x470ce5
cmp esi, 0x68
jne 0x470de1
mov edi, dword [0x555ed4]
push 2
push 0xffffffffffffffff
push 0x100c
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x470de1
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x104b
push edi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 4
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x470de1
cmp esi, 0x65
jne 0x470d52
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x550f38]
push esi
push dword [esi + 0x24]
call fcn.00475c10
push esi
call fcn.004a81f0
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0x66
jne 0x470d6b
push dword [ebp - 0x1c]
push edi
call fcn.004a7f10
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
cmp esi, 0x68
jne 0x470de1
mov ecx, dword [ebp - 0x1c]
test byte [ecx + 0xd4], 8
je 0x470d9c
push 0x10
push 0x502f28
push 0x50e930
push dword [0x555ecc]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0xe0], 0
jne 0x470dc5
push 0x10
push 0x4fc6f4
push 0x50e99c
push dword [0x555ec8]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lock inc dword [ecx + 0x20]
mov eax, dword [0x538dd8]
push ecx
push 0
push 0x4a8210
mov dword [ecx + 0x24], eax
call fcn.004d5fba
add esp, 0xc
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x475690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x538444], 0
jne 0x4756bc
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push ebx
xor bl, bl
cmp dword [0x5559ec], 0
je 0x47573d
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c52c0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x5559ec]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x47573d
mov eax, 0x50f160
lea ecx, [ebp - 0x20c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x47572b
test dx, dx
je 0x475727
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x47572b
add ecx, 4
add eax, 4
test dx, dx
jne 0x475705
xor eax, eax
jmp 0x475730
sbb eax, eax
or eax, 1
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x477dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x477e28
cmp esi, 1
je 0x477e28
cmp esi, 0xffffffff
je 0x477df2
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x50]
lea ebx, [edi + 0x50]
cmp ecx, 0xffffffff
je 0x477e64
xor eax, eax
test ecx, ecx
push 5
sete al
lea eax, [eax*4 + 4]
push dword [eax + edi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
mov dword [ebx], esi
call fcn.00465f40
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4
push dword [edi + esi*4 + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x477e44
push 5
push dword [edi + esi*4 + 4]
call ebx
xor eax, eax
test esi, esi
push 0
sete al
lea eax, [eax*4 + 4]
push dword [eax + edi]
call ebx
cmp dword [edi + 0x28], esi
je 0x477e61
mov dword [edi + 0x28], esi
lea ebx, [edi + 0x50]
mov ecx, edi
mov dword [ebx], esi
call fcn.00465f40
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x477fa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x35c
pop ebp
jmp fcn.00465400

Function at 0x478c70
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push esi
push esi
push esi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478ce6
push edi
push dword [ebp - 4]
call fcn.004c8c9a
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x478cdc
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push eax
push eax
push edi
call ebx
mov dword [ebp - 4], eax
test eax, eax
je 0x478cdc
add eax, eax
push eax
call fcn.004c8c9a
add esp, 4
mov esi, eax
push dword [ebp - 4]
push esi
push edi
call ebx
push edi
call fcn.004c8c7f
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4799e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x479a09
push ebx
push 0x104
push dword [ebp + 0x14]
call fcn.004c905a
add esp, 0xc
mov al, 1
pop ebx
pop ebp
ret
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479a10
mov ebx, dword [ebp + 0x10]
sub ecx, edx
sar ecx, 1
add ebx, 2
add ebx, ecx
push esi
push edi
lea eax, [ebx + ebx]
push eax
call fcn.004c8c9a
mov edi, dword [ebp + 0xc]
add esp, 4
mov esi, eax
test edi, edi
je 0x479a9d
nop
cmp word [edi], 0
je 0x479a9d
push edi
push ebx
push esi
call fcn.004c905a
push 0x3b
push esi
call fcn.004c55d8
add esp, 0x14
test eax, eax
je 0x479a62
xor ecx, ecx
mov word [eax], cx
push 0x4fbdfc
push ebx
push esi
call fcn.004d6277
push dword [ebp + 8]
push ebx
push esi
call fcn.004d6277
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x479ab1
push 0x3b
push edi
call fcn.004c55d8
mov edi, eax
add esp, 8
test edi, edi
je 0x479a9d
add edi, 2
jne 0x479a40
push 2
push esi
xor bl, bl
call fcn.004c3279
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
push 0x104
push dword [ebp + 0x14]
call fcn.004c905a
add esp, 0xc
mov bl, 1
push 2
push esi
call fcn.004c3279
add esp, 8
mov al, bl
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x479ae0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004c38f0
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x479bd1
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetParent]
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x1004], eax
jne 0x479ba7
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479b45
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x479ba7
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x479b6f
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0xfdc]
sub eax, dword [ebp - 0xfe4]
cmp eax, 1
jle 0x479ba7
push 0x7e8
lea eax, [ebp - 0xfd4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x479ba7
push esi
mov edi, esi
call ebx
test eax, eax
je 0x479bbe
push esi
call ebx
push eax
call ebx
test eax, eax
jne 0x479ba7
push esi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x479bbe
push 0
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x479b16
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x479d10
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x555a10]
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x479d47
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
nop word [eax + eax]
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x479de4
mov esi, dword [esi + 0x414]
test esi, esi
jne 0x479d30
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push edi
push 0x4fbd20
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x479e11
push 0x418
call fcn.004c8c9a
add esp, 4
mov ebx, eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetLengthSid]
call edi
push eax
call fcn.004c8c9a
add esp, 4
mov esi, eax
mov dword [ebx], esi
push dword [ebp + 8]
call edi
push dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CopySid]
push dword [ebp + 0xc]
lea eax, [ebx + 4]
push 0x104
push eax
call fcn.004c905a
push dword [ebp + 0x14]
lea eax, [ebx + 0x20c]
push 0x104
push eax
call fcn.004c905a
mov eax, dword [0x555a10]
add esp, 0x18
mov dword [ebx + 0x414], eax
mov al, 1
mov dword [0x555a10], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004c905a
add esi, 0x20c
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004c905a
add esp, 0x18
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47a490
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a4c0
sub ecx, edx
lea edx, [ebp - 0x20c]
sar ecx, 1
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x47a4e0
sub edx, esi
sar edx, 1
lea ebx, [edx + 0x13]
add ebx, ecx
lea eax, [ebx + ebx]
push eax
call fcn.004c8c9a
mov esi, eax
lea eax, [ebp - 0x206]
push 0x5c
push eax
call fcn.004c55d8
push 0xc
xor ecx, ecx
push 0x50f604
push edi
mov word [eax], cx
call fcn.004c94d0
add esp, 0x18
test eax, eax
jne 0x47a55b
lea eax, [edi + 2]
push 0x5c
push eax
call fcn.004c55d8
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x50f620
push ebx
push esi
call fcn.00415290
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push 4
push 0x4fc4f4
push edi
call fcn.004c928a
add esp, 0xc
test eax, eax
jne 0x47a590
lea eax, [edi + 8]
push eax
push ebx
push esi
call fcn.004c905a
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
cmp word [edi], 0x5c
push edi
jne 0x47a5a6
movzx eax, word [ebp - 0x20c]
push eax
push 0x50f62c
jmp 0x47a5b2
lea eax, [ebp - 0x20c]
push eax
push 0x50f638
push ebx
push esi
call fcn.00415290
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x47b6b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x418]
push eax
push 0x50f400
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x47b7f8
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0x5019a4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47b7ec
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004c9a09
add esp, 8
lea eax, [ebp - 0x20a]
push 0x102
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x22
push 0x502150
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004d6277
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c9a09
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.004c5688
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c5688
add esp, 0x24
test eax, eax
je 0x47b7ec
test esi, esi
je 0x47b7ec
nop dword [eax]
mov cx, word [esi]
cmp cx, word [eax]
jne 0x47b7c6
test cx, cx
je 0x47b7c2
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x47b7c6
add esi, 4
add eax, 4
test cx, cx
jne 0x47b7a0
xor eax, eax
jmp 0x47b7cb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47b7ec
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret

Function at 0x47b810
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [0x555f1d], 1
pop ebp
ret
Function at 0x47b940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x80c]
xor esi, esi
push eax
push 0x20019
push esi
push 0x50f528
push reloc.ACLUI.dll_CreateSecurityPage
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x47ba92
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x810]
push eax
push esi
lea eax, [ebp - 0x814]
mov dword [ebp - 0x808], 0x400
push eax
push esi
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
push dword [ebp - 0x80c]
call edi
test eax, eax
jne 0x47ba85
nop dword [eax + eax]
lea eax, [esi*8 + 0x10]
push eax
push dword [0x555a20]
call fcn.004c8ca5
mov dword [0x555a20], eax
lea eax, [ebp - 0x804]
push eax
call fcn.004c8c20
mov ecx, dword [0x555a20]
mov dword [ecx + esi*8], eax
push dword [ebp - 0x810]
call fcn.004c8c9a
mov ecx, dword [0x555a20]
add esp, 0x10
mov dword [ecx + esi*8 + 4], eax
lea eax, [ebp - 0x810]
add dword [ebp - 0x808], 2
push eax
mov eax, dword [0x555a20]
push dword [eax + esi*8 + 4]
lea eax, [ebp - 0x814]
push eax
push 0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
push dword [ebp - 0x80c]
call edi
mov eax, dword [0x555a20]
mov dword [eax + esi*8 + 8], 0
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x814]
mov dword [ebp - 0x808], 0x400
push eax
push 0
lea eax, [ebp - 0x808]
inc esi
push eax
lea eax, [ebp - 0x804]
push eax
push esi
push dword [ebp - 0x80c]
call edi
test eax, eax
je 0x47b9c0
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret
Function at 0x47bba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x418]
push eax
push 0x50f400
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x47bd4d
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x208
push eax
lea eax, [ebp - 0x414]
push eax
push 0
push 0
push 0x5019a4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47bd41
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004c9a09
add esp, 8
lea eax, [ebp - 0x20a]
push 0x102
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, 0x22
push 0x502150
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004d6277
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c9a09
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.004c5688
mov esi, eax
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c5688
add esp, 0x24
test eax, eax
je 0x47bd41
test esi, esi
je 0x47bd41
mov cx, word [esi]
cmp cx, word [eax]
jne 0x47bcba
test cx, cx
je 0x47bcb6
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x47bcba
add esi, 4
add eax, 4
test cx, cx
jne 0x47bc94
xor eax, eax
jmp 0x47bcbf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x47bd41
push dword [ebp - 0x418]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x41c]
push eax
push 0x50f400
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x47bd16
push 0x5019a4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call esi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x555ec8]
push 0x50f4ac
call fcn.004aad00
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004c3287
mov esp, ebp
pop ebp
ret