joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001cbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], ebx
push esi
push edi
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx + 0x10]
mov dword [edx + 0x30], eax
mov byte [edx + 0x28], 1
mov dword [edx + 0x34], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx + 0x14]
mov dword [edx + 0x40], eax
mov byte [edx + 0x38], 1
mov dword [edx + 0x44], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx + 0x1c]
mov dword [edx + 0x50], eax
mov byte [edx + 0x48], 1
mov dword [edx + 0x54], 0
mov edx, 0xcccccccd
mov eax, dword [ebx + 4]
lea edi, [edx - 1]
mov eax, dword [eax + 8]
mov ecx, dword [eax + ebx + 0x20]
mov ebx, dword [eax + ebx + 0x24]
add ecx, 0x2ac18000
mov eax, ecx
adc ebx, 0xfe624e21
mul edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
mov esi, edx
mov eax, ecx
mov ecx, 0xcccccccd
mul edi
mov edi, eax
mov dword [esp + 0x10], edx
mov eax, ebx
mul ecx
mov ecx, eax
mov ebx, edx
mov eax, dword [esp + 0xc]
mov edx, 0xcccccccc
mul edx
add ecx, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
adc ebx, 0
add edi, ecx
mov ecx, dword [esp + 0x10]
adc ecx, 0
mov dword [esp + 0x20], edi
xor eax, eax
add ebx, ecx
mov ecx, dword [esp + 0xc]
adc eax, eax
add ecx, ebx
mov ebx, dword [ebp + 8]
adc edx, eax
shrd ecx, edx, 3
shr edx, 3
mov dword [ebx + 0x64], edx
mov byte [ebx + 0x58], 3
mov dword [ebx + 0x60], ecx
mov al, byte [esi + 0x60]
movzx eax, al
cdq
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edx
mov byte [ebx + 0x68], 0
mov al, byte [esi + 0x70]
movzx eax, al
cdq
mov byte [ebx + 0x78], 0
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
test byte [eax + esi + 0x3c], 4
je 0x1001cd3c
mov eax, dword [eax + esi + 0x44]
mov byte [ebx + 0x88], 1
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax + esi + 0x4c]
mov eax, dword [eax + esi + 0x50]
mov byte [ebx + 0x98], 3
mov dword [ebx + 0xa0], ecx
mov dword [ebx + 0xa4], eax
push ebx
mov ecx, esi
call fcn.1001e030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002c800
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x1002c80c
xor al, al
ret 8
cmp byte [esp + 8], 0
mov al, byte [esp + 4]
jne 0x1002c81c
cmp byte [ecx + 0x5e], al
je 0x1002c845
mov byte [ecx + 0x5e], al
test al, al
je 0x1002c83c
lea eax, [ecx + 0x28]
push eax
lea eax, [ecx + 0x48]
push eax
push 0x40b
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
ret 8
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
ret 8

Function at 0x1002d8d0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.1000ee10
test al, al
jne 0x1002da0a
lea ebx, [esi + 0x14]
mov dword [esp + 0x10], 0
cmp byte [esi + 0x3c], al
je 0x1002d913
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1002d9df
mov byte [esi + 0x3c], 0
jmp 0x1002d93f
push 0x1000
lea ecx, [esi + 0x64]
call fcn.100029a0
mov ecx, dword [esi + 0x6c]
lea edx, [esp + 0x10]
sub ecx, dword [esi + 0x68]
push ebx
push edx
push ecx
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002d9f9
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1002d9ec
push ebx
lea ecx, [esi + 0x64]
call fcn.100029a0
test eax, eax
je 0x1002d95b
add dword [esi + 0x68], ebx
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x1002d969
mov eax, dword [esi + 0x68]
mov byte [ecx + eax], 0
mov ecx, esi
call fcn.1002db20
mov ebp, dword [esi + 0x68]
mov ebx, ebp
mov edx, dword [esi + 0x7c]
sub ebx, edx
je 0x1002d994
mov ecx, dword [esi + 0x6c]
mov eax, ecx
sub eax, ebp
cmp eax, 0x1000
jae 0x1002d9d8
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1002d9d8
test edx, edx
jle 0x1002d9c2
mov eax, ebp
cmp edx, eax
jae 0x1002d9c2
mov ecx, dword [esi + 0x64]
sub eax, edx
push eax
mov dword [esi + 0x68], eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
mov dword [esi + 0x7c], 0
mov ecx, esi
jmp 0x1002d8d7
test ebp, ebp
jbe 0x1002d9d1
test edx, edx
je 0x1002d9d1
mov dword [esi + 0x68], 0
mov dword [esi + 0x7c], 0
mov ecx, esi
jmp 0x1002d8d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x1002da0a
mov ecx, esi
call fcn.1002daf0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1002d9ec
mov byte [esi + 0x3c], 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1002da10
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xffffffff
jne 0x1002da24
cmp dword [esi + 0x40], 0xffffffff
je 0x1002dae1
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea edi, [esi + 0x28]
jmp 0x1002da40
cmp byte [esi + 0x3d], 0
mov dword [esp + 0x10], 0
je 0x1002da65
push 0
lea eax, [esp + 0x14]
push eax
push edi
push dword [esi + 0x10]
call ebx
test eax, eax
je 0x1002da9c
mov byte [esi + 0x3d], 0
jmp 0x1002da8c
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x80]
sub ecx, edx
mov dword [esp + 0x10], ecx
je 0x1002dacd
mov eax, dword [esi + 0x70]
push edi
add eax, edx
lea edx, [esp + 0x14]
push edx
push ecx
push eax
push dword [esi + 0x10]
call ebp
test eax, eax
je 0x1002dab6
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1002daa9
add dword [esi + 0x80], eax
jmp 0x1002da40
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
je 0x1002dade
mov ecx, esi
call fcn.1002daf0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1002daa9
pop edi
pop ebp
pop ebx
mov byte [esi + 0x3d], 1
pop esi
pop ecx
ret
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret

Function at 0x1002dbf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.1000ee10
test al, al
jne 0x1002dd0b
jmp 0x1002dc10
push 0x1000
lea ecx, [esi + 0x64]
call fcn.100029a0
mov ecx, dword [esi + 0x6c]
sub ecx, dword [esi + 0x68]
push 0
push ecx
push eax
push dword [esi + 0x40]
call dword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
je 0x1002dd02
cmp ebx, 0xffffffff
je 0x1002dce6
push ebx
lea ecx, [esi + 0x64]
call fcn.100029a0
test eax, eax
je 0x1002dc53
add dword [esi + 0x68], ebx
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x1002dc61
mov eax, dword [esi + 0x68]
mov byte [ecx + eax], 0
cmp byte [esi + 0x4d], 6
mov ecx, esi
jge 0x1002dc70
call fcn.1002de10
jmp 0x1002dc75
call fcn.1002eb40
mov ebp, dword [esi + 0x68]
mov ebx, ebp
mov edx, dword [esi + 0x7c]
sub ebx, edx
je 0x1002dc99
mov ecx, dword [esi + 0x6c]
mov eax, ecx
sub eax, ebp
cmp eax, 0x1000
jae 0x1002dcd1
sub ecx, ebx
cmp ecx, 0x1000
jb 0x1002dcd1
test edx, edx
jle 0x1002dcbb
mov eax, ebp
cmp edx, eax
jae 0x1002dcbb
mov ecx, dword [esi + 0x64]
sub eax, edx
push eax
mov dword [esi + 0x68], eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.msvcrt.dll_memmove
add esp, 0xc
jmp 0x1002dcca
test ebp, ebp
jbe 0x1002dcca
test edx, edx
je 0x1002dcca
mov dword [esi + 0x68], 0
mov dword [esi + 0x7c], 0
mov ecx, esi
call fcn.1000ee10
test al, al
je 0x1002dc10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1002dd0b
push 1
mov ecx, esi
call fcn.1002ddc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
mov ecx, esi
call fcn.1002ddc0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x1002dd20
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x4c], 0
je 0x1002dd8f
mov eax, dword [esi + 0x80]
push ebx
mov ebx, dword [esi + 0x70]
push ebp
push edi
mov edi, dword [esi + 0x74]
add ebx, eax
sub edi, eax
cmp dword [esi + 0x10], 0xffffffff
jne 0x1002dd48
cmp dword [esi + 0x40], 0xffffffff
je 0x1002ddb1
test edi, edi
je 0x1002dd6a
mov ebp, dword [sym.imp.WS2_32.dll_send]
push 0
push edi
push ebx
push dword [esi + 0x40]
call ebp
test eax, eax
je 0x1002dda8
cmp eax, 0xffffffff
je 0x1002dd91
add ebx, eax
sub edi, eax
jne 0x1002dd52
mov dword [esi + 0x74], 0
xor eax, eax
mov dword [esi + 0x80], eax
cmp byte [esi + 0x4d], 5
jne 0x1002dd8c
test edi, edi
jne 0x1002dd8c
push 1
mov ecx, esi
call fcn.1002ddc0
pop edi
pop ebp
pop ebx
pop esi
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1002dda2
push 1
jmp 0x1002ddaa
mov byte [esi + 0x4c], 0
jmp 0x1002ddb1
push 0
mov ecx, esi
call fcn.1002ddc0
test edi, edi
je 0x1002dd6a
mov eax, dword [esi + 0x74]
sub eax, edi
jmp 0x1002dd73
Function at 0x10034b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push esi
lea eax, [esp + 8]
mov dword [esp + 0x18], 0x1005bdb0
push eax
lea eax, [esp + 8]
mov dword [esp + 0x20], 0
push eax
push str._hu:_u
push dword [esp + 0x78]
mov esi, ecx
mov dword [esp + 0x30], 0
mov word [esp + 0x34], 0
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x10
cmp eax, 2
jl 0x10034cf8
push 0
push dword [esp + 0x78]
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 6
push dword [esp + 0x78]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x18]
sub esp, 8
mov byte [esp + 0x24], 1
mov eax, esp
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], 1
call fcn.1002fa50
test al, al
je 0x10034cf8
push dword [esp + 8]
mov ecx, dword [esi + 8]
call fcn.100352c0
mov ecx, eax
test ecx, ecx
jne 0x10034c72
mov byte [esp + 0x28], al
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x38], al
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + 0x48], al
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
push ecx
push 8
push dword [esp + 0x74]
mov ecx, esi
call fcn.10034510
jmp 0x10034cff
cmp byte [ecx + 0x406], 0
je 0x10034cda
lea eax, [esp + 0x48]
mov byte [esp + 0x48], 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], 0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x5c], 0
push eax
push 0
push 0x14
push dword [esp + 0x74]
mov ecx, esi
mov byte [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.10034510
jmp 0x10034cff
mov eax, dword [esp + 0x68]
shr eax, 4
push esi
push dword [esp + 0x64]
and al, 1
movzx eax, al
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100349f0
jmp 0x10034cff
mov ecx, esi
call fcn.1002d770
mov eax, dword [esp + 0x18]
cmp eax, 0x1005bdb0
je 0x10034d14
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
pop esi
add esp, 0x58
ret 0x18
Function at 0x10035a90
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
xor eax, eax
push esi
mov esi, dword [esp + 0x10]
push edi
push 0xf0000040
push 1
mov dword [esi], eax
mov edi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.Microsoft_Base_Cryptographic_Provider_v1.0
mov dword [esi + 0xc], eax
push eax
mov dword [esi + 0x10], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10035b2a
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x8004
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10035b1e
push 0
push dword [edi + 4]
push dword [edi]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10035b14
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x14
push eax
push esi
push 2
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x10035cd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x10], 0
jl 0x10035d7f
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0x14]
mov ebp, eax
sub edx, ebp
cmp edx, 5
jg 0x10035d7e
push edi
mov edi, dword [ebx]
cmp edi, ebx
je 0x10035d74
lea eax, [edi - 0x50]
neg edi
sbb edi, edi
and edi, eax
je 0x10035d74
push esi
mov esi, dword [edi + 0x50]
cmp esi, ebx
je 0x10035d19
lea eax, [esi - 0x50]
neg esi
sbb esi, esi
and esi, eax
jmp 0x10035d1b
xor esi, esi
mov eax, dword [edi + 0x6c]
sub eax, ebp
test eax, eax
jg 0x10035d6d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x4c]
call eax
cmp al, 0xff
je 0x10035d6d
cmp dword [edi + 0x58], 0
je 0x10035d6d
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x50]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov dword [edi + 0x58], 0
dec dword [ebx + 8]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
add ecx, 0xc
add ecx, edi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add dword [eax + ecx], 0xffffffff
jne 0x10035d6d
add ecx, 0xfffffff8
je 0x10035d6d
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, esi
test esi, esi
jne 0x10035d07
pop esi
pop edi
pop ebp
mov ecx, ebx
pop ebx
jmp fcn.10035fb0
pop ebp
pop ebx
ret
Function at 0x100386e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x4c
lea eax, [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [esp + 0x64]
mov dl, byte [ebx + 0x30]
test dl, dl
jne 0x10038707
cmp dword [ebx], 0
jne 0x10038714
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x10038714
mov cl, 1
jmp 0x10038716
xor cl, cl
mov byte [esp + 0x64], cl
test dl, dl
jne 0x10038724
cmp dword [ebx + 0x10], 0
jne 0x10038731
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x14]
jne 0x10038731
mov al, 1
jmp 0x10038733
xor al, al
test cl, cl
jne 0x1003873b
test al, al
je 0x1003874f
cmp dword [ebx + 0x20], 0
je 0x1003875e
push 3
push ebp
call dword [sym.imp.USER32.dll_GetAncestor]
cmp eax, dword [ebx + 0x20]
je 0x1003875e
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
xor eax, eax
mov dword [esp + 0x20], 0x3c
mov ecx, 1
mov word [esp + 0x58], ax
mov dword [esp + 0x14], ecx
test ecx, ecx
lea eax, [ebx + 0x10]
mov edi, ebx
lea edx, [esp + 0x13]
cmove edi, eax
lea eax, [esp + 0x64]
cmove eax, edx
mov dword [esp + 0x1c], eax
mov byte [eax], 0
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jne 0x10038886
cmp dword [edi], 0
je 0x100387ae
cmp byte [ebx + 0x30], 0
je 0x10038886
cmp word [esp + 0x58], 0
jne 0x1003880a
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowInfo]
test eax, eax
je 0x10038882
mov eax, dword [esp + 0x44]
test eax, 0x10000000
je 0x100387fe
test eax, eax
js 0x100387fe
test dword [esp + 0x48], 0x8000080
jne 0x100387fe
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100387fe
mov ecx, dword [esp + 0x14]
mov al, 1
mov byte [esp + 0x60], al
jmp 0x1003880e
mov ecx, dword [esp + 0x14]
xor al, al
mov byte [esp + 0x60], al
jmp 0x1003880e
mov al, byte [esp + 0x60]
cmp byte [edi + 0xc], 0
jne 0x10038858
test al, al
je 0x10038886
cmp dword [edi + 8], 0
je 0x10038858
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp dword [edi + 8], eax
ja 0x10038882
cmp dword [ebx + 0x24], 0
je 0x10038858
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
push esi
push dword [ebx + 0x28]
push dword [ebx + 0x24]
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
cmp esi, dword [edi + 8]
jne 0x10038882
test eax, eax
jne 0x10038882
cmp byte [edi + 0xd], 0
mov eax, dword [esp + 0x1c]
mov dword [edi], ebp
mov byte [eax], 1
je 0x10038882
test dword [esp + 0x44], 0x40000000
jne 0x10038882
push ebx
push fcn.100386e0
push ebp
call dword [sym.imp.USER32.dll_EnumChildWindows]
test eax, eax
je 0x100388b0
mov ecx, dword [esp + 0x14]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x10038776
cmp byte [ebx + 0x30], 0
jne 0x1003874f
xor eax, eax
cmp byte [esp + 0x64], al
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret 8
Function at 0x1003ae80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
mov dword [esi + 0x7c], 1
mov dword [esi + 4], 0x100585e0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi], 0x100585a4
mov dword [esi + 0x14], edi
test edi, edi
je 0x1003aecb
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edi + 0x14]
add ecx, edi
mov eax, dword [eax + 4]
inc dword [eax + ecx + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x1c], eax
mov al, byte [esp + 0x20]
mov byte [esi + 0x24], al
mov al, byte [esp + 0x18]
mov byte [esi + 0x34], al
mov dword [esi + 0x20], 0
mov byte [esi + 0x25], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [edi + 0xc]
push ebx
mov eax, dword [eax + 8]
movzx eax, byte [eax + edi + 0x9c]
mov byte [esi + 0x35], al
mov eax, dword [esp + 0x18]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
movzx eax, byte [eax + 0xc]
mov dword [esp + 0x24], ecx
mov byte [esi + 0x44], al
mov byte [esi + 0x45], 0
test ebx, ebx
jle 0x1003af63
lea eax, [ebx + 0x10]
push eax
mov dword [esi + 0x40], eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
je 0x1003af63
push ebx
push dword [esp + 0x28]
mov dword [esi + 0x3c], ebx
push eax
mov byte [eax + ebx], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1003af78
mov dword [esi + 0x38], 0x1005bdb0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x48], 0x1005bdb0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov word [esi + 0x54], 0x100
mov dword [esi + 0x58], 0x1005bdb0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov word [esi + 0x64], 0xff
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 8]
mov ebx, dword [eax + edi + 0x90]
mov edi, dword [eax + edi + 0x8c]
mov word [esi + 0x74], 0xff
test ebx, ebx
jle 0x1003b00c
lea eax, [ebx*2 + 0x20]
mov dword [esi + 0x70], eax
add eax, 4
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003afec
add ecx, 4
mov dword [esi + 0x68], ecx
test ecx, ecx
je 0x1003b00c
lea eax, [ebx + ebx]
mov dword [esi + 0x6c], ebx
push eax
xor edx, edx
push edi
push ecx
mov word [eax + ecx], dx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1003b021
mov dword [esi + 0x68], 0x1005bdb0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x78], ecx
pop ebx
test ecx, ecx
je 0x1003b037
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
inc dword [eax + ecx + 4]
mov eax, dword [esi + 0x14]
pop edi
inc dword [eax + 0x10]
mov eax, esi
pop esi
ret 0x20
Function at 0x10042be0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x60
push ebx
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0x20019
xor edi, edi
mov ebx, edx
push edi
push str.SpecialData
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10042c13
xor bl, bl
jmp 0x10042dc6
add ebx, 0x1ae8
mov ecx, ebx
call fcn.10043940
lea eax, [esp + 8]
mov dword [esp + 8], 0x3b
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x10], 9
push eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10042dc4
push ebp
mov ebp, dword [sym.imp.msvcrt.dll_malloc]
push esi
jmp 0x10042c70
inc edi
cmp dword [esp + 0x1c], 3
jne 0x10042d84
cmp dword [esp + 0x14], 6
jbe 0x10042d84
push 6
lea eax, [esp + 0x24]
push str.lgfgf.
push eax
call dword [sym.imp.msvcrt.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x10042d84
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10042d84
cmp byte [esp + 0x34], 1
jne 0x10042cc8
movzx ecx, word [esp + 0x2c]
movzx eax, byte [esp + 0x35]
sub ecx, 0x30
cmp eax, ecx
je 0x10042d2c
lea edx, [esp + 0x34]
push 1
push esi
mov ecx, edx
call fcn.10008750
add esp, 8
cmp byte [esp + 0x34], 2
jne 0x10042d2c
cmp esi, 0x13
jb 0x10042d2c
mov al, byte [esp + 0x45]
cmp al, 0x14
ja 0x10042d84
movzx eax, al
lea eax, [eax*2 + 0x13]
cmp esi, eax
jne 0x10042d84
lea eax, [esi + 0xc]
push eax
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x10042d84
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, dword [esp + 0x10]
jmp 0x10042d5f
cmp esi, 8
jb 0x10042d84
push 0x14
call ebp
mov esi, eax
add esp, 4
test esi, esi
je 0x10042d54
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
jmp 0x10042d56
xor esi, esi
mov eax, 8
test esi, esi
je 0x10042d84
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esi + 0xc]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [ebx + 4], esi
mov dword [esi + 8], ebx
inc dword [ebx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x3b
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x18], 9
push eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10042c70
pop esi
pop ebp
mov bl, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10042dd5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, bl
pop ebx
add esp, 0x60
ret