joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bbeb4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4bbed5
inc edi
mov eax, esi
call fcn.00406df8
cmp edi, eax
jg 0x4bbee7
cmp byte [esi + edi - 1], 0x20
je 0x4bbed4
mov eax, esi
test eax, eax
je 0x4bbef2
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4bbfb4
cmp byte [esi + edi - 1], 0x2e
je 0x4bbfd8
jmp 0x4bbfb4
cmp byte [esi + edi - 1], 0x2e
jne 0x4bbf5c
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4bbfd8
cmp dword [esp + 8], 0xff
jg 0x4bbfd8
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4bbf40
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4bbf48
mov bl, 1
jmp 0x4bbf56
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4bbfd8
jmp 0x4bbfb3
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4bbf81
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4bbfb3
inc edi
mov eax, esi
call fcn.00406df8
cmp edi, eax
jg 0x4bbf93
cmp byte [esi + edi - 1], 0x20
je 0x4bbf80
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4bbfab
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4bbfd8
jmp 0x4bbfc3
inc edi
mov eax, esi
call fcn.00406df8
cmp edi, eax
jle 0x4bbf0a
cmp dword [esp + 4], 3
jne 0x4bbfd8
cmp dword [esp + 8], 0xff
jg 0x4bbfd8
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d437c
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00407a80
cmp byte [ebp - 1], 0
jne 0x4d43dc
mov eax, esi
call fcn.00406ef0
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4d43f6
sub al, 2
jb 0x4d43fd
jmp 0x4d4402
mov ebx, 2
jmp 0x4d4402
mov ebx, 1
mov eax, esi
call fcn.00406ef0
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4d44e6
test edi, edi
jle 0x4d445e
mov eax, esi
call fcn.00406ef0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00406ef0
mov byte [eax + ebx - 1], 0
jmp 0x4d44da
test edi, edi
jge 0x4d44a4
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00406ef0
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4d44da
mov eax, esi
call fcn.00406ef0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00406ef0
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4d441a
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4d44f7
sub al, 2
jb 0x4d4531
jmp 0x4d4579
cmp edi, 2
jne 0x4d44fd
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4d4579
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00406ef0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4f23e4]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4d450d
jmp 0x4d4579
cmp edi, 2
jne 0x4d4537
dec ebx
test ebx, ebx
jle 0x4d4574
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00406ef0
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x4f23e8]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4d4543
jmp 0x4d4574
inc ebx
mov eax, esi
call fcn.00406ef0
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4d4567
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.004072c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4eee60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x4e88a0
call fcn.0040a7e8
xor eax, eax
push ebp
push 0x4eefa8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00404704
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.004463e8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x20]
call fcn.00422574
test al, al
jne 0x4eef31
xor eax, eax
push ebp
push 0x4eef25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.004463e8
mov edx, dword [ebp - 0x24]
mov eax, 0x4f8648
mov ecx, 0x4eefc4
call fcn.00407758
lea edx, [ebp - 0x28]
xor eax, eax
call fcn.00404704
mov eax, dword [ebp - 0x28]
mov cl, 1
mov edx, dword [0x4f8648]
call fcn.00445efc
push 1
push 0
push 0
mov eax, dword [0x4f8648]
call fcn.0040751c
push eax
push 0x4eefe4
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eef80
mov eax, dword [0x4f2e10]
mov eax, dword [eax]
call fcn.004a9668
mov eax, dword [0x4f2e10]
mov eax, dword [eax]
mov dl, 1
call fcn.004ab238
mov eax, dword [0x4f2e10]
mov eax, dword [eax]
mov edx, 0x4eeffc
call fcn.004a90a0
mov ecx, dword [0x4f2c14]
mov eax, dword [0x4f2e10]
mov eax, dword [eax]
mov edx, dword [0x4e7e38]
call fcn.004a9680
mov eax, dword [0x4f2e10]
mov eax, dword [eax]
call fcn.004a97d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eefaf
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040695c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040695c
ret
Function at 0x40ae70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
cmp dword [0x425e38], 0
je 0x40aeaa
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
jne 0x40aeaa
mov ecx, dword [0x425e38]
push ecx
call fcn.004114c7
add esp, 4
mov dword [0x425e38], 0
mov edx, dword [ebp + 8]
and edx, 0xff
test edx, edx
je 0x40af71
push 0xc8
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x41e9cc
lea edx, [ebp - 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
je 0x40af19
mov dword [ebp - 0x104], str.matrixcode_fs.log
jmp 0x40af23
mov dword [ebp - 0x104], str.matrixcode.log
mov edi, dword [ebp - 0x104]
lea edx, [ebp - 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x41e9a4
lea eax, [ebp - 0x100]
push eax
call fcn.004114b4
add esp, 8
mov dword [0x425e38], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fbc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov al, byte [0x42730b]
test eax, eax
je 0x40fbd8
xor al, al
jmp 0x40fd9e
xor ecx, ecx
mov cl, byte [0x42730a]
test ecx, ecx
je 0x40fc02
push str._Close__INFO:_in_terminate_loop__destroying_window
call fcn.0040afc0
add esp, 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor al, al
jmp 0x40fd9e
mov ecx, 0x427268
call fcn.0040ae20
and eax, 0xff
test eax, eax
je 0x40fc46
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x42730c]
cmp eax, 0x3e8
jae 0x40fc46
push str._Close__INFO:_Trapped
call fcn.0040afc0
add esp, 4
mov ecx, 0x427268
call fcn.0040ade0
xor al, al
jmp 0x40fd9e
cmp dword [0x427298], 0
je 0x40fc81
xor eax, eax
mov al, byte [0x41fe6c]
test eax, eax
je 0x40fc81
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x42730c]
cmp eax, 0x1388
jae 0x40fc81
push str._Close__INFO:_Trapped__WinNT_fix_
call fcn.0040afc0
add esp, 4
xor al, al
jmp 0x40fd9e
xor ecx, ecx
mov cl, byte [0x427311]
test ecx, ecx
je 0x40fd66
xor edx, edx
mov dl, byte [0x427309]
test edx, edx
je 0x40fd66
mov ecx, 0x427270
call fcn.0040bb20
and eax, 0xff
test eax, eax
je 0x40fd66
push str._Close__INFO:_ignored__password_enabled__send_SCRM_VERIFYPW
call fcn.0040afc0
add esp, 4
mov ecx, 0x4272d8
call fcn.0040ada0
mov ecx, 0x427268
call fcn.0040ade0
mov ecx, 0x427250
call fcn.0040ae20
and eax, 0xff
test eax, eax
jne 0x40fcf8
push 1
push 0xa
call dword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x40fcd9
mov eax, dword [0x425e18]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
jmp 0x40fd0e
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [0x425e18]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
je 0x40fd4f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x110], 0
je 0x40fd4d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x110]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x110]
mov edx, dword [eax]
push ecx
call dword [edx + 0x28]
jmp 0x40fd05
push 0
push 0
push 0x8000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor al, al
jmp 0x40fd9e
xor ecx, ecx
mov cl, byte [0x427310]
test ecx, ecx
je 0x40fd83
push str._Close__INFO:_ignored__in_password_check
call fcn.0040afc0
add esp, 4
xor al, al
jmp 0x40fd9e
mov byte [0x42730a], 1
push str._Close__INFO:_Terminating_Matrix_Code_Emulator
call fcn.0040afc0
add esp, 4
call fcn.0040fdb0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x41019b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [0x427320], esi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
jne 0x4101f3
cmp dword [0x427324], esi
jne 0x4101f3
cmp ebx, 0x10
je 0x410304
cmp ebx, 0x8000
je 0x4102e1
cmp dword [0x427328], esi
jne 0x4101f3
cmp ebx, 0x1c
ja 0x410231
je 0x41022c
cmp ebx, 0x18
jne 0x4101f3
cmp dword [ebp + 0x10], esi
je 0x4101f3
push esi
call dword [sym.imp.USER32.dll_SetCursor]
cmp ebx, dword [0x427338]
jne 0x410215
cmp ebx, esi
je 0x410215
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
xor eax, eax
cmp dword [0x427330], esi
setne al
jmp 0x410225
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x10], esi
jmp 0x410274
cmp ebx, 0x48
ja 0x41024f
je 0x410249
cmp ebx, 0x20
jne 0x4101f3
push esi
call dword [sym.imp.USER32.dll_SetCursor]
push 1
pop eax
jmp 0x410225
cmp dword [ebp + 0x10], 3
jmp 0x410274
mov eax, ebx
sub eax, 0x100
je 0x4102d3
sub eax, 4
je 0x4102d3
sub eax, 0xfc
je 0x41027b
dec eax
je 0x4102d3
sub eax, 3
je 0x4102d3
sub eax, 3
je 0x4102d3
sub eax, 0x11
je 0x4102d3
jmp 0x4101f3
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
sub ecx, dword [0x4276d8]
je 0x410296
cmp ecx, esi
jge 0x410296
neg ecx
mov eax, dword [ebp - 4]
sub eax, dword [0x4276dc]
je 0x4102a7
cmp eax, esi
jge 0x4102a7
neg eax
add ecx, eax
cmp ecx, dword [0x42097c]
jbe 0x4101f3
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 8]
mov dword [0x4276d8], eax
mov eax, dword [ebp - 4]
mov dword [0x4276dc], eax
jmp 0x4101f3
push esi
push esi
push 0x10
push dword [ebp + 8]
call edi
jmp 0x4101f3
cmp dword [0x427348], esi
je 0x4101f3
mov eax, dword [0x427330]
cmp eax, esi
je 0x410244
push dword [ebp + 8]
call eax
jmp 0x410225
cmp dword [0x427348], esi
je 0x4101f3
push dword [ebp + 8]
call fcn.00410780
test eax, eax
jne 0x4101f3
push 0x4276d8
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x410225
Function at 0x410780
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [0x427328], ebp
push edi
jne 0x41085c
cmp dword [0x427324], ebp
jne 0x41085c
cmp dword [0x427330], ebp
je 0x41084b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x42734c], ebp
mov esi, eax
je 0x4107d1
push esi
push dword [0x427350]
call fcn.00410868
cmp eax, dword [0x42734c]
jb 0x41084b
mov eax, dword [0x420980]
cmp eax, 0xffffffff
je 0x4107e9
push esi
push eax
call fcn.00410868
cmp eax, 0xc8
jb 0x410855
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, 0x113
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [0x427328], 1
call edi
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call edi
push ebp
push ebp
push 0x8000
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
mov dword [0x427324], eax
mov dword [0x427328], ebp
jne 0x41083e
push ebp
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x420980], eax
jmp 0x410855
mov dword [0x427324], 1
mov eax, dword [0x427324]
jmp 0x41085e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x410873
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4108a6
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x41089e
cmp al, 0x22
jne 0x41088f
cmp byte [esi], 0x22
jne 0x4108b4
inc esi
jmp 0x4108b4
cmp al, 0x20
jbe 0x4108b4
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
ja 0x4108aa
mov al, byte [esi]
test al, al
je 0x4108c5
cmp al, 0x20
ja 0x4108c5
push esi
call edi
mov esi, eax
jmp 0x4108b4
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x4108df
movzx eax, word [ebp - 0x14]
jmp 0x4108e2
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.0040ffae
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x415f57
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x421208
cmp edx, dword [eax]
je 0x415f79
add eax, 8
inc ecx
cmp eax, 0x421298
jl 0x415f6a
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x421208]
jne 0x4160a7
mov eax, dword [0x427364]
cmp eax, 1
je 0x416081
test eax, eax
jne 0x415faa
cmp dword [0x420a28], 1
je 0x416081
cmp edx, 0xfc
je 0x4160a7
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x415fe1
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004172c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00412080
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x416024
lea eax, [ebp - 0x1a4]
push eax
call fcn.00412080
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41b850
push edi
call fcn.00418fe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004172c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004172d0
lea eax, [ebp - 0xa0]
push 0x41b830
push eax
call fcn.004172d0
push dword [esi + 0x42120c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004172d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00418f4f
add esp, 0x2c
pop edi
jmp 0x4160a7
lea eax, [ebp + 8]
lea esi, [esi + 0x42120c]
push 0
push eax
push dword [esi]
call fcn.00412080
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0x408938
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
add esi, 0x2101bd7
call fcn.0040896e
add esi, eax
sub eax, esi
xor dword [edi], ecx
inc eax
add edi, 1
or eax, esi
mov eax, 0x6e2c4ddc
cmp edi, ebx
jne fcn.00408938
add eax, 0xc8085174
dec eax
ret
Function at 0x42be80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c04bb
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.004b41ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42bf02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b17fd
mov eax, dword [eax]
push 0x6a7214
push eax
call fcn.004a2c04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b4436
test bl, bl
je 0x42bf02
push 0x6a7214
lea ecx, [esp + 0xc]
call fcn.004b47c6
push 0x6aad8c
lea ecx, [esp + 0xc]
call fcn.004b47c6
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 0x42bf3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b4436
jmp 0x42c009
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 0x42bfc2
lea edx, [esp + 0x7c]
push 0x6aad88
push edx
call fcn.004a2c04
add esp, 8
test eax, eax
je 0x42bfc2
lea eax, [esp + 0x7c]
push 0x6aad84
push eax
call fcn.004a2c04
add esp, 8
test eax, eax
je 0x42bfc2
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 0x42bf52
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.004b4436
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 0x42d280
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 0x42d2e2
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 0x42d2f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c061b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6b3a18]
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 0x42d428
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42d356
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b4436
xor eax, eax
jmp 0x42d49f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b4573
push esi
lea ecx, [esp + 0xc]
call fcn.004b4802
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6aadc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42d47d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6aadbc
push SysReAllocString
call fcn.0042d280
test eax, eax
jne 0x42d47d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6aada8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0042d280
test eax, eax
jne 0x42d47d
lea eax, [esp + 0x14]
push 0x6aada0
push eax
call fcn.004a3d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d45c
lea ecx, [esp + 0x14]
push 0x6aad9c
push ecx
call fcn.004a3c90
mov esi, eax
add esp, 8
test esi, esi
jne 0x42d45c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42d45f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b4523
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42d36e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b4436
xor eax, eax
jmp 0x42d49f
mov byte [esi], 0
push 0x6aad98
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.004b4436
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

Function at 0x439096
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x4390be
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret