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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6678
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x42f7eb
call fcn.0059471a
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x24], eax
cmp esi, dword [edi + 0x10]
jbe 0x42f7fe
call fcn.0059471a
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
push ebx
push ecx
push esi
push eax
push edi
lea ebx, [esp + 0x38]
call fcn.0043a150
mov ebx, dword [ebp + 8]
movzx eax, word [ebx]
xor esi, esi
mov edx, 0x2008
mov dword [esp + 0x10], esi
cmp ax, dx
je 0x42f836
mov ecx, 0x200c
cmp ax, cx
jne 0x42f8e6
mov eax, dword [ebx + 8]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], esi
mov ecx, dword [ebx + 8]
cmp dword [ecx + 0x10], esi
jbe 0x42f8d7
mov dword [esp + 0x14], esi
jmp 0x42f864
mov ebx, edx
mov ecx, dword [esp + 0x10]
mov edx, 0x200c
cmp word [ebx], dx
jne 0x42f89b
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + ecx + 8]
lea eax, [esp + 0x18]
push eax
call fcn.0040b8a0
mov byte [esp + 0x38], 1
mov ebx, eax
call fcn.0041ce00
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x18]
jmp 0x42f8bd
mov ecx, dword [ecx + esi*4]
lea eax, [esp + 0x1c]
push eax
call fcn.0040b8a0
mov byte [esp + 0x38], 2
mov ebx, eax
call fcn.0041ce00
mov byte [esp + 0x38], 0
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add dword [esp + 0x14], 0x10
inc esi
cmp esi, dword [eax + 0x10]
jb 0x42f862
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fc60
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x5d3231
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, 0x101
xor ecx, ecx
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], cx
call fcn.00439bb0
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x20]
mov ebp, 8
cmp dword [esp + 0x34], ebp
jae 0x42fcdc
lea eax, [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x42fd38
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x42fcfa
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fd00
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x42fd27
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3a0
jmp 0x42fd41
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.00439b50
jmp 0x42fd41
lea eax, [esp + 0x1c]
call fcn.0040b510
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x42fd4f
lea ecx, [esp + 0x20]
push edi
call fcn.0040b8a0
xor ebx, ebx
mov dword [esp + 0x10], 1
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], ebp
jb 0x42fd76
mov eax, dword [esp + 0x20]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0059393a
add esp, 0x38
ret
Function at 0x42fdb0
Capabilities:
Get hostname

Disassembly:
push 0xffffffffffffffff
push 0x5d3231
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov ebx, 0x10
xor ecx, ecx
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], cx
call fcn.00439bb0
mov dword [esp + 0x44], 1
mov eax, dword [esp + 0x20]
mov ebp, 8
cmp dword [esp + 0x34], ebp
jae 0x42fe2c
lea eax, [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x42fe88
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x42fe4a
lea eax, [esp + 0x20]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42fe50
mov ecx, dword [esp + 0x30]
sub eax, edx
sar eax, 1
mov ebx, eax
cmp ebx, ecx
ja 0x42fe77
or eax, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.0040b3a0
jmp 0x42fe91
mov eax, ebx
push 0
sub eax, ecx
lea ebx, [esp + 0x20]
call fcn.00439b50
jmp 0x42fe91
lea eax, [esp + 0x1c]
call fcn.0040b510
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x42fe9f
lea ecx, [esp + 0x20]
push edi
call fcn.0040b8a0
xor ebx, ebx
mov dword [esp + 0x10], 1
mov byte [esp + 0x44], bl
cmp dword [esp + 0x34], ebp
jb 0x42fec6
mov eax, dword [esp + 0x20]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0059393a
add esp, 0x38
ret
Function at 0x4300b0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5c8ae8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov al, byte [esp + 0x38]
mov dword [esp + 0x20], 1
xor ebx, ebx
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov byte [esp + 0x20], 2
cmp byte [esp + 0x34], bl
je 0x430111
cmp byte [0x6eaed0], bl
je 0x43010a
cmp al, bl
je 0x43010a
mov esi, 0x20119
jmp 0x430127
mov esi, 0x20019
jmp 0x430127
cmp byte [0x6eaed0], bl
je 0x430122
mov esi, 0x20106
cmp al, bl
jne 0x430127
mov esi, 0x20006
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x43013c
push eax
call edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x430171
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push eax
push ebx
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp eax, ebx
jne 0x430171
mov byte [esp + 0x13], 1
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x430181
push eax
call edi
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x2c]
call fcn.0040b950
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0040b950
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x4301c0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5cfac8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov al, byte [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x28], esi
cmp byte [esp + 0x38], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], esi
je 0x43021b
cmp byte [0x6eaed0], 0
je 0x430214
test al, al
je 0x430214
mov ebp, 0x20119
jmp 0x430232
mov ebp, 0x20019
jmp 0x430232
cmp byte [0x6eaed0], 0
je 0x43022d
mov ebp, 0x20106
test al, al
jne 0x430232
mov ebp, 0x20006
lea eax, [esp + 0x18]
push eax
call fcn.0040b7e0
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x38]
push ecx
call fcn.0040b7e0
mov byte [esp + 0x28], 2
mov edx, dword [esp + 0x34]
push 0x5c
push edx
call fcn.005963a5
add esp, 8
cmp eax, esi
je 0x430270
sub eax, dword [esp + 0x34]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x43027f
lea eax, [esp + 0x34]
lea edi, [esp + 0x38]
call fcn.0040daa0
jmp 0x4302e0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
lea edx, [esp + 0x38]
call fcn.00437e90
mov byte [esp + 0x28], 3
lea edi, [esp + 0x18]
call fcn.0040daa0
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx - 0xc]
lea edx, [esp + 0x1c]
sub ecx, esi
push edx
lea eax, [esp + 0x38]
dec ecx
push eax
call fcn.00437de0
mov byte [esp + 0x28], 4
lea edi, [esp + 0x38]
call fcn.0040daa0
mov byte [esp + 0x28], 2
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push ebp
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43033b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
je 0x43032b
cmp eax, 2
jne 0x430330
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push eax
push 0
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x430330
mov byte [esp + 0x13], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x38]
call fcn.0040b950
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x18]
call fcn.0040b950
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0040b950
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x4306b0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x5d662d
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8a4]
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x491]
push ebx
mov dword [esp + 0x24], ebx
push eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x498], bl
call fcn.005985f0
add esp, 0xc
push 0x3ff
lea ecx, [esp + 0x91]
push ebx
push ecx
mov byte [esp + 0x98], bl
call fcn.005985f0
add esp, 0xc
lea ecx, [esp + 0x8c]
call fcn.0042dd70
xor eax, eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push edx
mov eax, 0x400
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00441e90
add esp, 4
lea esi, [esp + 0x24]
lea edi, [esp + 0x7c]
call fcn.00441f30
movzx eax, byte [esp + 0x8b]
movzx ecx, byte [esp + 0x8a]
movzx edx, byte [esp + 0x89]
push eax
movzx eax, byte [esp + 0x8c]
push ecx
movzx ecx, byte [esp + 0x8f]
push edx
movzx edx, byte [esp + 0x92]
push eax
movzx eax, byte [esp + 0x95]
push ecx
movzx ecx, byte [esp + 0x98]
push edx
movzx edx, byte [esp + 0x9b]
push eax
movzx eax, byte [esp + 0x9e]
push ecx
movzx ecx, byte [esp + 0xa1]
push edx
movzx edx, byte [esp + 0xa4]
push eax
movzx eax, byte [esp + 0xa7]
push ecx
movzx ecx, byte [esp + 0xaa]
push edx
movzx edx, byte [esp + 0xad]
push eax
movzx eax, byte [esp + 0xb0]
push ecx
push edx
push eax
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
lea ecx, [esp + 0x4d0]
push 0x400
push ecx
call fcn.00593f81
add esp, 0x4c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x490]
call fcn.0040b670
mov esi, 1
mov dword [esp + 0x89c], esi
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.00429380
add esp, 8
mov dword [esp + 0x1c], esi
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x18]
call fcn.0040b720
mov eax, ebp
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.0059393a
add esp, 0x88c
ret
Function at 0x430b00
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5d31db
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x820]
mov dword fs:[0], eax
mov esi, dword [esp + 0x830]
xor ebx, ebx
mov dword [esp + 0x828], ebx
mov edx, dword [esp + 0x834]
mov ecx, esi
mov dword [esp + 0x10], ebx
call fcn.00430940
mov eax, dword [esp + 0x834]
cmp dword [eax - 4], 1
jle 0x430b81
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x838]
push ecx
call fcn.0040db00
mov eax, dword [esp + 0x834]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430c25
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ecx
mov dword [esp + 0x44], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor esi, esi
cmp dword [esp + 0x14], ebx
jbe 0x430c1a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x430bd0
mov eax, dword [esp + 0x10]
push 0x400
lea edx, [esp + 0x20]
push edx
push esi
push eax
call edi
test eax, eax
jne 0x430c13
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
lea ecx, [esp + 0x24]
call fcn.0040b8a0
mov byte [esp + 0x82c], 1
mov edx, dword [esp + 0x14]
push edx
mov byte [esp + 0x830], bl
call fcn.00430b00
add esp, 8
inc esi
cmp esi, dword [esp + 0x14]
jb 0x430bd0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x828], 0xffffffff
mov eax, dword [esp + 0x834]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430c53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x820]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0059393a
add esp, 0x81c
ret
Function at 0x430c80
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5d65d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov al, byte [esp + 0x40]
mov dword [esp + 0x2c], 0
cmp byte [esp + 0x3c], 0
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0
je 0x430ce1
cmp byte [0x6eaed0], 0
je 0x430cda
test al, al
je 0x430cda
mov ebx, 0x20119
jmp 0x430cf8
mov ebx, 0x20019
jmp 0x430cf8
cmp byte [0x6eaed0], 0
je 0x430cf3
mov ebx, 0x20106
test al, al
jne 0x430cf8
mov ebx, 0x20006
lea eax, [esp + 0x18]
push eax
call fcn.0040b7e0
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040b7e0
mov byte [esp + 0x2c], 2
mov edx, dword [esp + 0x38]
push 0x5c
push edx
call fcn.005963a5
add esp, 8
test eax, eax
je 0x430d36
sub eax, dword [esp + 0x38]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x430d45
lea eax, [esp + 0x38]
lea edi, [esp + 0x3c]
call fcn.0040daa0
jmp 0x430da6
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
lea edx, [esp + 0x3c]
call fcn.00437e90
mov byte [esp + 0x2c], 3
lea edi, [esp + 0x18]
call fcn.0040daa0
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx - 0xc]
lea edx, [esp + 0x1c]
sub ecx, esi
push edx
lea eax, [esp + 0x3c]
dec ecx
push eax
call fcn.00437de0
mov byte [esp + 0x2c], 4
lea edi, [esp + 0x3c]
call fcn.0040daa0
mov byte [esp + 0x2c], 2
lea ecx, [esp + 0x1c]
call fcn.0040b950
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x430e3e
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push ecx
push edx
xor bl, bl
call edi
test eax, eax
je 0x430e2e
lea ebx, [ebx]
cmp eax, 5
jne 0x430e33
test bl, bl
jne 0x430e33
mov eax, dword [esp + 0x3c]
push ecx
mov esi, esp
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov dword [esp + 0x24], esi
call fcn.0040f770
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 6
mov eax, dword [esp + 0x18]
push eax
mov byte [esp + 0x34], 2
call fcn.00430b00
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
add esp, 8
push ecx
push edx
mov bl, 1
call edi
test eax, eax
jne 0x430de0
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x2c], 1
lea ecx, [esp + 0x3c]
call fcn.0040b950
mov byte [esp + 0x2c], 0
lea ecx, [esp + 0x18]
call fcn.0040b950
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.0040b950
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x432050
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x5cfa83
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.0040b7e0
mov dword [esp + 0x54], ebx
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x43222d
lea ebx, [esp + 0x24]
call fcn.00438410
mov dword [esp + 0x54], 1
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp]
push eax
push edi
xor ebx, ebx
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4321f5
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004322b0
add esp, 8
mov byte [esp + 0x54], 2
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
xor esi, esi
sar edx, 2
test edx, edx
jbe 0x4321e6
jmp 0x432110
lea eax, [esp + 0x18]
push eax
call fcn.0040b7e0
mov byte [esp + 0x54], 3
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sar edx, 2
cmp esi, edx
jb 0x43213f
call fcn.0059471a
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub ecx, eax
sar ecx, 2
lea edi, [eax + esi*4]
cmp esi, ecx
jb 0x432154
call fcn.0059471a
mov eax, dword [esp + 0x3c]
movzx ecx, word [edi + 2]
movzx edx, word [eax + esi*4]
push 0x699f6c
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea edi, [esp + 0x28]
call fcn.00421d60
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp]
push ecx
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4321a8
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x4321a8
mov eax, dword [esp + 0x20]
cmp eax, ebx
ja 0x4321cc
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x18]
call fcn.0040b950
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x3c]
inc esi
sar edx, 2
cmp esi, edx
jb 0x432110
jmp 0x4321e6
push eax
mov eax, dword [esp + 0x60]
push ecx
push eax
call fcn.00412100
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x18]
call fcn.0040b950
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x30]
push ecx
call fcn.00438b40
mov byte [esp + 0x54], bl
add dword [ebp + 8], 0xffffffff
jne 0x432215
xor edi, edi
mov esi, ebp
call fcn.0043b870
push ebp
call fcn.0059392f
add esp, 4
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, ebp
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
Function at 0x432d20
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6430
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
lea edx, [esp + 0x18]
push edx
push 9
xor esi, esi
push esi
push ecx
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x432e74
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
push esi
push esi
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x432e69
cmp dword [esp + 0x14], esi
je 0x432e69
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x432e69
lea ebx, [eax + 1]
lea eax, [esp + 0x24]
call fcn.00437740
mov dword [esp + 0x50], esi
cmp dword [esp + 0x14], esi
jbe 0x432e36
mov eax, dword [esp + 0x28]
mov ebx, 8
cmp dword [esp + 0x3c], ebx
jae 0x432de7
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
push ecx
push eax
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x432e2f
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x432e0b
lea ecx, [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call fcn.0040b8a0
mov byte [esp + 0x50], 1
lea ebx, [esp + 0x20]
call fcn.0041ce00
mov byte [esp + 0x50], 0
mov ecx, ebx
call fcn.0040b950
inc esi
cmp esi, dword [esp + 0x14]
jb 0x432dd4
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x432e52
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0059392f
add esp, 4
xor edx, edx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], dx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0059393a
mov esp, ebp
pop ebp
ret
Function at 0x432ea0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x5d2f59
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6d26f8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x68]
mov edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov eax, edi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x432f00
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x3c]
call fcn.0040d4e0
mov esi, 1
mov dword [esp + 0x60], esi
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
push ebx
push edi
call ebp
mov edx, dword [esp + 0x14]
mov ebx, eax
push edx
add ebx, 2
call fcn.0040b7e0
xor eax, eax
mov dword [esp + 0x18], esi
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
call fcn.00439bb0
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x20]
mov esi, 8
cmp dword [esp + 0x34], esi
jae 0x432f7b
lea eax, [esp + 0x20]
push ebx
push eax
push edi
call ebp
test eax, eax
je 0x432fbb
cmp dword [esp + 0x34], esi
jb 0x432f96
mov eax, dword [esp + 0x20]
mov edi, eax
test eax, eax
jne 0x432f9a
jmp 0x432faf
lea edi, [esp + 0x20]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x432fa0
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x14]
push edi
call fcn.0040f6d0
mov byte [esp + 0x60], 1
cmp dword [esp + 0x34], esi
jb 0x432fd3
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0059392f
add esp, 4
xor ebx, ebx
mov edi, 7
xor edx, edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
mov byte [esp + 0x60], bl
cmp dword [esp + 0x50], esi
jb 0x433000
mov eax, dword [esp + 0x3c]
push eax
call fcn.0059392f
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0059393a
add esp, 0x50
ret