joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427740
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x4f002c]
xor eax, ebp
mov dword [esp + 0x158], eax
mov eax, dword [0x4f2f70]
mov ecx, dword [0x4f2d24]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x427795
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.0048bd44
mov eax, 0x4f2f6c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4f2f70
call fcn.0048bd87
add esp, 4
mov eax, dword [0x4f2f70]
cmp eax, 0xffffffff
jne 0x42777a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.004a9490
add esp, 0xc
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xorps xmm0, xmm0
lea ebx, [esp + 0x10]
mov dword [esp + 0x30], 0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], 0
cmp eax, 0xa
je 0x42780b
xor edi, edi
cmp eax, 6
jne 0x427839
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.GetProductInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call eax
mov edi, dword [esp + 0xc]
push 0x60
call fcn.0048bcac
add esp, 4
mov esi, eax
mov ecx, eax
push edi
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.00427880
mov dword [0x4f2f6c], esi
push 0x4f2f70
call fcn.0048bdd9
add esp, 4
jmp 0x42777a
Function at 0x42c420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.0048d2f0
mov eax, dword [0x4f002c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4f00e8]
cmp eax, 0xffffffff
je 0x42c580
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42c580
mov esi, eax
cmp eax, 1
jne 0x42c46b
push 0
push dword [0x4f00e8]
jmp 0x42c578
lea edi, [ebp - 0x810]
push 0x800
push esi
push edi
call fcn.004a8990
add esp, 0xc
mov eax, dword [0x4f00e8]
push edi
mov dword [ebp - 0x1414], eax
push eax
call fcn.00459b30
add esp, 8
push esi
call fcn.0048bd3f
add esp, 4
mov eax, dword [0x4f402c]
mov ecx, dword [0x4f2d24]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c595
mov esi, dword [0x4f4028]
mov ecx, esi
call fcn.0041d440
lea eax, [ebp - 0x1410]
push 0xc00
push 0x4f3428
push eax
call fcn.004a8990
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
nop word cs:[eax + eax]
nop dword [eax]
test al, 1
je 0x42c570
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x42c560
cmp dword [ebp + ebx - 0x810], 0
je 0x42c560
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x42c560
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x42c560
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
nop word cs:[eax + eax]
nop
add edi, 8
add ebx, 0xc
jne 0x42c520
cmp esi, 2
lea esi, [esi - 1]
jae 0x42c500
push 1
push dword [ebp - 0x1414]
call fcn.00459b30
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bd44
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4f402c
call fcn.0048bd87
add esp, 4
mov eax, dword [0x4f402c]
cmp eax, 0xffffffff
jne 0x42c4bf
push 4
call fcn.0048bcac
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.0041d430
mov dword [0x4f4028], esi
push 0x4f402c
call fcn.0048bdd9
add esp, 4
jmp 0x42c4bf
Function at 0x42c600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x4f00e8]
mov esi, ecx
cmp eax, 0xffffffff
je 0x42c61d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42c622
call fcn.0042c720
mov eax, dword [0x4f402c]
mov ecx, dword [0x4f2d24]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42c6ca
mov edi, dword [0x4f4028]
mov ecx, edi
call fcn.0041d440
mov eax, dword [0x4f3424]
xor ecx, ecx
inc eax
nop dword [eax + eax]
lea edx, [eax + ecx]
movzx edx, dl
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x4f3428], 0
je 0x42c67e
inc ecx
cmp ecx, 0xff
jbe 0x42c660
jmp 0x42c6ae
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x4f3428]
mov dword [0x4f3424], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x4f342c], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x4f3430]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x42c710
cmp eax, 0x100
jge 0x42c715
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x4f402c
call fcn.0048bd87
add esp, 4
mov eax, dword [0x4f402c]
cmp eax, 0xffffffff
jne 0x42c643
push 4
call fcn.0048bcac
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.0041d430
mov dword [0x4f4028], edi
push 0x4f402c
call fcn.0048bdd9
add esp, 4
jmp 0x42c643
int3
int3

Function at 0x42c720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x4f002c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x4f00e8]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x42c7be
lea esi, [ebp - 0x810]
push esi
call fcn.00459b00
add esp, 4
test al, al
je 0x42c836
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x42c795
push esi
call fcn.00459b00
add esp, 4
test al, al
je 0x42c83b
cmp dword [ebp - 0x810], 0xffffffff
je 0x42c83b
push 0xffffffffffffffff
call fcn.00459b20
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x4f00e8], ecx
mov eax, dword [ebp - 0x810]
je 0x42c7be
push eax
call fcn.00459b20
add esp, 4
mov eax, dword [0x4f00e8]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42c831
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.004a9490
add esp, 0xc
push edi
push dword [ebp - 0x810]
call fcn.00459b30
add esp, 8
push 0x800
call fcn.0048d31d
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004a8990
add esp, 0xc
push esi
push dword [ebp - 0x810]
call fcn.00459b30
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048bd44
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3
Function at 0x42cc00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x4f002c]
mov esi, dword [ebp + 8]
mov edi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
xor edx, eax
mov eax, dword [ecx + 0xc]
imul edx, edx, 0x1000193
and edx, dword [ecx + 0x18]
mov dword [ebp - 0x24], eax
mov ecx, dword [eax + edx*8]
lea ebx, [edx + edx + 1]
mov edx, dword [esi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x20], ebx
mov ebx, ecx
mov dword [ebp - 0x28], edx
jmp 0x42cc72
mov ebx, dword [ebx]
mov eax, esi
cmp ecx, esi
mov esi, ecx
je 0x42cc85
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov edx, dword [edx + esi*4]
mov esi, dword [edx]
xor edi, edi
cmp esi, ebx
je 0x42cceb
mov edx, dword [ebp - 0x28]
mov esi, eax
cmp dword [ebx + 8], edx
jne 0x42cc70
mov eax, ebx
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x2c], ecx
jmp 0x42cca4
mov edx, dword [edx]
mov eax, edx
cmp ecx, esi
mov edx, ecx
je 0x42ccb8
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [edx]
cmp edx, eax
mov edx, eax
je 0x42ccc6
mov eax, dword [ebp - 0x28]
cmp eax, dword [edx + 8]
je 0x42cca0
cmp ebx, edx
je 0x42ccf7
sete byte [ebp - 0x15]
xor edi, edi
mov eax, ebx
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [eax]
inc edi
cmp edx, eax
jne 0x42cce0
mov eax, ebx
jmp 0x42ccfd
mov byte [ebp - 0x15], 1
mov esi, eax
mov ebx, eax
mov edx, eax
jmp 0x42ccfd
mov ebx, esi
mov edx, esi
mov eax, esi
mov ecx, dword [ebp - 0x1c]
cmp dword [esi], eax
jne 0x42cd0f
cmp edx, esi
jne 0x42cd0f
call fcn.0042eae0
jmp 0x42cd39
cmp byte [ebp - 0x15], 0
jne 0x42cd39
nop word cs:[eax + eax]
nop
mov ebx, dword [ebx]
push eax
lea eax, [ebp - 0x14]
push eax
mov esi, edx
call fcn.004308b0
mov ecx, dword [ebp - 0x1c]
mov edx, esi
cmp esi, ebx
mov eax, ebx
jne 0x42cd20
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bd44
mov eax, edi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x430550
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x4305b2
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x4305c0
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x4305d8
cmp dword [ecx + 8], esi
jne 0x4305b0
cmp ecx, eax
je 0x4305d8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x430633
mov edi, dword [eax]
mov ebx, dword [edi + 4]
push 0x10
call fcn.0048bcac
add esp, 4
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov ecx, ebx
cmove ecx, eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov edx, dword [ecx + 8]
cmp edx, 0xffffffe
je 0x43063d
inc edx
mov dword [ecx + 8], edx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.00430650
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x4cd4d0
call fcn.0048cd08
int3
Function at 0x4308b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ecx + 0xc]
movzx eax, byte [edi + 8]
movzx edx, byte [edi + 9]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 0xa]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [edi + 0xb]
xor edx, eax
imul edx, edx, 0x1000193
and edx, dword [ecx + 0x18]
lea ebx, [edx + edx]
lea eax, [esi + edx*8]
mov dword [ebp - 0x10], eax
cmp dword [esi + ebx*4 + 4], edi
mov eax, dword [esi + edx*8]
je 0x430910
cmp eax, edi
jne 0x430938
mov esi, dword [ebp - 0x10]
mov edx, edi
jmp 0x430934
cmp eax, edi
je 0x43091d
lea esi, [esi + ebx*4 + 4]
lea edx, [edi + 4]
jmp 0x430934
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x10]
mov dword [esi], eax
lea esi, [edx + edx + 1]
lea edx, [ecx + 4]
shl esi, 2
add esi, dword [ecx + 0xc]
mov esi, esi
mov eax, dword [edx]
mov dword [esi], eax
mov ebx, dword [edi]
mov eax, dword [edi + 4]
mov dword [eax], ebx
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
dec dword [ecx + 8]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x430966
lock dec dword [eax + 4]
jne 0x430966
add eax, 4
add eax, 0xfffffffc
push eax
call fcn.0043ccc0
add esp, 4
push 0x10
push edi
call fcn.0048bd31
add esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x430d10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x430d72
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x430d80
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x430d98
cmp dword [ecx + 8], esi
jne 0x430d70
cmp ecx, eax
je 0x430d98
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x430dfe
mov edi, dword [eax]
mov ebx, dword [edi + 4]
push 0x24
call fcn.0048bcac
add esp, 4
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov ecx, ebx
cmove ecx, eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x20], 0xf
mov dword [eax + 0x1c], 0
mov byte [eax + 0xc], 0
mov edx, dword [ecx + 8]
cmp edx, 0x71c71c6
je 0x430e08
inc edx
mov dword [ecx + 8], edx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.00430e20
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x4cd4d0
call fcn.0048cd08
int3
Function at 0x431090
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x4310f2
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x431100
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x431118
cmp dword [ecx + 8], esi
jne 0x4310f0
cmp ecx, eax
je 0x431118
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x431188
mov edi, dword [eax]
mov ebx, dword [edi + 4]
push 0x1c
call fcn.0048bcac
add esp, 4
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov ecx, ebx
cmove ecx, eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov edx, dword [ecx + 8]
cmp edx, 0x9249248
je 0x431192
inc edx
mov dword [ecx + 8], edx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.004311a0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push 0x4cd4d0
call fcn.0048cd08
int3
Function at 0x431690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x10], eax
jbe 0x4316aa
mov edx, dword [edx]
cmp dword [ebp - 0x10], 0
mov eax, 0x811c9dc5
mov dword [ebp - 0x14], edx
je 0x4316cf
mov esi, dword [ebp - 0x10]
nop dword [eax + eax]
movzx edi, byte [edx]
inc edx
xor edi, eax
imul eax, edi, 0x1000193
dec esi
jne 0x4316c0
and eax, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jne 0x4316f6
jmp 0x431710
mov edi, dword [edi]
cmp ecx, esi
je 0x431710
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, edi
jne 0x431716
jmp 0x43175d
mov eax, esi
cmp eax, edi
je 0x43175d
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x18], eax
jne 0x4316f0
cmp dword [edi + 0x1c], 0xf
jbe 0x431730
mov ebx, dword [edi + 8]
jmp 0x431733
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x10]
push eax
push ebx
call fcn.004a79dd
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x4316f0
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call fcn.004a79dd
add esp, 0xc
test eax, eax
je 0x43176c
mov eax, dword [ebp + 8]
mov dword [eax], esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x431762
Function at 0x43cff0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [0x4f002c]
mov ebx, ecx
lea esi, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x30], edx
push edx
push ecx
push esi
call fcn.00417bb0
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x43d01f
mov esi, dword [ebp - 0x28]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 8
jb 0x43d067
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d05d
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d1eb
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0048bd31
add esp, 8
test edi, edi
je 0x43d10d
cmp dword [ebp + 8], 0
mov dword [ebp - 0x2c], ebx
mov bl, 1
je 0x43d1d7
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.0048d31d
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x28]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push ebx
call fcn.00417bb0
add esp, 0xc
cmp dword [ebp - 0x14], 7
jbe 0x43d0b0
mov ebx, dword [ebp - 0x28]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0x14]
mov bl, 1
cmp ecx, 8
jb 0x43d0f6
mov eax, dword [ebp - 0x28]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d0ec
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d1eb
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.0048bd31
add esp, 8
cmp word [esi], 0
je 0x43d114
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x43d100
jmp 0x43d116
xor ebx, ebx
jmp 0x43d1d7
xor eax, eax
lea edi, [ebp - 0x28]
push eax
push esi
push edi
call fcn.00417b80
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
cmp edi, ecx
je 0x43d196
cmp eax, 0x10
jb 0x43d165
mov ecx, dword [ecx]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x43d158
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43d1eb
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.0048bd31
add esp, 8
mov ecx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x18]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x20]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x43d1c7
cmp eax, 0x10
jb 0x43d1c7
mov ecx, dword [ebp - 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x43d1bd
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x43d1eb
add eax, 0x24
mov ecx, edx
mov edi, eax
push edi
push ecx
call fcn.0048bd31
add esp, 8
mov dword [ebp - 0x14], 0xf
push esi
call fcn.0048bd3f
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bd44
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004b5789
Function at 0x43d2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x4f002c]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x43d328
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x43d328
cmp dword [ebp - 0x14], 4
jne 0x43d328
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0048bd44
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x43d360
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
js 0x43d36d
jmp 0x4667f0
xor eax, eax
ret
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
test edx, edx
je 0x4668cf
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x4668cf
mov edi, eax
mov esi, eax
and edi, 3
shr esi, 2
je 0x466855
mov ecx, eax
mov ebx, edx
and ecx, 0xfffffffc
mov dword [esp], ecx
nop word cs:[eax + eax]
nop
movzx ebp, word [ebx]
add ebp, eax
movzx eax, word [ebx + 2]
add ebx, 4
mov ecx, ebp
shl ecx, 0x10
xor ecx, ebp
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0xb
add eax, ecx
dec esi
jg 0x466830
add edx, dword [esp]
cmp edi, 1
je 0x46687e
cmp edi, 2
je 0x466890
cmp edi, 3
jne 0x4668a3
movzx ecx, word [edx]
add eax, ecx
movsx ecx, byte [edx + 2]
shl ecx, 0x12
xor ecx, eax
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x4668a1
movsx ecx, byte [edx]
add eax, ecx
mov ecx, eax
shl ecx, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
jmp 0x4668a1
movzx ecx, word [edx]
add eax, ecx
mov ecx, eax
shl ecx, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
lea ecx, [eax*8]
xor ecx, eax
mov eax, ecx
shr eax, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add eax, ecx
mov edx, eax
shl edx, 0x19
xor edx, eax
mov ecx, edx
shr ecx, 6
add ecx, edx
mov eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret