joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ac720
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [ebp - 0xe], ax
mov eax, dword [0x10284c00]
cmp eax, 3
jne 0x101ac810
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
ja 0x101ac827
lea esi, [ebp - 0x1c4]
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c4], 0
inc ebx
lea eax, [ebp - 0x24]
push ebx
push esi
push eax
call fcn.101b7f50
add esp, 0xc
test byte [ebp - 0x24], 1
je 0x101ac7ac
mov eax, dword [0x10249a20]
mov esi, dword [ebp + 8]
mov ecx, dword [0x10249a24]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x101ac838
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x3c], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
mov esi, dword [ebp + 8]
test eax, eax
je 0x101ac7f9
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x101ac838
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0xe]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x101ac838
call fcn.101cb838
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
jbe 0x101ac75f
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, edi
push eax
push ebx
call fcn.101cb8c0
add esp, 8
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ac9a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
xorps xmm0, xmm0
mov esi, ecx
lea eax, [esp + 8]
mov dword [esp + 8], 0x80
lea ecx, [esp + 0x20]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
push ecx
push edx
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x101aca7c
movzx ecx, word [esp + 0x20]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x101aca95
cmp ecx, 0x17
jne 0x101acab5
cmp eax, 0x1b
jbe 0x101acacc
movsd xmm0, qword [esp + 0x28]
movzx eax, word [esp + 0x22]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov word [esi], 1
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x30]
rol ax, 8
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0xe]
movsd xmm1, qword [esp + 0x16]
movzx edi, word [esp + 0x1e]
movsd qword [esi + 2], xmm0
movsd qword [esi + 0xa], xmm1
mov word [esi + 0x12], di
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
mov word [esi + 0x1c], ax
jmp 0x101acac5
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
jmp 0x101acac0
cmp eax, 0xf
jbe 0x101acadd
movzx ecx, word [esp + 0x22]
mov eax, dword [esp + 0x24]
mov word [esi], 0
rol cx, 8
mov dword [esi + 2], eax
mov word [esi + 6], cx
jmp 0x101acac5
mov byte [esi + 4], 2
mov dword [esi + 8], 0x1024ad10
mov word [esi], 2
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
push 0x1024acf0
push 0x3a
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
call fcn.101cc940
push 0x1024aca4
push 0x39
push str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
call fcn.101cc940
int3
Function at 0x101cb8c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.101b3f90
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, eax
neg ecx
jno 0x101cb938
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x101cb962
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x101cb982
jmp 0x101cb98e
mov ecx, dword [0x10249a20]
mov edx, dword [0x10249a24]
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
jae 0x101cb98e
push 1
push eax
push dword [ebp - 0x1c]
call fcn.10013780
add esp, 0x40
jmp 0x101cb991
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x101cb98e
push 1
push ebx
push edi
call fcn.10013780
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42f666
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x714
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
push edi
jb 0x42f688
mov eax, dword [esi]
jmp 0x42f68a
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x42f710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42f710
cmp eax, 5
jne 0x42f6ce
push dword [ebp + 0xc]
push 0x80
push esi
call fcn.0042f722
cmp dword [esi + 0x14], 8
jb 0x42f6bf
mov eax, dword [esi]
jmp 0x42f6c1
mov eax, esi
push eax
call edi
test eax, eax
jne 0x42f710
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42f710
cmp byte [ebp + 0xc], 0
je 0x42f70c
push esi
push 0x403b4c
push eax
push 0xf
lea ecx, [ebp - 0x714]
call fcn.0042f7a5
mov esi, eax
push 0x462828
lea eax, [ebp - 0x38c]
mov ecx, 0xe2
lea edi, [ebp - 0x38c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
xor al, al
jmp 0x42f712
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret 8

Function at 0x42f722
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x714
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x42f743
mov eax, dword [esi]
jmp 0x42f745
mov eax, esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42f796
cmp byte [ebp + 0x10], al
je 0x42f796
lea eax, [ebp + 0xc]
push eax
push esi
push 0x403b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x714]
call fcn.0042f847
mov esi, eax
push 0x462828
lea eax, [ebp - 0x38c]
mov ecx, 0xe2
lea edi, [ebp - 0x38c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret 0xc

Function at 0x42fe79
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0042c1d8
test al, al
je 0x42fee0
cmp dword [edi + 0x14], 8
jb 0x42fe99
mov eax, dword [edi]
jmp 0x42fe9b
mov eax, edi
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x42feb0
xor al, al
jmp 0x42fedf
push esi
mov esi, dword [ebp + 0xc]
push ebx
mov ecx, esi
call fcn.0042e7e2
mov eax, dword [esi + 4]
sub eax, dword [esi]
neg eax
sbb eax, eax
and eax, dword [esi]
cmp dword [edi + 0x14], 8
pop esi
jb 0x42fed0
mov edi, dword [edi]
push eax
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
setne al
pop ebx
pop edi
leave
ret 8
Function at 0x42fee5
Capabilities:
Copy file

Disassembly:
push 0x724
mov eax, 0x45f598
call fcn.004454cb
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
mov edi, dword [ebp + 8]
mov dword [ebp - 0x72c], edi
mov dword [ebp - 0x728], esi
jb 0x42ff10
mov eax, dword [esi]
jmp 0x42ff12
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x42ff1c
mov ecx, dword [edi]
jmp 0x42ff1e
mov ecx, edi
xor edx, edx
cmp byte [ebp + 0x10], dl
sete dl
push edx
push eax
push ecx
mov dword [ebp - 0x730], edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42ffe6
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 5
jne 0x42ffaf
and dword [ebp - 4], 0
push 1
push 0x80
push esi
call fcn.0042f722
cmp dword [esi + 0x14], 8
jb 0x42ff65
mov ecx, dword [esi]
jmp 0x42ff67
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x42ff71
mov eax, dword [edi]
jmp 0x42ff73
mov eax, edi
push dword [ebp - 0x730]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42ffe6
or dword [ebp - 4], 0xffffffff
jmp 0x42ffaf
push esi
push edi
push 0x403e08
call ebx
push eax
push 0xf
lea ecx, [ebp - 0x724]
call fcn.00430373
mov esi, eax
push 0x462828
lea eax, [ebp - 0x39c]
mov ecx, 0xe2
lea edi, [ebp - 0x39c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
call fcn.00445524
ret 0xc

Function at 0x430954
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x718
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x430975
mov eax, dword [esi]
jmp 0x430977
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x4309c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x718]
push ecx
push esi
push 0x403f88
push eax
push 0xf
lea ecx, [ebp - 0x714]
mov dword [ebp - 0x718], eax
call fcn.004309d8
mov esi, eax
push 0x462828
lea eax, [ebp - 0x38c]
mov ecx, 0xe2
lea edi, [ebp - 0x38c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret 4

Function at 0x431b92
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x718
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp + 8]
push esi
cmp edx, 0xffffffff
jne 0x431be3
push 0x404990
push 0x15
lea ecx, [ebp - 0x714]
call fcn.004301e5
mov esi, eax
push 0x462828
lea eax, [ebp - 0x38c]
mov ecx, 0xe2
lea edi, [ebp - 0x38c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
and dword [ebp - 0x718], 0
cmp dword [eax + 0x14], 0x10
jb 0x431bf4
mov ecx, dword [eax]
jmp 0x431bf6
mov ecx, eax
push 0
lea esi, [ebp - 0x718]
push esi
push dword [eax + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x431c32
cmp byte [ebp + 0xc], al
je 0x431c2e
push 0x404964
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x714]
call fcn.0042fcc7
jmp 0x431bc3
xor al, al
jmp 0x431c34
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret 8
Function at 0x431eb1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 0x24], 0
push edi
mov edi, dword [ebp + 0xc]
jne 0x431f08
push esi
push 0x404b40
push 0x3a
lea ecx, [ebp - 0x714]
call fcn.00432365
mov esi, eax
push 0x462828
lea eax, [ebp - 0x38c]
mov ecx, 0xe2
lea edi, [ebp - 0x38c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x71c], 1
mov dword [ebp - 0x718], edx
jb 0x431f24
mov eax, dword [esi]
jmp 0x431f26
mov eax, esi
lea ecx, [ebp - 0x718]
push ecx
push edx
lea ecx, [ebp - 0x71c]
push ecx
push edx
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x43200f
cmp dword [ebp - 0x71c], 1
je 0x431f61
cmp dword [ebp - 0x71c], 2
jne 0x43200f
test ecx, ecx
je 0x431f82
push esi
lea eax, [ebx + 8]
push eax
push 0x404ac0
push ecx
push 0xf
lea ecx, [ebp - 0x714]
call fcn.004322bd
jmp 0x431ee8
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x431f90
mov eax, dword [edi]
jmp 0x431f92
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x718]
cmp ecx, 2
ja 0x431fa6
mov al, 1
jmp 0x432011
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, edi
call fcn.0042b804
cmp dword [edi + 0x14], 8
jb 0x431fbd
mov ecx, dword [edi]
jmp 0x431fbf
mov ecx, edi
cmp dword [esi + 0x14], 8
jb 0x431fc9
mov eax, dword [esi]
jmp 0x431fcb
mov eax, esi
lea edx, [ebp - 0x718]
push edx
push ecx
lea ecx, [ebp - 0x71c]
push ecx
push 0
push eax
push dword [ebx + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x431ffa
push esi
lea ecx, [ebx + 8]
push ecx
push 0x404ac0
push eax
jmp 0x431f70
mov eax, dword [ebp - 0x718]
shr eax, 1
push 0
dec eax
push eax
mov ecx, edi
call fcn.0042b804
jmp 0x431fa2
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453d2
leave
ret 8
Function at 0x432022
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x74c
mov eax, 0x45f7f4
call fcn.00445495
mov edi, ecx
cmp dword [edi + 0x24], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x758], eax
jne 0x432077
push 0x404bf0
push 0x3a
lea ecx, [ebp - 0x73c]
call fcn.00432405
mov esi, eax
push 0x462828
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea edi, [ebp - 0x3b4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004453e0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x744], 7
mov dword [ebp - 0x740], 1
jb 0x432095
mov eax, dword [esi]
jmp 0x432097
mov eax, esi
lea ecx, [ebp - 0x740]
push ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x744]
push ecx
push ebx
push eax
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
cmp ecx, 2
je 0x4321ed
cmp dword [ebp - 0x744], 7
jne 0x4321ed
test ecx, ecx
je 0x4320ec
push esi
lea eax, [edi + 8]
push eax
push 0x404ac0
push ecx
push 0xf
lea ecx, [ebp - 0x73c]
call fcn.004322bd
jmp 0x432057
mov eax, dword [ebp - 0x740]
add eax, 2
mov dword [ebp - 0x740], eax
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x750], ebx
mov dword [ebp - 0x74c], ebx
push eax
lea ecx, [ebp - 0x754]
mov dword [ebp - 4], ebx
call fcn.0042e7e2
mov ebx, dword [ebp - 0x750]
sub ebx, dword [ebp - 0x754]
mov dword [ebp - 4], 1
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
cmp dword [esi + 0x14], 8
jb 0x432145
mov ecx, dword [esi]
jmp 0x432147
mov ecx, esi
lea edx, [ebp - 0x740]
push edx
push eax
lea eax, [ebp - 0x744]
push eax
push 0
push ecx
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x432176
push esi
lea ecx, [edi + 8]
push ecx
push 0x404ac0
push eax
jmp 0x4320da
mov edi, dword [ebp - 0x758]
xor esi, esi
mov eax, ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x754]
and dword [ebp - 0x1c], 0
xor ecx, ecx
lea eax, [eax + esi*2]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
call fcn.004293f3
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0042baf2
mov eax, dword [ebp - 0x1c]
push 0
inc eax
push 1
lea ecx, [ebp - 0x2c]
add esi, eax
mov byte [ebp - 4], 1
call fcn.00429e80
mov ecx, ebx
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x754]
cmp byte [ecx + esi*2], 0
jne 0x43217e
lea ecx, [ebp - 0x754]
call fcn.00438445
mov al, 1
jmp 0x4321ef
xor al, al
call fcn.00445518
ret 8
Function at 0x433130
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov dword [ebp - 0x214], 1
call fcn.00445cad
mov ecx, 0x49b7c4
add esp, 0xc
mov dword [ebp - 0x210], 0x208
xor esi, esi
mov eax, ecx
cmp dword [eax], 0
je 0x43319c
add eax, 0x14
inc esi
cmp eax, 0x49b7ec
jl 0x433187
jmp 0x4332fa
imul esi, esi, 0x14
add esi, ecx
je 0x4332fa
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4332da
cmp dword [ebp - 0x214], 1
jne 0x4332da
cmp word [ebp - 0x20c], ax
je 0x4332da
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x4332da
shr eax, 1
mov dword [ebp - 0x210], eax
cmp eax, 0x104
jae 0x43321f
add eax, eax
cmp eax, 0x208
jae 0x43321a
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
jmp 0x433225
call fcn.00446479
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043334e
mov dword [esi], eax
test eax, eax
je 0x4332da
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4051d4
push eax
call edi
test eax, eax
jne 0x433252
mov eax, dword [ebp + 0x10]
jmp 0x433254
call eax
mov dword [esi + 4], eax
cmp eax, 1
jne 0x433278
push 0x4051f0
push dword [esi]
call edi
push 0x4051fc
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x405210
jmp 0x4332ac
cmp eax, 2
jne 0x43328d
push 0x4051f0
push dword [esi]
call edi
push 0x405220
jmp 0x43326a
cmp eax, 3
jne 0x4332b6
push 0x405234
push dword [esi]
call edi
push 0x405244
push dword [esi]
mov dword [esi + 8], eax
call edi
push 0x40525c
push dword [esi]
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0xc], eax
cmp dword [esi + 8], 0
je 0x4332da
cmp dword [esi + 0x10], 0
je 0x4332da
cmp dword [esi + 0xc], 0
je 0x4332da
push dword [0x49b7ec]
push esi
call fcn.00433010
test eax, eax
js 0x4332da
xor esi, esi
test esi, esi
je 0x4332fa
cmp dword [esi], 0
je 0x4332eb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [esi], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453d2
leave
ret 0xc

Function at 0x433361
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
xor edx, edx
push 0xa
pop ecx
div ecx
xor ebx, ebx
mov esi, 0x811c9dc5
lea edx, [eax + 1]
cmp dword [edi + 0x10], ebx
jbe 0x4333a2
cmp dword [edi + 0x14], 8
jb 0x43338d
mov eax, dword [edi]
jmp 0x43338f
mov eax, edi
movzx ecx, word [eax + ebx*2]
imul esi, esi, 0x1000193
add ebx, edx
xor esi, ecx
cmp ebx, dword [edi + 0x10]
jb 0x433383
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x43d16d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x46105b
call fcn.0044542c
mov ebx, dword [ebp + 8]
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x43d196
cmp dword [0x49b850], edi
je 0x43d280
push 2
pop ebx
jmp 0x43d1b0
cmp edi, 1
jne 0x43d280
mov eax, ebx
call fcn.0043e05e
test al, al
je 0x43d280
xor ebx, ebx
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x1c], ebx
call fcn.0043e080
mov ecx, dword [ebp + 8]
xor eax, eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
movzx eax, word [ecx + 0xc]
shr eax, 1
and eax, 0x10
or eax, ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ecx + 8]
jmp 0x43d262
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x43d1f7
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
call fcn.0043d857
test eax, eax
je 0x43d294
push 0x1c049f
push 0
call fcn.0044013d
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
and dword [eax + 0x469528], 0
push ebx
mov ecx, 0x49b860
call fcn.0043cfec
movzx eax, word [esi + 0xc]
and dword [ebp - 0x14], 0
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 8]
call fcn.0043d96e
mov esi, eax
test esi, esi
je 0x43d1e3
mov ebx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.0043e0a1
inc edi
cmp edi, 2
jl 0x43d17e
mov eax, esi
call fcn.00445504
ret 0x18
push ebx
mov ecx, 0x49b860
call fcn.0043cf50
mov ebx, dword [ebp + 8]
test esi, esi
jne 0x43d274
movzx ecx, word [ebx + 0xc]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x20], eax
je 0x43d2cf
cmp dword [ebp - 0x20], 3
jne 0x43d2ca
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x43d2ca
and cl, 0xf
cmp cl, 4
je 0x43d2cf
push 2
pop esi
jmp 0x43d274
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0xd]
mov dword [eax], 1
call fcn.0043e0a1
xor eax, eax
jmp 0x43d28c
Function at 0x43d758
Capabilities:
Query or enumerate registry value

Disassembly:
push 4
mov eax, 0x4610cc
call fcn.0044542c
mov esi, dword [ebp + 8]
cmp esi, dword [0x49b858]
jne 0x43d776
xor al, al
jmp 0x43d84f
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x43d787
xor ecx, ecx
cmp dword [0x49b850], ecx
jmp 0x43d792
mov eax, esi
call fcn.0043e05e
xor ecx, ecx
test al, al
sete cl
test ecx, ecx
jne 0x43d76f
xor edi, edi
lea ecx, [ebp + 0xf]
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
call fcn.0043e080
mov dword [ebp - 4], edi
movzx edi, bl
neg edi
sbb edi, edi
and edi, 2
xor ebx, ebx
jmp 0x43d810
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x43d7c6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
call fcn.0043d857
test eax, eax
je 0x43d835
push 0x1c04c2
xor ebx, ebx
push ebx
call fcn.0044013d
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp + 8]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x49b860
mov dword [eax + 0x469528], ebx
call fcn.0043cfec
mov dword [ebp + 8], ebx
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
push ebx
or eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
call fcn.0043d96e
mov ebx, eax
test ebx, ebx
je 0x43d7ba
jmp 0x43d842
push dword [ebp + 8]
mov ecx, 0x49b860
call fcn.0043cf50
lea ecx, [ebp + 0xf]
call fcn.0043e0a1
test ebx, ebx
sete al
call fcn.00445504
ret 8

Function at 0x43dfb2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x43dfc4
mov ecx, dword [edi]
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp + 0xc]
push eax
push 0xffff
push dword [ebp + 8]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [ebp - 4], 2
mov esi, eax
jae 0x43dff5
cmp dword [ebp + 0xc], 1
je 0x43dff2
cmp dword [ebp + 0xc], 2
jne 0x43dff5
push 2
pop esi
mov eax, esi
call fcn.0043d857
test eax, eax
je 0x43e019
push 0x1c0491
push 0
call fcn.0044013d
push edi
mov ecx, 0x49b860
call fcn.0043cfec
jmp 0x43e056
test esi, esi
jne 0x43e04b
mov ecx, dword [ebp + 0xc]
cmp ecx, 2
je 0x43e02a
cmp ecx, 1
jne 0x43e039
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2 - 2], cx
mov ecx, dword [ebp + 0xc]
movzx eax, byte [ebp + 0x10]
push eax
push ecx
call fcn.0043d72e
test eax, eax
jne 0x43e04b
push 2
pop esi
push edi
mov ecx, 0x49b860
call fcn.0043cf50
mov eax, esi
pop esi
pop ebx
leave
ret 0xc