joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101901a4
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 edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10190324
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
imul esi, ecx, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
imul esi, ecx, 0x9c
mov ebx, edx
add ebx, esi
add ebx, 0x40
mov esi, dword [ebp - 0x144]
add esi, eax
mov dword [ebp - 0x148], eax
imul eax, ecx, 0x9c
add edx, eax
add edx, 0x74
add ecx, 1
mov eax, dword [edi]
mov edi, dword [ebx]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
call fcn.101908f2
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
add eax, ecx
mov edx, dword [ebp - 0x150]
cmp edx, 0x104
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
je 0x10190394
jmp 0x101901ce
mov eax, dword [ebp - 0x154]
mov cl, byte [eax + 0x10192500]
mov dl, byte [eax + 0x101924d1]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x154], eax
jne 0x10190278
lea eax, [ebp - 0x12c]
mov dword [0x1019fe88], 0x14aa
mov dword [ebp - 0x158], eax
call fcn.101911a4
mov dword [esp], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 4], eax
call fcn.101905ba
mov ecx, eax
mov dword [0x1019fea4], eax
mov eax, esp
mov edx, dword [ebp - 0x15c]
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 dword [0x1019fe88], 0xa
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x101901ce
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x9c
mov edi, edx
add edi, esi
add edi, 0x98
imul esi, eax, 0x9c
add edx, esi
add edx, 0x74
add eax, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, ecx
cmp eax, 0x104
mov ecx, edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x138], eax
jne 0x10190324
xor eax, eax
mov dword [0x1019fe88], 0x2000
mov dword [ebp - 0x154], eax
jmp 0x10190278
lea eax, [0x101924df]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x1019fe84]
add esi, 0xffffd95d
mov dword [0x1019fe88], esi
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.10190d47
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 - 0x15c]
mov dword [esp + 0xc], edx
call fcn.10191050
xor eax, eax
mov dword [0x1019fe88], 0xe94
mov ecx, dword [ebp - 0x144]
add ecx, 0x39a01
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x13da00
mov ecx, dword [ebp - 0x144]
add ecx, 0x2f0d6
mov dword [edx + 8], ecx
mov dword [0x1019fe84], 0xf18
mov dword [edx + 0xc], 0x1f60
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1019044f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.10001077
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101904e1
jmp 0x101905b0
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10190578
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x68], ecx
mov dword [0x1019fe88], 0x1467
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1019099e
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x1019fe88], 0xc9f
mov dword [esp + 0x14], eax
jmp 0x101905a8
lea eax, [esp + 0x38]
mov dword [0x1019fe88], 0x32
mov dword [esp + 0x10], eax
call fcn.10190e94
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x14], ecx
jne 0x101905a8
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101901a4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], 0x13da00
mov ecx, dword [0x1019fe70]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x1019fe74]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xc], eax
lea eax, [0x101912aa]
mov ecx, dword [0x1019fe78]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x1019fe7c]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x1019fe80]
mov dword [esp + 0x60], ecx
mov dword [0x1019fe84], 0x1e4d
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x10190473
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x18], ecx
je 0x1019048a
jmp 0x10190473
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1019099e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1019fe84], 0x1243
mov dword [0x1019fe88], 0x2000
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
jmp 0x10190aae
lea eax, [ebp - 0x28]
mov dword [0x1019fe88], 0x14aa
mov dword [ebp - 0x38], eax
call fcn.101911a4
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101905ba
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0
je 0x10190ade
mov eax, dword [ebp - 0x3c]
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 [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1019074f
mov dword [0x1019fe88], 0xa05
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
add eax, 0xc0
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x26c3
mov edx, dword [ebp - 0x44]
mov dword [edx], 0x4550
mov esi, dword [ebp - 0x40]
add esi, 0xffc00000
mov edi, dword [ebp - 0x30]
mov dword [edi + 0x24], esi
mov esi, dword [ebp - 0x40]
mov dword [edi + 0x3c], esi
mov dword [0x1019fe84], 0x138f
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x10190aa4
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10192500]
mov dh, byte [eax + 0x101924d1]
sub dh, dl
mov byte [ebp + eax - 0x28], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
je 0x101909d0
jmp 0x10190aae
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x10190d47
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]
xor esi, esi
mov edi, dword [0x1019fe88]
add edi, 0xffffdb6c
mov dword [0x1019fe84], edi
mov dword [0x1019fe90], 0
mov byte [0x1019fe94], 0
mov dword [0x1019fe88], 0x1f5
mov dword [0x1019fe8c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10190e61
mov dword [0x1019fe8c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x10190db4
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1019fe98], 0
mov dword [0x1019fe88], 0x12d9
mov edi, dword [0x1019fe90]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1019fe98], esi
mov dword [0x1019fe84], 0x1d57
mov eax, esi
cdq
idiv ecx
mov dword [0x1019fe90], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1019fe94], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x1019fe94]
mov esi, dword [0x1019fe90]
mov byte [ebx + esi], cl
mov dword [0x1019fe84], 0x13c
mov esi, dword [0x1019fe8c]
add esi, 1
mov dword [0x1019fe8c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10190db4
jmp 0x10190e8c
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1019fe8c]
add eax, 1
mov dword [0x1019fe8c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10190e61
jmp 0x10190da3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10190e94
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov dword [0x1019fe84], 0x1eeb
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x1019fe84]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10190f6d
mov eax, 1
mov dword [0x1019fe84], 0xd6f
mov dword [ebp - 0x20], eax
jmp 0x10190f96
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xc3f
mov dword [0x1019fe88], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x10191011
jmp 0x10190f96
mov eax, dword [ebp - 0x24]
add eax, 0xfffff319
mov dword [0x1019fe84], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x2a], dx
xor eax, eax
mov cx, word [ebp - 0x2a]
cmp cx, 0x6f
mov dword [ebp - 0x20], eax
jne 0x10190f96
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x1680
mov dword [0x1019fe84], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x10190ff7
jmp 0x10190f96
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov edx, ecx
add edx, 0xfffff3a4
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2], 0
mov edi, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], edi
je 0x10190fd1
jmp 0x10190fa0
mov eax, dword [ebp - 0x20]
add esp, 0x38
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x30]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], cl
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], esi
jne 0x10190f6d
jmp 0x10190fd1
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
mov dword [0x1019fe84], edx
mov esi, dword [ebp - 0x18]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
je 0x10190f18
jmp 0x10190f96
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x10190eef
jmp 0x10190f96
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10190f96
xor eax, eax
mov dword [0x1019fe88], 0xc31
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x10190ed8
jmp 0x10190f96
Function at 0x10191050
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
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 [0x1019fe8c], 0
mov dword [0x1019fe90], 0
mov dword [0x1019fe9c], 0
mov dword [0x1019fe84], 0x201d
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1019118d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x1019fe84], 0x1361
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1019fe8c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1019fe90], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1019fe94], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1019fe94]
mov edx, dword [0x1019fe90]
mov byte [edi + edx], cl
mov edx, dword [0x1019fe8c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1019fe90]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1019fe9c], ebx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov dword [0x1019fe84], 0x1056
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1019118d
mov eax, dword [0x1019fe8c]
mov ecx, dword [0x1019fe90]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x101910b3
mov eax, dword [0x1019fe88]
add eax, 0x3b1
mov dword [0x1019fe88], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101912f9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov ecx, dword [0x1019fe84]
add ecx, 0xffffe9b9
mov dword [0x1019fe84], ecx
mov dword [ebp - 0x10], eax
call fcn.1019158f
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 0x10191347
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [0x1019fe84]
mov edi, esi
add edi, 0x13d1
mov dword [0x1019fe84], edi
mov edi, dword [edx + eax + 0x24]
mov dword [0x1019fe88], 0x1ae9
mov ebx, dword [edx + eax + 0x18]
cmp ebx, 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x1019148b
jmp 0x10191438
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x101913f4
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101913a3
mov al, byte [ebp - 0x46]
test al, 1
jne 0x101913fd
jmp 0x10191467
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x30]
add edx, 0x24d2
mov dword [0x1019fe88], edx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x30]
add edx, 0x6e8
mov dword [0x1019fe84], edx
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x1019148b
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
add ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x101913a3
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x58]
add edx, 1
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x28], eax
jb 0x10191448
mov eax, dword [ebp - 0x28]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4087c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x44a988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x45cbcc]
mov edx, dword [0x45cbe8]
push ebx
imul edx, edx, 0x53439e
push esi
mov esi, dword [0x45cbd4]
push edi
mov edi, dword [0x45cbdc]
mov eax, ecx
imul edi, edi, 0x63e546
imul eax, eax, 0x5643ad
add edi, eax
add edi, edx
mov eax, 0x1b2eb4bf
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x1b2eb4bf
imul ecx
sar edx, 0x14
mov ebx, edx
add edi, edx
mov eax, 0x7a2fd6e1
imul ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0xa3c4e0d7
imul esi
shr ebx, 0x1f
add edx, esi
sar edx, 0x16
add ebx, edi
sub ebx, ecx
mov eax, edx
add ebx, edx
mov edx, dword [0x572f4c]
shr eax, 0x1f
add eax, ebx
mov ecx, 0x572f4c
mov dword [str._r_____r____], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [0x45cbd0]
mov esi, dword [0x45cbc8]
mov eax, 0x3e13b50f
imul esi, esi, 0x63e546
imul ecx
mov ecx, dword [0x45cbd8]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x3e38df13
imul ecx
imul ecx, ecx, 0x96af7c
sar edx, 0x14
add esi, edx
mov edi, edx
mov edx, dword [0x45cbe8]
imul edx, edx, 0x53439e
shr edi, 0x1f
add edi, esi
add edi, edx
add edi, ecx
mov ecx, dword [0x45cbdc]
mov eax, 0x1b2eb4bf
imul ecx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], 0
sub edi, eax
mov ebx, dword [0x45cbe4]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push ecx
sub edi, ebx
sub edi, 0x41d422
push edx
lea ecx, [esp + 0x14]
mov dword [0x45cbd0], edi
call fcn.00408530
mov ecx, dword [0x45cbcc]
mov eax, dword [0x45cbd0]
lea esi, [eax + ecx]
mov eax, 0x2900b7f9
imul esi, esi, 0x8616f6
imul ecx
mov eax, dword [0x45cbe0]
sar edx, 0x14
imul eax, eax, 0x85c28b
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45cbdc]
imul edx, edx, 0x41d422
sub esi, ecx
mov ecx, dword [0x45cbe4]
add esi, edx
add esi, eax
mov eax, 0x1b2eb4bf
imul ecx
sar edx, 0x14
add esi, edx
mov edi, edx
mov eax, 0xa3c4e0d7
imul ecx
add edx, ecx
sar edx, 0x16
shr edi, 0x1f
add edi, esi
mov esi, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x1f
add edi, edx
add ecx, edi
push esi
mov dword [0x45cbdc], ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebx
jg 0x4089b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41b3d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x45e540]
xor eax, esp
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x130], eax
mov eax, dword [ebp]
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41b4d2
lea ecx, [esp + 0xc]
call fcn.0041b2b0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jne 0x41b4d6
lea edx, [esp + 0x1c]
push edx
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41b4ae
jmp 0x41b470
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0041b3d0
mov edi, eax
test edi, edi
jne 0x41b4fd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x41b470
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b4c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b4e1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0042fd0d
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41b50c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x41b4e3
Function at 0x426dfa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x426e4d
call fcn.00447e43
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x426e4d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x426e43
xor eax, eax
jmp 0x426f66
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x426e7d
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x426e7d
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x426f63
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x426eaa
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0042758d
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x426f63
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x426ef3
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x426ef3
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x426eed
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0042758d
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x426f53
and dword [ebp + 0xc], 0
jmp 0x426f53
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x426f53
push 0xc
call fcn.00441a49
mov esi, eax
test esi, esi
pop ecx
je 0x426f35
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x426f37
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x426f4e
push dword [ebp - 8]
call fcn.0043d494
jmp 0x426f53
call fcn.0043d46b
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x426eb8
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43027d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43029d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004324ec
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4302c0
test byte [esp + 8], 2
je 0x4302c0
call fcn.004324da
mov dword [eax], 0xd
call fcn.004324e3
mov dword [eax], 5
jmp 0x430299
xor eax, eax
ret