joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a09c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
dec ebx
mov edi, dword [ebp + 8]
lea eax, [ebx - 0x29]
cmp esi, eax
jle 0x42a0d2
push 0x2d
push 0x495cd0
push 0x6e
push 0x79
push 4
call fcn.00434658
add esp, 0x14
xor eax, eax
jmp 0x42a214
cmp ebx, 0x29
jge 0x42a0f3
push 0x33
push 0x495ce8
push 0x78
push 0x79
push 4
call fcn.00434658
add esp, 0x14
xor eax, eax
jmp 0x42a214
push 0x37
push 0x495d00
lea edx, [ebx - 0x14]
push edx
call fcn.004102f0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42a12b
push 0x3a
push 0x495d18
push 0x41
push 0x79
push 4
call fcn.00434658
add esp, 0x14
xor eax, eax
jmp 0x42a214
mov byte [edi], 0
lea edx, [edi + 1]
mov dword [ebp - 8], edx
add edi, 0x15
mov dword [ebp - 4], edi
push 0
call fcn.00436508
push eax
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 0x1c]
push edx
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.004363b8
add esp, 0x18
mov edi, ebx
sub edi, esi
mov eax, edi
add eax, 0xffffffd7
push eax
push 0
mov edx, dword [ebp - 4]
add edx, 0x14
push edx
call fcn.004053d8
add esp, 0xc
mov ecx, dword [ebp - 4]
mov byte [ecx + edi - 0x15], 1
push esi
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp - 4]
add edx, ebx
sub edx, esi
add edx, 0xffffffec
push edx
call fcn.00405368
add esp, 0xc
push 0x14
mov ecx, dword [ebp - 8]
push ecx
call fcn.00433480
add esp, 8
test eax, eax
jg 0x42a1a9
xor eax, eax
jmp 0x42a214
push 0x14
lea ecx, [ebx - 0x14]
mov edx, dword [ebp - 8]
push edx
push ecx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042a4b4
mov edx, dword [ebp - 4]
add esp, 0x10
mov esi, edx
mov edx, dword [ebp - 0xc]
xor eax, eax
jmp 0x42a1d2
mov cl, byte [edx]
inc eax
xor byte [esi], cl
inc esi
inc edx
lea ecx, [ebx - 0x14]
cmp eax, ecx
jl 0x42a1cb
add ebx, 0xffffffec
lea edx, [ebp - 0x20]
push ebx
mov eax, dword [ebp - 4]
push eax
push 0x14
push edx
call fcn.0042a4b4
mov edx, dword [ebp - 8]
add esp, 0x10
mov ecx, edx
lea edx, [ebp - 0x20]
xor eax, eax
mov bl, byte [edx]
xor byte [ecx], bl
inc eax
inc ecx
inc edx
cmp eax, 0x14
jl 0x42a1f9
mov eax, dword [ebp - 0xc]
push eax
call fcn.004104b0
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a21c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor edx, edx
push ebx
push esi
push edi
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], edx
dec eax
cmp eax, 0x29
jl 0x42a392
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jge 0x42a253
mov dword [ebp - 0xc], 1
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
add ecx, 0x14
mov dword [ebp - 4], ecx
lea ebx, [eax - 0x14]
push 0x7a
push 0x495d30
push ebx
call fcn.004102f0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x42a295
push 0x7d
push 0x495d48
push 0x41
push 0x7a
push 4
call fcn.00434658
add esp, 0x14
or eax, 0xffffffff
jmp 0x42a3b8
push ebx
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 4]
push edx
push 0x14
push ecx
call fcn.0042a4b4
add esp, 0x10
mov eax, dword [ebp - 8]
lea edx, [ebp + eax - 0x24]
cmp eax, 0x14
jge 0x42a2c8
mov ecx, eax
mov edi, dword [ebp + 0x10]
sub ecx, dword [ebp - 8]
inc eax
mov cl, byte [edi + ecx]
xor byte [edx], cl
inc edx
cmp eax, 0x14
jl 0x42a2b4
push 0x14
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.0042a4b4
mov edx, esi
add esp, 0x10
mov dword [ebp - 0x10], edx
xor eax, eax
mov ecx, dword [ebp - 4]
cmp ebx, eax
mov edx, ecx
jle 0x42a2f8
mov cl, byte [edx]
mov edi, dword [ebp - 0x10]
xor byte [edi], cl
inc eax
inc dword [ebp - 0x10]
inc edx
cmp ebx, eax
jg 0x42a2e8
push 0
call fcn.00436508
push eax
lea eax, [ebp - 0x38]
push 0
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004363b8
add esp, 0x18
lea eax, [ebp - 0x38]
push 0x14
push eax
push esi
call fcn.00405630
add esp, 0xc
test eax, eax
jne 0x42a392
cmp dword [ebp - 0xc], 0
jne 0x42a392
mov eax, 0x14
lea edx, [esi + 0x14]
cmp ebx, eax
jle 0x42a346
cmp byte [edx], 0
jne 0x42a346
inc eax
inc edx
cmp ebx, eax
jg 0x42a33b
cmp byte [esi + eax], 1
jne 0x42a392
mov ecx, eax
inc eax
cmp ebx, ecx
jle 0x42a392
sub ebx, eax
cmp ebx, dword [ebp + 0xc]
jle 0x42a377
push 0x9b
push 0x495d60
push 0x6d
push 0x7a
push 4
call fcn.00434658
add esp, 0x14
or ebx, 0xffffffff
jmp 0x42a387
push ebx
add eax, esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00405368
add esp, 0xc
push esi
call fcn.004104b0
pop ecx
mov eax, ebx
jmp 0x42a3b8
push 0xa8
push str..crypto_rsa_rsa_oaep.c
push 0x79
push 0x7a
push 4
call fcn.00434658
add esp, 0x14
test esi, esi
je 0x42a3b5
push esi
call fcn.004104b0
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a554
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x18]
jne 0x42a56f
mov cl, byte [eax]
cmp cl, 0x6a
je 0x42a590
cmp cl, 0x6b
je 0x42a590
push 0x72
push 0x495da8
push 0x89
push 0x80
push 4
call fcn.00434658
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
mov cl, byte [eax]
inc eax
cmp cl, 0x6b
jne 0x42a601
lea esi, [edx - 3]
xor ecx, ecx
cmp esi, ecx
jle 0x42a5d7
mov dl, byte [eax]
inc eax
cmp dl, 0xba
je 0x42a5d7
cmp dl, 0xbb
je 0x42a5d2
push 0x81
push 0x495dc0
push 0x8a
push 0x80
push 4
call fcn.00434658
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
inc ecx
cmp esi, ecx
jg 0x42a5a1
sub esi, ecx
test ecx, ecx
jne 0x42a604
push 0x8a
push 0x495dd8
push 0x8a
push 0x80
push 4
call fcn.00434658
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
lea esi, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x42a62e
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.00434658
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
push esi
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00405368
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret
Function at 0x433dad
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov ebx, 0x10
call sub.KERNEL32.DLL_GetVersion
cmp eax, 0x80000000
jae 0x433edf
call fcn.0040fc5c
test eax, eax
je 0x433edf
push 0
push 0
push 0
push str.DISPLAY
call sub.GDI32.DLL_CreateDCA
mov esi, eax
push esi
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [esp], eax
push 8
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x10], eax
push 0xa
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [esp + 0x14], eax
push ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov edi, eax
push edi
mov eax, dword [esp + 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [esp + 4], eax
lea edx, [esp + 0x18]
push edx
push 0x18
push edi
call sub.GDI32.DLL_GetObjectA
mov ecx, dword [esp + 0x24]
imul ecx, dword [esp + 0x20]
movzx eax, word [esp + 0x28]
imul ecx, eax
mov dword [esp + 8], ecx
push 0x2d5
push str..crypto_rand_rand_win.c
mov edx, dword [esp + 0x10]
push edx
call fcn.004102f0
add esp, 0xc
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x433eb9
xor ebp, ebp
jmp 0x433ea4
push 0xcc0020
push ebp
push 0
push esi
push ebx
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
mov edx, dword [esp + 0x20]
push edx
call sub.GDI32.DLL_BitBlt
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.GDI32.DLL_GetBitmapBits
push 0
call fcn.00436508
push eax
push 0
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [esp + 0x20]
push eax
call fcn.004363b8
add esp, 0x18
push 0
push 0
push 0x14
lea edx, [esp + 0x3c]
push edx
call fcn.00433458
add esp, 0x10
add ebp, ebx
mov ecx, dword [esp + 0x14]
sub ecx, ebx
cmp ebp, ecx
jl 0x433e41
mov eax, dword [esp + 0xc]
push eax
call fcn.004104b0
pop ecx
mov edx, dword [esp + 4]
push edx
mov ecx, dword [esp + 4]
push ecx
call sub.GDI32.DLL_SelectObject
mov edi, eax
push edi
call sub.GDI32.DLL_DeleteObject
mov eax, dword [esp]
push eax
call sub.GDI32.DLL_DeleteDC
push esi
call sub.GDI32.DLL_DeleteDC
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43713c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor ecx, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
test esi, esi
je 0x437155
cmp dword [esi + 8], 0
jne 0x43715c
xor eax, eax
jmp 0x43724f
mov edx, dword [esi + 4]
and edx, 0x100
mov dword [ebp - 8], edx
mov eax, dword [esi]
test eax, eax
jne 0x437177
mov dword [ebp - 4], 1
jmp 0x4371d4
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [esi + 8]
cmp dword [ebp - 8], 0
mov al, byte [edx]
jne 0x437195
cmp eax, 0x7f
jle 0x437195
mov ebx, 1
xor ecx, ecx
jmp 0x4371d1
cmp dword [ebp - 8], 0
je 0x4371d1
cmp eax, 0x80
jle 0x4371ab
mov ebx, 1
mov cl, 0xff
jmp 0x4371d1
cmp eax, 0x80
jne 0x4371d1
mov eax, 1
mov edx, dword [esi + 8]
inc edx
jmp 0x4371cd
cmp byte [edx], 0
je 0x4371cb
mov ebx, 1
mov cl, 0xff
jmp 0x4371d1
inc eax
inc edx
cmp eax, dword [esi]
jl 0x4371bd
add dword [ebp - 4], ebx
cmp dword [ebp + 0xc], 0
jne 0x4371df
mov eax, dword [ebp - 4]
jmp 0x43724f
mov edx, dword [ebp + 0xc]
test ebx, ebx
mov edx, dword [edx]
je 0x4371eb
mov byte [edx], cl
inc edx
cmp dword [esi], 0
jne 0x4371f5
mov byte [edx], 0
jmp 0x437244
cmp dword [ebp - 8], 0
jne 0x43720d
mov eax, dword [esi]
push eax
mov ecx, dword [esi + 8]
push ecx
push edx
call fcn.00405368
add esp, 0xc
jmp 0x437244
mov eax, dword [esi]
mov ecx, dword [esi + 8]
add ecx, eax
mov ebx, eax
dec ebx
dec ecx
add edx, ebx
jmp 0x437222
mov byte [edx], 0
dec edx
dec ecx
dec eax
cmp byte [ecx], 0
je 0x43721c
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
inc ebx
mov byte [edx], bl
dec edx
test eax, eax
jle 0x437244
mov bl, byte [ecx]
dec ecx
xor bl, 0xff
dec eax
mov byte [edx], bl
dec edx
test eax, eax
jg 0x437236
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
add dword [eax], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x437258
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
cmp dword [ebp + 8], 0
je 0x43726e
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x43728c
push 2
call fcn.0043b588
pop ecx
mov esi, eax
test eax, eax
jne 0x437283
xor eax, eax
jmp 0x4373d6
mov dword [esi + 4], 2
jmp 0x437291
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x10]
add eax, ebx
mov dword [ebp - 4], eax
push 0xc7
push 0x4a635c
mov edx, dword [ebp + 0x10]
inc edx
push edx
call fcn.004102f0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4372c8
mov eax, 0x41
jmp 0x4373a2
cmp dword [ebp + 0x10], 0
mov edx, dword [ebp - 8]
jne 0x4372dd
mov dword [esi + 4], 2
jmp 0x437372
test byte [ebx], 0x80
je 0x43734b
mov dword [esi + 4], 0x102
cmp byte [ebx], 0xff
jne 0x4372f8
cmp dword [ebp + 0x10], 1
je 0x4372f8
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ebx, ecx
add edx, ecx
jmp 0x43730a
mov byte [edx], 0
dec edx
dec eax
dec ebx
cmp byte [ebx], 0
jne 0x437313
test eax, eax
jne 0x437304
test eax, eax
jne 0x43732c
mov edx, dword [ebp - 8]
mov byte [edx], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov byte [eax + edx], 0
inc dword [ebp + 0x10]
jmp 0x437372
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
inc ecx
mov byte [edx], cl
dec edx
test eax, eax
jle 0x437372
mov cl, byte [ebx]
dec ebx
xor cl, 0xff
dec eax
mov byte [edx], cl
dec edx
test eax, eax
jg 0x43733b
jmp 0x437372
mov dword [esi + 4], 2
cmp byte [ebx], 0
jne 0x437361
cmp dword [ebp + 0x10], 1
je 0x437361
inc ebx
dec dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
push eax
push ebx
mov edx, dword [ebp - 8]
push edx
call fcn.00405368
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x437380
push eax
call fcn.004104b0
pop ecx
mov edx, dword [ebp - 8]
mov dword [esi + 8], edx
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
cmp dword [ebp + 8], 0
je 0x437396
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, esi
jmp 0x4373d6
push 0x103
push 0x4a6372
push eax
push 0xc2
push 0xd
call fcn.00434658
add esp, 0x14
test esi, esi
je 0x4373d4
cmp dword [ebp + 8], 0
je 0x4373cd
mov edx, dword [ebp + 8]
cmp esi, dword [edx]
je 0x4373d4
push esi
call fcn.0043b5d8
pop ecx
xor eax, eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x43e6d0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 4], esi
mov esi, dword [ebx + 4]
mov dword [ebp - 8], esi
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebx + 0xc]
mov dword [ebp - 0x10], ebx
mov ebx, 0x20
jmp 0x43e73f
add ecx, 0x9e3779b9
mov esi, edx
shl esi, 4
add esi, dword [ebp - 4]
lea edi, [ecx + edx]
xor esi, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
xor esi, edi
add eax, esi
mov esi, eax
shl esi, 4
add esi, dword [ebp - 0xc]
lea edi, [ecx + eax]
xor esi, edi
mov edi, eax
shr edi, 5
add edi, dword [ebp - 0x10]
xor esi, edi
add edx, esi
mov esi, ebx
add ebx, 0xffffffff
test esi, esi
jg 0x43e707
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43ee98
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
xor eax, eax
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
push eax
push 0
push 0
push 0
push edx
lea ecx, [ebp - 0x114]
push ecx
push esi
push edi
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov ebx, eax
test ebx, ebx
jne 0x43ef37
mov dword [ebp - 0xc], 0xc8
push str.HIDVid_3689Pid_8762
call fcn.00405558
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
push 0x4a84a2
call fcn.004057d8
add esp, 0xc
test eax, eax
jne 0x43ef37
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x43ef34
mov ecx, dword [ebp + 0x10]
mov esi, 0x4a84ce
mov edi, ecx
lea edx, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0040547c
add esp, 8
mov eax, 1
jmp 0x43ef42
inc dword [ebp - 0x10]
inc esi
test ebx, ebx
je 0x43eeb7
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1039c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1039c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1039c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1039c06a
add dl, dl
jne 0x1039c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1039c0dc
xor eax, eax
add dl, dl
jne 0x1039c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1039c17d
add dl, dl
jne 0x1039c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1039c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1039c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1039c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1039c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1039c075
mov eax, 1
add dl, dl
jne 0x1039c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1039c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1039c0e1
sub eax, ebx
mov ebx, 1
jne 0x1039c128
mov ecx, 1
add dl, dl
jne 0x1039c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1039c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1039c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1039c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1039c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1039c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1039c136
cmp eax, 0x7d00
jae 0x1039c16d
cmp eax, 0x500
jb 0x1039c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1039c075
cmp eax, 0x7f
ja 0x1039c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1039c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1039c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1039c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x410690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c99b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046158b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x410712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045f4f0
mov eax, dword [eax]
push 0x4821f0
push eax
call fcn.004522e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461816
test bl, bl
je 0x410712
push 0x4821f0
lea ecx, [esp + 0xc]
call fcn.00461ba6
push 0x485d4c
lea ecx, [esp + 0xc]
call fcn.00461ba6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41074e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461816
jmp 0x410819
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4107d2
lea edx, [esp + 0x7c]
push 0x485d48
push edx
call fcn.004522e4
add esp, 8
test eax, eax
je 0x4107d2
lea eax, [esp + 0x7c]
push 0x485d44
push eax
call fcn.004522e4
add esp, 8
test eax, eax
je 0x4107d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x410762
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00461816
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x411010
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x411072
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x411080
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46ca1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48c320]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4111b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4110e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461816
xor eax, eax
jmp 0x41122f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00461953
push esi
lea ecx, [esp + 0xc]
call fcn.00461be2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41120d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00411010
test eax, eax
jne 0x41120d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00411010
test eax, eax
jne 0x41120d
lea eax, [esp + 0x14]
push 0x485d60
push eax
call fcn.00453230
mov esi, eax
add esp, 8
test esi, esi
jne 0x4111ec
lea ecx, [esp + 0x14]
push 0x485d5c
push ecx
call fcn.004531b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4111ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4111ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00461903
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4110fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00461816
xor eax, eax
jmp 0x41122f
mov byte [esi], 0
push 0x485d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00461816
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4