joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035d8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404ed4
test esi, esi
jne 0x40360e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call fcn.0040138c
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404fc4
jmp 0x40362c
call fcn.0040137c
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004034dc
mov edi, eax
test esi, esi
je 0x40362c
cmp dword [ebx], 0
je 0x40362c
dec esi
jmp 0x403615
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403638
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ce008], 0x8088405
inc edx
mov dword [ebx + 0x4ce008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403dec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ce024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403e84
push 0x80000002
call fcn.004013e4
test eax, eax
jne 0x403e64
xor eax, eax
push ebp
push 0x403e5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ea0
mov eax, dword [ebp - 4]
push eax
call fcn.004013ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e64
mov eax, dword [ebp - 4]
push eax
call fcn.004013dc
ret
movzx eax, word [0x4ce024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ce024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ca0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d604c], 0
je 0x404d01
cmp word [0x4d6220], 0xd7b2
jne 0x404cc9
cmp dword [0x4d6228], 0
jbe 0x404cc9
mov eax, 0x4d621c
call dword [0x4d6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call fcn.0040130c
push eax
call fcn.0040132c
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d28
push 0xfffffffffffffff5
call fcn.0040130c
push eax
call fcn.0040132c
pop edx
ret
cmp byte [0x4ce030], 0
jne 0x404d1d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call fcn.0040135c
pop edx
ret
Function at 0x404d2c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4d87c8
mov edi, 0x4d6048
cmp byte [ebx + 0x28], 0
jne 0x404d54
cmp dword [edi], 0
je 0x404d54
mov eax, dword [edi]
mov esi, eax
xor eax, eax
mov dword [edi], eax
call esi
cmp dword [edi], 0
jne 0x404d45
cmp dword [0x4ce004], 0
je 0x404d6e
call fcn.00404c0c
call fcn.00404ca0
xor eax, eax
mov dword [0x4ce004], eax
cmp byte [ebx + 0x28], 2
jne 0x404d82
cmp dword [section..data], 0
jne 0x404d82
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00404ab4
cmp byte [ebx + 0x28], 1
jbe 0x404d96
cmp dword [section..data], 0
je 0x404db9
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x404db9
mov eax, edi
call fcn.00406b68
mov ebp, dword [ebx + 0x10]
mov esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 4]
je 0x404db9
test esi, esi
je 0x404db9
push esi
call fcn.00401374
call fcn.00404a8c
cmp byte [ebx + 0x28], 1
jne 0x404dc7
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x404dd2
call fcn.00404c70
cmp dword [ebx], 0
jne 0x404df1
cmp dword [0x4d6028], 0
je 0x404de6
call dword [0x4d6028]
mov eax, dword [section..data]
push eax
call fcn.00401354
mov eax, dword [ebx]
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp 0x404d6e

Function at 0x404e58
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4ce034], 0
je 0x404e7e
mov edx, esi
mov eax, ebx
call dword [0x4ce034]
jmp 0x404e8d
mov eax, 8
call fcn.0040317c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4d604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e20
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call fcn.00401344
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4067f8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call fcn.0040138c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a28
push 0x80000001
call fcn.004013e4
test eax, eax
je 0x40687b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a28
push 0x80000002
call fcn.004013e4
test eax, eax
je 0x40687b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406a44
push 0x80000001
call fcn.004013e4
test eax, eax
jne 0x406904
xor eax, eax
push ebp
push 0x4068fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406634
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.004013ec
test eax, eax
je 0x4068e2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406a64
mov eax, dword [ebp - 8]
push eax
call fcn.004013ec
test eax, eax
je 0x4068e2
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406904
mov eax, dword [ebp - 8]
push eax
call fcn.004013dc
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call fcn.004013c4
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.004013ac
push eax
call fcn.00401384
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406a1e
cmp byte [ebp - 0xd], 0
jne 0x40694b
cmp byte [ebp - 0x12], 0
je 0x406a1e
lea eax, [ebp - 0x11d]
push eax
call fcn.004013cc
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406964
dec ebx
cmp byte [ebx], 0x2e
je 0x406973
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406963
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406a1e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4069b0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.004013c4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004013b4
mov esi, eax
test esi, esi
jne 0x406a1e
cmp byte [ebp - 0xd], 0
je 0x406a1e
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.004013c4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004013b4
mov esi, eax
test esi, esi
jne 0x406a1e
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.004013c4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004013b4
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b94c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40b99e
test eax, edx
je 0x40b9a1
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40b961
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40b987
add ecx, 4
js 0x40b977
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40b984
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40b9ad
test edx, edx
jne 0x40b954
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405364
push eax
call fcn.004075b4
cmp eax, 0xffffffff
je 0x40c31e
test al, 0x10
sete al
pop esi
pop ebx
ret
call fcn.004075cc
mov ebx, eax
cmp ebx, 2
je 0x40c33f
cmp ebx, 3
je 0x40c33f
cmp ebx, 0x7b
je 0x40c33f
mov eax, esi
call fcn.0040c2c0
test al, al
jne 0x40c343
xor eax, eax
jmp 0x40c345
mov al, 1
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405364
push eax
call fcn.004075b4
cmp eax, 0xffffffff
je 0x40c361
test al, 0x10
jne 0x40c365
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x410a28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call fcn.004075dc
test eax, eax
jle 0x410a61
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404fc4
jmp 0x410a6a
mov eax, ebx
mov edx, esi
call fcn.00404f28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410a74
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call fcn.004075dc
test eax, eax
jle 0x410a96
movzx eax, byte [esp]
jmp 0x410a98
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x411274
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4110ec
mov eax, dword [0x4d50f0]
cmp byte [eax], 0
je 0x4112f0
mov eax, dword [0x4d4e58]
call fcn.00403740
call fcn.00403348
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00407a94
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040cbec
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call fcn.00407604
push eax
call fcn.00407794
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x411338
push 0xfffffffffffffff4
call fcn.00407604
push eax
call fcn.00407794
jmp 0x411326
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d4df0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d87f8]
call fcn.004065dc
push eax
call fcn.00407e14
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call fcn.00407e2c
add esp, 0x444
ret

Function at 0x411c04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x411cda
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f6c
lea eax, [ebp - 4]
call fcn.004053bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
call fcn.004077bc
mov ebx, eax
test ebx, ebx
je 0x411cc4
mov eax, ebx
call fcn.0040317c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x411cbd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
call fcn.004077b4
test eax, eax
je 0x411ca7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x411cec
mov eax, dword [ebp - 0x10]
push eax
call fcn.004077c4
test eax, eax
je 0x411ca7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411cc4
mov eax, dword [ebp - 0x10]
call fcn.00403198
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411ce1
lea eax, [ebp - 4]
call fcn.00404ed4
ret
Function at 0x414ff4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x415137
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.004038f0
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x415058
mov eax, dword [ebp - 0x1c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x415088
push 0x415150
push dword [ebp - 4]
push 0x41515c
push dword [ebp - 8]
lea eax, [ebp - 0x78]
mov edx, 4
call fcn.00405268
mov eax, dword [ebp - 0x78]
call fcn.00405364
mov dword [ebp - 0x18], eax
jmp 0x4150ad
push 0x415150
push dword [ebp - 4]
push 0x415150
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00405268
mov eax, dword [ebp - 0x7c]
call fcn.00405364
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4150c9
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x4150da
mov eax, dword [ebp - 0xc]
call fcn.00405364
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
call fcn.004074e4
test eax, eax
je 0x41511c
mov eax, dword [ebp - 0x74]
push eax
call fcn.0040748c
mov eax, dword [ebp - 0x70]
push eax
call fcn.0040748c
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41513e
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00404ef8
ret
Function at 0x415260
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405354
xor eax, eax
push ebp
push 0x415358
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
push 0
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
call fcn.004074b4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41533b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0xffffffff
je 0x415324
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x26]
lea edx, [ebp - 0x2a]
lea eax, [ebp - 0x2c]
call fcn.0040df8c
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x1e]
push eax
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x22]
lea eax, [ebp - 0x24]
call fcn.0040dcac
mov word [ebp - 0x1e], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407764
test eax, eax
je 0x415324
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004076ac
test eax, eax
je 0x415324
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407744
test eax, eax
je 0x415324
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415342
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040748c
ret

Function at 0x427228
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call fcn.0040770c
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00426f64
dec esi
jne 0x42724a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4283bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4dccd4
cmp dword [edi], 0
jne 0x428438
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.0040776c
mov esi, eax
mov eax, dword [0x4dccd0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cf450
mov ecx, 2
call fcn.004033dc
mov edx, 0x428394
lea eax, [esi + 5]
call fcn.004283b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004283b4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42840d
mov dword [0x4dccd0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42aeb0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42b01a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404f6c
mov eax, dword [ebp - 4]
call fcn.0042a96c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42af02
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040540c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0042b28c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42afd7
xor eax, eax
push ebp
push 0x42afd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042aadc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0042b028
test al, al
je 0x42afae
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00404fc4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42afae
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00405364
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00407454
test eax, eax
jne 0x42afa8
mov eax, dword [ebp - 8]
call fcn.00405364
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004050cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0042aeb0
dec ebx
cmp ebx, 0xffffffff
jne 0x42af61
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42afd7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0042aadc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040743c
ret
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0042aac8
push eax
call fcn.0040744c
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b021
lea eax, [ebp - 0x3c]
call fcn.00404ed4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ef8
ret

Function at 0x42b028
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004038f0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call fcn.00407474
test eax, eax
sete al
mov edx, dword [0x4d5278]
cmp byte [edx + 0xc], 0
je 0x42b08c
mov edx, dword [0x4d5268]
cmp dword [edx], 2
jne 0x42b08c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x42b1b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042a980
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405364
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00407484
test eax, eax
je 0x42b20f
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d4fd4]
mov dl, 1
mov eax, dword [0x42a80c]
call fcn.00411440
call fcn.00404868
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42b218
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405364
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.0040747c
test eax, eax
je 0x42b270
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d528c]
mov dl, 1
mov eax, dword [0x42a80c]
call fcn.00411440
call fcn.00404868
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042a9b0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b5e4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42b825
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0042aadc
xor eax, eax
push ebp
push 0x42b7fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042b028
test al, al
je 0x42b7df
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00404fc4
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x42b7df
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405364
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call fcn.00407454
test eax, eax
jne 0x42b7d3
mov eax, dword [ebp - 4]
call fcn.00405364
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004050cc
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042b28c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42b7d3
xor eax, eax
push ebp
push 0x42b7cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0042aadc
xor eax, eax
push ebp
push 0x42b7ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405364
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004050cc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042aae0
mov eax, dword [ebp - 4]
call fcn.00405364
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004050cc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042b28c
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x42b78b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0042b4bc
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0042b5e4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b792
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040743c
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x42b66f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b802
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0042aadc
ret

Function at 0x42ca60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42ca66
ret