joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417890
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
xor eax, eax
push ebx
mov dword [esp + 9], eax
push ebp
mov dword [esp + 0x11], eax
push esi
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1d], eax
mov dword [esp + 0x10], 0
mov word [esp + 0x21], ax
mov byte [esp + 0x14], 0
test edi, edi
mov byte [esp + 0x23], al
jne 0x4178d2
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x14
ret 8
mov eax, dword [edi + 4]
test eax, eax
je 0x4178f9
mov edx, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov eax, dword [edi]
push eax
call fcn.00416a10
test eax, eax
je 0x417920
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [edi + 8]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x417924
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
push ecx
push edx
call fcn.00416e50
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push 0x10
lea ecx, [esi + 0x20]
push ecx
push eax
mov eax, dword [edi]
push 0
push eax
mov dword [esp + 0x44], ecx
call fcn.00416070
test eax, eax
jne 0x417a44
lea ebx, [esi + 0x10]
mov cl, byte [ebx + eax]
mov dl, byte [esp + eax + 0x14]
xor dl, cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x10
jb 0x41794d
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x18]
push 0x10
push eax
push ecx
push 0
push edx
call fcn.00416070
test eax, eax
jne 0x417a44
mov ebp, esi
lea eax, [esp + 0x14]
xor ecx, ecx
sub ebp, eax
lea eax, [esp + ecx + 0x14]
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc ecx
cmp ecx, 0x10
jb 0x41798d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push 0x10
push ecx
push edx
push 0
push eax
call fcn.00416070
test eax, eax
jne 0x417a44
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x30], ecx
push 0x10
mov dword [esi + 0x34], edx
mov ecx, dword [edi]
push esi
push eax
push 0
push ecx
call fcn.00416070
test eax, eax
jne 0x417a44
mov ecx, 0xfffffff0
mov eax, ebx
sub ecx, esi
mov dl, byte [eax - 0x10]
xor byte [eax], dl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x4179ed
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
push ebx
push 0x10
push ebx
push eax
push 0
push ecx
call fcn.00416070
test eax, eax
jne 0x417a44
mov ebp, dword [esp + 0x2c]
mov ecx, 0xffffffe0
mov eax, ebp
sub ecx, esi
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x417a1f
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
push ebp
push 0x10
push ebp
push eax
push 0
push ecx
call fcn.00416070
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4190c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
mov eax, dword [ecx]
push esi
mov dword [edx], eax
mov esi, dword [ecx + 4]
mov dword [esp + 0xc], eax
push edi
mov dword [edx + 4], esi
mov edi, dword [ecx + 8]
lea eax, [edx + 8]
mov dword [eax], edi
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x1c], ebp
mov dword [edx + 0xc], ebp
mov ecx, 0x4499cc
mov edx, dword [esp + 0x1d]
mov bl, byte [esp + 0x10]
and edx, 0xff
add eax, 0x10
add ecx, 4
mov dl, byte [edx + str.cw]
xor dl, bl
mov bl, byte [ecx - 4]
xor dl, bl
mov bl, byte [esp + 0x11]
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x1e]
and edx, 0xff
mov dl, byte [edx + str.cw]
xor bl, dl
mov edx, dword [esp + 0x1f]
and edx, 0xff
mov byte [esp + 0x11], bl
mov bl, byte [esp + 0x12]
mov dl, byte [edx + str.cw]
xor bl, dl
mov edx, ebp
and edx, 0xff
mov byte [esp + 0x12], bl
mov bl, byte [esp + 0x13]
mov dl, byte [edx + str.cw]
xor bl, dl
mov byte [esp + 0x13], bl
mov edx, dword [esp + 0x10]
xor esi, edx
mov dword [eax - 8], edx
xor edi, esi
mov dword [eax - 4], esi
xor ebp, edi
cmp ecx, 0x4499f4
mov dword [esp + 0x1c], ebp
mov dword [eax], edi
mov dword [eax + 4], ebp
jl 0x4190f4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x419340
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov dl, byte [ecx + str.cw]
mov ecx, dword [esp + 4]
mov byte [ecx], dl
xor edx, edx
mov dl, byte [eax + 4]
mov dl, byte [edx + str.cw]
mov byte [ecx + 4], dl
xor edx, edx
mov dl, byte [eax + 8]
mov dl, byte [edx + str.cw]
mov byte [ecx + 8], dl
xor edx, edx
mov dl, byte [eax + 0xc]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xc], dl
xor edx, edx
mov dl, byte [eax + 1]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xd], dl
xor edx, edx
mov dl, byte [eax + 5]
mov dl, byte [edx + str.cw]
mov byte [ecx + 1], dl
xor edx, edx
mov dl, byte [eax + 9]
mov dl, byte [edx + str.cw]
mov byte [ecx + 5], dl
xor edx, edx
mov dl, byte [eax + 0xd]
mov dl, byte [edx + str.cw]
mov byte [ecx + 9], dl
xor edx, edx
mov dl, byte [eax + 2]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xa], dl
xor edx, edx
mov dl, byte [eax + 0xa]
mov dl, byte [edx + str.cw]
mov byte [ecx + 2], dl
xor edx, edx
mov dl, byte [eax + 6]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xe], dl
xor edx, edx
mov dl, byte [eax + 0xe]
mov dl, byte [edx + str.cw]
mov byte [ecx + 6], dl
xor edx, edx
mov dl, byte [eax + 3]
mov dl, byte [edx + str.cw]
mov byte [ecx + 7], dl
xor edx, edx
mov dl, byte [eax + 0xf]
mov dl, byte [edx + str.cw]
mov byte [ecx + 3], dl
xor edx, edx
mov dl, byte [eax + 0xb]
mov dl, byte [edx + str.cw]
mov byte [ecx + 0xf], dl
xor edx, edx
mov dl, byte [eax + 7]
mov al, byte [edx + str.cw]
mov byte [ecx + 0xb], al
ret
Function at 0x419870
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
mov cl, byte [eax]
mov dl, byte [ecx + 0x4494cc]
mov ecx, dword [esp + 4]
mov byte [ecx], dl
xor edx, edx
mov dl, byte [eax + 4]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 4], dl
xor edx, edx
mov dl, byte [eax + 8]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 8], dl
xor edx, edx
mov dl, byte [eax + 0xc]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 0xc], dl
xor edx, edx
mov dl, byte [eax + 1]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 5], dl
xor edx, edx
mov dl, byte [eax + 0xd]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 1], dl
xor edx, edx
mov dl, byte [eax + 9]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 0xd], dl
xor edx, edx
mov dl, byte [eax + 5]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 9], dl
xor edx, edx
mov dl, byte [eax + 2]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 0xa], dl
xor edx, edx
mov dl, byte [eax + 0xa]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 2], dl
xor edx, edx
mov dl, byte [eax + 6]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 0xe], dl
xor edx, edx
mov dl, byte [eax + 0xe]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 6], dl
xor edx, edx
mov dl, byte [eax + 3]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 0xf], dl
xor edx, edx
mov dl, byte [eax + 7]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 3], dl
xor edx, edx
mov dl, byte [eax + 0xb]
mov dl, byte [edx + 0x4494cc]
mov byte [ecx + 7], dl
xor edx, edx
mov dl, byte [eax + 0xf]
mov al, byte [edx + 0x4494cc]
mov byte [ecx + 0xb], al
ret

Function at 0x419cf0
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
xor eax, eax
mov ecx, 0x10
lea edi, [edx + 0x1c]
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
rep stosd dword es:[edi], eax
pop edi
ret 4
Function at 0x41dfc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x140
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0041cd80
lea ecx, [esp + 0x14]
lea edx, [esp + 0xa4]
push ecx
push edx
call fcn.004190c0
mov edi, dword [esp + 0x160]
add esp, 0xc
mov ebp, 0x60
lea ecx, [esp + 0x20]
lea eax, [edi + ebp]
sub ecx, edi
mov esi, 0x10
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor dl, bl
mov byte [ecx + eax], dl
inc eax
dec esi
jne 0x41e003
lea eax, [esp + ebp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push ecx
call fcn.00419710
sub ebp, 0x10
add esp, 8
cmp ebp, 0x10
jge 0x41dff5
push 0x10
lea edx, [esp + 0x24]
push edi
push edx
call fcn.0040d5f0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xac]
push eax
push ecx
call fcn.00419710
lea edx, [esp + 0x24]
push edx
call fcn.0041cdd0
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x28]
push eax
push 0x10
push ecx
lea edx, [esp + 0x44]
push 0x60
push edx
call fcn.0041e180
push 0x10
lea eax, [esp + 0x40]
push 0
push eax
call fcn.0040d610
add esp, 0x38
xor eax, eax
mov cl, byte [esp + eax + 0x90]
mov dl, byte [esp + eax + 0x80]
cmp cl, dl
jne 0x41e0f3
inc eax
cmp eax, 0x10
jl 0x41e085
mov esi, dword [esp + 0x158]
lea edx, [esp + 0x30]
push 0x10
push edx
push esi
call fcn.0040d5f0
lea eax, [esp + 0x5c]
push 0x10
lea ecx, [esi + 0x10]
push eax
push ecx
call fcn.0040d5f0
lea edx, [esp + 0x88]
push 0xa
add esi, 0x20
push edx
push esi
call fcn.0040d5f0
add esp, 0x24
xor eax, eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esp + eax + 0x28]
mov dl, byte [esp + eax + 0x20]
not ecx
cmp edx, ecx
jne 0x41e103
inc eax
cmp eax, 8
jl 0x41e0d9
jmp 0x41e12b
pop edi
pop esi
pop ebp
mov eax, 0xca
pop ebx
add esp, 0x140
ret
mov eax, dword [esp + 0x15c]
mov ecx, 0x100
pop edi
pop esi
mov word [eax + 2], cx
mov word [eax], cx
mov word [eax + 4], cx
mov word [eax + 6], cx
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
lea eax, [esp + 0x40]
push eax
call fcn.00414640
mov esi, dword [esp + 0x160]
lea ecx, [esp + 0x46]
push ecx
mov word [esi + 2], ax
call fcn.00414640
lea edx, [esp + 0x4c]
mov word [esi], ax
push edx
call fcn.00414640
mov word [esi + 4], ax
lea eax, [esp + 0x52]
push eax
call fcn.00414640
add esp, 0x10
mov word [esi + 6], ax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
Function at 0x41e180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x140
push esi
mov esi, dword [esp + 0x154]
cmp esi, 0x40
jle 0x41e1d6
lea eax, [esp + 0xec]
push eax
call fcn.0041e2d0
mov ecx, dword [esp + 0x154]
push esi
lea edx, [esp + 0xf4]
push ecx
push edx
call fcn.0041e300
lea eax, [esp + 0xfc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0041e3b0
add esp, 0x18
lea edx, [esp + 4]
mov esi, 0x10
jmp 0x41e1dd
mov edx, dword [esp + 0x150]
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x18]
test esi, esi
rep stosd dword es:[edi], eax
jle 0x41e21a
mov edi, edx
lea edx, [esp + 0x18]
sub edi, edx
lea ecx, [esp + eax + 0x18]
inc eax
cmp eax, esi
mov dl, byte [edi + ecx]
mov byte [esp + eax + 0xaf], dl
mov byte [ecx], dl
jl 0x41e205
xor eax, eax
pop edi
mov dl, byte [esp + eax + 0xac]
mov cl, byte [esp + eax + 0x14]
xor dl, 0x36
xor cl, 0x5c
mov byte [esp + eax + 0xac], dl
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, 0x40
jl 0x41e21d
lea eax, [esp + 0x54]
push eax
call fcn.0041e2d0
lea ecx, [esp + 0xb0]
push 0x40
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.0041e300
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.0041e300
mov esi, dword [esp + 0x174]
lea eax, [esp + 0x70]
push eax
push esi
call fcn.0041e3b0
lea ecx, [esp + 0x78]
push ecx
call fcn.0041e2d0
lea edx, [esp + 0x3c]
push 0x40
lea eax, [esp + 0x80]
push edx
push eax
call fcn.0041e300
push 0x10
lea ecx, [esp + 0x8c]
push esi
push ecx
call fcn.0041e300
add esp, 0x40
lea edx, [esp + 0x54]
push edx
push esi
call fcn.0041e3b0
add esp, 8
pop esi
add esp, 0x140
ret

Function at 0x41e2d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x421020
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xd0]
push edi
push 0x50
push esi
call fcn.00417f20
mov ebx, dword [esp + 0xe0]
lea edi, [esi + 0x10]
push 0x10
push ebx
push edi
call fcn.0040d5f0
lea eax, [ebx + 0x10]
push 0x10
lea ecx, [esi + 0x30]
push eax
push ecx
call fcn.0040d5f0
add ebx, 0x20
push 0xa
lea edx, [esi + 0x50]
push ebx
push edx
call fcn.0040d5f0
mov ebp, dword [esp + 0x108]
add esp, 0x2c
test ebp, ebp
je 0x4210d6
mov ecx, 0xfffffff8
lea eax, [esi + 8]
sub ecx, esi
mov dl, byte [eax - 8]
inc eax
not dl
mov byte [eax - 1], dl
lea edx, [ecx + eax]
cmp edx, 8
jl 0x421082
xor eax, eax
lea ecx, [esi + 0x20]
mov ax, word [ebp + 2]
push eax
push ecx
call fcn.00414660
xor edx, edx
lea eax, [esi + 0x22]
mov dx, word [ebp]
push edx
push eax
call fcn.00414660
xor ecx, ecx
lea edx, [esi + 0x24]
mov cx, word [ebp + 4]
push ecx
push edx
call fcn.00414660
xor eax, eax
lea ecx, [esi + 0x26]
mov ax, word [ebp + 6]
push eax
push ecx
call fcn.00414660
add esp, 0x20
lea ebx, [esi + 0x60]
push 0x10
push 0
push ebx
call fcn.0040d610
lea edx, [esp + 0x1c]
push edx
call fcn.0041cdd0
push ebx
lea eax, [esp + 0x24]
push 0x10
push eax
push 0x60
push esi
call fcn.0041e180
lea ecx, [esp + 0x34]
push ecx
call fcn.0041cd80
lea edx, [esp + 0x38]
lea eax, [esp + 0x48]
push edx
push eax
call fcn.004190c0
lea ecx, [esp + 0x50]
push esi
push ecx
call fcn.004191a0
add esp, 0x38
xor esi, esi
lea edx, [edi + esi]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004191a0
add esp, 8
mov eax, 0x10
mov cl, byte [edi + esi - 0x10]
mov bl, byte [edi + esi]
xor bl, cl
mov byte [edi + esi], bl
inc esi
dec eax
jne 0x42113c
cmp esi, 0x60
jl 0x421126
push 0x10
lea edx, [esp + 0x14]
push 0
push edx
call fcn.0040d610
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x437470
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call fcn.00438121
add esp, 4
test eax, eax
jne 0x437485
or eax, 0xffffffff
ret
push esi
push edi
xor edx, edx
mov esi, eax
mov ecx, edx
mov edi, 8
test cl, 1
je 0x4374a1
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4374a3
shr ecx, 1
dec edi
jne 0x437492
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0xff
jle 0x43748b
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x4374c0
Capabilities:
Encode data using xor

Disassembly:
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 8]
push eax
call fcn.00437470
add esp, 4
test eax, eax
je 0x4374ec
mov eax, dword [esp + 8]
test eax, eax
je 0x4374e7
push eax
call fcn.00437fc0
add esp, 4
or eax, 0xffffffff
pop edi
ret
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, eax
dec eax
push esi
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x437525
push ebx
lea edx, [eax + 1]
mov eax, dword [esi]
xor ebx, ebx
mov bl, byte [edi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
inc edi
shr eax, 8
mov ecx, dword [ebp + ecx*4]
xor eax, ecx
dec edx
mov dword [esi], eax
jne 0x437505
pop ebx
test ebp, ebp
je 0x437532
push ebp
call fcn.00437fc0
add esp, 4
mov eax, dword [esi]
pop esi
pop ebp
pop edi
ret

Function at 0x437880
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x43790b
mov edx, dword [esp + 0x14]
lea ecx, [esp + 4]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x437902
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.ServiceName
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x437910
cmp dword [esp + 0x10], 1
jne 0x437910
mov edx, dword [esp + 4]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
xor eax, eax
pop esi
add esp, 8
ret
or eax, 0xffffffff
pop esi
add esp, 8
ret

Function at 0x437960
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4379d4
push eax
push eax
push eax
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4379d2
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call fcn.00437940
add esp, 8
pop esi
add esp, 0x18
ret
mov eax, esi
pop esi
add esp, 0x18
ret
Function at 0x437ac0
Capabilities:
Check if file exists
Get disk information

Disassembly:
sub esp, 0x404
mov eax, dword [esp + 0x418]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
lea ecx, [esp + 0x14]
push 0x200
xor ebx, ebx
push ecx
push ebp
mov byte [esp + 0x1f], 0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x437b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x437b5a
lea edx, [esp + 0x14]
push str.Device_
push edx
call fcn.0040d590
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
push ebp
push 1
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x437c0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x437c47
lea ecx, [esp + 0x214]
push str.._
push ecx
call fcn.0040d590
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x214]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
push eax
push 3
push eax
mov ecx, edx
push 1
push eax
and ecx, 3
lea eax, [esp + 0x22c]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x437c14
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x424]
mov eax, dword [esp + 0x420]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x42c]
push 4
push ecx
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x437c01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x437c1c
mov byte [esp + 0x13], 1
jmp 0x437b64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x13]
test al, al
je 0x437c47
lea edx, [esp + 0x14]
push edx
push ebp
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x437c47
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x43b885
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov edx, edi
lea esi, [eax + 0x17]
sub edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
and esi, 0xfffffff0
shr edx, 0xf
mov ecx, edx
imul ecx, ecx, 0x204
lea ecx, [ecx + eax + 0x144]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi - 4]
dec ecx
cmp esi, ecx
mov dword [ebp + 0x10], ecx
mov ebx, dword [ecx + edi - 4]
lea edi, [ecx + edi - 4]
mov dword [ebp - 4], ebx
jle 0x43ba33
test bl, 1
jne 0x43ba2c
add ebx, ecx
cmp esi, ebx
jg 0x43ba2c
mov ecx, dword [ebp - 4]
sar ecx, 4
dec ecx
cmp ecx, 0x3f
mov dword [ebp - 8], ecx
jbe 0x43b8fc
push 0x3f
pop ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jne 0x43b94c
cmp ecx, 0x20
jae 0x43b928
mov ebx, bind
shr ebx, cl
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 4]
not ebx
and dword [eax + edx*4 + 0x44], ebx
dec byte [ecx]
jne 0x43b94c
mov ecx, dword [ebp + 8]
and dword [ecx], ebx
jmp 0x43b94c
add ecx, 0xffffffe0
mov ebx, bind
shr ebx, cl
mov ecx, dword [ebp - 8]
lea ecx, [ecx + eax + 4]
not ebx
and dword [eax + edx*4 + 0xc4], ebx
dec byte [ecx]
jne 0x43b94c
mov ecx, dword [ebp + 8]
and dword [ecx + 4], ebx
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 4]
mov dword [ecx + 4], ebx
mov ecx, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [ecx + 8], edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x43ba68
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x43ba4f
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x43ba60
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x43ba6a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x43ba45
xor eax, eax
pop edi
pop esi
ret

Function at 0x43bccc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x43bcdb
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0043b9ed
stc
sub ecx, ebp
fimul dword [ebp - 0x17af3fbb]
invalid

Function at 0x43c4d6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0043b9fd
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043b9b2
add esp, 0xc
mov dword [ebp - 0x680], eax