joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5411b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x541216
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x541216
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x5411f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x5415a0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x5415d8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x542200
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x542249
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x5426c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x581890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00542270
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.005422f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.005422f0
lea ecx, [esi + 0xc]
call fcn.0056e166
lea ecx, [esi + 0x10]
call fcn.0056e166
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00543880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00543880
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00543880
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0056e1db
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0056e1db
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5468b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x871e78]
xor edx, edx
cmp eax, edx
jne 0x5468d6
xor eax, eax
mov byte [eax + 0x871d78], al
inc eax
cmp eax, 0x100
jl 0x5468be
mov dword [0x871e78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x871d78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x546967
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x54693a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x546908
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x546970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5469c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5469aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54d350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x581c8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0054dc70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x79e134
call fcn.0056df1c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x54d3e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0056df1c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x54d3dc
push 0
mov ecx, eax
call fcn.005444f0
mov dword [esi + 0xc], eax
jmp 0x54d3e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x54d3e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5705e6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x57061e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0056e636
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0056e60e
jmp 0x57062a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x571de6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x571e28
call fcn.00578531
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x571e28
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x571e1f
xor eax, eax
jmp 0x571e30
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00571e36
pop edi
pop esi
pop ebx
ret 4

Function at 0x578a61
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x578a8f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x578aad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005789c7
jmp 0x578aad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x578aad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005789c7
test edi, edi
mov eax, edi
jne 0x578a97
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x4121d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section._____1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x4121f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4121f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4121e8
mov eax, 1
add ebx, ebx
jne 0x41220b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x412200
jne 0x41221c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x412200
xor ecx, ecx
sub eax, 3
jb 0x412230
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4122a2
mov ebp, eax
add ebx, ebx
jne 0x41223b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412248
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41226c
inc ecx
add ebx, ebx
jne 0x412258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41224d
jne 0x412269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41224d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41228c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41227d
jmp 0x4121ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41228c
add edi, ecx
jmp 0x4121ee
pop esi
mov edi, esi
mov ecx, 0x411
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4122aa
cmp byte [edi], 0
jne 0x4122aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4122af
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x41231e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x124e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4122dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x124e4]
or eax, eax
je 0x412318
mov dword [ebx], eax
add ebx, 4
jmp 0x4122f9
call dword [esi + 0x124e8]
popal
jmp 0x409cc0

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x407cb0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x444c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x456824]
mov eax, 0x281003eb
imul ecx
push esi
mov esi, dword [0x456830]
sar edx, 0x17
imul esi, esi, 0x340e3f9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
mov ecx, dword [0x45682c]
sar edx, 0x19
push edi
mov edi, edx
add esi, edx
mov eax, 0x4eff369
imul ecx
mov eax, dword [0x56cb8c]
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456838]
imul edx, edx, 0xdc19cb
shr edi, 0x1f
add edi, esi
sub edi, ecx
add edi, edx
mov ecx, 0x56cb8c
mov dword [str._r_____r____], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x45682c]
mov esi, dword [0x456818]
mov eax, 0x281003eb
imul esi, esi, 0x4b2efd8
imul ecx
sar edx, 0x17
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x331ebb8
sub esi, ecx
mov ecx, dword [0x456820]
add esi, edx
mov eax, 0x62a5c8bd
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
sub esi, eax
mov eax, dword [0x456830]
lea ecx, [esp + 0x20]
sub esi, eax
push ecx
sub esi, 0x2b747a3
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [0x456820], esi
call fcn.00407a20
mov ecx, dword [0x45681c]
mov eax, 0x6cf5c25f
imul ecx
mov ecx, dword [0x456820]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x281003eb
imul ecx
sar edx, 0x17
imul ecx, ecx, 0x33d9a16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1eadb5a
sub eax, esi
mov esi, dword [esp + 8]
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0x2b747a3
add eax, edx
add eax, ecx
push esi
mov dword [0x45682c], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x407e47
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 0x40db00
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
mov ecx, dword [0x456824]
push ebp
push esi
mov esi, dword [0x456830]
mov eax, 0x281003eb
imul esi, esi, 0x340e3f9
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
mov ecx, dword [0x45682c]
push edi
sar edx, 0x19
mov edi, edx
add esi, edx
mov eax, 0x4eff369
imul ecx
sar edx, 0x14
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456838]
imul edx, edx, 0xdc19cb
shr edi, 0x1f
add edi, esi
sub edi, ecx
add edi, edx
lea eax, [esp + 0x10]
mov dword [str._r_____r____], edi
mov edi, dword [esp + 0x1c]
push eax
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x40dd4a
mov ecx, dword [0x456838]
mov eax, 0x9b24a0b5
imul ecx
push ebx
mov ebx, dword [0x456830]
add edx, ecx
imul ebx, ebx, 0x340e3f9
imul ecx, ecx, 0xdc19cb
sar edx, 0x19
add ebx, edx
mov eax, edx
shr eax, 0x1f
add eax, ebx
sub eax, ecx
mov ecx, dword [0x45681c]
mov ebx, eax
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ebx, edx
add ecx, ebx
sub ecx, dword [0x456824]
add ecx, 0x298583a
push esi
mov dword [0x45681c], ecx
call fcn.0043c062
add esp, 4
mov ebx, eax
push ebx
push esi
xor esi, esi
push esi
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40dd40
mov edi, dword [0x456828]
mov edx, dword [0x456818]
imul edi, edi, 0x4b2efd8
mov eax, dword [str._r_____r____]
imul edx, edx, 0x340e3f9
mov ecx, dword [0x45682c]
imul eax, eax, 0x34cd890
add edi, edx
add edi, eax
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456834]
sub edi, ecx
lea eax, [edi + edx - 0x2b747a3]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x4471ec
push ebx
mov dword [0x456824], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov ecx, dword [0x45681c]
je 0x40dceb
mov edx, dword [0x456834]
mov esi, dword [0x456828]
mov eax, 0x281003eb
imul edx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, esi
imul edi, edi, 0x34cd890
sub edi, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x4eff369
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
imul edx, edx, 0x33d9718
sub edi, eax
mov eax, dword [esp + 0x10]
add edi, edx
mov dword [0x456834], edi
mov bp, word [eax + 0x14]
mov eax, 0x6cf5c25f
imul ecx
sar edx, 0x19
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x456820]
mov eax, 0x281003eb
imul ecx
imul ecx, ecx, 0x33d9a16
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1eadb5a
sub eax, esi
add eax, edx
mov edx, dword [0x456824]
imul edx, edx, 0x2b747a3
add eax, edx
add eax, ecx
mov dword [0x45682c], eax
push ebx
call fcn.0043c067
add esp, 4
pop ebx
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0xc
ret
Function at 0x417650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x458190]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x417772
lea ecx, [esp + 8]
call fcn.00417530
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x417776
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x417720
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00417650
mov edi, eax
test edi, edi
jne 0x41779a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x4176e2
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x417739
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x417758
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042a3c1
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x417781
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042a3c1
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4177a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.0042a3c1
add esp, 0x118
ret 4
Function at 0x417c80
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x417c92
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x41b710
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [0x456824]
mov eax, 0x281003eb
imul ebp
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x9b24a0b5
imul ebp
mov ebx, dword [0x456838]
add edx, ebp
imul ebx, ebx, 0xdc19cb
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
mov esi, eax
mov eax, 0x4eff369
imul dword [0x45682c]
mov eax, dword [esp + 0x10]
sub esi, ecx
push edi
mov edi, dword [0x456830]
sar edx, 0x14
imul edi, edi, 0x340e3f9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
add esi, ebx
add esi, edi
cmp eax, 0x132b600
mov dword [str._r_____r____], esi
je 0x41b7a4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
push 0x3e8
call edi
dec esi
jne 0x41b793
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0x6cf5c25f
imul dword [0x456834]
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x858372bd
imul dword [0x456820]
add edx, dword [0x456820]
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [0x456820]
imul ecx, ecx, 0x2b747a3
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, 0x17908a77
imul dword [0x456834]
mov eax, dword [esp + 0x14]
sar edx, 0x16
add eax, edx
mov ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x33d9a16
shr ecx, 0x1f
add ecx, eax
mov eax, dword [0x56a64c]
sub ecx, edx
mov edx, eax
inc eax
test edx, edx
mov dword [0x456818], ecx
mov dword [0x56a64c], eax
jle 0x41b877
mov ecx, dword [0x456838]
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
mov ecx, dword [0x45681c]
sar edx, 0x19
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
sub eax, ebx
sub eax, ebp
lea ecx, [eax + edi + 0x298583a]
pop edi
pop esi
pop ebp
mov dword [0x45681c], ecx
mov eax, 1
pop ebx
ret
mov eax, 0x281003eb
imul ecx, ecx, 0x4b2efd8
imul esi, esi, 0x331ebb8
imul dword [0x45682c]
sar edx, 0x17
mov ebp, dword [0x456830]
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x62a5c8bd
imul dword [0x456820]
sar edx, 0x18
mov eax, edx
add ecx, esi
shr eax, 0x1f
add eax, edx
sub ecx, eax
sub ecx, ebp
sub ecx, 0x2b747a3
mov dword [0x456820], ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0x41b1c0
push 0
push 0
mov dword [0x56a36c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x456828]
mov edx, dword [0x456818]
imul esi, esi, 0x4b2efd8
mov eax, dword [str._r_____r____]
imul edx, edx, 0x340e3f9
mov ecx, dword [0x45682c]
imul eax, eax, 0x34cd890
add esi, edx
add esi, eax
mov eax, 0x4eff7f81
imul ecx
sar edx, 0x18
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456834]
sub esi, ecx
pop edi
lea eax, [esi + edx - 0x2b747a3]
pop esi
pop ebp
mov dword [0x456824], eax
mov eax, 1
pop ebx
ret
Function at 0x4200e0
Capabilities:
Create thread

Disassembly:
push ebx
mov ecx, dword [0x456824]
push esi
push edi
mov edi, dword [0x456838]
mov eax, 0x2757ae75
imul edi
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x64db5f4b
imul ecx
sub edx, ecx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
imul edx, edx, 0x2b747a3
mov ebx, eax
sub ebx, esi
sub ebx, edx
mov eax, 0x4a704a7b
imul edi
sar edx, 0x16
mov esi, edx
shr esi, 0x1f
add ebx, edx
add esi, ebx
mov ebx, dword [0x45681c]
mov eax, ebx
imul eax, eax, 0x33d9718
add esi, eax
cmp dword [esp + 0x10], 0x132b600
mov dword [0x456828], esi
je 0x4201d0
mov esi, dword [0x456830]
imul edi, edi, 0xdc19cb
mov eax, 0x281003eb
imul esi, esi, 0x340e3f9
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x9b24a0b5
imul ecx
add edx, ecx
mov ecx, dword [0x45682c]
sar edx, 0x19
add esi, edx
mov ebx, edx
mov eax, 0x4eff369
imul ecx
sar edx, 0x14
shr ebx, 0x1f
mov ecx, edx
shr ecx, 0x1f
add ebx, esi
add ecx, edx
sub ebx, ecx
add ebx, edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [str._r_____r____], ebx
mov esi, 0x64
lea esp, [esp]
push 0x3e8
call edi
dec esi
jne 0x4201c0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edi, dword [0x456820]
imul ecx, ecx, 0x2b747a3
mov eax, 0x6cf5c25f
imul ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebp
mov ebp, eax
mov eax, 0x281003eb
imul edi
imul edi, edi, 0x33d9a16
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456830]
imul edx, edx, 0x1eadb5a
sub eax, ebp
add eax, edx
add eax, ecx
add eax, edi
mov dword [0x45682c], eax
mov eax, dword [0x56a360]
test eax, eax
pop ebp
jne 0x420306
mov ecx, dword [0x456834]
mov eax, 0x281003eb
imul ecx
sar edx, 0x17
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
imul ecx, ecx, 0x34cd890
sub ecx, eax
mov eax, 0x9b24a0b5
imul ebx
add edx, ebx
sar edx, 0x19
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
mov eax, 0x4eff369
imul esi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
sub ecx, eax
imul edx, edx, 0x33d9718
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x41eba0
push 0
add ecx, edx
push 0
mov dword [0x456834], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [0x456828]
mov ecx, dword [0x456818]
imul esi, esi, 0x4b2efd8
mov edx, dword [str._r_____r____]
imul ecx, ecx, 0x340e3f9
imul edx, edx, 0x34cd890
mov dword [0x56a350], eax
add esi, ecx
mov ecx, dword [0x45682c]
add esi, edx
mov eax, 0x4eff7f81
imul ecx
mov ecx, dword [0x456834]
sar edx, 0x18
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
lea edx, [esi + ecx - 0x2b747a3]
mov dword [0x56a360], 1
mov dword [0x456824], edx
pop edi
pop esi
mov eax, 1
pop ebx
ret