joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007185a
Capabilities:
Accept command line arguments

Disassembly:
push 0x2c
mov eax, 0x1009f929
call fcn.1009220a
mov esi, dword [ebp + 8]
and dword [ebp - 0x18], 0
xor ebx, ebx
mov edi, 0x100b8f90
inc ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10082a50
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100270b4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.1002765f
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne bl
add eax, 0xfffffff0
call fcn.10082afb
test bl, bl
je 0x1007199e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.1002765f
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.1005e2c8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082a9f
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [0x100b8f90]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.10028768
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.1005e2c8
mov byte [ebp - 4], 9
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x10071975
lea eax, [ebp - 0x1c]
push eax
call fcn.1002903c
mov edi, esi
mov byte [ebp - 4], 0xa
call fcn.1005e434
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp - 0x10]
mov eax, esi
call fcn.1005ed8d
jmp 0x1007197f
lea eax, [ebp - 0x10]
mov edi, esi
call fcn.1005e434
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 2
lea eax, [ebx - 0x10]
jmp 0x100719bc
lea eax, [ebp - 0x20]
push eax
call fcn.1002903c
mov edi, esi
mov byte [ebp - 4], 0xb
call fcn.1005e434
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp + 0xc]
mov eax, esi
call fcn.1005ed8d
lea ecx, [ebp - 0x38]
call fcn.1002740a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, esi
call fcn.100922e2
ret 8
Function at 0x1007210b
Capabilities:
Accept command line arguments

Disassembly:
push 0x164
mov eax, 0x100a67f9
call fcn.1009220a
mov edi, ecx
push dword [ebp + 0x10]
and dword [ebp - 0x1c], 0
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push dword [ebp + 0xc]
push eax
call fcn.1005e2c8
lea eax, [ebp - 0x10]
push eax
call fcn.1002ddf9
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100270b4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100276e6
push dword [ebp + 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
push edi
lea eax, [ebp - 0x10]
push eax
jne 0x1007219f
push dword [ebp + 8]
call fcn.1004812b
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x38]
call fcn.1002740a
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10072247
lea eax, [ebp - 0x170]
push eax
call fcn.1004812b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 4
call fcn.1004683a
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x20]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 5
call fcn.10036a4a
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10037ced
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp + 8]
call fcn.1004812b
push dword [ebp - 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x1c], ebx
call esi
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 3
call fcn.10047df7
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
lea ecx, [ebp - 0x38]
call fcn.1002740a
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 8]
call fcn.100922e2
ret 0xc
Function at 0x10076681
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a300f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov edi, dword [ebp + 8]
push 0x10018b8c
push 0x10018ba4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100766d6
xor eax, eax
jmp 0x100767bb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esi]
push 0x10018bb8
xor ebx, ebx
push ebx
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push dword [ebp + 0x10]
mov dword [esp + 0x1c], ebx
call dword [eax + 0x1c]
mov dword [esp + 0x10], eax
cmp eax, ebx
jge 0x1007673a
push esi
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push 0x10018c10
push eax
call fcn.1005e2c8
lea ecx, [esp + 0x18]
mov edx, edi
call fcn.1007934d
push dword [esp + 0x10]
push 0x10018c48
push ebx
call fcn.10026c05
add esp, 0xc
jmp 0x100767b7
mov ecx, dword [esp + 0x14]
mov ebx, ecx
mov dword [esp + 0x18], ebx
and dword [esp + 0x40], 0
mov eax, dword [ecx]
call dword [eax + 8]
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push 0x10018ccc
push eax
call fcn.1005e2c8
mov eax, dword [edi + 0x40]
push 7
push eax
call fcn.10060ce4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100270b4
mov byte [esp + 0x40], 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x13ec
call fcn.1002745f
push esi
push 0
add edi, 4
push edi
lea eax, [esp + 0x1c]
call fcn.1005d789
lea ecx, [esp + 0x1c]
call fcn.1002740a
or dword [esp + 0x40], 0xffffffff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100767d0
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x1009d6ef
call fcn.1009220a
lea eax, [ebp - 0x10]
push eax
call fcn.1002903c
and dword [ebp - 4], 0
push 0x10018cd8
lea eax, [ebp - 0x10]
call fcn.1005ed8d
mov dword [ebp - 0x68], 0x10018cec
mov dword [ebp - 0x64], 0x10018d00
mov dword [ebp - 0x60], 0x10018d14
mov dword [ebp - 0x5c], 0x10018d28
mov dword [ebp - 0x58], 0x10018d3c
mov dword [ebp - 0x54], 0x10018d50
mov dword [ebp - 0x50], 0x10018d6c
mov dword [ebp - 0x4c], 0x10018d90
mov dword [ebp - 0x48], 0x10018da8
mov dword [ebp - 0x44], 0x10018dc0
mov dword [ebp - 0x40], 0x10018dd8
mov dword [ebp - 0x3c], 0x10018df0
mov dword [ebp - 0x38], 0x10018e08
mov dword [ebp - 0x34], 0x10018e20
mov dword [ebp - 0x30], 0x10018e38
mov dword [ebp - 0x2c], 0x10018e50
mov dword [ebp - 0x28], 0x10018e68
xor esi, esi
push dword [ebp + esi*4 - 0x68]
lea eax, [ebp - 0x10]
call fcn.1005ed8d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100768a7
lea eax, [ebp - 0x10]
call fcn.1005ee9c
inc esi
cmp esi, 0x11
jb 0x1007686f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
call fcn.100922e2
ret
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push esi
lea eax, [ebp - 0x14]
push 0x10018e88
push eax
mov byte [ebp - 4], 2
call fcn.100827bb
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.10082afb
push dword [ebp - 0x14]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002b63a
mov esi, 0x1001b330
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1002d5ea
push 0x100a7484
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.1008bda4
int3
Function at 0x10076f3a
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0x18], al
je 0x10076f57
push eax
push eax
push esi
push 0x1007b958
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
pop esi
ret

Function at 0x10078cdb
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x10
mov eax, 0x10099ca6
call fcn.1009220a
mov ebx, ecx
mov eax, dword [ebx + 8]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
call fcn.1005ee9c
mov eax, dword [ebx + 8]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
call fcn.10028a24
mov dword [ebp - 0x14], eax
test eax, eax
jns 0x10078d78
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0x1001952c
lea eax, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.1005ec33
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x18]
push dword [eax]
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [esi - 0x10]
call fcn.10082afb
jmp 0x10078e2e
xor edx, edx
lea esi, [ebx + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
inc edx
sub edx, dword [eax - 4]
mov eax, 0x105
sub ecx, eax
or ecx, edx
jge 0x10078d98
mov ecx, esi
call fcn.10082950
push dword [esi]
push 0
push 0x10019568
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x10078e0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10078dc2
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 0x10019570
push eax
mov byte [ebp - 4], 3
call fcn.100827bb
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx]
add esp, 0xc
push edi
push 0
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.10082afb
or eax, 0xffffffff
call fcn.10082749
cmp byte [ebx + 0x14], 0
je 0x10078e2e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
push 0x100075b4
mov eax, esi
call fcn.100665e2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebp - 0x14]
call fcn.100922e2
ret
Function at 0x100790ad
Capabilities:
Check if file exists
Delete file

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0xc]
mov dword [esi], 0x1001d614
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100790cc
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0xc]
sub eax, 0x10
call fcn.10082afb
mov eax, dword [esi + 8]
sub eax, 0x10
pop esi
jmp fcn.10082afb

Function at 0x1007934d
Capabilities:
Accept command line arguments

Disassembly:
push 0x1c
mov eax, 0x100a2f4a
call fcn.1009220a
mov esi, ecx
mov edi, edx
and dword [ebp - 4], 0
mov eax, dword [esi]
cmp eax, 0x80004004
jne 0x1007936f
mov eax, 0x80070642
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100270b4
mov byte [ebp - 4], 1
push dword [esi]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov esi, esp
call fcn.10082a9f
add eax, 0x10
mov dword [esi], eax
mov esi, dword [edi + 0x40]
call fcn.1007b772
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 0x13ed
call fcn.1002745f
push dword [ebp + 0xc]
add edi, 4
push 0
push edi
lea eax, [ebp - 0x10]
call fcn.1005d789
lea ecx, [ebp - 0x28]
call fcn.1002740a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
call fcn.100922e2
ret 8
Function at 0x1007af15
Capabilities:
Accept command line arguments

Disassembly:
push 0x24
mov eax, 0x1009f7fc
call fcn.1009220a
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100270b4
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.100276c7
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov eax, dword [ebp - 0x14]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [edi + 0xc]
sub eax, 0x10
call fcn.10082a9f
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 8]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.1005e562
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.10082afb
lea eax, [esi - 0x10]
call fcn.10082afb
cmp byte [ebp - 0xd], 0
jne 0x1007afbd
test bl, bl
jne 0x1007afbd
cmp byte [edi + 0x15], bl
je 0x1007afbd
cmp byte [edi + 0x14], bl
je 0x1007afbd
inc bl
jmp 0x1007afbf
xor bl, bl
lea ecx, [ebp - 0x30]
call fcn.1002740a
mov al, bl
call fcn.100922e2
ret

Function at 0x1007c040
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0xc
mov eax, 0x10099170
call fcn.1009220a
mov ebx, ecx
mov eax, dword [0x100b8f90]
mov esi, 0x100b8f90
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov eax, dword [0x100b8f90]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x2c]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.1005ee9c
mov edi, dword [ebx + 0xc]
jmp 0x1007c0e2
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push 0x10019af8
push eax
call fcn.100827bb
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1007c0e1
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x1007c116
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1007c116
cmp eax, 0xb7
jne 0x1007c0ec
inc edi
cmp edi, 0xffff
jb 0x1007c09d
jmp 0x1007c116
push eax
lea eax, [ebp - 0x14]
push 0x10019b18
push eax
call fcn.100827bb
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
add esp, 0xc
push dword [ebp - 0x14]
push 0
call dword [eax + 4]
lea eax, [ebx + 0x2c]
lea edi, [ebp - 0x10]
call fcn.1005e434
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1007c14e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 0x2c]
lea eax, [ebp - 0x14]
push 0x10019b90
push eax
call fcn.100827bb
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
add esp, 0x10
push dword [ebp - 0x14]
mov ecx, ebx
push 0
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [edi - 0x10]
call fcn.10082afb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.10082afb
call fcn.100922e2
ret
Function at 0x1007cb7e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a13c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
push 0x1000ca5c
lea eax, [esp + 0x14]
push eax
call fcn.1005e2c8
and dword [esp + 0x58], 0
lea eax, [esp + 0x10]
push eax
push 0x10019efc
mov eax, 0x246c
call fcn.1008c9d0
mov edi, esp
lea esi, [ebx + 0x10]
mov dword [esp + 0x2490], esp
call fcn.100810cb
lea edi, [esp + 0x2490]
call fcn.1002f76b
push 0x10019510
lea ecx, [esp + 0x24]
push ecx
mov edi, eax
mov byte [esp + 0x68], 1
call fcn.1005ec33
lea ecx, [esp + 0x1c]
push ecx
mov edi, eax
mov byte [esp + 0x64], 2
call fcn.1005ebdd
mov byte [esp + 0x5c], 3
push dword [eax]
mov edi, dword [ebx + 8]
push 0x1000cab8
lea eax, [esp + 0x30]
push eax
call fcn.10026b7f
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x58], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [ebx + 0x2480]
mov ebx, dword [ebx + 0xc]
push 0xe
push 4
push 2
push eax
call fcn.10073ff6
mov esi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
lea ecx, [esi - 8]
mov dword [esi + 0x2488], eax
call fcn.1007e507
mov ebx, eax
xor eax, eax
cmp ebx, eax
jl 0x1007cceb
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1007ccb5
cmp eax, 0xffffffff
je 0x1007ccb3
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x3c]
push eax
call ebx
test eax, eax
jne 0x1007cc98
lea eax, [esi + 0x24c0]
call fcn.10057f37
cmp byte [esi + 4], 0
je 0x1007cd02
mov eax, dword [esi + 0x24b0]
mov edx, dword [esi - 8]
push eax
lea ecx, [esi - 8]
call dword [edx + 0x38]
mov edi, 0x80004004
jmp 0x1007ccfd
mov eax, dword [esi + 0x24b0]
mov edx, dword [esi - 8]
push eax
lea ecx, [esi - 8]
call dword [edx + 0x38]
mov edi, ebx
call fcn.1007e668
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x5c], 0
call fcn.10026bbb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.10082afb
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1007e426
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100b8210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
test eax, eax
jns 0x1007e44b
xor al, al
jmp 0x1007e4fb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
test eax, eax
js 0x1007e444
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test eax, eax
js 0x1007e444
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100882c0
xor eax, eax
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.100882c0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
push 0
push 0x1001a6ec
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [esi + 0x24b8]
mov edx, dword [esi]
lea ecx, [ebp - 0x414]
push ecx
push 0x1001a6f4
push eax
mov ecx, esi
call dword [edx + 0x44]
pop edi
test eax, eax
js 0x1007e444
mov eax, dword [esi + 0x24b8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
test eax, eax
setns al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084b58
leave
ret
Function at 0x1007ee9f
Capabilities:
Accept command line arguments

Disassembly:
push 0x28
mov eax, 0x100a4563
call fcn.1009220a
xor ebx, ebx
push ebx
push 0x100c05a0
mov esi, 0x100c0488
push esi
push ebx
push dword [ebp + 8]
call fcn.10091ce6
mov edx, dword [eax]
add esp, 0x14
push dword [ebp + 0x10]
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x1007eeea
push 0x38
push 0x1001ab20
mov eax, dword [ebp + 0x14]
call fcn.100665e2
xor eax, eax
inc eax
jmp 0x1007f003
push ebx
push 0x100c04a8
push esi
push ebx
push dword [ebp + 8]
mov byte [ebp + 0x13], bl
call fcn.10091ce6
add esp, 0x14
cmp eax, ebx
je 0x1007ef0f
cmp dword [eax + 0x134], 5
sete byte [ebp + 0x13]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100270b4
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.100276c7
push dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
push ecx
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
push edi
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.1007c172
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1002740a
cmp byte [ebp - 0x11], bl
je 0x1007efa7
cmp byte [ebp + 0x18], bl
je 0x1007ef7d
push 0x22
push 0x1001ab98
jmp 0x1007eeda
cmp dword [ebp + 0xc], 4
je 0x1007ef9b
cmp byte [ebp + 0x13], bl
jne 0x1007ef9b
mov eax, dword [ebp + 0x14]
push 0x21
push 0x1001ac10
call fcn.100665e2
push 2
jmp 0x1007f002
push 0x14
push 0x1001abe0
jmp 0x1007eeda
push dword [ebp + 8]
call fcn.1007f08f
test al, al
je 0x1007efc6
mov eax, dword [ebp + 0x14]
push 0x13
push 0x1001ac54
call fcn.100665e2
push 3
jmp 0x1007f002
push 0x1001ac80
lea eax, [ebp + 8]
push eax
call fcn.1005e2c8
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
push eax
mov eax, dword [ebp + 0x14]
call fcn.100665e2
push dword [ebp + 8]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.10082afb
push 5
pop eax
call fcn.100922e2
ret 0x14
Function at 0x1007feca
Capabilities:
Get file size

Disassembly:
push 0x484
mov eax, 0x1009b1e4
call fcn.10092273
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x480], eax
push 0x5c
pop eax
mov word [ebp - 0x1c], ax
xor eax, eax
mov dword [ebp - 0x478], 0x1001b89c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push 0x10018898
lea eax, [ebp - 0x47c]
push eax
call fcn.1005ebdd
push dword [eax]
lea edi, [ebp - 0x478]
call fcn.10037774
lea ebx, [eax - 1]
mov eax, dword [ebp - 0x47c]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
call fcn.10082afb
inc bl
je 0x10080056
xor eax, eax
cmp dword [ebp - 0x14], eax
je 0x1007ff4f
mov eax, dword [ebp - 0x474]
shr eax, 4
and eax, 1
cmp eax, 1
je 0x1007ffff
lea esi, [ebp - 0x48c]
lea edi, [ebp - 0x478]
call fcn.10037667
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x488], ebx
mov dword [ebp - 0x484], ebx
push ebx
push 0x80
push 3
push 1
mov byte [ebp - 4], 2
mov eax, dword [esi]
push SysReAllocStringLen
push eax
lea edi, [ebp - 0x488]
call fcn.1002b3ee
cmp eax, ebx
jge 0x1007ffc2
push dword [esi]
mov edi, dword [ebp - 0x480]
mov esi, dword [edi + 4]
push 0x1001b050
push 1
call fcn.10026c05
add esp, 0xc
mov esi, ebx
jmp 0x1007ffd7
push ebx
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [ebp - 0x480]
mov esi, eax
cmp dword [ebp - 0x488], ebx
je 0x1007fff1
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x488], ebx
add dword [edi], esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48c]
jmp 0x1008003a
lea esi, [ebp - 0x478]
call fcn.10037726
cmp eax, 1
je 0x10080042
lea esi, [ebp - 0x490]
lea edi, [ebp - 0x478]
call fcn.10037667
push dword [ebp - 0x480]
mov byte [ebp - 4], 3
push eax
call fcn.1007feca
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x490]
add eax, 0xfffffff0
call fcn.10082afb
lea esi, [ebp - 0x478]
call fcn.10037843
cmp eax, 1
je 0x1007ff3c
lea eax, [ebp - 0x478]
mov dword [ebp - 0x478], 0x1001b89c
call fcn.1003786b
call fcn.100922f6
ret 8

Function at 0x1008133f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10081396
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10081388
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x10081384
cmp edi, eax
jae 0x10081388
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x10081376
cmp edi, eax
jb 0x1008138c
xor eax, eax
jmp 0x10081395
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret 8