joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462f11
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [edi + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, eax
mov dword [ebp - 4], ebx
cmp dword [edx], ebx
jne 0x462f4a
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
push edx
push ebx
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x46304e
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x462f84
mov eax, dword [edi + 0x80]
push ebx
cdq
push ecx
push edx
push eax
call fcn.004fe9f0
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], eax
jmp 0x462f84
xor ebx, ebx
cmp esi, ebx
je 0x46304e
mov ebx, dword [esi + 0x14]
cmp ebx, dword [edi + 0x18]
ja 0x463041
test byte [esi + 0x18], 0x20
jne 0x463041
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebx - 1]
push 0
push ecx
call fcn.004fe9f0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
cmp ebx, 1
jne 0x462fc6
call fcn.0045248a
mov eax, dword [edi + 0xb0]
test eax, eax
jne 0x462fd8
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
jmp 0x462ff0
push 6
push ebx
push dword [esi + 4]
push dword [edi + 0xbc]
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
je 0x463055
push dword [ebp - 0xc]
mov eax, dword [edi + 0x3c]
push dword [ebp - 0x10]
push dword [edi + 0x80]
push dword [ebp - 8]
call fcn.0044f446
add esp, 0x10
mov dword [ebp - 4], eax
cmp ebx, 1
jne 0x463027
mov eax, dword [ebp - 8]
add eax, 0x18
push 0x10
push eax
lea eax, [edi + 0x64]
push eax
call fcn.004fbb10
add esp, 0xc
cmp ebx, dword [edi + 0x20]
jbe 0x46302f
mov dword [edi + 0x20], ebx
inc dword [edi + 0xa8]
push dword [esi + 4]
mov eax, dword [edi + 0x58]
call fcn.0045c3ba
pop ecx
cmp dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
je 0x462f82
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
push 7
pop eax
jmp 0x463051
Function at 0x498796
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x4987bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4987bc
test al, 0x10
jne 0x4987bc
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x49888e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x4988ea
cmp dword [ebp + 8], 0
je 0x4988ea
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4988ea
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x28]
push 0
push dword [esi + 8]
push dword [esi + 4]
call fcn.005023a1
push dword [esi + 4]
push 1
push ebx
push dword [ebp + 8]
call fcn.0050229d
add dword [esi + 8], ebx
add esp, 0x1c
dec dword [esi + 0x28]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
pop edi
jmp 0x4988ed
or eax, 0xffffffff
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4988f3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x498947
cmp dword [ebp + 8], ebx
je 0x498947
cmp dword [ebp + 0xc], ebx
jbe 0x498947
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x28]
push ebx
push ebx
push dword [esi + 4]
call fcn.005023a1
push dword [esi + 4]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.004fe7ed
add esp, 0x1c
dec dword [esi + 0x28]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop edi
jmp 0x49894a
or eax, 0xffffffff
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4989af
Capabilities:
Initialize winhttp library
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
jne 0x498a76
mov eax, 0x400
push eax
mov dword [ebp - 0xc0c], eax
lea eax, [ebp - 0x407]
push ebx
push eax
mov byte [ebp - 0x408], bl
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x408]
push eax
push ebx
call sub.urlmon.dll_ObtainUserAgentString
xor eax, eax
push 0x7fe
mov word [ebp - 0xc08], ax
lea eax, [ebp - 0xc06]
push ebx
push eax
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x498a41
xor eax, eax
jmp 0x498a5b
lea eax, [esi + esi]
call fcn.00502600
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x408]
push ecx
push eax
call fcn.00498755
push eax
lea eax, [ebp - 0xc08]
push 0x59a2b8
push eax
call fcn.0050241d
add esp, 0xc
lea eax, [ebp - 0xc08]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
lea esp, [ebp - 0xc14]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fb958
leave
ret
Function at 0x498aff
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004fc1f0
mov eax, dword [ebp + 0xc]
add esp, 0xc
test eax, eax
je 0x498b90
cmp dword [ebp + 0x10], eax
jbe 0x498b5a
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x20c]
push str.Range:_bytes_d__d
push eax
call fcn.0050241d
add esp, 0x10
jmp 0x498b75
cmp dword [ebp + 0x10], 0
jne 0x498b8c
push eax
lea eax, [ebp - 0x20c]
push str.Range:_bytes_d_
push eax
call fcn.0050241d
add esp, 0xc
push 0xa0000000
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
jmp 0x498b93
xor eax, eax
jmp 0x498b93
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fb958
leave
ret

Function at 0x498bd7
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x498c4b
mov eax, dword [ebp - 4]
push edi
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f8908
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
shr ecx, 1
push ecx
push ebx
push eax
mov dword [edi], eax
call fcn.004fc1f0
add esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push dword [edi]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
pop edi
test eax, eax
je 0x498c4b
xor eax, eax
inc eax
jmp 0x498c4d
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x49aac0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x57ba41
call fcn.004fb967
mov dword [ebp - 4], 1
push 4
pop eax
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
xor esi, esi
call fcn.0043129c
test eax, eax
je 0x49aaf4
mov esi, 0x100
lea eax, [ebp - 0x10]
push eax
or esi, 0x20019
push esi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49ab32
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba3f
ret
Function at 0x49b0e9
Capabilities:
Create directory

Disassembly:
push 0x14
mov eax, 0x57be2f
call fcn.004fb967
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx - 0xc]
xor ebx, ebx
cmp ecx, ebx
jne 0x49b10a
xor al, al
jmp 0x49b20a
push eax
lea ecx, [ebp - 0x10]
call fcn.004324a9
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x49b210
cmp eax, ecx
jg 0x49b210
cmp word [edx + eax*2], 0x5c
je 0x49b140
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0049afb0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 1
push 0x602968
lea ecx, [ebp - 0x14]
call fcn.00431ef7
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
xor esi, esi
mov byte [ebp + 0xb], bl
cmp ecx, ebx
jle 0x49b1b2
cmp esi, ebx
jl 0x49b210
cmp esi, ecx
jg 0x49b210
movzx eax, word [eax + esi*2]
cmp eax, 0x5c
je 0x49b191
cmp esi, ecx
jg 0x49b210
push eax
jmp 0x49b19f
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00433b89
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0049afb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
inc esi
cmp esi, ecx
jl 0x49b16d
xor esi, esi
cmp dword [ebp - 0x1c], ebx
jle 0x49b1de
cmp esi, ebx
jl 0x49b21a
cmp esi, dword [ebp - 0x1c]
jge 0x49b21a
mov eax, dword [ebp - 0x20]
lea eax, [eax + esi*4]
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne byte [ebp + 0xb]
inc esi
cmp esi, dword [ebp - 0x1c]
jl 0x49b1b9
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00433510
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov al, byte [ebp + 0xb]
call fcn.004fba3f
ret
push 0x80070057
call fcn.00430f05
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x49b925
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x57c1b1
call fcn.004fb9d0
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push str.HKEY_LOCAL_MACHINE
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xb4], eax
call fcn.00431ed3
test eax, eax
jne 0x49baba
lea eax, [ebp - 0xbc]
push eax
push 0x20019
push edi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x49baba
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
push edi
push edi
push dword [ebp - 0xb4]
mov dword [ebp - 0xc0], 0x208
push dword [ebp - 0xbc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xbc]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
jne 0x49ba84
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.0043479c
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb4]
mov ecx, esi
cmp dword [eax - 0xc], edi
jle 0x49ba3e
lea eax, [ebp - 0xb4]
push eax
call fcn.004324a9
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x49baee
push 0x59a2c0
call fcn.0043479c
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x49baee
push 0x59a2c0
mov ecx, esi
call fcn.0043479c
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x49baee
push 0x59a2c0
mov ecx, esi
call fcn.0043479c
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, esi
call fcn.004fba53
ret

Function at 0x49bb04
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x57c1fb
call fcn.004fb9d0
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x21c], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x220], esi
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x8026
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x49bb6b
lea eax, [ebp - 0x218]
push eax
call fcn.0043479c
jmp 0x49bb75
push 0x59a2c0
call fcn.0043479c
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
call fcn.004fba53
ret 4
Function at 0x49bb8c
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x57c245
call fcn.004fb9d0
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x21c], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x220], esi
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x49bbf0
lea eax, [ebp - 0x218]
push eax
call fcn.0043479c
jmp 0x49bbfa
push 0x59a2c0
call fcn.0043479c
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
call fcn.004fba53
ret 4

Function at 0x49bc11
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x57c28f
call fcn.004fb9d0
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x21c], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x220], esi
call fcn.004fc1f0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x8000
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
js 0x49bc78
lea eax, [ebp - 0x218]
push eax
call fcn.0043479c
jmp 0x49bc82
push 0x59a2c0
call fcn.0043479c
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
mov eax, esi
call fcn.004fba53
ret 4
Function at 0x49bfdc
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x57c4e4
call fcn.004fb967
mov esi, ecx
lea ecx, [ebp - 0x38]
call fcn.00432a3a
mov dword [ebp - 4], 1
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x49c148
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49c148
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x49c029
jmp 0x49c148
push esi
lea ecx, [ebp - 0x18]
call fcn.004324a9
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.004324a9
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x49c058
push edi
lea ecx, [ebp - 0x10]
call fcn.00433c20
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 6
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push eax
lea ecx, [ebp - 0x38]
call fcn.0049bc11
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0049be74
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.0049ac95
mov byte [ebp - 4], 9
push edi
lea ecx, [ebp - 0x68]
call fcn.00433c20
add esi, 8
push esi
lea ecx, [ebp - 0x60]
call fcn.00433c20
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.004324a9
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x38]
call fcn.0049bc99
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x48]
call fcn.00433c20
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004310e3
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.00433c20
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x68]
call fcn.00499e4e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68]
call fcn.0049acc5
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004310e3
jmp 0x49c148
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00432a92
call fcn.004fba3f
ret
Function at 0x49c15a
Capabilities:
Create directory

Disassembly:
push 0x25c
mov eax, 0x57c587
call fcn.004fb9d0
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], ecx
jle 0x49c185
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00431f53
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push eax
call fcn.004f2fc4
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jne 0x49c1c2
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], 3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004310e3
mov eax, ebx
call fcn.004fba53
ret
lea ecx, [ebp - 0x268]
call fcn.00432a3a
mov byte [ebp - 4], 5
push 0x22c
lea eax, [ebp - 0x23c]
push ebx
push eax
mov dword [ebp - 0x240], ebx
call fcn.004fc1f0
lea eax, [ebp - 0x240]
push eax
push 0xffffffffffffffff
push esi
call fcn.004f14b6
mov eax, dword [ebp - 0x240]
add esp, 0x18
xor edi, edi
mov dword [ebp - 0x248], eax
cmp eax, ebx
jle 0x49c2d8
lea eax, [ebp - 0x240]
push eax
push edi
push esi
call fcn.004f14b6
pop ecx
pop ecx
lea eax, [ebp - 0x23c]
mov ecx, esp
mov dword [ebp - 0x24c], esp
push eax
call fcn.0043479c
mov byte [ebp - 4], 6
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x250], esp
push eax
call fcn.004324a9
mov byte [ebp - 4], 7
lea eax, [ebp - 0x244]
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x268]
call fcn.0049be74
mov byte [ebp - 4], 8
test byte [ebp - 0x34], 0x10
je 0x49c28e
push 0x5a4660
lea ecx, [ebp - 0x244]
call fcn.00433a48
push ebx
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x49c2b9
mov eax, dword [ebp - 0x244]
cmp dword [eax - 4], 1
jle 0x49c2ae
push dword [eax - 0xc]
lea ecx, [ebp - 0x244]
call fcn.00431f53
mov eax, dword [ebp - 0x244]
push eax
push edi
push esi
call fcn.004f3045
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.004310e3
inc edi
cmp edi, dword [ebp - 0x248]
jl 0x49c211
push esi
call fcn.004f307a
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
call fcn.00432a92
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004310e3
mov dword [ebp - 4], 0xd
xor ebx, ebx
inc ebx
jmp 0x49c1ab
Function at 0x49ef66
Capabilities:
Create process on windows

Disassembly:
push 0x68
mov eax, 0x57cc29
call fcn.004fb967
mov esi, ecx
lea edi, [esi + 0x125c]
push edi
call fcn.004987c0
mov ebx, eax
mov dword [esp], 0x5a4a0c
push ebx
push ebx
push 8
mov ecx, esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edx
call fcn.00499763
push str.ck_W
push ebx
push ebx
push 9
mov ecx, esi
call fcn.00499763
cmp dword [esi + 0x890c], 0
jne 0x49f110
lea ecx, [ebp - 0x38]
call fcn.00432a3a
mov dword [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.0043479c
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0049be2b
mov byte [ebp - 4], 3
push str..zip
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push str..rar
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push 0x5a49ec
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push str..tar
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push 0x5a49d8
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push 0x5a49d0
lea ecx, [ebp - 0x10]
call fcn.00431e0c
test eax, eax
je 0x49f0f5
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edi
call fcn.0043479c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0049ed58
mov byte [ebp - 4], 5
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004fc1f0
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], edi
lea edi, [esi + 0x8208]
push edi
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], eax
call fcn.004fb22e
add esp, 0x10
test eax, eax
je 0x49f0c0
mov dword [ebp - 0x60], edi
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x70], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004310e3
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004310e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00432a92
push 0x5a49c4
push ebx
push ebx
push 0x10
mov ecx, esi
call fcn.00499763
xor eax, eax
call fcn.004fba3f
ret
Function at 0x49f128
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cc65
mov eax, dword fs:[0]
push eax
mov eax, 0x1558
call fcn.004fc580
mov eax, dword [0x602c60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x125c]
push edi
call fcn.004987c0
mov ebx, eax
mov dword [esp], 0x5a4a0c
push ebx
push ebx
push 8
mov ecx, esi
mov dword [ebp - 0x1524], ebx
mov dword [ebp - 0x1520], edx
call fcn.00499763
lea eax, [esi + 0x5edc]
push eax
call fcn.004fb22e
pop ecx
test eax, eax
je 0x49f209
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x1518], ax
lea eax, [ebp - 0x1516]
push eax
call fcn.004fc1f0
push 0x1108
lea eax, [ebp - 0x1118]
push 0
push eax
call fcn.004fc1f0
lea eax, [ebp - 0x1518]
push eax
push edi
call fcn.00499068
add esp, 0x20
test eax, eax
je 0x49f1f3
lea eax, [esi + 0x5edc]
push eax
lea eax, [ebp - 0x694]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x49f209
push edi
call fcn.004987f9
mov dword [esp], 0x5a4a18
push ebx
push ebx
push 0x20
jmp 0x49f2e9
push str.ck_W
push ebx
push ebx
push 9
mov ecx, esi
call fcn.00499763
cmp dword [esi + 0x890c], 0
jne 0x49f2e0
push ecx
mov ecx, esp
mov dword [ebp - 0x1528], esp
push edi
call fcn.0043479c
and dword [ebp - 4], 0
lea eax, [ebp - 0x151c]
push eax
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0049ed58
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push 0x3c
lea eax, [ebp - 0x1564]
push 0
push eax
call fcn.004fc1f0
mov eax, dword [ebp - 0x151c]
and dword [ebp - 0x155c], 0
mov dword [ebp - 0x1554], edi
lea edi, [esi + 0x8208]
push edi
mov dword [ebp - 0x1564], 0x3c
mov dword [ebp - 0x1558], eax
call fcn.004fb22e
add esp, 0x10
test eax, eax
je 0x49f29d
mov dword [ebp - 0x1550], edi
lea eax, [ebp - 0x1564]
push eax
mov dword [ebp - 0x1548], ebx
mov dword [ebp - 0x1560], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
push dword [ebp - 0x152c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x151c]
add ecx, 0xfffffff0
call fcn.004310e3
mov ebx, dword [ebp - 0x1524]
push 0x5a49c4
push ebx
push ebx
push 0x10
mov ecx, esi
call fcn.00499763
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fb958
leave
ret