joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fbe33
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fbaf6

Function at 0x4fbe3e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fbc77

Function at 0x50033d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ffffd

Function at 0x50802e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
xor ecx, ecx
xor edx, edx
xor esi, esi
push edi
cmp dword [ebp + 0xc], ecx
jle 0x50810f
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x508052
inc edx
cmp edx, 2
jg 0x508090
cmp al, 0x7f
ja 0x508090
movzx eax, al
mov al, byte [eax + 0x5f18d8]
cmp al, 0x7f
je 0x508090
cmp al, 0x40
jae 0x50806b
test edx, edx
jne 0x508090
inc ecx
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x508045
test ecx, ecx
je 0x50810f
mov edi, dword [ebp + 0x14]
imul eax, ecx, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x508095
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x508092
push 0xffffffffffffffee
pop eax
jmp 0x508111
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x508109
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x5f18d8]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x5080fa
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x5080e5
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x5080f2
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x5080fa
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x5080aa
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
pop ebx
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x508115
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x508129
xor eax, eax
jmp 0x508267
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x508152
dec edx
sub edx, 1
jne 0x508154
add eax, 2
jmp 0x508154
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x508167
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x508266
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x5081fd
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
mov al, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x508192
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x508200
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x508259
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x508215
movzx ecx, byte [eax + 1]
jmp 0x508217
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x50824e
and ecx, 0xf
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
jmp 0x508252
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x512810
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
jmp 0x51283c
mov eax, dword [ebp - 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x48]
adc ecx, 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x48], 0
ja 0x512875
jb 0x51284a
cmp dword [ebp - 0x4c], 0x40
jae 0x512875
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
ja 0x512866
jb 0x512864
cmp dword [ebp - 0x64], 0x40
jae 0x512866
jmp 0x51286b
call fcn.00496028
mov ecx, dword [ebp - 0x64]
mov byte [ebp + ecx - 0x44], 0
jmp 0x51282a
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
jmp 0x512891
mov edx, dword [ebp - 0x4c]
add edx, 1
mov eax, dword [ebp - 0x48]
adc eax, 0
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp + 0x14]
ja 0x51298b
jb 0x5128ab
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp + 0x10]
jae 0x51298b
cmp dword [ebp + 0x20], 0
je 0x5128eb
mov eax, dword [ebp - 0x4c]
and eax, 0xff
mov ecx, dword [ebp - 0x48]
and ecx, 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x6c]
or edx, dword [ebp - 0x68]
jne 0x5128eb
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x5128eb
mov eax, dword [ebp - 0x58]
jmp 0x51298d
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
call ecx
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0x40
jbe 0x51293f
mov eax, 1
jmp 0x51298d
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
jmp 0x512958
mov edx, dword [ebp - 0x50]
add edx, 4
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x5c]
jae 0x51296f
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
xor edx, dword [ebp + ecx - 0x44]
mov dword [ebp - 0x54], edx
jmp 0x51294f
cmp dword [ebp + 0x18], 0
je 0x512986
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
je 0x512986
mov eax, 1
jmp 0x51298d
jmp 0x51287f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret
Function at 0x514b00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca71b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x514b5c
push 0xc
call fcn.00495c22
add esp, 4
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
call fcn.0044c050
mov dword [ebp - 0x64], eax
jmp 0x514b54
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
mov dword [ecx], edx
mov eax, dword [ebp - 0x60]
cmp dword [eax], 0
jne 0x514b6b
xor al, al
jmp 0x514c59
call fcn.00447430
mov ecx, eax
call fcn.004d6324
push eax
lea ecx, [ebp - 0x28]
call fcn.00446660
mov dword [ebp - 4], 0
push str.Config_
lea ecx, [ebp - 0x28]
call fcn.004465f0
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x514bb8
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
call fcn.004d85c8
add esp, 4
push 0x186a0
push 0x2710
call fcn.004d9965
add esp, 8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
cdq
push edx
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.004da65d
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044c090
push str..xml
lea ecx, [ebp - 0x28]
call fcn.004465f0
lea ecx, [ebp - 0x28]
call fcn.004465b0
push eax
call fcn.004d8b41
add esp, 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004db8c9
add esp, 8
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.0044c0f0
lea ecx, [ebp - 0x58]
call fcn.00446710
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00446610
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret
Function at 0x519390
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x1c], ecx
push 0x602390
mov ecx, dword [ebp + 8]
call fcn.0047b8b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5193c0
mov eax, dword [ebp - 4]
push eax
call fcn.004e6060
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0x60239c
mov ecx, dword [ebp + 8]
call fcn.0047b8b0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5193e8
mov edx, dword [ebp - 8]
push edx
call fcn.004e6060
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
push 0x6023a4
mov ecx, dword [ebp + 8]
call fcn.0047b8b0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x519410
mov edx, dword [ebp - 0xc]
push edx
call fcn.004e6060
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 8], eax
push 0x6023ac
mov ecx, dword [ebp + 8]
call fcn.0047b8b0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x519438
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e6060
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
push 0x6023b8
mov ecx, dword [ebp + 8]
call fcn.0047b8b0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x519482
mov edx, dword [ebp - 0x14]
push edx
call fcn.004e6060
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x10], 0xffffffff
jne 0x519482
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x10], eax
mov esp, ebp
pop ebp
ret 8
Function at 0x537d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x70c0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x537e3e
mov dword [ebp - 0x14], 1
push 3
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00448d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00447710
mov edx, 2
shl edx, 0
movzx eax, word [eax + edx]
cmp eax, 0x3a
jne 0x537e2f
lea ecx, [ebp - 0x34]
call fcn.00447710
mov ecx, 2
shl ecx, 1
movzx edx, word [eax + ecx]
cmp edx, 0x5c
jne 0x537e2f
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
test eax, eax
je 0x537df3
mov dword [ebp - 0x18], 0
jmp 0x537dfa
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.004474e0
add esp, 8
mov ecx, eax
call fcn.00447710
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 5
je 0x537e27
cmp dword [ebp - 0x1c], 2
jne 0x537e2f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00447680
mov ecx, dword [ebp + 0x10]
call fcn.00553560
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00447750
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00553ad0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 1
je 0x537e75
cmp dword [ebp - 0x20], 2
je 0x537e96
jmp 0x537ee1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00448d70
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
jmp 0x537f3f
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
lea ecx, [ebp - 0x40]
call fcn.00553d50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
call fcn.0055cdb0
add esp, 4
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
call fcn.00553d50
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00447680
mov eax, dword [ebp + 8]
jmp 0x537f3f
lea ecx, [ebp - 0x4c]
call fcn.00553c20
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00558700
add esp, 4
movzx edx, al
test edx, edx
jne 0x537f18
mov dword [ebp - 0x28], 0x22995
push 0x6fbf8c
lea eax, [ebp - 0x28]
push eax
call fcn.004e44cb
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00553d50
mov edx, dword [ebp - 0x10]
or edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00447680
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x542910
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
je 0x542953
push 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0x542a10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
call eax
push eax
call fcn.00448e00
add esp, 4
jmp 0x54296c
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push eax
call fcn.00448e00
add esp, 4
mov esp, ebp
pop ebp
ret 8

Function at 0x5433a0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd763
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x70c0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x18], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x10], ax
movzx eax, word [ebp - 0x18]
movzx ecx, word [ebp - 0x10]
cmp eax, ecx
je 0x5433ea
jmp 0x54354e
mov dx, word [ebp - 0x10]
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
and eax, 0x3ff
mov word [ebp - 0x1c], ax
movzx ecx, word [ebp - 0x14]
sar ecx, 0xa
mov word [ebp - 0x20], cx
lea ecx, [ebp - 0x48]
call fcn.00448600
mov dword [ebp - 4], 0
lea edx, [ebp - 0x48]
push edx
movzx eax, word [ebp - 0x1c]
push eax
call fcn.00543560
add esp, 8
lea ecx, [ebp - 0x54]
push ecx
call fcn.00543760
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
jmp 0x54344c
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 2
jae 0x543533
cmp dword [ebp - 0x24], 0
jne 0x543465
movzx eax, word [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x54346c
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x48]
call fcn.00448210
cmp dword [ebp - 0x30], eax
jae 0x54352e
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x48]
call fcn.004481f0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.004476b0
movzx eax, al
test eax, eax
jne 0x54352e
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00553d50
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0045bf80
push 0x6356c0
lea ecx, [ebp - 0x3c]
call fcn.00553a40
lea ecx, [ebp - 0x3c]
call fcn.00447710
push eax
push 0x726b8c
call fcn.005437f0
add esp, 8
movzx eax, al
test eax, eax
je 0x543522
mov ecx, dword [ebp - 0x28]
push ecx
mov ecx, 0x726ba8
call fcn.0045bf60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00447680
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00448470
jmp 0x54354e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00447680
jmp 0x543443
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00447680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00448470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5444e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cda0a
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x70c0f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00553c20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00553c20
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.00553c20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
call fcn.00448600
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.00448600
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xa0
call fcn.0045c1a0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x128
call fcn.00448600
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x134
call fcn.0044b680
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 1], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 2], 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
mov dword [edx + 0x7c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x74], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x4c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov dword [edx + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5451f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x54a880
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce2c4
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0044aa70
movzx eax, al
test eax, eax
je 0x54a8d5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045d5c0
jmp 0x54aa2c
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
lea ecx, [ebp - 0x60]
call fcn.00448600
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
jmp 0x54a8fb
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp + 8]
call fcn.00448210
cmp dword [ebp - 0x2c], eax
jae 0x54a9da
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp + 8]
call fcn.004481f0
push eax
lea ecx, [ebp - 0x54]
call fcn.00553d50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00447710
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x54a94a
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0054a770
jmp 0x54a9c9
mov dword [ebp - 0x38], 0
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x54]
call fcn.00447710
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x54a98c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00447680
jmp 0x54a8f2
mov dword [ebp - 0x40], 0
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
je 0x54a9c9
xor edx, edx
mov eax, dword [ebp - 0x40]
mov cl, 0x20
call fcn.00507ef0
xor ecx, ecx
add eax, dword [ebp - 0x38]
adc edx, ecx
add eax, dword [ebp - 0x34]
adc edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.00447680
jmp 0x54a8f2
cmp dword [ebp - 0x30], 0
ja 0x54a9e6
cmp dword [ebp - 0x34], 0
jbe 0x54aa11
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00585b00
add esp, 0xc
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.0044ecc0
lea ecx, [ebp - 0x28]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00448470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045d5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret 0x10