joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10173ba8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x10188814]
add eax, 0xffffda07
mov dword [0x10188814], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10173c01
jmp 0x10173d28
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0x4550
je 0x10173cc3
jmp 0x10173caf
lea eax, [esp + 0x38]
mov dword [0x10188814], 0xbdc
mov dword [esp + 0x14], eax
call fcn.10174e7a
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10173d20
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10173dd7
lea ecx, [0x101750e1]
mov dword [0x10188818], 0xb1d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x7c], 0x151200
mov edx, dword [0x10188800]
mov dword [esp + 0x60], edx
mov edx, dword [0x10188804]
mov dword [esp + 0x70], edx
mov edx, dword [0x10188808]
mov dword [esp + 0x8c], edx
mov edx, dword [0x1018880c]
mov dword [esp + 0x58], edx
mov dword [0x10188814], 0x135a
mov edx, dword [0x10188810]
mov dword [esp + 0x74], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 8]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
je 0x10173bdb
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
jmp 0x10173c9c
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x84], esi
mov dword [0x10188814], 0x111c
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10174080
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10188814]
add ecx, 0xfffff0fe
mov dword [0x10188814], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10173dd7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10188814], 0x483
mov dword [0x10188818], 0xa86
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10173ebb
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
mov esi, ecx
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xd0
mov esi, dword [ebp - 0x144]
add esi, eax
mov ebx, ecx
shl ebx, 8
mov dword [ebp - 0x148], eax
mov eax, edx
add eax, ebx
add eax, 0xf8
mov ebx, ecx
shl ebx, 8
add edx, ebx
add edx, 0xc0
add ecx, 1
mov eax, dword [eax]
mov edx, dword [edx]
movzx edi, word [edi]
xor edi, eax
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edi
call fcn.10175033
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x148]
add eax, ecx
mov edx, dword [ebp - 0x14c]
cmp edx, 0xf8
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
je 0x10173fbd
jmp 0x10173e15
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
mov esi, ecx
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0xf8
mov esi, ecx
shl esi, 8
add edx, esi
add edx, 0xd0
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0xf8
mov eax, edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x10173ebb
lea eax, [0x101766a9]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x10188818], 0x18c2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], ecx
call fcn.10174796
mov dword [0x10188814], 0x2e3
mov dword [0x10188818], 0x2085
call fcn.10174332
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.1017458e
mov ecx, eax
mov dword [0x10188834], eax
mov eax, esp
mov edx, dword [ebp - 0x154]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x10173e15
lea eax, [0x101766b7]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x10188814], 0x1ad9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10174b4f
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x154]
mov dword [esp + 0xc], edx
call fcn.101748fa
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0xe8b2
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov ecx, dword [0x10188818]
add ecx, 0xfffff632
mov dword [0x10188814], ecx
mov dword [edx + 4], 0x151200
mov ecx, dword [ebp - 0x144]
add ecx, 0x8932
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f50
mov ecx, dword [0x10188814]
add ecx, 0xffffe960
mov dword [0x10188818], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10174080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101766a9]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10188814], 0x90d
mov dword [0x10188818], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10174796
mov eax, dword [0x10188814]
add eax, 0x1da2
mov dword [0x10188818], eax
call fcn.10174332
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1017458e
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x101741ca
mov eax, dword [ebp - 0x3c]
mov dword [0x10188818], 0xc01
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10188814], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.101743dc
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x10188818], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x40], ecx
mov ecx, dword [0x10188818]
add ecx, 0xffffeed3
mov dword [0x10188818], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x10], ecx
mov dword [0x10188814], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x101741ca
mov eax, dword [ebp - 0x44]
add eax, 0x1fb6
mov dword [ebp - 0x48], eax
mov dword [0x10188818], 0x1479
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x101748fa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1018881c], 0
mov dword [0x10188820], 0
mov dword [0x1018882c], 0
mov ebx, dword [0x10188814]
add ebx, 0x5f1
mov dword [0x10188814], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10174a8b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0x214e
mov dword [0x10188814], ecx
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1018881c], edx
mov dword [0x10188818], 0xe94
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10188820], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10188824], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10188814], 0x20fe
mov cl, byte [0x10188824]
mov edx, dword [0x10188820]
mov byte [edi + edx], cl
mov edx, dword [0x1018881c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10188820]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1018882c], ebx
mov dword [0x10188814], 0x211
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x10188831], ch
mov byte [0x10188832], cl
mov dword [0x10188814], 0x1106
xor ch, cl
mov byte [0x10188830], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x10174a8b
mov eax, dword [0x1018881c]
mov ecx, dword [0x10188820]
mov edx, dword [0x10188814]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jmp 0x10174968
mov eax, dword [0x10188818]
add eax, 0x221
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [0x10188818], eax
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10174b4f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10188820], 0
mov byte [0x10188824], 0
mov dword [0x10188814], 0x9b7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1018881c], 0
mov dword [ebp - 0x1c], eax
jmp 0x10174c84
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10188828], 0
mov dword [0x10188818], 0xa70
mov edx, dword [0x10188820]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10188828], edi
mov dword [0x10188814], 0x2605
mov eax, edi
cdq
idiv ecx
mov dword [0x10188820], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10188824], cl
mov dword [0x10188818], 0x1d7f
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10188814], 0x14bd
mov cl, byte [0x10188824]
mov edx, dword [0x10188820]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1018881c]
add edx, 1
mov dword [0x1018881c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10174b99
mov dword [0x10188814], 0x20f6
mov dword [0x10188818], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x1018881c], 0
mov dword [ebp - 0x20], eax
jmp 0x10174b99
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10188814], 0x1a34
mov eax, dword [0x1018881c]
add eax, 1
mov dword [0x1018881c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10174c84
jmp 0x10174c70
Function at 0x10174cb6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov ecx, dword [0x10188814]
add ecx, 0x89f
mov dword [0x10188814], ecx
mov dword [0x10188818], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.10173a74
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10174d0e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10188814], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10188818], 0x1e93
mov edi, eax
add edi, 0x18
mov ebx, dword [ebp - 0x1c]
add ebx, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
jne 0x10174d9b
mov eax, dword [ebp - 0x38]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x50], edx
jb 0x10174db3
jmp 0x10174d64
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
add edx, esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x10188814], edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x58], esi
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], bh
mov byte [ebp - 0x5e], cl
je 0x10174e3c
mov al, byte [ebp - 0x5d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x5c]
add edx, 1
mov byte [ebp - 0x5f], cl
mov dword [ebp - 0x64], edx
mov al, byte [ebp - 0x5e]
mov cl, byte [ebp - 0x5f]
and al, cl
mov edx, dword [ebp - 0x64]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x58], edx
jne 0x10174ddf
mov al, byte [ebp - 0x5e]
test al, 1
jne 0x10174e48
jmp 0x10174d6f
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10188814], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10188818], 0x19e
mov dword [ebp - 0x38], edi
jmp 0x10174d64
Function at 0x10174e7a
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x10188814]
add eax, 0xfffff2a7
mov dword [0x10188814], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [0x10188818], 0x1944
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10188814], 0x2173
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10174ef4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10174f4c
jmp 0x10174fd1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10174f5d
jmp 0x10174fd1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10174f21
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
jl 0x10174ef4
mov eax, dword [ebp - 0x28]
mov dword [0x10188818], 0x1341
mov dword [0x10188814], 0x356f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x10174ecc
jmp 0x10174fd1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10174ee0
jmp 0x10174fd1
mov dword [0x10188814], 0x8c1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10174fd1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10174fd1
mov eax, 0xb8a
mov ecx, 0x23bc
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x10174fb8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x10188814], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4076e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov bl, 1
test edx, edx
je 0x407984
push dword [ebp + 0x10]
call fcn.004079a0
test al, al
jne 0x407984
cmp dword [ebp + 0x14], edi
je 0x407984
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x407808
push edi
push edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push edi
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x407984
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408c00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4077b6
push dword [ebp - 4]
mov edx, esi
mov ecx, ebx
call fcn.0040c560
test eax, eax
jns 0x4077b6
push ebx
call dword [sym.imp.msvcrt.dll____V_YAXPAX_Z]
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 0x14]
xor bl, bl
mov dword [eax], edi
invalid

Function at 0x409520
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40dd90
call fcn.0040981c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x409580
cmp eax, 0xffffffff
je 0x409580
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x409579
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x409579
cmp edx, 0x10000000
jae 0x409579
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x409576
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x409600
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40963e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x409636
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x409640
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x409626
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x409720
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40974f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40974f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40981c
Capabilities:
Hash data using murmur3

Disassembly:
push 0x408f10
push dword fs:[0]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
lea ebp, [esp + 0x10]
sub esp, eax
push ebx
push esi
push edi
mov eax, dword [0x40f394]
xor dword [ebp - 4], eax
xor eax, ebp
push eax
mov dword [ebp - 0x18], esp
pushal
pushfd
call fcn.00405074
mov ecx, dword [0x40f3f4]
mov edi, esp
or esi, edi
sub esi, 0x848ccf6
xor ebx, eax
xchg esi, eax
sub ecx, dword [0x40f148]
xor ecx, ecx
neg esi
rol esi, 0x13
add esi, edx
mov ecx, 0x24b00e

Function at 0x40987b
Capabilities:
Hash data using murmur3

Disassembly:
neg esi
shr ebx, 0x1e
rol esi, 0x13
call fcn.00408c83
inc eax
dec esi
inc esi
shr esi, 0x19
neg esi
rol esi, 0x1b
sub dword [0x40f9ec], 0x4e08a0a
loopne 0x40989c
not ebx
add esi, dword [0x40f062]
invalid
invalid

Function at 0x409896
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
neg esi
shr ebx, 0x1e
rol esi, 0x13
call fcn.00408c83
inc eax
dec esi
inc esi
shr esi, 0x19
neg esi
rol esi, 0x1b
sub dword [0x40f9ec], 0x4e08a0a
loopne 0x40989c
not ebx
add esi, dword [0x40f062]
invalid
invalid

Function at 0x409fc5
Capabilities:
Hash data using murmur3

Disassembly:
dec eax
inc eax
add ecx, edx
neg eax
mov dword [0x40fc94], 0x7b89398
ror esi, 0x16
add edx, eax
sub eax, esi
push 0x40
call fcn.00405993
xor ecx, esi
sub ebx, dword [0x40fe94]
ror esi, 4
inc ecx
mov dword [0x40f9dd], ecx
sub ebx, dword [0x40ff24]
inc dword [eax]
ror eax, 0xd
xor esi, edx
xor esi, dword [0x40fde5]
xchg eax, esi
xor eax, 0x3144d6a
call fcn.00408750
xor edi, dword [0x40ff19]
xchg esi, edx
ror esi, 0x14
xchg edx, esi
sub ecx, dword [0x40fd24]
sub esi, 0x2886c72
ror ecx, 0x10
inc esi
mov dword [0x40fbad], ecx
or dword [0x40f9c6], esi
dec esi
rol ecx, 0x10
add esi, 0x2886c72
xchg edx, esi
rol esi, 0x14
xchg esi, edx
call fcn.00405074
xor eax, 0x3144d6a
xchg eax, esi
xor esi, edx
rol eax, 0xd
mov dword [0x40fc7f], ecx
dec ecx
rol esi, 4
xor ecx, esi
call fcn.00405993
push 0x3000
call fcn.00405993
xor ecx, dword [0x40fdf5]
call fcn.004062d0
xchg esi, eax
add eax, ecx
sub dword [0x40fa40], 0x85134c
call fcn.0040690f
dec edx
xor ecx, eax
not edx
ror eax, 0xe
add dword [0x40fbc4], 0x6f3479a
xor edx, ecx
xor ebx, dword [0x40fdb9]
call fcn.00405993
xchg edx, eax
xchg edx, eax
call fcn.00405074
xor edx, ecx
or dword [0x40fa99], 0x5f099ca
rol eax, 0xe
not edx
xor ecx, eax
inc edx
call fcn.00405074
mov dword [0x40fc85], 0xd8abc75
sub eax, ecx
xchg esi, eax
call fcn.00405074
call fcn.00405993
push 0x927
sub esi, eax
xor esi, edx
or dword [0x40fb1e], 0x23e7cf7
sub dword [0x40facf], ebx
xor edx, 0x2bb01710
sub esi, eax
dec esi
rol esi, 5
add edx, eax
add dword [0x40fae5], esi
rol eax, 0x19
xor esi, eax
call fcn.00406cc3
or dword [0x40fadd], 0x6046720
sub esi, eax
not esi
not esi
add esi, eax
add dword [0x40fa7b], 0x283708f5
call fcn.00405074
xor esi, eax
ror eax, 0x19
xor dword [0x40fa2b], esi
sub edx, eax
ror esi, 5
inc esi
add esi, eax
xor edx, 0x2bb01710
or dword [0x40fafa], 0xf7d44c0
xor esi, edx
add esi, eax
push 0
xor dword [0x40fa63], edx
call fcn.00405074
xchg esi, eax
xor edx, 0x3090d80