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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
push dword [ebp + 8]
call fcn.005071b9
pop ecx
pop ecx
test al, al
je 0x5072da
push 1
push dword [ebp + 0xc]
call fcn.005071b9
pop ecx
pop ecx
test al, al
je 0x5072da
mov esi, dword [ebp + 0x10]
push 1
push esi
call fcn.005071b9
pop ecx
pop ecx
test al, al
je 0x5072da
mov edi, dword [ebp + 0x14]
push ebx
shr edi, 2
xor ebx, ebx
test edi, edi
jbe 0x5072c6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub ecx, esi
mov eax, esi
sub edx, esi
mov ebx, edi
mov esi, dword [ecx + eax]
xor esi, dword [eax]
mov dword [edx + eax], esi
add eax, 4
dec edi
jne 0x5072b8
mov eax, ebx
shl eax, 2
sub dword [ebp + 0x14], eax
pop ebx
je 0x5072fc
add dword [ebp + 8], eax
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], 0
jbe 0x5072fc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
sub ecx, eax
sub esi, eax
mov dl, byte [eax + ecx]
xor dl, byte [eax]
mov byte [eax + esi], dl
inc eax
dec edi
jne 0x5072f0
pop edi
pop esi
pop ebp
ret

Function at 0x507300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
xor bl, bl
call fcn.005071b9
pop ecx
pop ecx
test al, al
je 0x50737a
push 1
push dword [ebp + 0xc]
call fcn.005071b9
pop ecx
pop ecx
test al, al
je 0x50737a
mov edi, dword [ebp + 0x10]
shr edi, 2
xor edx, edx
xor ebx, ebx
test edi, edi
jbe 0x50734d
mov eax, dword [ebp + 0xc]
mov ecx, esi
sub ecx, eax
mov ebx, edi
mov esi, dword [ecx + eax]
xor esi, dword [eax]
add eax, 4
or edx, esi
dec edi
jne 0x507340
mov eax, ebx
shl eax, 2
sub dword [ebp + 0x10], eax
jne 0x50735d
xor eax, eax
test edx, edx
jmp 0x507397
add dword [ebp + 0xc], eax
mov esi, dword [ebp + 8]
add esi, eax
mov ebx, edx
shr ebx, 0x18
mov eax, edx
shr eax, 0x10
or bl, al
mov eax, edx
shr eax, 8
or bl, al
or bl, dl
cmp dword [ebp + 0x10], 0
jbe 0x507393
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
mov cl, byte [eax + esi]
xor cl, byte [eax]
or bl, cl
inc eax
dec edi
jne 0x507388
xor eax, eax
test bl, bl
pop edi
pop esi
sete al
pop ebx
pop ebp
ret
Function at 0x50739f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push ebx
push esi
mov esi, dword [ecx + 0x64]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x1074]
mov ecx, dword [esi]
xor ecx, dword [edx]
push edi
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x5073c6
mov edx, dword [esi + 0x44]
xor edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
leave
ret 8

Function at 0x507451
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x48
mov esi, ecx
xor edi, edi
push 0x5866c8
push dword [esi + 0x64]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.0052c940
push 0x1000
push 0x586710
push dword [esi + 0x1074]
call fcn.0052c940
add esp, 0x18
push 4
xor ecx, ecx
pop ebx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
shl ecx, 8
movzx eax, byte [edx + eax]
or ecx, eax
inc dword [ebp - 4]
dec ebx
jne 0x507493
mov eax, dword [esi + 0x64]
add eax, edi
xor dword [eax], ecx
add edi, 4
cmp edi, 0x48
jb 0x50748e
push dword [esi + 0x64]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.0050739f
xor ecx, ecx
mov eax, dword [esi + 0x64]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.0050739f
mov ecx, edi
cmp ecx, 0x40
jb 0x5074cc
mov eax, dword [esi + 0x64]
push dword [esi + 0x1074]
add eax, 0x40
push eax
mov ecx, esi
call fcn.0050739f
xor ecx, ecx
mov eax, dword [esi + 0x1074]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.0050739f
mov ecx, edi
cmp ecx, 0xff8
jb 0x5074fd
lea ecx, [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
jne 0x50754b
push 0x44
xor edi, edi
pop ebx
mov eax, dword [esi + 0x64]
lea ecx, [ebx + eax]
push ecx
add eax, edi
push eax
call fcn.004a39a0
add edi, 4
pop ecx
sub ebx, 4
pop ecx
cmp edi, 0x24
jb 0x50752f
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x50759b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
mov esi, ecx
push eax
lea ecx, [ebp - 4]
call fcn.00507552
mov ecx, eax
call fcn.00507552
mov eax, dword [esi + 0x1070]
mov esi, dword [esi + 0x60]
mov ecx, dword [ebp - 8]
xor ecx, dword [esi]
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x5075db
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, dword [esi + 0x44]
push ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edx
call fcn.0050756e
mov ecx, eax
call fcn.0050756e
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x509d0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
test ecx, ecx
jbe 0x509d3f
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
sub edi, edx
sub edx, eax
mov dword [ebp + 0x14], ecx
mov bl, byte [eax]
lea esi, [edx + eax]
mov cl, byte [esi + edi]
xor bl, cl
mov byte [esi], bl
mov byte [eax], cl
inc eax
dec dword [ebp + 0x14]
jne 0x509d28
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x50f8a3
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 0
jne 0x50f8b7
xor al, al
jmp 0x50f966
push esi
push edi
xor eax, eax
lea edi, [ebp + 8]
push 0x3c
stosb byte es:[edi], al
pop edi
push edi
call fcn.0052b001
mov esi, eax
pop ecx
test esi, esi
je 0x50f8dd
push edi
push 0
push esi
call fcn.0052b710
add esp, 0xc
jmp 0x50f8df
xor esi, esi
push dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0050f699
mov esi, dword [esi]
mov dword [esi], edi
mov edi, 0x100
push edi
call fcn.0051889c
pop ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x50f915
push edi
push 0
push eax
call fcn.0052b710
mov eax, dword [ebp + 8]
add esp, 0xc
jmp 0x50f917
xor eax, eax
mov dword [esi + 0x14], edi
mov edi, 0x800
push edi
mov dword [esi + 0x10], eax
call fcn.0051889c
mov dword [esi + 0x30], edi
add edi, 0x24
push edi
mov dword [esi + 0x2c], eax
call fcn.0051889c
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edi
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
pop ecx
pop ecx
jb 0x50f94d
mov ebx, dword [ebx + 4]
jmp 0x50f950
add ebx, 4
push esi
push 0x10000000
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
dec eax
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
pop ebx
pop ebp
ret
Function at 0x512188
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
xor edx, edx
push 3
pop ecx
lea eax, [edi + 2]
div ecx
mov ecx, dword [ebp + 0x14]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x5121ae
mov dword [ecx], eax
push 2
pop eax
jmp 0x5122a0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x5121b9
push 3
jmp 0x5121a8
push ebx
push esi
push 3
xor edx, edx
pop esi
mov eax, edi
div esi
xor esi, esi
imul eax, eax, 3
test eax, eax
jbe 0x51223c
xor edx, edx
dec eax
push 3
pop esi
div esi
mov edx, dword [ebp + 8]
mov edi, eax
inc edi
mov esi, edi
imul esi, esi, 3
movzx eax, byte [edx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
mov byte [ecx], al
movzx eax, byte [edx]
movzx ebx, byte [edx + 1]
and eax, 3
shl eax, 4
shr ebx, 4
mov al, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 2]
and eax, 0xf
shr ebx, 6
mov al, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
movzx eax, byte [edx + 2]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
inc ecx
add edx, 3
dec edi
jne 0x5121e0
mov edi, dword [ebp + 0xc]
jmp 0x51223f
mov edx, dword [ebp + 8]
cmp esi, edi
jae 0x512291
movzx eax, byte [edx]
lea ebx, [esi + 1]
cmp ebx, edi
jae 0x512253
movzx esi, byte [edx + 1]
jmp 0x512255
xor esi, esi
mov edx, eax
shr edx, 2
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
mov byte [ecx], dl
and eax, 3
shl eax, 4
mov edx, esi
shr edx, 4
mov al, byte [eax + edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
inc ecx
mov byte [ecx], al
inc ecx
cmp ebx, edi
jae 0x512288
and esi, 0xf
mov al, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_Basic]
jmp 0x51228a
mov al, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x14]
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
pop edi
pop ebp
ret
Function at 0x51555a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x515672
cmp dword [ebp + 0x10], 0
je 0x515672
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x515672
mov esi, dword [ebp + 0xc]
push 3
xor edx, edx
lea eax, [esi + 2]
pop ebx
div ebx
lea eax, [eax*4 + 1]
cmp dword [ecx], eax
jae 0x5155a0
push 2
pop eax
jmp 0x515675
mov eax, esi
xor edx, edx
push 3
pop esi
div esi
mov ecx, dword [ebp + 0x10]
mov esi, dword [0x5c3ef4]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x515619
dec eax
push 3
pop ebx
div ebx
inc eax
mov edx, eax
mov dword [ebp + 8], eax
imul edx, edx, 3
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + esi]
mov byte [ecx], al
movzx eax, byte [edi]
movzx ebx, byte [edi + 1]
and eax, 3
shl eax, 4
add eax, esi
shr ebx, 4
mov al, byte [ebx + eax]
inc ecx
mov byte [ecx], al
movzx ebx, byte [edi + 2]
movzx eax, byte [edi + 1]
and eax, 0xf
shr ebx, 6
add ebx, esi
mov al, byte [ebx + eax*4]
inc ecx
mov byte [ecx], al
movzx eax, byte [edi + 2]
and eax, 0x3f
mov al, byte [eax + esi]
inc ecx
mov byte [ecx], al
inc ecx
add edi, 3
dec dword [ebp + 8]
jne 0x5155ca
cmp edx, dword [ebp + 0xc]
jae 0x515663
movzx eax, byte [edi]
inc edx
cmp edx, dword [ebp + 0xc]
jae 0x51562d
movzx edi, byte [edi + 1]
jmp 0x51562f
xor edi, edi
mov ebx, eax
shr ebx, 2
mov bl, byte [ebx + esi]
mov byte [ecx], bl
and eax, 3
shl eax, 4
mov ebx, edi
shr ebx, 4
add eax, esi
mov al, byte [ebx + eax]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, dword [ebp + 0xc]
jae 0x51565a
and edi, 0xf
mov al, byte [esi + edi*4]
jmp 0x51565c
mov al, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x14]
mov byte [ecx], 0
sub ecx, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
jmp 0x515675
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x52b498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c4954]
jne 0x52b4a2
repz ret
jmp fcn.00536c4c

Function at 0x5493e1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005363f7
and dword [ebp - 4], 0
cmp dword [0x5cd2d8], 0
mov ebx, eax
jne 0x549492
push 0x590e70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x549543
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x590e64
push edi
call esi
test eax, eax
je 0x549543
push eax
call fcn.00536385
mov dword [esp], 0x590e54
push edi
mov dword [0x5cd2d8], eax
call esi
push eax
call fcn.00536385
mov dword [esp], 0x590e40
push edi
mov dword [0x5cd2dc], eax
call esi
push eax
call fcn.00536385
mov dword [esp], 0x590e24
push edi
mov dword [0x5cd2e0], eax
call esi
push eax
call fcn.00536385
pop ecx
mov dword [0x5cd2e8], eax
test eax, eax
je 0x549492
push 0x590e0c
push edi
call esi
push eax
call fcn.00536385
pop ecx
mov dword [0x5cd2e4], eax
mov eax, dword [0x5cd2e4]
cmp eax, ebx
je 0x5494ea
cmp dword [0x5cd2e8], ebx
je 0x5494ea
push eax
call fcn.00536400
push dword [0x5cd2e8]
mov esi, eax
call fcn.00536400
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5494ea
test edi, edi
je 0x5494ea
call esi
test eax, eax
je 0x5494e1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5494e1
test byte [ebp - 0xc], 1
jne 0x5494ea
or dword [ebp + 0x10], 0x200000
jmp 0x549523
mov eax, dword [0x5cd2dc]
cmp eax, ebx
je 0x549523
push eax
call fcn.00536400
pop ecx
test eax, eax
je 0x549523
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x549523
mov eax, dword [0x5cd2e0]
cmp eax, ebx
je 0x549523
push eax
call fcn.00536400
pop ecx
test eax, eax
je 0x549523
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5cd2d8]
call fcn.00536400
pop ecx
test eax, eax
je 0x549543
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x549545
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x551a00
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x568db8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x551a40
push esi
push esi
push esi
push 2
call fcn.00552e80
xor al, al
jmp 0x551bc4
call fcn.00550c80
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0052c3f8
push esi
call fcn.005318f8
push 0
push 0
push esi
mov edi, eax
call fcn.0052c3f8
add esp, 0x1c
test edi, edi
jg 0x551a87
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00552e80
xor al, al
jmp 0x551bc4
mov dword [esp + 0x14], 0x5cd308
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00550970
lea eax, [edi + 1]
push eax
call fcn.0052b001
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0052e8f4
add esp, 0x14
cmp eax, 1
je 0x551afd
push ebp
call fcn.005295c1
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00552e80
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x5cd308
je 0x551af6
push eax
call fcn.005295c1
add esp, 4
xor al, al
jmp 0x551bc4
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x551b6c
jmp 0x551b10
mov cl, byte [esi]
cmp cl, 0xa
jne 0x551b2c
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00550b00
inc esi
mov eax, esi
jmp 0x551b67
cmp cl, 0xd
jne 0x551b66
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x551b44
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00550b00
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.00550b00
cmp byte [esi + 1], 0xa
jne 0x551b27
add esi, 2
mov eax, esi
jmp 0x551b67
inc esi
cmp byte [esi], 0
jne 0x551b10
sub esi, eax
je 0x551b7b
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00550b00
push ebp
call fcn.005295c1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x551ae6
cmp eax, 0x5cd308
je 0x551bc2
push eax
call fcn.005295c1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x554560
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x569048
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c4954]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x90]
xor edi, edi
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x5545b2
xor eax, eax
jmp 0x5546f6
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
call fcn.00492220
push edi
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
call fcn.00475420
mov eax, dword [eax]
add esp, 0xc
cmp eax, edi
je 0x5545ef
cmp eax, 1
je 0x5545ef
mov eax, 1
jmp 0x5545f1
xor eax, eax
test al, al
sete bl
cmp dword [ebp - 0x20], 8
mov byte [ebp - 4], 0
jb 0x55460c
mov eax, dword [ebp - 0x34]
push eax
call fcn.005295c1
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], edi
mov word [ebp - 0x34], cx
test bl, bl
jne 0x5545ab
push 0x574154
push esi
call fcn.0052c823
mov esi, eax
add esp, 8
mov dword [ebp - 0x1c], esi
cmp esi, edi
je 0x5546bd
push esi
push 1
lea edx, [ebp]
push 0x84
push edx
call fcn.0052e8f4
add esp, 0x10
cmp eax, 1
jne 0x5546aa
mov eax, dword [ebp]
cmp eax, dword [ebp + 0x94]
jne 0x554697
push esi
call fcn.00554e30
mov ecx, dword [ebp + 0x14]
add ecx, 0x84
add esp, 4
cmp eax, ecx
jne 0x554684
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0xffffffff
jmp 0x5546ea
mov dword [0x5cd314], 8
mov dword [ebp - 4], 0xffffffff
jmp 0x5546ea
mov dword [0x5cd314], 6
mov dword [ebp - 4], 0xffffffff
jmp 0x5546ea
mov dword [0x5cd314], 2
mov dword [ebp - 4], 0xffffffff
jmp 0x5546ea
mov dword [0x5cd314], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x5546ea
push esi
call fcn.0052c539
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0052b498
add ebp, 0x88
mov esp, ebp
pop ebp
ret
Function at 0x554ae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5690d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ecx
cmp eax, ecx
je 0x554b93
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x554b93
push 0x574154
push eax
call fcn.0052c823
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x554b54
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.0052e8f4
add esp, 0x10
cmp eax, 1
jne 0x554b54
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x554b70
test esi, esi
je 0x554b7d
push esi
call fcn.0052c539
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x554bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5690f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ecx, ecx
xor bl, bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x554c63
mov edi, dword [ebp + 0xc]
cmp edi, ecx
je 0x554c63
push 0x571844
push eax
mov dword [ebp - 4], ecx
call fcn.0052c823
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
test esi, esi
je 0x554c24
mov eax, dword [ebp + 0x10]
push esi
push 1
push eax
push edi
call fcn.0052c27e
add esp, 0x10
cmp eax, 1
jne 0x554c24
mov bl, al
mov dword [ebp - 4], 0xffffffff
jmp 0x554c40
test esi, esi
je 0x554c4d
push esi
call fcn.0052c539
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x555510
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569290
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c4954]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x555598
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi], eax
test eax, eax
je 0x555598
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
jne 0x5555f3
mov dword [ebp - 4], 0xffffffff
jmp 0x5555b1
mov eax, dword [esi + 4]
test eax, eax
je 0x5555bf
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esi]
test eax, eax
je 0x5555d1
cmp eax, 0xffffffff
je 0x5555d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
mov dword [esi], 0
test eax, eax
je 0x5555ea
cmp eax, 0xffffffff
je 0x5555ea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4