joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42a004]
jne 0x40100a
repz ret
jmp fcn.0040130d

Function at 0x403f8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402540
and dword [ebp - 0x14], 0
cmp dword [0x42cadc], 0
mov dword [ebp - 0x18], eax
jne 0x40403e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4040e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4040e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42cadc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42cae0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42cae4], eax
call edi
push eax
call esi
mov dword [0x42caec], eax
test eax, eax
je 0x40403e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42cae8], eax
mov eax, dword [0x42cae8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404097
cmp dword [0x42caec], ecx
je 0x404097
push eax
call esi
push dword [0x42caec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404097
test ebx, ebx
je 0x404097
call edi
test eax, eax
je 0x40408e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40408e
test byte [ebp - 8], 1
jne 0x404097
or dword [ebp + 0x10], 0x200000
jmp 0x4040ca
mov eax, dword [0x42cae0]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4040ca
mov eax, dword [0x42cae4]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42cadc]
call esi
test eax, eax
je 0x4040e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4040e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x409ce0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x42af60]
sub esp, 0x10
push esi
mov esi, dword [0x471ea8]
push edi
mov edi, dword [0x472184]
push eax
call fcn.00409bd0
add esp, 4
cmp dword [0x472184], 0x2f
jne 0x409d40
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Bihux_nivew_zuziduzaz_winojego_roli
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
call fcn.00409c20
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409fd0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x472184]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x409ff2
push 0
push 0
call edi
mov eax, dword [0x472184]
cmp esi, 0x845013
jne 0x40a009
mov eax, dword [0x42bd80]
add eax, 0xa231
mov dword [0x472184], eax
cmp eax, 0x141
jne 0x40a024
mov dword [0x42d020], 0xec58acac
mov dword [0x42d024], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x409fe0
call fcn.00409d50
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x100028af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x11], 0xa0b0a4bc
push edi
mov esi, ecx
mov dword [ebp - 0xd], 0xa5a5f4a7
lea edi, [edx + 4]
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0x11], al
inc ecx
cmp ecx, 8
jb 0x100028d2
lea eax, [ebp - 0x11]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
xor ebx, ebx
inc ebx
test eax, eax
je 0x10002909
cmp dword [0x72158c], 0
mov byte [ebp - 1], bl
je 0x1000290d
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 8]
call fcn.100074b7
cmp byte [ebp - 1], 0
je 0x1000291e
push ebx
jmp 0x10002976
mov dword [ebp - 0x12], 0xa0b0a4bc
xor ecx, ecx
mov dword [ebp - 0xe], 0xbbb6f4a7
mov word [ebp - 0xa], 0xb3
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0x12], al
inc ecx
cmp ecx, 9
jb 0x10002934
lea eax, [ebp - 0x12]
mov byte [ebp - 9], 0
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
test eax, eax
je 0x10002966
cmp dword [0x72158c], 0
je 0x10002968
xor bl, bl
mov ecx, dword [ebp - 8]
call fcn.100074b7
test bl, bl
je 0x1000297e
push 0
push esi
call fcn.10014403
jmp 0x100029de
xor ebx, ebx
mov dword [ebp - 0xd], 0xa6b8a8aa
mov byte [ebp - 9], bl
mov ecx, ebx
lea eax, [ecx - 0x31]
xor byte [ebp + ecx - 0xd], al
inc ecx
cmp ecx, 4
jb 0x1000298c
lea eax, [ebp - 0xd]
mov byte [ebp - 9], bl
push eax
lea ecx, [ebp - 8]
call fcn.100043f9
push eax
mov ecx, edi
call fcn.10004468
mov ecx, dword [ebp - 8]
mov esi, eax
call fcn.100074b7
test esi, esi
je 0x100029d0
mov ecx, 0x721568
mov dword [0x72158c], ebx
call fcn.1001416e
jmp 0x100029de
push ecx
mov ecx, esp
push edi
call fcn.100044bb
call fcn.100141e2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007725
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
cmp dword [ebx + 0xc], esi
je 0x10007876
cmp dword [ebx + 0x10], esi
je 0x10007876
mov dword [ebx + 4], esi
mov eax, esi
mov dword [ebx], esi
mov ecx, dword [ebx + 0xc]
movzx edx, al
mov al, byte [ebx]
mov byte [edx + ecx], al
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
cmp eax, 0x100
jb 0x10007750
mov dword [ebx], esi
mov eax, esi
push edi
movzx esi, al
xor edx, edx
mov ecx, 0xfa
mov edi, dword [ebx + 0xc]
div ecx
mov eax, dword [ebx + 0x10]
movsx ecx, byte [edx + eax]
movsx eax, byte [esi + edi]
add ecx, eax
add dword [ebx + 4], ecx
mov eax, dword [ebx + 4]
movzx eax, al
mov al, byte [eax + edi]
xor byte [esi + edi], al
mov edx, dword [ebx + 0xc]
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 4]
mov al, byte [eax + edx]
xor byte [ecx + edx], al
mov edx, dword [ebx + 0xc]
movzx eax, byte [ebx + 4]
movzx ecx, byte [ebx]
mov al, byte [eax + edx]
xor byte [ecx + edx], al
mov eax, dword [ebx]
inc eax
mov dword [ebx], eax
cmp eax, 0x100
jb 0x1000776c
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
cmp dword [ebx + 8], eax
jbe 0x10007875
mov ecx, eax
mov edi, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [ebx], eax
mov edx, dword [ebx + 0xc]
movzx ecx, al
mov bl, byte [ecx + edx]
movsx eax, bl
add dword [edi + 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 4]
movzx eax, al
mov al, byte [eax + edx]
mov byte [ecx + edx], al
movzx ecx, byte [edi + 4]
movsx esi, al
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xc], esi
mov byte [ecx + eax], bl
mov ebx, edi
mov esi, dword [ebx + 4]
mov ecx, esi
mov edx, dword [ebx]
mov eax, edx
mov edi, dword [ebx + 0xc]
shl eax, 5
shr ecx, 3
xor ecx, eax
shr edx, 3
movzx eax, cl
movsx ecx, byte [eax + edi]
mov eax, esi
shl eax, 5
xor edx, eax
movzx eax, dl
mov edx, dword [ebp - 0xc]
movsx eax, byte [eax + edi]
add ecx, eax
mov eax, dword [ebp - 0x10]
xor ecx, 0xffffffaa
add eax, edx
movzx ecx, cl
movzx eax, al
mov cl, byte [ecx + edi]
add cl, byte [eax + edi]
lea eax, [esi + edx]
mov edx, dword [ebp + 8]
movzx eax, al
xor cl, byte [eax + edi]
mov eax, dword [ebp - 8]
xor byte [eax + edx], cl
inc eax
inc dword [ebx]
mov ecx, dword [ebx]
mov dword [ebp - 8], eax
cmp eax, dword [ebx + 8]
jb 0x100077d5
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000a5b2
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0x7216a8], 0
push ebx
push esi
push edi
jne 0x1000a5cd
xor eax, eax
xor edx, edx
jmp 0x1000a714
mov esi, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
test esi, esi
jle 0x1000a5ec
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
jmp 0x1000a5f4
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov ecx, edx
test esi, esi
jle 0x1000a60e
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
jmp 0x1000a616
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, edx
test esi, esi
jle 0x1000a630
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1000a638
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov ecx, edx
test esi, esi
jle 0x1000a652
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000a65a
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
and dword [ebp - 8], 0
mov eax, edx
and dword [ebp - 0xc], 0
xorps xmm0, xmm0
cdq
mov dword [ebp - 0x44], eax
mov eax, esi
mov dword [ebp - 0x40], edx
cdq
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov word [ebp - 0xc], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 8], esp
and esp, 0xfffffff0
push 0x33
call fcn.1000a695
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a719
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x17
mov dword [ebp - 8], 0x71bbb4
push ebx
push esi
push edi
test ecx, ecx
jne 0x1000a742
test eax, eax
jne 0x1000a742
xor al, al
jmp 0x1000a7a0
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
push 0x33
call fcn.1000a753
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000a7a5
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5dc
cmp dword [0x7216a8], 0
push ebx
push esi
push edi
je 0x1000aace
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
push 0x33
call fcn.1000a7cd
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000ab14
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
push ebx
push esi
push edi
call fcn.1000aaee
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp eax, ecx
jne 0x1000ab39
cmp edx, ecx
je 0x1000aec8
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
push 0x33
call fcn.1000ab4f
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10015efc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, 0x5a4d
mov dword [esi + 0x20], edi
cmp word [edi], ax
jne 0x10015ffc
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x10015ffc
movzx ecx, word [eax + 4]
mov edx, 0x14c
cmp cx, dx
jne 0x10015f95
mov dword [esi + 0x40], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x24], eax
push dword [eax + 0x54]
push edi
call fcn.10003ed4
mov ecx, dword [esi + 0x24]
and dword [ebp + 8], 0
movzx eax, word [ecx + 0x14]
lea ebx, [ecx + 0x18]
add ebx, eax
xor eax, eax
cmp ax, word [ecx + 6]
jae 0x10015ff4
sub esp, 0x30
mov ecx, esp
push ecx
push ebx
push edi
call fcn.10016702
lea ecx, [esi + 0x2c]
call fcn.10016005
mov eax, dword [esi + 0x24]
add ebx, 0x28
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x10015f69
jmp 0x10015ff4
mov edx, 0x8664
cmp cx, dx
jne 0x10015ff4
xor ebx, ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x18]
push dword [eax + 0x54]
push edi
call fcn.10003ed4
mov ecx, dword [esi + 0x28]
xor edx, edx
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
mov dword [ebp + 8], eax
cmp dx, word [ecx + 6]
jae 0x10015ff4
sub esp, 0x30
mov ecx, esp
push ecx
push eax
push edi
call fcn.10016702
lea ecx, [esi + 0x2c]
call fcn.10016005
mov ecx, dword [esi + 0x28]
inc ebx
mov eax, dword [ebp + 8]
add eax, 0x28
mov dword [ebp + 8], eax
movzx ecx, word [ecx + 6]
cmp ebx, ecx
jl 0x10015fca
xor eax, eax
inc eax
mov dword [esi + 0x3c], eax
jmp 0x10015ffe
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x1001614e
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10016169
mov edx, dword [ecx + 0x3c]
xor eax, eax
add edx, ecx
cmp dword [edx], 0x4550
cmove eax, edx
ret
xor eax, eax
ret

Function at 0x100161e2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov esi, dword [eax + 0xc]
add esi, 0x14
mov ecx, dword [esi]
jmp 0x1001622d
mov ebx, dword [ecx + 0x28]
mov edx, 0x71bba0
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x1001622b
sub ebx, edx
movzx eax, word [edx]
test ax, ax
je 0x1001622b
cmp ax, di
ja 0x1001622b
jb 0x1001622b
add edx, 2
movzx eax, word [ebx + edx]
mov edi, eax
test ax, ax
jne 0x10016209
cmp word [edx], ax
je 0x10016237
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x100161f5
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx + 0x10]
jmp 0x10016233
Function at 0x1001759d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 4], ecx
call fcn.10001c00
mov esi, 0x71d4f0
mov dword [ebp - 8], eax
pop ecx
mov edx, eax
sub esi, eax
mov edi, 0x601
mov cl, byte [esi + edx]
xor cl, 0x45
mov byte [edx], cl
inc edx
sub edi, 1
jne 0x100175c5
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push 0x7d0
push eax
call dword [0x71b1dc]
push 0x40
push 0x1000
push 0x1fe
push edi
call dword [0x71b0c8]
mov ebx, eax
push 0x104
push ebx
call dword [0x71b1e8]
push ebx
call dword [0x71b21c]
push 0xa
pop ecx
push 0
push 0
push dword [ebp - 4]
lea edi, [ebx + eax*2]
mov esi, 0x71e748
mov eax, dword [ebp - 8]
rep movsd dword es:[edi], dword [esi]
push ebx
add eax, 0xef
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10017a8e
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, edx
mov eax, ebx
cdq
and edx, 3
push esi
push edi
lea edi, [edx + eax]
mov edx, dword [ebp + 8]
sar edi, 2
lea esi, [ecx + edi*4]
neg edi
je 0x10017acf
imul eax, dword [esi + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, edx
rol eax, 0xd
imul edx, eax, 5
sub edx, 0x19ab949c
add edi, 1
jne 0x10017aac
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x10017af5
sub eax, 1
je 0x10017aec
sub eax, 1
jne 0x10017b0b
movzx ecx, byte [esi + 2]
shl ecx, 0x10
movzx eax, byte [esi + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [esi]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, ebx
mov eax, edx
shr eax, 0x10
xor eax, edx
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
pop ebp
ret

Function at 0x10017c71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 4], edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10017c85
sub esi, ecx
xor ecx, ecx
test ebx, ebx
jle 0x10017caa
mov eax, ecx
mov edi, dword [ebp + 8]
cdq
idiv esi
mov al, byte [edx + edi]
mov edi, dword [ebp - 4]
xor byte [ecx + edi], al
inc ecx
cmp ecx, ebx
jl 0x10017c94
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401888
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4018c7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4018c7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018c7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4018c7
cmp dword [ecx + 0x74], 0xe
jbe 0x4018c7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4130a0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push 2
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or edx, 0xffffffff
cmp eax, 0x20
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
jae 0x4130de
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
pop esi
ret 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4130ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
pop esi
ret 4

Function at 0x413730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4432c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4573c0]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
push 0x44596c
mov dword [esp + 0x30], eax
mov edi, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
call fcn.004237f7
add esp, 4
push eax
push 0x44596c
lea ecx, [esp + 0x18]
call fcn.00405c00
push 0x44596c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebx
call fcn.00403c90
mov eax, dword [edi + 0x130]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x38], 1
jbe 0x41380e
push ebp
lea ecx, [ecx]
cmp esi, ebx
jbe 0x4137d0
push 0x447e74
call fcn.004237f7
add esp, 4
push eax
push 0x447e74
lea ecx, [esp + 0x1c]
call fcn.00405ae0
movzx eax, byte [edi + esi + 0x128]
push eax
lea ecx, [esp + 0x14]
push 0x447e68
push ecx
call fcn.00402f10
mov eax, dword [esp + 0x1c]
push eax
mov ebp, eax
call fcn.004237f7
add esp, 0x10
push eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00405ae0
mov eax, dword [edi + 0x130]
inc esi
cmp esi, eax
jb 0x4137b0
pop ebp
mov esi, dword [esp + 0x40]
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov word [esi + 4], bx
call fcn.00405690
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413851
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x28], 8
jb 0x413865
mov eax, dword [esp + 0x14]
push eax
call fcn.00438ff2
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
pop ebx
call fcn.00423e28
add esp, 0x30
ret 4
Function at 0x416de0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x443608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x4573c0]
push esi
mov dword [esp + 0x64], eax
push edi
xor edx, edx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x4486c0
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], edx
call fcn.00416a90
mov esi, dword [esp + 0x7c]
push esi
lea ecx, [esp + 0x10]
call fcn.00416ba0
mov ecx, dword [esp + 0x6c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
mov eax, esi
pop esi
call fcn.00423e28
add esp, 0x70
ret
Function at 0x43ee41
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4573c0]
push ebx
push esi
xor eax, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x44a6a4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x43eeeb
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x2c], ecx
call esi
push dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x40], eax
call esi
mov dword [ebp - 0x3c], eax
push 4
xor ebx, ebx
jmp 0x43efed
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x43ef9b
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push SysReAllocString
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43efee
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ef90
cmp dword [ebp - 0x34], 1
jne 0x43ef90
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x24]
push 0x4486c4
push eax
call fcn.00425e21
add esp, 0xc
cmp eax, 1
jne 0x43ef90
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x28], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
push 2
mov dword [ebp - 0x44], eax
pop esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43efee
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x43efee
lea ecx, [ebp - 0x28]
push ecx
push 0x43ee2b
push 1
push 0x10
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
cmp word [ebp - 0x28], bx
je 0x43efee
movzx eax, word [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x48], eax
call esi
mov dword [ebp - 0x44], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x48], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x43f013
push dword [ebp + edi*4 - 0x48]
mov ecx, dword [ebp - 0x4c]
call fcn.0043eda8
cmp eax, ebx
pop ecx
jne 0x43f015
inc edi
cmp edi, esi
jl 0x43effd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423e28
leave
ret 4