joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1154830
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x115493c
test eax, eax
je 0x115493c
push esi
push edi
mov ecx, 0x10
mov esi, 0xd61ff0
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x1154923
lea edi, [eax + 4]
jmp 0x1154887
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x115489c
mov dword [ebp - 4], 2
jmp 0x11548bd
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x11548b3
mov dword [ebp - 4], 1
jmp 0x11548bd
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x1154933
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x11548f6
mov byte [ecx], 0x3d
jmp 0x1154902
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x115490d
mov byte [ecx], 0x3d
jmp 0x1154913
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x1154884
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x412015
lea edi, [esi - 0x11015]
push edi
or ebp, 0xffffffff
jmp 0x41e4b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e4a8
mov eax, 1
add ebx, ebx
jne 0x41e4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e4c0
jne 0x41e4dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e4c0
xor ecx, ecx
sub eax, 3
jb 0x41e4f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e562
mov ebp, eax
add ebx, ebx
jne 0x41e4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e52c
inc ecx
add ebx, ebx
jne 0x41e518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e50d
jne 0x41e529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e50d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e54c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e53d
jmp 0x41e4ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e54c
add edi, ecx
jmp 0x41e4ae
pop esi
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e5ab
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e584]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e648]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e569
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e650]
or eax, eax
je 0x41e5a5
mov dword [ebx], eax
add ebx, 4
jmp 0x41e586
call dword [esi + 0x1e64c]
mov ebp, dword [esi + 0x1e654]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e5df
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x4843c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e000]
mov dword [edi + 0x70d18], 0x2eeb9eeb
push edi
jmp 0x4843ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4843f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4843e0
mov eax, 1
add ebx, ebx
jne 0x484403
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x484414
jne 0x484433
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484433
dec eax
add ebx, ebx
jne 0x484420
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4843f8
add ebx, ebx
jne 0x48442f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x484485
xor ecx, ecx
sub eax, 3
jb 0x48444b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4844ba
sar eax, 1
mov ebp, eax
jmp 0x484456
add ebx, ebx
jne 0x484456
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484424
inc ecx
add ebx, ebx
jne 0x484464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x484424
add ebx, ebx
jne 0x484471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x484466
jne 0x484482
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x484466
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4844a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x484496
jmp 0x4843e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4844a4
add edi, ecx
jmp 0x4843e6
pop esi
mov edi, esi
mov ecx, 0x321f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4844c2
cmp byte [edi], 0x16
jne 0x4844c2
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 al, bl
loop 0x4844c7
lea edi, [esi + 0x81000]
mov eax, dword [edi]
or eax, eax
je 0x48453f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x88620]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8873c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4844f4
mov ecx, edi
jns 0x484523
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x88744]
or eax, eax
je 0x484539
mov dword [ebx], eax
add ebx, 4
jmp 0x484511
call dword [esi + 0x88740]
mov ebp, dword [esi + 0x88748]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x484573
sub esp, 0xffffff80
jmp 0x4349ef
Function at 0x4011a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
push str.Transmitting__d_bytes
push 0xcc
push str.tx_data
push 1
xor esi, esi
call fcn.00401cc0
mov ebx, dword [ebp + 8]
add esp, 0x14
cmp dword [0x429038], 1
jle 0x4011e1
mov eax, dword [0x429028]
push eax
push edi
push ebx
call fcn.00402540
add esp, 0xc
test edi, edi
je 0x401217
mov ecx, dword [0x429024]
mov eax, edi
sub eax, esi
cmp eax, ecx
jb 0x4011f5
mov eax, ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
mov eax, dword [0x429004]
lea edx, [esi + ebx]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401247
add esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x4011e5
mov eax, dword [0x429008]
add eax, esi
push eax
push str.Total_bytes_sent_so_far:__d
push 0xec
push str.tx_data
push 1
mov dword [0x429008], eax
call fcn.00401cc0
add esp, 0x14
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push str.Error_occurred_while_writing_to_COM_port
push 0xd6
push str.tx_data
push 0
call fcn.00401cc0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x401270
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x429020]
cmp eax, ecx
jb 0x401282
mov eax, ecx
mov edx, dword [0x429004]
push esi
mov esi, dword [ebp + 8]
push 0
lea ecx, [ebp + 0xc]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4012bc
push str.Error_occurred_while_reading_from_COM_port
push 0xf7
push str.rx_data
push eax
call fcn.00401cc0
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
test ecx, ecx
je 0x4012c8
mov dword [ecx], eax
push eax
push str.Received__d_bytes
push 0x127
push str.rx_data
push 1
call fcn.00401cc0
mov eax, dword [ebp + 0xc]
add dword [0x42900c], eax
add esp, 0x14
cmp dword [0x429038], 1
jle 0x401305
mov ecx, dword [0x429028]
push ecx
push eax
push esi
call fcn.00402540
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
Function at 0x4035f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x429050]
push ebx
push esi
mov esi, dword [0x42903c]
push eax
call fcn.004024b0
xor ebx, ebx
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
cmp eax, 0xffffffff
jne 0x403639
push str.Could_not_get_file_info.
push 0x4e3
push str.start_image_transfer
push ebx
call fcn.00401cc0
add esp, 0x10
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
push ebx
push edi
push str.start_image_transfer:_Offset__ld
push 0x4ee
push str.start_image_transfer
push 1
call fcn.00401cc0
push ebx
push edi
push str.start_image_transfer:_Offset_0x_X
push 0x4ef
push str.start_image_transfer
push 1
call fcn.00401cc0
xor eax, eax
push eax
push esi
push str.start_image_transfer:_Length__ld
push 0x4f0
push str.start_image_transfer
push 1
call fcn.00401cc0
add esp, 0x48
xor eax, eax
push eax
push esi
push str.start_image_transfer:_Length_0x_X
push 0x4f1
push str.start_image_transfer
push 1
call fcn.00401cc0
add esp, 0x18
test esi, esi
jne 0x4036b6
xor eax, eax
je 0x4037db
cmp dword [ebp - 8], 1
jne 0x4036eb
mov ecx, dword [0x429050]
push ecx
call fcn.004020d0
add esp, 4
mov edx, esi
add edx, edi
mov ecx, ebx
adc ecx, ebx
mov dword [ebp - 0xc], eax
xor eax, eax
cmp ecx, eax
ja 0x4037db
jb 0x4036eb
cmp edx, dword [ebp - 0xc]
ja 0x4037db
mov edx, dword [0x429050]
push 0
push edi
push edx
call fcn.00407ad3
add esp, 0xc
test esi, esi
je 0x403751
mov ebx, dword [ebp - 4]
mov eax, esi
sub eax, ebx
mov edi, eax
cmp eax, 0x100000
jb 0x403716
mov edi, 0x100000
mov eax, dword [0x429040]
mov ecx, dword [0x429050]
push edi
push eax
push ecx
call fcn.0040e637
add esp, 0xc
test eax, eax
js 0x403763
cmp eax, edi
jne 0x403793
mov edx, dword [0x429040]
push edi
push edx
call fcn.004011a0
add esp, 8
test eax, eax
je 0x4037b9
add ebx, edi
mov dword [ebp - 4], ebx
cmp ebx, esi
jb 0x403701
add dword [0x42904c], esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00406635
mov eax, dword [eax]
push eax
call fcn.00406536
push eax
push str.file_read_failed:__s
push 0x505
push str.start_image_transfer
push 0
call fcn.00401cc0
add esp, 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push ecx
push esi
push eax
push str.Read__d_bytes__but_was_asked_for__ld_bytes
push 0x509
push str.start_image_transfer
push ecx
call fcn.00401cc0
add esp, 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.Tx_Sahara_Image_Failed
push 0x50f
push str.start_image_transfer
push 0
call fcn.00401cc0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
push esi
push str.Invalid_length__ld_bytes_request_to_be_transmitted
push 0x4f8
push str.start_image_transfer
push eax
call fcn.00401cc0
mov ecx, dword [0x429050]
push ecx
call fcn.004020d0
push eax
push ebx
push edi
push str.File_offset__ld__file_size__d
push 0x4f9
push str.start_image_transfer
push 0
call fcn.00401cc0
add esp, 0x38
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405645
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42907c]
jne 0x40564f
repz ret
jmp fcn.00408b14

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x406731
call fcn.00406648
mov dword [eax], esi
call fcn.00406635
push 0x16
pop esi
mov dword [eax], esi
call fcn.00409bbf
mov eax, esi
jmp 0x406786
test dword [ebp + 0xc], 0xfffffff9
jne 0x406717
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40675e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040665b
pop ecx
call fcn.00406635
mov eax, dword [eax]
jmp 0x406786
test al, 0x10
jne 0x406784
test al, 1
je 0x406784
test byte [ebp + 0xc], 2
je 0x406784
call fcn.00406648
mov dword [eax], 5
call fcn.00406635
mov dword [eax], 0xd
jmp 0x406755
xor eax, eax
pop esi
pop ebp
ret
Function at 0x41779a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
test edi, edi
jle 0x55c1d4
push ebx
push esi
mov esi, dword [ebp + 0xc]
jmp 0x55c1b4
mov edx, eax
sub esi, eax
lea ebx, [ecx + 1]
imul ebx, dword [ebp + 8]
xor bx, word [esi + edx]
inc ecx
mov word [edx], bx
add edx, 2
cmp ecx, edi
jl 0x55c1b8
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43d257
Capabilities:
Allocate or change rwx memory

Disassembly:
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x57c7ec
mov eax, dword [0x6d7300]
cmp eax, 1
jne 0x410551
lea esi, [edi + 0x37]
jmp 0x57c7f8
cmp eax, 2
jne 0x410562
lea esi, [eax + 0x36]
jmp 0x57c7f8
cmp eax, 3
jne 0x57c7f8
lea esi, [eax + 0x36]
jmp 0x57c7f8
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6d72fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
jmp 0x41052e
mov byte [ebx + 0x40a], al
mov edx, dword [0x6900cc]
mov dword [ebx], edx
mov eax, dword [0x6900d0]
mov dword [ebx + 4], eax
movzx edx, word [0x6900d4]
mov word [ebx + 8], dx
movzx eax, byte [0x6900d6]
mov byte [ebx + 0xa], al
mov edx, dword [0x69007c]
mov dword [ecx], edx
mov eax, dword [0x690080]
mov dword [ecx + 4], eax
mov edx, dword [0x690084]
jmp dword [0x4670c1]
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x69067b], eax
adc edx, edi
mov dword [0x69067f], edx
lea ecx, [ebx + 0x100]
mov dword [0x6900cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x69068c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x690690], edx
movzx edx, word [ebp - 0xc]
mov dword [ebx + 0x400], eax
movzx eax, byte [ebp - 0xa]
mov dword [ebx + 0x404], esi
mov word [ebx + 0x408], dx
jmp 0x467076
cmp eax, 0xa
jne 0x57c7f8
lea esi, [eax + 0x30]
mov ebx, dword [0x6d7668]
cmp ebx, edi
jne 0x57c826
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6d7668], ebx
jmp 0x57c83a
mov eax, dword [0x6d766c]
push eax
call fcn.004b834d
mov ebx, dword [0x6d7668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x6905f9], edx
mov edx, dword [ebp + 0x10]
jmp 0x5a7584
mov dword [0x6905fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x690603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x690607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x69060d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x690611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x690617], edx
mov edx, dword [ebp + 0x28]
mov dword [0x69061b], eax
mov dword [0x690621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jmp 0x55ec5a

Function at 0x46980b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
jmp 0x4eb734
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4eb774
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x4eb768
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x55aa5e
inc edx
add eax, 0x28
cmp edx, esi
jb 0x4eb750
xor eax, eax
jmp 0x55aa5e
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x488e53
Capabilities:
Encode data using xor
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e8
mov eax, dword [section..data]
jmp 0x58c3ca
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00570f11
mov esp, ebp
pop ebp
ret
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3e0]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x3e0], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x5b99ba
lea ecx, [eax + 1]
imul ecx, ecx, 0x7b11
xor cx, word [eax*2 + 0x5ceb20]
inc eax
mov word [ebp + eax*2 - 0x236], cx
cmp eax, 5
jl 0x543058
xor eax, eax
push 0x5b999e
ret
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], ebx
test eax, eax
je 0x4ccd37
test ebx, ebx
je 0x4ccd37
push 0xff
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
jmp 0x54302a
mov edx, dword [ebp - 0x3e0]
push 1
lea eax, [ebp - 0x3dc]
push eax
push 0
push 0
mov byte [ebp + edx - 0x10c], 0
mov dword [ebp - 0x3dc], 0x1a8
jmp dword [0x5b99e9]

Function at 0x48b4dd
Capabilities:
Encode data using xor

Disassembly:
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x110]
push ecx
mov ecx, edi
mov edx, esi
mov dword [ebp - 0x110], ebx
call fcn.00591869
test eax, eax
je 0x5b2787
mov dword [ebp - 0x110], ebx
jmp 0x5b2787
cmp dword [esi + 4], 0
mov ebx, eax
je 0x5b276b
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x312e
xor cx, word [eax*2 + 0x5ce2b0]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 6
jl 0x45f7d0
push 0
jmp 0x5b275a
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
jmp 0x52a916
push edi
push 4
push 0x3000
push 0x1000
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], ebx
mov dword [edi], eax
cmp byte [0x6d7414], bl
je 0x43d22e
mov eax, esi
cdq
cmp eax, 0xffffffff
jne 0x52a960
cmp edx, ebx
jne 0x52a960
or eax, eax
or edx, 0xffffffff
push edi
lea esi, [edi + 0x10]
push esi
push edx
push eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.005629cb
jmp 0x45f7c2
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esi]
mov dword [ebp - 0x110], eax
test ebx, ebx
je 0x5b2785
mov dword [ebp - 0x110], 0
xor ebx, ebx
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x110]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570f11
jmp 0x43d228

Function at 0x4a846d
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4697e4
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4697e8
jmp 0x4697e4
Function at 0x4ba844
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x6279
xor cx, word [eax*2 + 0x5ce180]
inc eax
mov word [ebp + eax*2 - 0x10a], cx
jmp 0x59d494
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4e73c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570f11
mov esp, ebp
pop ebp
ret
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570f11
mov esp, ebp
pop ebp
ret
cmp eax, 7
jl 0x4ba859
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4593
xor dx, word [eax*2 + 0x5ce190]
inc eax
mov word [ebp + eax*2 - 0x20a], dx
cmp eax, 5
jl 0x59d49f
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
jmp 0x4e739c

Function at 0x4c102f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x110], eax
mov eax, dword [edi]
jmp 0x5b0bfe
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00570f11
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov dword [ecx + eax*8 + 0x100], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + eax*8 + 0x104], edx
inc dword [ecx + 0x2040]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.00570f11
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x2040]
cmp eax, 0x3e8
jl 0x4cd13e
xor eax, eax
nop
lea edx, [eax + 1]
imul edx, edx, 0x7f0f
xor dx, word [eax*2 + 0x5ce314]
inc eax
mov word [ebp + eax*2 - 0x10e], dx
cmp eax, 0xd
jl 0x4f8e24
push 0
push 0
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4cd12c
jmp 0x4fbf3b
imul esi, esi, 0x2048
lea ecx, [esi + edi + 8]
test ecx, ecx
jne 0x4f8e10
mov ecx, dword [edi]
mov eax, dword [ebp - 0x110]
imul ecx, ecx, 0x2048
lea ecx, [ecx + edi + 8]
mov esi, ecx
mov dword [ecx + 0x2040], 0
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
test dl, dl
jne 0x4fbf5b
jmp dword [0x4fbf6f]
xor ecx, ebp
call fcn.00570f11
mov esp, ebp
pop ebp
ret 0xc
xor esi, esi
test eax, eax
jle 0x4fbf3b
lea ebx, [edi + 8]
mov eax, dword [ebp - 0x110]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
test eax, eax
je 0x4fbf29
inc esi
add ebx, 0x2048
cmp esi, dword [edi]
jl 0x50d5aa
jmp 0x4fbf24
push ebx
push esi
cmp eax, 0x64
jl 0x50d59d
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x63cd
xor cx, word [eax*2 + 0x5ce2f8]
inc eax
mov word [ebp + eax*2 - 0x10e], cx
cmp eax, 0xc
jl 0x5b0c0b
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov ecx, dword [ebp - 8]
jmp 0x50d590