joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb8ac
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4bb8c3
add esp, 0xfffffff0
call fcn.00405410
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004414c0
mov eax, dword [0x511020]
cmp byte [eax], 0
jne 0x4bb8f0
push 0
call fcn.0040d140
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x511390]
cmp word [eax + 2], 0
jne 0x4bb90a
mov eax, dword [0x511390]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bd9a4
mov eax, dword [0x5114ac]
cmp word [eax + 2], 0
jne 0x4bb924
mov eax, dword [0x5114ac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004bdbb4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x452c08]
call fcn.00459144
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4be164
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x457308]
call fcn.004629bc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4bbb04
mov eax, dword [0x511218]
mov eax, dword [eax]
push eax
call fcn.0040c454
mov edx, eax
mov eax, esi
call fcn.00462e50
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4be44c
mov dl, 1
mov eax, dword [0x429f2c]
call fcn.00404eac
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x511218]
mov eax, dword [eax]
push eax
call fcn.0040bad0
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414684
test eax, eax
je 0x4bba35
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414468
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414668
test eax, eax
je 0x4bba4d
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call fcn.0040c0ac
push eax
call fcn.0040c09c
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00406cc4
push ebx
push 0x4bd374
call fcn.004b1520
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x511020]
cmp byte [eax], 0
jne 0x4bba9e
mov eax, ebx
call fcn.004bbc78
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004be678
mov eax, ebx
call fcn.004bf2ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4bbafb
call fcn.00405468
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bbf4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4bbfee
cmp dword [ebx + 0x94], 0
jne 0x4bbfe8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4bbe98
call fcn.0040c1d4
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4bbfe8
push 3
mov eax, dword [esp + 4]
push eax
call fcn.0040c354
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.0040c364
test al, 8
je 0x4bbfae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4bbfe8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004351f0
push eax
call fcn.0040c5d8
dec esi
cmp esi, 0xffffffff
jne 0x4bbfbd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4bc20c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x517284]
cmp dword [eax + 0x170], 0
je 0x4bc371
test bl, bl
jne 0x4bc2bf
cmp dword [esi + 0x9c], 0
jne 0x4bc2b4
mov eax, esi
call fcn.004bf0fc
push eax
push 0x4bc118
call fcn.0040c1d4
cmp dword [esi + 0x44], 0
je 0x4bc285
mov eax, dword [0x517284]
cmp byte [eax + 0xd3], 0
je 0x4bc285
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4bc285
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040c608
dec edi
cmp edi, 0xffffffff
jne 0x4bc26e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bc2b4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004351f0
push eax
call fcn.0040c5f8
dec edi
cmp edi, 0xffffffff
jne 0x4bc294
inc dword [esi + 0x9c]
jmp 0x4bc371
cmp dword [esi + 0x9c], 0
jle 0x4bc371
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4bc371
cmp dword [esi + 0x44], 0
je 0x4bc31c
mov eax, dword [0x517284]
cmp byte [eax + 0xd3], 0
je 0x4bc31c
mov eax, dword [esi + 0xd8]
call fcn.004084dc
mov edi, eax
cmp edi, 0
jl 0x4bc31c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call fcn.0040c608
dec edi
cmp edi, 0xffffffff
jne 0x4bc305
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4bc34b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004351f0
push eax
call fcn.0040c5f8
dec edi
cmp edi, 0xffffffff
jne 0x4bc32b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4af3f8]
call fcn.0040869c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4bcfc0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4bd02b
cmp byte [ebx + 0xd3], 0
jne 0x4bd02b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call fcn.0040c38c
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406c00
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4bd018
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4bd038
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ac4
jmp 0x4bd038
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ac4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4be860
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4be8ce
mov eax, esi
call fcn.00496ecc
test al, al
je 0x4be8ce
mov eax, dword [ebx + 0x84]
call fcn.00496b4c
push eax
call fcn.0040c414
test eax, eax
je 0x4be8ce
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4be8c2
push 0
mov eax, dword [ebx + 0x84]
call fcn.00496b4c
push eax
call fcn.0040c608
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0048dae8
jmp 0x4be8ce
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004be698
pop esi
pop ebx
ret
Function at 0x4bffdc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40caec]
call fcn.004077d0
xor eax, eax
push ebp
push 0x4c0126
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5106e8], 0
jne 0x4c0030
mov ecx, dword [0x51103c]
mov dl, 1
mov eax, dword [0x40dcac]
call fcn.004181a4
call fcn.004059b4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048a0
mov eax, ebx
call fcn.00406928
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4c0134
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409c1c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4c0077
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4c00cc
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040ba60
test eax, eax
je 0x4c00c5
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406d2c
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406cc4
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412c1c
test eax, eax
jne 0x4c00c5
mov ebx, 0x15
jmp 0x4c00d1
mov ebx, 0x10
jmp 0x4c00d1
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x5106e8]
call fcn.004bfe48
mov eax, dword [ebp - 4]
call fcn.004bfe48
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c012d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406abc
lea eax, [ebp - 0xc]
mov edx, dword [0x40caec]
call fcn.004078a8
ret
Function at 0x4c4f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4c4f58
add esp, 0xfffffff0
call fcn.00405410
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4c5072
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040423c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4c505c
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004bfe48
xor eax, eax
push ebp
push 0x4c5049
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004bfe48
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406d2c
jmp 0x4c501a
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.004072d4
mov eax, dword [ebx + 4]
call fcn.00406e34
dec eax
jle 0x4c502e
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4c5008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5050
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5079
lea eax, [ebp - 4]
call fcn.0040675c
ret

Function at 0x4d3fec
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040bb74
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x4d403d
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x4d4024
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4d4014
jmp 0x4d403d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4d4025
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f29b8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x517330
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4f29da
shr eax, 1
xor eax, 0xedb88320
jmp 0x4f29dc
shr eax, 1
dec edx
jne 0x4f29c8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4f29c1
mov byte [0x517730], 1
pop esi
pop ebx
ret

Function at 0x4f29f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x517730], 0
jne 0x4f2a0f
call fcn.004f29b8
mov eax, edi
dec eax
test eax, eax
jl 0x4f2a37
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x517330]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4f2a19
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4f57e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4f587a.0
jmp dword [ecx*4 + 0x4f5813]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f5845
sub dl, 8
je 0x4f5854
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f5488
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f54e0
jmp case.0x4f587a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4f587a.0
movzx ecx, byte [ecx + 0x4f5881]
jmp dword [ecx*4 + 0x4f5892]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f558c
jmp case.0x4f587a.0
cmp dl, 3
jne 0x4f58bf
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f55e4
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f55a0
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f5628
jmp case.0x4f587a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f58ea
sub dl, 8
je 0x4f58f6
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f5654
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f56c0
jmp case.0x4f587a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4f5915
sub dl, 8
je 0x4f5921
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f577c
jmp case.0x4f587a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4f57a4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4f59c3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004f498c
test eax, eax
je 0x4f59c3
mov eax, ebx
call fcn.004f59cc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4f595c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f59cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4f59fd
dec al
je 0x4f5a38
dec al
je 0x4f5a7d
dec al
je 0x4f5ae6
jmp 0x4f5b70
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4f5b70
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f5a0d
jmp 0x4f5b70
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f5b70
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4f5a48
jmp 0x4f5b70
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f5b70
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4f5aac
xor ebp, ebp
jmp 0x4f5abc
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4f5ac5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f5a8d
jmp 0x4f5b70
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4f5b70
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4f5b3f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004f2a40
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4f5afa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fb408
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x51147c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call fcn.0046c9f8
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call fcn.0046c9f0
mov edx, ebx
lea eax, [esp + 4]
call fcn.0041476c
add esp, 0x204
pop ebx
ret

Function at 0x4fb448
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4fb450
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
xor eax, eax
push ebp
push 0x4fb5ec
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4fb5aa
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x42c4f4]
call fcn.004389a4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4fb599
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x4fb4c1
lea eax, [ebp - 0xc]
mov ecx, 0x4fb608
mov edx, dword [ebp - 4]
call fcn.00406f98
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4fb4dc
lea eax, [ebp - 0x10]
mov ecx, 0x4fb620
mov edx, dword [ebp - 4]
call fcn.00406f98
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.004fb368
lea eax, [ebp - 0x14]
mov edx, 0x4fb638
call fcn.00406ed8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 0
push 0x4fb658
lea eax, [ebp - 0x20]
call fcn.004fb368
push dword [ebp - 0x20]
push 0x4fb638
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040707c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00406d08
mov eax, dword [ebp - 0x18]
call fcn.00406614
push eax
call fcn.0040bd04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb5a0
mov eax, dword [ebp - 8]
call fcn.00404edc
push 0x3e8
call fcn.0041a5a8
mov eax, dword [0x51147c]
mov eax, dword [eax]
call fcn.004bd568
lea eax, [ebp - 0x24]
call fcn.004fb368
lea eax, [ebp - 0x24]
mov edx, 0x4fb638
call fcn.00406ed8
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
call fcn.00406b50
push eax
call fcn.0040b9d8
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x4fb668
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
xor eax, eax
push ebp
push 0x4fb71b
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0x4fb728
push 0x4fb728
mov eax, dword [ebp - 4]
call fcn.00406b50
push eax
push 0x4fb728
push 0
call fcn.0046c9e0
cmp eax, 0x20
ja 0x4fb6f0
push 3
lea eax, [ebp - 0x10]
call fcn.004fb154
push dword [ebp - 0x10]
push 0x4fb738
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040707c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0
call fcn.00406d08
mov eax, dword [ebp - 8]
call fcn.00406614
push eax
call fcn.0040bd04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fb722
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406abc
lea eax, [ebp - 8]
call fcn.0040619c
lea eax, [ebp - 4]
call fcn.00406ab4
ret
Function at 0x5011f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406aac
mov eax, dword [ebp - 8]
call fcn.00406aac
xor eax, eax
push ebp
push 0x5012e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.004144dc
lea edx, [ebp - 8]
xor eax, eax
call fcn.00407568
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.004144dc
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.004048a0
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
push 0x51783c
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x60e]
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call fcn.0040b9c0
test eax, eax
jne 0x5012af
or ebx, 0xffffffff
jmp 0x5012cd
mov eax, dword [0x51147c]
mov eax, dword [eax]
call fcn.004bd568
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x51783c]
push eax
call fcn.0040ba98
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5012ef
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406abc
ret