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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10234690], 0x1669
mov dword [0x1023468c], 0x5a0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000c6a8
lea eax, [ebp - 0x20]
mov dword [0x1023468c], 0x26eb
mov dword [0x10234690], 0x7fc
mov dword [ebp - 0x30], eax
call fcn.1000cf67
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000c035
xor ecx, ecx
mov dword [0x1023468c], 0x79
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1000c780
jmp 0x1000c6d4
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10230576]
mov dh, byte [eax + 0x10230547]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x1000c65b
jmp 0x1000c6a8
mov dword [0x1023468c], 0xb1f
mov eax, dword [ebp - 0x34]
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 [0x1023468c], 0xc6
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000c243
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x1023468c], 0xf02
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x54], ecx
mov dword [0x10234690], 0x123a
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1000c780
mov eax, dword [ebp - 0x3c]
add eax, 0x1d2c
mov dword [0x10234690], 0x1815
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1000c83f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov ecx, dword [0x10234690]
add ecx, 0xfffff6df
mov dword [0x1023468c], ecx
mov dword [0x10234690], 0x1131
mov dword [ebp - 0x10], eax
call fcn.1000d333
xor ecx, ecx
mov edx, eax
mov dword [0x10234690], 0x1283
mov dword [0x1023468c], 0x15c6
mov esi, dword [eax + 0x3c]
mov dword [0x10234690], 0x8cd
mov esi, dword [eax + esi + 0x78]
mov dword [0x10234690], 0x3582
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1023468c], 0xffffecce
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1000c9bf
jmp 0x1000c8fd
mov eax, dword [ebp - 0x28]
mov ecx, eax
mov edx, dword [ebp - 0x2c]
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 - 0x30], eax
mov byte [ebp - 0x31], bh
mov byte [ebp - 0x32], cl
je 0x1000c961
jmp 0x1000c935
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [0x1023468c], 0x2c61
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edx
jmp 0x1000c8d2
mov eax, dword [ebp - 0x30]
add eax, 1
mov cl, byte [ebp - 0x31]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x32]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x28], eax
jne 0x1000c8d2
mov al, byte [ebp - 0x32]
test al, 1
jne 0x1000c990
jmp 0x1000c96a
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
jb 0x1000c90f
jmp 0x1000c9bf
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10234690], 0x553
mov ecx, dword [edx + ecx*4]
mov dword [0x1023468c], 0x15a4
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c9ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10234690], 0x1d26
mov dword [0x1023468c], 0x60c
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x1000ca25
mov eax, dword [ebp - 0x3c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x10230576]
mov dh, byte [eax + 0x10230547]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x3c], ecx
je 0x1000ca91
jmp 0x1000c9f9
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, ecx, 0x1c
mov edi, edx
add edi, esi
add edi, 0x14
mov esi, ecx
add esi, 1
imul ecx, ecx, 0x1c
add edx, ecx
add edx, 0x18
mov ecx, dword [edx]
movzx edx, word [edi]
xor edx, ecx
add edx, eax
cmp esi, 0x1f2
mov eax, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], eax
jne 0x1000ca25
xor eax, eax
mov dword [0x10234690], 0x780
mov dword [0x1023468c], 0x5a0
mov dword [ebp - 0x3c], eax
jmp 0x1000c9f9
lea eax, [ebp - 0x2c]
mov dword [0x1023468c], 0xfffe294f
mov dword [0x10234690], 0xfffe0a60
mov dword [ebp - 0x44], eax
call fcn.1000cf67
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1000c035
mov ecx, eax
mov dword [0x102346a8], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
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, dword [0x1023468c]
add edx, 0xffffe776
mov dword [0x1023468c], edx
mov edx, ecx
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]
lea edx, section..data
imul esi, eax, 0x1c
mov edi, edx
add edi, esi
imul esi, eax, 0x1c
mov ebx, edx
add ebx, esi
add ebx, 0x18
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [ebp - 0x54], eax
add eax, 1
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x1c
add edx, eax
add edx, 0x14
mov eax, dword [ebx]
mov edi, dword [edi]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], ecx
call fcn.1000d28e
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
add eax, ecx
mov edx, dword [ebp - 0x58]
cmp edx, 0x1f2
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], eax
jne 0x1000cb06
mov eax, dword [ebp - 0x48]
add eax, 0x5941e
mov ecx, dword [ebp - 0x48]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov edx, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [ebp - 0x64], eax
call fcn.1000ceba
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xd2608
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x140200
mov ecx, dword [ebp - 0x64]
mov dword [edx + 8], ecx
mov ecx, dword [0x1023468c]
add ecx, 0x1cd8
mov dword [0x10234690], ecx
mov dword [edx + 0xc], 0x2090
mov ecx, dword [0x10234690]
add ecx, 0xffffe7ff
mov dword [0x10234690], ecx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d09c
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x1023468c], 0x1557
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10234690], 0x43b
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1000d159
jmp 0x1000d138
xor eax, eax
mov dword [0x10234690], 0xe66
mov dword [ebp - 0x1c], eax
jmp 0x1000d1f8
mov eax, 1
mov dword [0x1023468c], 0x720
mov dword [ebp - 0x1c], eax
jmp 0x1000d1f8
mov dword [0x1023468c], 0xffffeee6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000d17f
jmp 0x1000d0f2
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [0x1023468c], 0x96f
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x1000d0da
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x1000d0f2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000d11d
jmp 0x1000d0f2
mov dword [0x10234690], 0xffffd45e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000d0f2
mov dword [0x10234690], 0xfffff81a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1000d0f2
mov dword [0x1023468c], 0x2244
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1000d0f2
mov dword [0x10234690], 0x220f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x1000d106
jmp 0x1000d0f2
mov eax, dword [ebp - 0x1c]
add esp, 0x20
pop ebp
ret
Function at 0x1000d4cb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
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 [0x10234694], 0
mov dword [0x10234698], 0
mov dword [0x102346a4], 0
mov ebx, dword [0x1023468c]
add ebx, 0xffffe9e9
mov dword [0x10234690], 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 0x1000d655
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add edx, 0xffffe742
mov ebx, eax
add ebx, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x10234694], edx
mov dword [0x1023468c], 0x1896
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10234698], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1023469c], cl
mov edi, dword [ebp - 0x34]
mov dword [0x1023468c], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1023469c]
mov edx, dword [0x10234698]
mov byte [edi + edx], cl
mov edx, dword [0x1023468c]
add edx, 0xffffee17
mov dword [0x10234690], edx
mov edx, dword [0x10234694]
movzx edx, byte [edi + edx]
mov ecx, dword [0x10234698]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102346a4], ecx
mov dword [0x1023468c], 0x1309
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x10234690], 0x904
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov dword [0x1023468c], 0x1ce0
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1000d655
mov eax, dword [0x10234698]
mov ecx, dword [0x10234690]
mov edx, dword [0x10234694]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], esi
jmp 0x1000d539
mov dword [0x1023468c], 0x129a
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d667
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov edx, dword [0x1023468c]
add edx, 0x148
mov dword [0x10234690], edx
mov dword [0x1023468c], 0x1530
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c9ca
lea ecx, [0x1000c39c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], 0x140200
mov edx, dword [0x10234678]
mov dword [esp + 0x2c], edx
mov edx, dword [0x1023467c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10234680]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10234684]
mov dword [esp + 0x34], edx
mov edx, dword [0x10234688]
mov dword [esp + 0x44], edx
mov dword [0x1023468c], 0xfe6
mov dword [0x10234690], 0xf09
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1000d72b
mov dword [0x1023468c], 0x1c76
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000d70f
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x1000d70f
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov dword [0x1023468c], 0x15c6
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x78], edx
mov dword [0x10234690], 0x10f6
call fcn.1000d09c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x1000d7d9
lea eax, [esp + 0x20]
mov ecx, dword [0x1023468c]
add ecx, 0xffffdda3
mov dword [0x10234690], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000c62e
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1023468c]
add ecx, 0xffffe64c
mov dword [0x1023468c], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x408d18
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp eax, 0xffffffff
jne 0x408d36
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408d2d
sub eax, edx
mov dword [ebp - 4], eax
cmp eax, 2
jbe 0x408db1
push 3
add eax, 0xfffffffd
xor edx, edx
pop ecx
div ecx
inc eax
mov dword [ebp - 8], eax
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
sub dword [ebp - 4], 3
mov eax, ecx
shr eax, 0x12
push 0x3f
pop edx
and eax, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi], al
mov eax, ecx
shr eax, 0xc
and eax, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 1], al
mov eax, ecx
shr eax, 6
and eax, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, edx
mov byte [edi + esi + 2], al
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + esi + 3], al
add ebx, 3
add esi, 4
dec dword [ebp - 8]
jne 0x408d4c
cmp dword [ebp - 4], 0
jbe 0x408e10
movzx ecx, byte [ebx]
shl ecx, 0x10
cmp dword [ebp - 4], 1
jbe 0x408dcc
movzx eax, byte [ebx + 1]
shl eax, 8
or ecx, eax
mov edx, ecx
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
lea eax, [esi + edi]
mov byte [eax], dl
mov edx, ecx
shr edx, 0xc
and edx, 0x3f
cmp dword [ebp - 4], 1
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
jbe 0x408e04
shr ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x408e06
mov cl, 0x3d
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
add esi, 4
mov byte [esi + edi], 0
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x419e50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x4d85e0], eax
mov edx, 1
mov eax, 0x4d85e0
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4d8f9c
jl 0x419e60
mov dword [0x4d5a08], 1
mov dword [0x4d9f7c], 1
pop edi
ret
Function at 0x419ea0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4d9f7c], 0
push esi
mov esi, 0x4d85e0
jne 0x419eba
call dword [0x4ad2bc]
call fcn.00419e50
mov dword [0x4d5a08], 0x270
mov dword [0x4d85d8], esi
mov ecx, 0xe3
nop
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi + 0x634]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x419ed0
mov ecx, 0x18c
mov eax, dword [esi + 4]
mov edx, dword [esi]
xor edx, eax
and edx, 0x7ffffffe
xor edx, dword [esi]
and al, 1
movzx eax, al
shr edx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
xor edx, dword [esi - 0x38c]
add esi, 4
dec ecx
mov dword [esi - 4], edx
jne 0x419f05
mov ecx, dword [esi]
mov eax, dword [0x4d85e0]
xor ecx, eax
and ecx, 0x7ffffffe
xor ecx, dword [esi]
and al, 1
movzx edx, al
shr ecx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
ret

Function at 0x419f70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4d5a08]
jne 0x419f7d
call fcn.00419ea0
mov eax, dword [0x4d85d8]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d85d8], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x419fc0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x4d5a08]
jne 0x419fce
call fcn.00419ea0
mov ecx, dword [0x4d85d8]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4d85d8], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp], edx
fild dword [esp]
jns 0x41a015
fadd qword [0x4ceda0]
fmul qword [0x4cedf0]
pop ecx
ret
Function at 0x44d1a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
mov edi, eax
cmp word [eax], bx
je 0x44d266
nop
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x44d1dd
push 2
push esi
call fcn.0049b39c
add esp, 8
test eax, eax
je 0x44d1dd
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x44d1ef.44
movzx eax, byte [eax + 0x44d2b8]
jmp dword [eax*4 + 0x44d294]
movzx ebx, word [edi]
jmp case.0x44d1ef.44
mov eax, 1
jmp 0x44d22a
mov eax, 0x20
jmp 0x44d22a
mov eax, 4
jmp 0x44d22a
mov eax, 2
jmp 0x44d22a
mov eax, 0x80
jmp 0x44d22a
mov eax, 0x1000
jmp 0x44d22a
mov eax, pe_nt_image_headers32
mov ecx, ebx
sub ecx, 0x2b
je 0x44d24d
sub ecx, 2
je 0x44d241
sub ecx, 0x31
jne case.0x44d1ef.44
xor dword [esp + 0x14], eax
jmp case.0x44d1ef.44
not eax
and dword [esp + 0x10], eax
and dword [esp + 0x14], eax
jmp case.0x44d1ef.44
mov ecx, eax
not ecx
and dword [esp + 0x10], ecx
or dword [esp + 0x14], eax
add edi, 2
cmp word [edi], 0
jne 0x44d1c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push 0x44d2f0
push eax
push ecx
push edx
call fcn.0044d330
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x836370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x83638e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x85f074
push ecx
mov edi, eax
call fcn.0084a198
mov esi, eax
add esp, 8
test esi, esi
jne 0x8363cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0084a02e
push esi
call fcn.00849fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x839850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x8398ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x864720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x8398ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.0084a1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x8398ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x864720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x83992a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0084b082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x839957
mov word [eax], si
add eax, 2
push eax
call fcn.0084b030
add esp, 4
jmp 0x839959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x8398ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x8398b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x839ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret