joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc2c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55016b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
push 0
push 0x14000c
push 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
call fcn.0050b495
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0xc8], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0x120
call fcn.0050fe9c
lea ecx, [ebp - 0x24]
call fcn.00408880
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x11c], 0
push 1
mov eax, dword [ebp - 0x28]
add eax, 0x11c
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4bc361
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 0x11c]
test edx, edx
jne 0x4bc3d6
push 0
push 0
push 0x2001f
push 0
push 0
push str.Control_PanelInternational
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00408a80
test eax, eax
jne 0x4bc3cc
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push str.sDecimal
lea ecx, [ebp - 0x24]
call fcn.004089b0
test eax, eax
jne 0x4bc3b8
cmp dword [ebp - 0x10], 0
jbe 0x4bc3b8
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x1c]
mov byte [edx + 0x11c], al
jmp 0x4bc3c2
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x11c], 0x2e
lea ecx, [ebp - 0x24]
call fcn.00408900
jmp 0x4bc3d6
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x11c], 0x2e
push 0x2001f
push 0x579f70
push SysReAllocString
lea ecx, [ebp - 0x24]
call fcn.00408950
test eax, eax
jne 0x4bc41b
lea eax, [ebp - 0x10]
push eax
push 0x579f8c
lea ecx, [ebp - 0x24]
call fcn.00417510
test eax, eax
jne 0x4bc413
cmp dword [ebp - 0x10], 0
setne cl
mov edx, dword [ebp - 0x28]
mov byte [edx + 8], cl
lea ecx, [ebp - 0x24]
call fcn.00408900
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0xca], ax
lea ecx, [ebp - 0x24]
call fcn.004088b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret
Function at 0x4bdaa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5503e2
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 0x1c
mov word [ebp - 0x24], ax
push 0x57a398
mov ecx, dword [ebp + 8]
push ecx
call fcn.00527b78
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4bdaf9
xor al, al
jmp 0x4bdc6f
mov edx, dword [ebp - 0x1c]
push edx
movzx eax, word [ebp - 0x24]
push eax
push 1
lea ecx, [ebp - 0x48]
push ecx
call fcn.0052a064
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
push 2
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.0052a064
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0052a371
add esp, 4
test eax, eax
jne 0x4bdb3c
movsx edx, word [ebp - 0x14]
test edx, edx
jg 0x4bdb4f
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bdc6f
mov ecx, dword [ebp - 0x1c]
push ecx
push 2
push 1
lea edx, [ebp - 0x18]
push edx
call fcn.0052a064
add esp, 0x10
movzx eax, word [ebp - 0x18]
test eax, eax
je 0x4bdb7e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bdc6f
mov dword [ebp - 4], 0
movsx edx, word [ebp - 0x14]
lea eax, [edx*4 - 2]
mov dword [ebp - 0x20], eax
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0052a87b
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 1
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0052a064
add esp, 0x10
movsx edx, byte [ebp - 0x4c]
test edx, edx
jne 0x4bdbc3
jmp 0x4bdbc5
jmp 0x4bdba5
mov eax, dword [ebp - 0x1c]
push eax
push 1
push 1
lea ecx, [ebp - 0x49]
push ecx
call fcn.0052a064
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
push 1
push 1
lea eax, [ebp - 0x4a]
push eax
call fcn.0052a064
add esp, 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 1
lea edx, [ebp - 0x4b]
push edx
call fcn.0052a064
add esp, 0x10
movzx eax, byte [ebp - 0x4b]
cmp eax, 2
jg 0x4bdc1e
movzx ecx, byte [ebp - 0x4a]
movzx edx, byte [ebp - 0x49]
cmp ecx, edx
jg 0x4bdc1e
movzx eax, byte [ebp - 0x49]
test eax, eax
jne 0x4bdc2e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bdc6f
jmp 0x4bdc53
mov dword [ebp - 4], 0xffffffff
jmp 0x4bdc61
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00527c06
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret
Function at 0x4bdc90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5abcc4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, 0x19
mov word [ebp - 0x14], ax
push 0x57a39c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00527b78
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4bdcca
xor al, al
jmp 0x4bde16
mov edx, dword [ebp - 0xc]
push edx
movzx eax, word [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x3c]
push ecx
call fcn.0052a064
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
push 2
lea eax, [ebp - 4]
push eax
call fcn.0052a064
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 2
lea edx, [ebp - 8]
push edx
call fcn.0052a064
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.0052a371
add esp, 4
test eax, eax
jne 0x4bdd29
movsx ecx, word [ebp - 4]
test ecx, ecx
jle 0x4bdd29
movzx edx, word [ebp - 8]
test edx, edx
je 0x4bdd3c
mov eax, dword [ebp - 0xc]
push eax
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bde16
push 1
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052a87b
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
lea eax, [ebp - 0x3d]
push eax
call fcn.0052a064
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052a371
add esp, 4
test eax, eax
je 0x4bdd83
mov edx, dword [ebp - 0xc]
push edx
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bde16
movsx eax, byte [ebp - 0x3d]
test eax, eax
jne 0x4bdd8d
jmp 0x4bdd8f
jmp 0x4bdd4c
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 1
lea edx, [ebp - 0xd]
push edx
call fcn.0052a064
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
push 1
push 1
lea ecx, [ebp - 0x15]
push ecx
call fcn.0052a064
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
push 1
push 1
lea eax, [ebp - 0x16]
push eax
call fcn.0052a064
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052a371
add esp, 4
test eax, eax
jne 0x4bddf8
movzx edx, byte [ebp - 0x16]
cmp edx, 2
jg 0x4bddf8
movzx eax, byte [ebp - 0xd]
movzx ecx, byte [ebp - 0x15]
cmp eax, ecx
jl 0x4bddf8
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x4bde08
mov eax, dword [ebp - 0xc]
push eax
call fcn.00527c06
add esp, 4
xor al, al
jmp 0x4bde16
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00527c06
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.005255a0
mov esp, ebp
pop ebp
ret

Function at 0x4c4270
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.gzip.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c428e
xor al, al
jmp 0x4c42d9
push str.gzip
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp + 0xc]
call fcn.004a7b60
push eax
mov ecx, dword [ebp + 8]
call fcn.004a7b60
push eax
call dword [ebp - 8]
add esp, 8
movzx ecx, al
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4da120
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4da150
push esi
call fcn.004de1e0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4da149
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4da1d3
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x4da1bf
mov eax, dword [esi + 8]
test eax, eax
je 0x4da174
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4da1bb
cmp eax, 2
je 0x4da1bf
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4da167
cmp eax, 3
je 0x4da19a
cmp eax, 1
jne 0x4da167
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4da167
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4da167
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004da200
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4da1f3
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004da200
add esp, 4
pop esi
ret
Function at 0x4f95b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4f9601
call fcn.005071e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4f9601
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4f9644
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4f962d
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4f962d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4f9641
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4fa976
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x55244d
call fcn.0052dff7
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4fa99b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4fa9e1
lea ecx, [ebp - 0x10]
call fcn.004096a0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004fa079
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00409110
mov eax, esi
call fcn.0052e0cf
ret 8

Function at 0x4fb780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4fb7a4
cmp dword [edi + 0x54], 0
jne 0x4fb7a4
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.005071e9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004fb741
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5012fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x501342
call fcn.005071e9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x501342
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x50135e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00500e75
mov esi, eax
test edi, edi
je 0x50135c
test ebx, ebx
je 0x50135c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x50df16
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.005071e9
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x50df43
xor eax, eax
jmp 0x50dfe9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x50df3c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x50df3c
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f6b0c
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x50df9a
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
inc ecx
inc ecx
cmp eax, edx
jl 0x50df89
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.0050cc79
push edi
mov ebx, eax
call fcn.004f6b3b
pop ecx
test ebx, ebx
je 0x50dfdc
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.0050d32b
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.0050d3df
mov ebx, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4

Function at 0x5255a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5abcc4]
jne 0x5255aa
repz ret
jmp fcn.00530e1c
Function at 0x540018
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.0053075a
and dword [ebp - 4], 0
cmp dword [0x5b6dfc], 0
mov ebx, eax
jne 0x5400c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x54017a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x58c3f8
push edi
call esi
test eax, eax
je 0x54017a
push eax
call fcn.005306e8
mov dword [esp], 0x58c3e8
push edi
mov dword [0x5b6dfc], eax
call esi
push eax
call fcn.005306e8
mov dword [esp], 0x58c3d4
push edi
mov dword [0x5b6e00], eax
call esi
push eax
call fcn.005306e8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5b6e04], eax
call esi
push eax
call fcn.005306e8
pop ecx
mov dword [0x5b6e0c], eax
test eax, eax
je 0x5400c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005306e8
pop ecx
mov dword [0x5b6e08], eax
mov eax, dword [0x5b6e08]
cmp eax, ebx
je 0x540121
cmp dword [0x5b6e0c], ebx
je 0x540121
push eax
call fcn.00530763
push dword [0x5b6e0c]
mov esi, eax
call fcn.00530763
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x540121
test edi, edi
je 0x540121
call esi
test eax, eax
je 0x540118
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x540118
test byte [ebp - 0xc], 1
jne 0x540121
or dword [ebp + 0x10], 0x200000
jmp 0x54015a
mov eax, dword [0x5b6e00]
cmp eax, ebx
je 0x54015a
push eax
call fcn.00530763
pop ecx
test eax, eax
je 0x54015a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x54015a
mov eax, dword [0x5b6e04]
cmp eax, ebx
je 0x54015a
push eax
call fcn.00530763
pop ecx
test eax, eax
je 0x54015a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5b6dfc]
call fcn.00530763
pop ecx
test eax, eax
je 0x54017a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x54017c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x544e42
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 0x544e73
call fcn.0052e1be
mov dword [eax], esi
call fcn.0052e1ab
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00528749
add esp, 0x14
push 0x16
pop eax
jmp 0x544ec8
test dword [ebp + 0xc], 0xfffffff9
jne 0x544e4f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x544ea0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0052e1d1
pop ecx
call fcn.0052e1ab
mov eax, dword [eax]
jmp 0x544ec8
test al, 0x10
jne 0x544ec6
test al, 1
je 0x544ec6
test byte [ebp + 0xc], 2
je 0x544ec6
call fcn.0052e1be
mov dword [eax], 5
call fcn.0052e1ab
mov dword [eax], 0xd
jmp 0x544e97
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100015df
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x24], eax
mov edi, ecx
call fcn.10001541
xor ebx, ebx
mov dword [ebp - 0x20], 0x775c3a63
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x11], 0x32336d65
push ecx
lea eax, [esi + 0x10]
mov dword [ebp - 0xb], 0x652e646d
push eax
lea eax, [esi + 4]
mov dword [ebp - 0x16], 0x7379735c
push eax
mov dword [ebp - 0x1b], 0x776f646e
mov word [ebp - 7], 0x6578
mov word [ebp - 0xd], 0x635c
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 5], bl
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x17], 0x73
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 1
call dword [edi + 0x2c]
test eax, eax
jne 0x10001675
mov dword [ebp - 0x24], 0x92
jmp 0x10001740
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
push eax
lea eax, [esi + 8]
mov dword [ebp - 0x3c], 0xc
push eax
lea ebx, [esi + 0xc]
mov dword [ebp - 0x34], 1
push ebx
call dword [edi + 0x2c]
test eax, eax
jne 0x100016a7
mov dword [ebp - 0x24], 0x9b
jmp 0x10001740
lea eax, [ebp - 0x90]
push 0x44
push eax
call fcn.10002d46
xor eax, eax
mov dword [ebp - 0x90], 0x44
mov word [ebp - 0x60], ax
mov eax, dword [ebx]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
push 0x10
push eax
mov dword [ebp - 0x64], 0x101
call fcn.10002d46
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
add esp, 0x10
xor ebx, ebx
test ecx, ecx
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x20]
push ebx
cmovne eax, ecx
push eax
call dword [edi + 0x30]
test eax, eax
jne 0x10001719
mov dword [ebp - 0x24], 0xb5
jmp 0x10001740
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x44]
push 8
push edi
mov dword [esi + 0x24], eax
call fcn.10002dd7
pop ecx
pop ecx
test eax, eax
jne 0x10001762
mov dword [ebp - 0x24], 0xc3
push 2
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
movzx eax, byte [esi]
push eax
push 6
pop edx
call fcn.10001f76
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.10001541
jmp 0x1000178f
push ebx
push ebx
push eax
mov dword [eax], edi
mov dword [eax + 4], esi
push 0x1000140d
mov dword [esi + 0x14], 1
call fcn.10002e30
pop ecx
push eax
push ebx
push ebx
call dword [edi + 0x20]
mov dword [esi + 0x18], eax
test eax, eax
jne 0x1000178f
mov dword [eax], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004434
leave
ret
Function at 0x100018f2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea edx, [ebp - 0x24]
mov word [ebp - 0x13], 0x7365
mov esi, ecx
mov dword [ebp - 0x23], 0x73755c3a
xor ebx, ebx
mov dword [ebp - 8], 0x696e69
mov dword [ebp - 0x1f], 0x5c737265
mov word [ebp - 0x1b], 0x7570
mov dword [ebp - 0xc], 0x2e6e6f69
mov dword [ebp - 0x18], 0x5c63696c
mov dword [ebp - 0x11], 0x70697263
mov byte [ebp - 0x19], 0x62
mov byte [ebp - 0x24], 0x63
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0xd], 0x74
call fcn.1000184a
test eax, eax
jne 0x1000199e
push edi
mov ecx, esi
call fcn.100018a1
lea eax, [ebp - 0x24]
push eax
call dword [esi + 0x44]
push ebx
push 0x80
push 1
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x24]
push eax
call dword [esi + 0x40]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000199d
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x10
lea ecx, [esi + 0xd4]
push ecx
push edi
call dword [esi + 0x3c]
push edi
call dword [esi + 0x1c]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10004434
leave
ret

Function at 0x10001ab0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov edx, ebx
mov edi, 0x100
imul eax, dword [esi + 0x604], 0x343fd
mov ecx, dword [esi + 0x4f8]
add eax, 0x269ec3
mov dword [esi + 0x604], eax
mov byte [edx + ecx], al
inc edx
cmp edx, edi
jl 0x10001abe
mov eax, dword [esi + 0x4f8]
mov byte [eax + 0x110], bl
mov eax, dword [esi + 0x4f8]
add eax, edi
push eax
lea eax, [esi + 0xd4]
push 0x10
push eax
call fcn.10002d6d
add esp, 0xc
lea eax, [esi + 0x500]
push eax
mov eax, dword [esi + 0x4f8]
add eax, 0x111
push eax
call dword [esi + 0x48]
mov eax, dword [esi + 0x600]
add eax, 0x111
mov dword [esi + 0x4fc], eax
add eax, 0xffffff00
je 0x10001b57
mov ecx, dword [esi + 0x4f8]
movzx eax, bl
lea edx, [ecx + ebx]
mov al, byte [eax + ecx]
xor byte [edx + 0x100], al
inc ebx
mov eax, dword [esi + 0x4fc]
sub eax, edi
cmp ebx, eax
jb 0x10001b35
pop edi
pop esi
pop ebx
ret

Function at 0x10001beb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov eax, ecx
push esi
mov esi, edx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jbe 0x10001c23
push edi
mov edi, dword [ebp + 0xc]
sub esi, edi
mov eax, dword [eax + 0x6c8]
lea edx, [ebx + edi]
movzx ecx, bl
mov al, byte [ecx + eax]
xor al, byte [esi + edx]
inc ebx
mov byte [edx], al
mov eax, dword [ebp - 4]
cmp ebx, dword [ebp + 8]
jb 0x10001c05
pop edi
pop esi
pop ebx
leave
ret