joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466988
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466b7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e0]
mov edx, 0x20
call fcn.0041462c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e0]
mov edx, 0x20
call fcn.0041464c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e4]
mov edx, 0x20
call fcn.0041462c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x2e4]
mov edx, 0x20
call fcn.0041464c
xor eax, eax
push ebp
push 0x466b4f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x10
push 0x466b88
call fcn.0042cc60
test eax, eax
je 0x466a67
cmp byte [ebp - 0x158], 0
je 0x466a67
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x49a014]
push eax
call fcn.0042cc58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x2e0]
call fcn.004668c8
xor edx, edx
mov al, 6
call fcn.00477a08
test al, al
je 0x466ac3
push 0x27
lea edx, [ebp - 0x168]
mov eax, dword [0x49b134]
call fcn.0042c40c
lea eax, [ebp - 0x168]
mov edx, 0x466ba0
call fcn.0040357c
mov eax, dword [ebp - 0x168]
call fcn.00403738
push eax
mov eax, dword [0x49a014]
push eax
call fcn.0042cc58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x2e4]
call fcn.004668c8
jmp 0x466b45
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.0047befc
cmp dword [ebp - 4], 0
jne 0x466ae7
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.0047befc
cmp dword [ebp - 4], 0
je 0x466b45
push 0x1000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call fcn.0042cc60
test eax, eax
je 0x466b45
cmp byte [ebp - 0x158], 0
je 0x466b45
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x49a014]
push eax
call fcn.0042cc58
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x2e4]
call fcn.004668c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x466b59
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b81
lea eax, [ebp - 0x168]
call fcn.00403400
lea eax, [ebp - 4]
call fcn.00403400
ret
Function at 0x46f32c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46f429
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 4]
push eax
xor eax, eax
mov al, byte [0x49b37b]
mov ecx, dword [eax*4 + 0x498bc0]
mov edx, 0x80000002
xor eax, eax
call fcn.0042dd44
test eax, eax
jne 0x46f3b1
mov eax, esi
call fcn.00403574
inc eax
push eax
mov eax, esi
call fcn.00403738
push eax
push 1
push 0
mov eax, edi
call fcn.00403738
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057dc
test eax, eax
je 0x46f3a6
mov eax, 0x46f440
call fcn.00456ff8
mov eax, dword [ebp - 4]
push eax
call fcn.00405794
jmp 0x46f3bb
mov eax, 0x46f474
call fcn.00456ff8
test bl, bl
je 0x46f40e
mov eax, esi
call fcn.00403738
push eax
call fcn.00405b84
test eax, eax
je 0x46f3e2
push 0
push 0
push 0x1d
push 0xffff
call fcn.0040614c
jmp 0x46f40e
lea ecx, [ebp - 0xc]
mov edx, 0x46f4a0
mov al, 0x33
call fcn.00450ab8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042e5d4
mov eax, dword [ebp - 8]
mov edx, dword [0x49ace0]
call fcn.0046d680
test al, al
je 0x46f3bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f430
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403420
ret

Function at 0x471ae4
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x471ba5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403738
push eax
call fcn.0040590c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x471b8a
test bl, 0x10
je 0x471b8a
lea ecx, [ebp - 4]
mov edx, 0x471bbc
mov eax, esi
call fcn.0042c548
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, 0x471bd0
mov eax, 0x471be0
call fcn.0042cd60
mov edx, 0x471bf8
mov eax, dword [ebp - 8]
call fcn.00406acc
test eax, eax
jne 0x471b8a
mov eax, dword [ebp - 4]
call fcn.00406f58
lea ecx, [ebp - 0xc]
mov edx, 0x471c28
mov eax, esi
call fcn.0042c548
mov eax, dword [ebp - 0xc]
call fcn.00406f58
and ebx, 0xfffffffe
push ebx
mov eax, esi
call fcn.00403738
mov edi, eax
push edi
call fcn.00405ab4
push edi
call fcn.00405a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471bac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403420
ret
Function at 0x4726b4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov esi, edx
mov byte [ebp - 1], al
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x472788
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
je 0x472772
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.00452c10
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x4727a0
call fcn.00457204
mov edx, ebx
mov eax, dword [0x49b2f8]
call fcn.0040b44c
mov ebx, eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebx]
call fcn.00403574
mov ecx, 0x14
cdq
idiv ecx
push eax
mov ecx, edi
mov edx, esi
mov al, byte [ebp - 1]
call fcn.0045c85c
test al, al
jne 0x472772
call fcn.00405924
cmp eax, 2
jne 0x472757
mov eax, 0x4727d4
call fcn.00456ff8
jmp 0x472772
call fcn.00405924
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x472830
call fcn.00457204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47278f
lea eax, [ebp - 0x18]
call fcn.00403400
ret
Function at 0x474060
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4741ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0042c40c
lea eax, [ebp - 0x148]
mov edx, 0x4741e0
call fcn.0040357c
mov eax, dword [ebp - 0x148]
call fcn.00403738
push eax
call fcn.0040586c
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4741a9
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.0040355c
mov eax, dword [ebp - 4]
call fcn.00403574
cmp eax, 9
jl 0x47418e
lea eax, [ebp - 0x148]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x148]
mov edx, 0x4741f4
call fcn.00406acc
test eax, eax
jne 0x47418e
mov edx, 0x4741fc
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
call fcn.0042e910
test al, al
je 0x47418e
mov edx, 0x4741fc
mov eax, dword [ebp - 4]
mov al, byte [eax + 6]
call fcn.0042e910
test al, al
je 0x47418e
mov edx, 0x4741fc
mov eax, dword [ebp - 4]
mov al, byte [eax + 7]
call fcn.0042e910
test al, al
je 0x47418e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0x2e
jne 0x47418e
lea eax, [ebp - 0x148]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00403778
mov eax, dword [ebp - 0x148]
call fcn.00406da0
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x144]
push eax
push ebx
call fcn.00405874
test eax, eax
jne 0x4740c9
push ebx
call fcn.00405864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4741d1
lea eax, [ebp - 0x148]
call fcn.00403400
lea eax, [ebp - 4]
call fcn.00403400
ret
Function at 0x476870
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0040cc4c
mov dword [ebp - 0x10], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
call fcn.00476798
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4a
mov eax, dword [0x49b088]
push eax
call fcn.0040613c
mov ebx, eax
mov eax, esi
call fcn.0042e2ac
cmp ebx, 0x6c840001
jne 0x4768c0
call fcn.00408c08
mov eax, ebx
and eax, 0xffff0000
cmp eax, 0x6c830000
je 0x4768e4
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x476994
call fcn.00452a00
mov word [ebp - 6], bx
xor esi, esi
call fcn.0040599c
mov ebx, eax
call dword [ebp - 4]
call fcn.0040599c
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x47693c
mov ebx, eax
mov edx, 1
mov ax, word [ebp - 6]
call fcn.004767f4
mov esi, eax
mov eax, esi
sub ax, 2
je 0x47693c
dec eax
sub ax, 2
jb 0x476950
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4769c8
call fcn.00452a00
push 0xff
push 0xa
push 0
push 0
push 0
call fcn.004060a4
jmp 0x4768f1
mov edx, 2
mov ax, word [ebp - 6]
call fcn.004767f4
movzx ebx, ax
mov edx, 3
mov ax, word [ebp - 6]
call fcn.004767f4
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
mov edi, edx
mov esi, eax
push 0x477020
push 0x47703c
call fcn.0040594c
push eax
call fcn.00405964
mov ebx, eax
test ebx, ebx
je 0x47700a
mov eax, esi
call fcn.00403738
push eax
call fcn.0040590c
cmp eax, 0xffffffff
je 0x47700a
test al, 0x10
je 0x476fbb
mov ebp, 0x2000000
jmp 0x476fbd
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.00403738
push eax
call fcn.00405814
mov ebp, eax
cmp ebp, 0xffffffff
je 0x47700a
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call fcn.004057e4
test ebx, ebx
jle 0x47700a
cmp ebx, 0xff0
jge 0x47700a
mov edx, edi
mov eax, esp
call fcn.00476e9c
jmp 0x477013
mov eax, edi
mov edx, esi
call fcn.00403494
add esp, 0x1000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x47704c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4770de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0x104
call fcn.004058c4
mov ebx, eax
test ebx, ebx
jle 0x4770b4
cmp ebx, 0x104
jge 0x4770b4
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.0040355c
mov eax, dword [ebp - 0x108]
mov edx, esi
call fcn.00476f74
jmp 0x4770c5
mov eax, 0x4770f4
call fcn.00452bb4
mov eax, esi
call fcn.00403400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4770e5
lea eax, [ebp - 0x108]
call fcn.00403400
ret
Function at 0x477108
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x477256
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00476f74
lea eax, [ebp - 0xc]
call fcn.0047704c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402934
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x800540
mov eax, 0x477264
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.00403738
mov dword [ebp - 0x38], eax
mov eax, esi
call fcn.00403738
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
call fcn.00403738
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call fcn.0042cc70
test eax, eax
jne 0x4771b4
call fcn.00405924
cmp eax, 0x4c7
jne 0x4771aa
call fcn.00408be8
mov eax, 0x477274
call fcn.00452afc
cmp dword [ebp - 0x10], 0
jne 0x4771c4
mov eax, 0x47728c
call fcn.004529a4
xor edx, edx
push ebp
push 0x477234
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00476c94
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.004060a4
cmp eax, 1
je 0x4771d2
inc eax
jne 0x4771fd
mov eax, 0x4772b8
call fcn.00452afc
call fcn.00476c94
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push eax
call fcn.00405904
test eax, eax
jne 0x47721d
mov eax, 0x4772dc
call fcn.00452afc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47723b
mov eax, dword [ebp - 0x10]
push eax
call fcn.004057e4
ret

Function at 0x4772f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4773bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, 0x476c84
call fcn.004773dc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477394
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x4773d4
call fcn.004078fc
mov edx, dword [ebp - 8]
mov eax, dword [0x49a628]
call fcn.004242d4
call fcn.00476c94
call fcn.00405f2c
mov edx, dword [0x49a628]
cmp eax, dword [edx + 0x20]
jne 0x477377
push 0x7a
call fcn.00405f4c
test ax, ax
jl 0x47737e
call fcn.00406244
jmp 0x477356
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47739b
mov eax, dword [ebp - 4]
call fcn.00402b58
ret
Function at 0x47b70c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x47b714
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47b87f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00453084
mov edx, dword [ebp - 0x10]
mov eax, 0x49b12c
call fcn.00403450
mov edx, 0x47b898
lea eax, [ebp - 0x10]
call fcn.00403494
lea eax, [ebp - 0x10]
mov edx, dword [0x49b12c]
call fcn.0040357c
mov eax, dword [ebp - 0x10]
call fcn.00456ff8
cmp byte [0x49afb4], 0
je 0x47b777
mov eax, dword [0x49b12c]
call fcn.004567f0
lea edx, [ebp - 0x10]
mov eax, dword [0x49b12c]
call fcn.0042c40c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x47b8c0
call fcn.004035c0
push 0
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
call fcn.00405804
test eax, eax
jne 0x47b809
call fcn.00405924
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00450ab8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00406d70
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0042e73c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov ecx, 2
mov al, 0x60
call fcn.00450a88
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, 0x406408
call fcn.00408c14
call fcn.0040311c
lea eax, [ebp - 0xc]
mov ecx, 0x47b8d0
mov edx, dword [ebp - 4]
call fcn.004035c0
mov edx, dword [ebp - 0xc]
mov eax, 0x47b8e8
call fcn.0047b6b4
lea eax, [ebp - 8]
call fcn.00457c20
cmp dword [ebp - 8], 0
je 0x47b857
lea eax, [ebp - 0xc]
mov ecx, 0x47b8fc
mov edx, dword [ebp - 4]
call fcn.004035c0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0047b6b4
mov eax, dword [ebp - 0xc]
call fcn.00457c60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b886
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00403420
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403420
ret

Function at 0x47d758
Capabilities:
Hide graphical window

Disassembly:
mov byte [0x49b3c1], 1
call fcn.00454b00
test al, al
jne 0x47d79a
push 5
mov eax, dword [0x49a628]
mov eax, dword [eax + 0x20]
push eax
call fcn.004061fc
mov eax, dword [0x49a628]
mov eax, dword [eax + 0x20]
push eax
call fcn.00406174
push 0
push 1
push 1
mov cl, 2
xor edx, edx
mov eax, dword [0x49ad38]
call fcn.0047d664
ret

Function at 0x481958
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call fcn.0040599c
mov ebx, eax
jmp 0x481984
call fcn.0040599c
sub eax, ebx
cmp eax, 0x3e8
jae 0x48198d
call fcn.00480bb8
mov eax, 0xa
call fcn.0042eae8
call fcn.00480bb8
call fcn.00481924
test al, al
jne 0x481962
pop ebx
ret
Function at 0x481e2c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp dword [0x49b050], 0
je 0x481ec3
mov eax, dword [0x49b050]
call fcn.00418388
test al, al
je 0x481ec3
mov eax, dword [0x49b050]
cmp byte [eax + 0xc7], 0
je 0x481e73
cmp byte [ebx + 0x1b9], 0
jne 0x481e73
mov eax, dword [0x49a628]
mov eax, dword [eax + 0x20]
push eax
call fcn.0040602c
test eax, eax
je 0x481e77
xor eax, eax
jmp 0x481e79
mov al, 1
mov ebx, eax
push 0xfffffffffffffff0
mov eax, dword [0x49b050]
call fcn.004181f0
push eax
call fcn.00405fcc
test eax, 0x10000000
setne al
cmp bl, al
je 0x481ec3
test bl, bl
je 0x481eb1
push 5
mov eax, dword [0x49b050]
call fcn.004181f0
push eax
call fcn.004061fc
jmp 0x481ec3
push 0
mov eax, dword [0x49b050]
call fcn.004181f0
push eax
call fcn.004061fc
pop ebx
ret

Function at 0x481f6c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov byte [0x49b37c], 0
push 0x482044
call fcn.0040594c
mov ebx, eax
push 0x482054
push ebx
call fcn.00405964
test eax, eax
je 0x481ff8
lea edx, [esp + 4]
push edx
call eax
push 0x482068
push ebx
call fcn.00405964
mov esi, eax
test esi, esi
je 0x482002
push esp
call fcn.004058cc
push eax
call esi
test eax, eax
je 0x482002
cmp dword [esp], 0
je 0x482002
call fcn.00451d7c
test al, al
je 0x482002
push 0x482078
push ebx
call fcn.00405964
test eax, eax
je 0x482002
push 0x482094
push 0x4820a4
call fcn.0040594c
push eax
call fcn.00405964
test eax, eax
je 0x482002
mov byte [0x49b37c], 1
jmp 0x482002
lea eax, [esp + 4]
push eax
call fcn.0040598c
mov ax, word [esp + 4]
sub ax, 1
jb 0x48201b
sub ax, 5
je 0x482024
sub ax, 3
je 0x48202d
jmp 0x482036
mov byte [0x498c60], 1
jmp 0x48203d
mov byte [0x498c60], 3
jmp 0x48203d
mov byte [0x498c60], 2
jmp 0x48203d
mov byte [0x498c60], 0
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x4820b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push 0
push 1
lea eax, [ebp - 4]
push eax
mov ecx, 0x482124
mov edx, 0x80000002
xor eax, eax
call fcn.0042dd44
test eax, eax
jne 0x48211d
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x482150
mov eax, dword [ebp - 4]
push eax
call fcn.004057d4
test eax, eax
jne 0x482114
cmp dword [ebp - 0xc], 4
jne 0x482114
cmp dword [ebp - 8], 4
jne 0x482114
mov ax, word [ebp - 0x10]
mov word [0x49b390], ax
mov eax, dword [ebp - 4]
push eax
call fcn.00405794
mov esp, ebp
pop ebp
ret
Function at 0x482298
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffed0
mov dword [esp], 0x94
push esp
call fcn.004059b4
test eax, eax
je 0x48234a
xor eax, eax
mov al, byte [esp + 4]
shl eax, 0x18
xor edx, edx
mov dl, byte [esp + 8]
shl edx, 0x10
or eax, edx
movzx edx, word [esp + 0xc]
or eax, edx
mov dword [0x49b38c], eax
cmp byte [0x49b37b], 0
je 0x48234a
mov eax, dword [esp + 4]
cmp eax, 5
jl 0x48233b
mov dword [esp + 0x94], 0x9c
lea eax, [esp + 0x94]
push eax
call fcn.004059b4
test eax, eax
je 0x48234a
xor eax, eax
mov al, byte [esp + 0x128]
shl eax, 8
xor edx, edx
mov dl, byte [esp + 0x12a]
or ax, dx
mov word [0x49b390], ax
mov al, byte [esp + 0x12e]
mov byte [0x49b392], al
mov ax, word [esp + 0x12c]
mov word [0x49b394], ax
jmp 0x48234a
cmp eax, 4
jne 0x48234a
call fcn.004820b4
call fcn.0048215c
add esp, 0x130
ret
Function at 0x48c0d8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x48c279
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x10]
mov ecx, 0x200
xor edx, edx
call fcn.004034e0
push 0
xor eax, eax
mov al, byte [ebp + 8]
mov eax, dword [eax*4 + 0x499090]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00403738
mov ecx, eax
mov edx, edi
mov eax, ebx
call fcn.0042dd44
test eax, eax
jne 0x48c25e
xor edx, edx
push ebp
push 0x48c253
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi]
xor ecx, ecx
mov edx, dword [esi + 4]
call fcn.00436330
xor ebx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00403574
mov dword [ebp - 0x18], eax
cmp byte [ebp + 8], 0
je 0x48c190
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
call fcn.00403744
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004057b4
jmp 0x48c1af
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
call fcn.00403744
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
call fcn.004057bc
sub eax, 1
jb 0x48c1fd
sub eax, 0xe9
je 0x48c1c2
sub eax, 0x19
je 0x48c23c
jmp 0x48c1f6
mov eax, dword [ebp - 0x10]
call fcn.00403574
cmp eax, 0x10000
jl 0x48c1db
call fcn.004031bc
jmp 0x48c25e
mov eax, dword [ebp - 0x10]
call fcn.00403574
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.004034e0
jmp 0x48c15e
call fcn.004031bc
jmp 0x48c25e
lea ecx, [ebx + 1]
mov eax, dword [esi]
mov edx, dword [esi + 4]
call fcn.00436330
lea eax, [ebp - 0x10]
call fcn.00403744
mov edx, eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.004034e0
lea ecx, [ebp - 0x24]
mov eax, esi
mov edx, ebx
call fcn.00442d50
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.00435280
inc ebx
jmp 0x48c15e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c25a
mov eax, dword [ebp - 0xc]
push eax
call fcn.00405794
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c280
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403420
ret
Function at 0x494978
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494a1b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x494a34
push ebx
push 0x494a40
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403634
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402934
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403738
push eax
push 0
call fcn.00405834
test eax, eax
jne 0x4949f9
mov eax, dword [0x49adb8]
call fcn.004948d0
mov eax, dword [ebp - 0x54]
push eax
call fcn.004057e4
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494a22
lea eax, [ebp - 4]
call fcn.00403400
ret