joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d8ab4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5d8b56
cmp dword [ebx + 0xac], 0
jne 0x5d8b50
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5d89f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5d8b50
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5d8b16
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5d8b50
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.004ac258
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5d8b25
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5d8d94
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x633728]
cmp dword [eax + 0x188], 0
je 0x5d8f0e
test bl, bl
jne 0x5d8e59
cmp dword [esi + 0xb4], 0
jne 0x5d8e4e
mov eax, esi
call fcn.005dbd58
push eax
push 0x5d8c88
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5d8e1f
mov eax, dword [0x633728]
cmp byte [eax + 0xeb], 0
je 0x5d8e1f
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5d8e00
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d8e1f
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d8e08
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d8e4e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004ac258
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d8e2e
inc dword [esi + 0xb4]
jmp 0x5d8f0e
cmp dword [esi + 0xb4], 0
jle 0x5d8f0e
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5d8f0e
cmp dword [esi + 0x58], 0
je 0x5d8ec3
mov eax, dword [0x633728]
cmp byte [eax + 0xeb], 0
je 0x5d8ec3
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5d8ea4
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d8ec3
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5d8eac
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d8ef2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.004ac258
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d8ed2
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5caa24]
call fcn.0040b49c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5d9b68
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5d9bc5
cmp byte [ebx + 0xeb], 0
jne 0x5d9bc5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004094ac
mov eax, dword [esi]
test eax, eax
je 0x5d9bb2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d9bd2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409704
jmp 0x5d9bd2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409704
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5db484
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5db4f5
mov eax, esi
call fcn.00530870
test al, al
je 0x5db4f5
mov eax, dword [ebx + 0x98]
call fcn.005304a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5db4f5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x5db4e6
push 0
mov eax, dword [ebx + 0x98]
call fcn.005304a0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.00527198
jmp 0x5db4f5
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005db2bc
pop esi
pop ebx
ret
Function at 0x5dfddc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5dfe56
mov eax, dword [ebx + 8]
call fcn.005304a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x53c734]
call fcn.0052a860
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00540ee8
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5df6d4
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005304a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.005304a0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5dfecc
mov eax, dword [ebx + 8]
call fcn.005304a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x53c734]
call fcn.0052a860
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00540ee8
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2b8], 0x5df720
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005304a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.005304a0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5dff38
mov eax, dword [ebx + 8]
call fcn.005304a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x53d1a8]
call fcn.0052a860
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x290], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.005304a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.005304a0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5e9dc4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x5e9e15
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x5e9dfc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x5e9dec
jmp 0x5e9e15
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x5e9dfd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5fea2c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5fea5a
mov eax, ebx
call fcn.005ff4e8
cmp dword [ebx + 0x40], 0
je 0x5fea53
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5feacb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5feabd
cmp dword [ebx + 8], 0
je 0x5fea7c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5fea8e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5feabd
cmp dword [ebx + 8], 0
je 0x5fea6f
cmp eax, 3
je 0x5feaa1
dec eax
jne 0x5fea6f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5fea6f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5fea6f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5feae9
cmp dword [ebx + 0x14], 0xcc
je 0x5feae9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005feaf4
pop ebx
ret

Function at 0x6130b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x633b70], 0
jne 0x6130cb
call fcn.00613070
mov eax, edi
dec eax
test eax, eax
jl 0x6130f3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x633770]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6130d5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x615de8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x615e82.0
jmp dword [ecx*4 + 0x615e1b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x615e4d
sub dl, 8
je 0x615e5c
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615ab4
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615b08
jmp case.0x615e82.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x615e82.0
movzx ecx, byte [ecx + 0x615e89]
jmp dword [ecx*4 + 0x615e9a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615ba8
jmp case.0x615e82.0
cmp dl, 3
jne 0x615ec7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615c00
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615bbc
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615c44
jmp case.0x615e82.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x615ef2
sub dl, 8
je 0x615efe
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615c70
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615cd4
jmp case.0x615e82.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x615f1d
sub dl, 8
je 0x615f29
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615d84
jmp case.0x615e82.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x615dac
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x615fcb
inc esi
Function at 0x615fd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x616005
dec al
je 0x616040
dec al
je 0x61607d
dec al
je 0x6160e6
jmp 0x616170
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x616170
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x616015
jmp 0x616170
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x616170
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x616050
jmp 0x616170
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x616170
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x6160ac
xor ebp, ebp
jmp 0x6160bc
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x6160c5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x61608d
jmp 0x616170
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x616170
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x61613f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.006130fc
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6160fa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x61ab40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409408
xor eax, eax
push ebp
push 0x61acc1
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.0061a8c4
mov esi, eax
mov dword [ebp - 0x230], 0x22c
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0061a8e4
mov ebx, eax
jmp 0x61ac8d
lea eax, [ebp - 0x23c]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00409fa0
mov eax, dword [ebp - 0x23c]
lea edx, [ebp - 0x238]
call fcn.004223d0
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00420e9c
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 4]
call fcn.00420e9c
mov edx, dword [ebp - 0x240]
pop eax
call fcn.0040a288
je 0x61ac64
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.00409fa0
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00420e9c
mov eax, dword [ebp - 0x244]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00420e9c
mov edx, dword [ebp - 0x24c]
pop eax
call fcn.0040a288
jne 0x61ac7e
push 0
mov eax, dword [ebp - 0x228]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x230]
mov eax, esi
call fcn.0061a904
mov ebx, eax
test ebx, ebx
jne 0x61abbf
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61acc8
lea eax, [ebp - 0x24c]
mov edx, 7
call fcn.00409384
lea eax, [ebp - 4]
call fcn.00409324
ret
Function at 0x405e60
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.Shutting_down..._n
call fcn.00454df0
push str.Initializing_system_shutdown
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], str.OnFinishOperation
mov dword [ebp - 8], 0x327
mov dword [ebp - 4], 1
call fcn.00409be0
add esp, 8
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test eax, eax
jne 0x405ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InitiateSystemShutdown_failed_with_error:_0x_08x
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], str.OnFinishOperation
mov dword [ebp - 8], 0x32e
mov dword [ebp - 4], 1
call fcn.00409be0
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x410f60
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3340
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
sub esp, 0x18
mov dword [ebp - 4], 0
mov esi, esp
lea edi, [ebp + 0x10]
mov dword [ebp - 0x10], esp
call fcn.0040e990
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x14], eax
call fcn.004129e0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], ecx
mov byte [ebx + 0x30], 0
cmp eax, ecx
je 0x411008
cmp dword [ebx], 0
je 0x410fe6
push ecx
push eax
lea esi, [ebp - 0x14]
mov ecx, ebx
call fcn.00412830
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x410fe8
mov edx, ecx
mov eax, dword [ebx + 0x2c]
cmp edx, eax
jne 0x410ffc
cmp ecx, eax
jne 0x410ffc
cmp dword [ebx + 0x24], eax
jne 0x410ffc
mov byte [ebx + 0x30], 1
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], ecx
cmp dword [ebp + 0x20], 8
jbe 0x41101e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41101e
push eax
call fcn.00454014
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x414f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414fde
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x414fad
cmp eax, 2
jne 0x414fc8
mov eax, dword [ebp - 4]
test esi, esi
je 0x414fd8
test eax, eax
je 0x414fd3
test al, 1
jne 0x414fc8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x414fd8
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x417be0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x50f880]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi]
xor esi, esi
lea ebx, [ebp - 0x210]
push ebx
or eax, 0x2001f
push eax
push esi
push edx
push ecx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
cmp ebx, esi
jne 0x417c67
xor eax, eax
cmp ecx, esi
je 0x417c4f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x218], esi
mov ebx, eax
mov dword [ebp - 0x21c], ecx
cmp eax, esi
je 0x417c87
cmp ecx, esi
je 0x417c72
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00453be1
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x22c]
push eax
push esi
push esi
push esi
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
push ecx
mov dword [ebp - 0x220], 0x100
call ebx
test eax, eax
jne 0x417d10
jmp 0x417cc0
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00417be0
mov dword [ebp - 0x210], eax
cmp eax, esi
jne 0x417d62
lea edx, [ebp - 0x22c]
push edx
mov edx, dword [ebp - 0x21c]
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x220], 0x100
call ebx
test eax, eax
je 0x417cc0
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x417d27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
mov ebx, dword [ebp - 0x224]
mov eax, edi
mov dword [ebp - 0x218], esi
call fcn.00417b70
mov edi, eax
mov eax, dword [ebp - 0x21c]
cmp eax, esi
je 0x417d4d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00453be1
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x21c]
cmp ecx, esi
je 0x417d4f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453be1
mov esp, ebp
pop ebp
ret 4
Function at 0x418980
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d54d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x50f880]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor edi, edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00418870
add esp, 4
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
jg 0x418a0c
mov esi, dword [ebp + 8]
push esi
mov ecx, str.Unknown_version
call fcn.0041b050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
jg 0x418a47
mov esi, dword [ebp + 8]
push esi
mov ecx, str.Unknown_version
call fcn.0041b050
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4189ec
mov dword [ebp - 0x14], edi
push esi
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 1
call fcn.0041b190
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push ebx
push esi
push edi
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x4f3ed4
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov edx, dword [0x50f008]
mov eax, dword [edx + 0xc]
mov ecx, 0x50f008
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d__d__d
lea edi, [ebp - 0x18]
call fcn.0041b170
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
add esp, 0x10
mov eax, esi
call fcn.0041b370
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418aea
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push ebx
call fcn.00454014
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret