joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10328e5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp esi, edi
je 0x1032af9
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x1032af9
push ebx
cmp dword [ebp + 0x14], edi
je 0x103297a
push edi
lea ecx, [ebp - 4]
push ecx
push edi
push 2
push edi
push edi
push edi
push dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
test eax, eax
jne 0x103293d
cmp dword [ebp - 4], edi
je 0x103293d
mov dword [ebp - 0xc], 1
jmp 0x1032980
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x1032951
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032a6b
test byte [eax + 0x1c], 1
je 0x1032a6b
push ebx
push 0x1006a60
push 0x15
jmp 0x1032abe
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 0x14], edi
cmp dword [ebp + 0xc], edi
jbe 0x1032a69
mov edi, dword [sym.imp.KERNEL32.dll_RegSetValueExW]
add esi, 0x20c
lea eax, [esi + 0xc]
cmp dword [eax + 4], 0
je 0x1032a54
mov ecx, dword [esi - 0x20c]
dec ecx
je 0x10329f8
sub ecx, 3
jne 0x1032a54
push 4
push eax
push 4
push ecx
lea eax, [esi - 0x208]
push eax
push dword [ebp - 4]
call edi
test eax, eax
je 0x1032a54
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032a6b
test byte [eax + 0x1c], 1
je 0x1032a6b
push 0x1006a60
push 0x16
jmp 0x1032ae9
mov ecx, esi
call fcn.0101482f
test eax, eax
je 0x1032a54
lea eax, [ebp - 8]
push eax
push 1
mov ecx, esi
call fcn.0101482f
push eax
call fcn.010115c7
mov ebx, eax
test ebx, ebx
jl 0x1032a88
mov eax, dword [ebp - 8]
push 2
pop ecx
mul ecx
lea ecx, [ebp - 8]
push ecx
push edx
push eax
call fcn.010232a8
mov ebx, eax
test ebx, ebx
jl 0x1032aa4
push dword [ebp - 8]
mov ecx, esi
call fcn.01015d45
push eax
push 1
push 0
lea eax, [esi - 0x208]
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x1032acb
inc dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add esi, 0x220
cmp eax, dword [ebp + 0xc]
jb 0x1032998
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x1032a80
cmp dword [ebp - 0xc], 1
jne 0x1032a80
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov eax, ebx
pop ebx
jmp 0x1032b22
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032a6b
test byte [eax + 0x1c], 1
je 0x1032a6b
push ebx
push 0x1006a60
push 0x17
jmp 0x1032abe
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032a6b
test byte [eax + 0x1c], 1
je 0x1032a6b
push ebx
push 0x1006a60
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1032a6b
mov ebx, 0x80004005
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032a6b
test byte [eax + 0x1c], 1
je 0x1032a6b
push 0x1006a60
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x1032a6b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1032b1d
test byte [eax + 0x1c], 1
je 0x1032b1d
push 0x1006a60
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov eax, 0x80070057
pop edi
pop esi
leave
ret 0x10
Function at 0x1033a24
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x1039974
call fcn.010372df
mov esi, ecx
lea ecx, [ebp - 0x1c]
call fcn.01014810
xor eax, eax
mov dword [ebp - 4], eax
mov edi, 0x80004005
cmp dword [ebp + 8], eax
je 0x1033b18
cmp dword [ebp + 0xc], eax
je 0x1033b18
mov dword [ebp - 0x10], eax
lea ebx, [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [esi + 4]
mov ecx, ebx
push dword [ebp + 8]
call fcn.01035572
push eax
lea eax, [ebp - 0x1c]
push 0x1006ac4
push eax
call fcn.010157db
mov edi, eax
add esp, 0x18
test edi, edi
jl 0x1033ab9
push 0
lea ecx, [ebp - 0x1c]
call fcn.01015d45
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x1033ae0
cmp eax, 0x50
je 0x1033aab
cmp eax, 0xb7
jne 0x1033b0e
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x32
jb 0x1033a5c
jmp 0x1033b3c
mov eax, dword [section..data]
cmp eax, section..data
je 0x1033b3c
test byte [eax + 0x1c], 1
je 0x1033b3c
push edi
push 0x1006a98
push 0x1d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1033b3c
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0101565e
mov edi, eax
test edi, edi
jge 0x1033b3c
mov eax, dword [section..data]
cmp eax, section..data
je 0x1033b3c
test byte [eax + 0x1c], 1
je 0x1033b3c
push edi
push 0x1006a98
push 0x1e
jmp 0x1033ad3
push eax
call fcn.0100968c
mov edi, eax
jmp 0x1033b3c
mov eax, dword [section..data]
cmp eax, section..data
je 0x1033b3c
test byte [eax + 0x1c], 1
je 0x1033b3c
push 0x1006a98
push 0x1c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.01014822
mov eax, edi
call fcn.010373cb
ret 8
Function at 0x1035005
Capabilities:
Create directory

Disassembly:
push 0x438
mov eax, 0x1039f87
call fcn.01037352
mov esi, ecx
lea ecx, [ebp - 0x438]
call fcn.01014810
xor ebx, ebx
lea ecx, [ebp - 0x444]
mov dword [ebp - 4], ebx
call fcn.01014810
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.01014810
xor eax, eax
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [ebp - 4], 2
mov word [ebp - 0x420], ax
mov word [ebp - 0x218], ax
call fcn.01035572
push eax
call fcn.010109d8
test eax, eax
jne 0x10350c2
push ebx
mov ecx, edi
call fcn.01035572
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, ebx
je 0x10350c2
cmp eax, 0x50
je 0x10350c2
cmp eax, 0xb7
je 0x10350c2
push eax
call fcn.0100968c
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1035258
mov ecx, edi
call fcn.01035572
push eax
call fcn.010107a3
push dword [esi + 0x30]
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0100a010
mov edi, eax
test edi, edi
jge 0x103510e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x26
jmp 0x10350b2
push dword [esi + 0x34]
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.0100a010
mov edi, eax
test edi, edi
jge 0x103514b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x27
jmp 0x10350b2
lea eax, [ebp - 0x218]
push eax
call fcn.01011424
lea eax, [ebp - 0x420]
push eax
call fcn.01011424
lea ecx, [esi + 0x38]
call fcn.010355ad
push eax
mov ecx, esi
call fcn.01034b94
mov edi, eax
test edi, edi
jge 0x10351a0
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x28
jmp 0x10350b2
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.01033a24
mov edi, eax
test edi, edi
jge 0x10351e2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x29
jmp 0x10350b2
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.01015d45
push eax
mov ecx, esi
call fcn.01033b57
mov edi, eax
test edi, edi
jge 0x1035228
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035258
test byte [eax + 0x1c], 1
je 0x1035258
push edi
push 0x1006a98
push 0x2a
jmp 0x10350b2
push 1
lea ecx, [ebp - 0x42c]
call fcn.0101482f
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x42c]
call fcn.01015d45
push eax
push 0x1006c14
lea ecx, [esi + 0x194]
call fcn.01035531
xor edi, edi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.01014822
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0
call fcn.01014822
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.01014822
mov eax, edi
call fcn.010373e4
ret
Function at 0x1035b3c
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x450
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi], eax
cmp eax, ebx
jne 0x1035b92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push edi
push 0x1006f18
push 0xa
jmp 0x1035cfb
push dword [ebp + 0xc]
push ebx
push 0x48
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x1035bda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push edi
push 0x1006f18
push 0xb
jmp 0x1035cfb
lea eax, [esi + 0xc]
push eax
push dword [esi]
call fcn.01012f92
mov edi, eax
cmp edi, ebx
jge 0x1035c12
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push edi
push 0x1006f18
push 0xc
jmp 0x1035cfb
lea ecx, [esi + 0xc]
call fcn.01015d45
push eax
call fcn.010162c4
mov dword [esi + 0x18], eax
cmp eax, ebx
jne 0x1035c5e
mov edi, 0x80070057
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push ebx
push 0x1006f18
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008bcd
jmp 0x1035d0a
cmp dword [ebp + 0x10], ebx
je 0x1035d08
push ebx
push ebx
push 4
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1035cb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1035c99
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push edi
push 0x1006f18
push 0xe
jmp 0x1035cfb
push ebx
push ebx
push ebx
push 4
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
cmp eax, ebx
jne 0x1035d08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1035cdf
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1035d0a
test byte [eax + 0x1c], 1
je 0x1035d0a
push edi
push 0x1006f18
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1035d0a
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1036b0a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x103e010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x18e
xor edi, edi
mov word [ebp - 0x194], ax
lea eax, [ebp - 0x192]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x103ec84], edi
je 0x1036b50
xor eax, eax
inc eax
jmp 0x1036c26
push 0x1007000
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x103ec84], eax
cmp eax, edi
je 0x1036c24
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1006ff4
push eax
call esi
mov dword [0x103ec88], eax
cmp eax, edi
je 0x1036c0d
push 0x1006fe8
push dword [0x103ec84]
call esi
mov dword [0x103ec8c], eax
cmp eax, edi
je 0x1036c0d
push 0x1006fdc
push dword [0x103ec84]
call esi
mov dword [0x103ec90], eax
cmp eax, edi
je 0x1036c0d
push 0x1006fd0
push dword [0x103ec84]
call esi
mov dword [0x103ec94], eax
cmp eax, edi
je 0x1036c0d
push 0x1006fc4
push dword [0x103ec84]
call esi
mov dword [0x103ec98], eax
cmp eax, edi
je 0x1036c0d
push 0x1006fb8
push dword [0x103ec84]
call esi
mov dword [0x103ec9c], eax
cmp eax, edi
je 0x1036c0d
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [0x103ec88]
test eax, eax
jne 0x1036c0d
xor edi, edi
inc edi
jmp 0x1036c23
mov eax, dword [0x103ec84]
cmp eax, edi
je 0x1036c23
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x103ec84], edi
pop esi
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.010084d5
leave
ret

Function at 0x1037b81
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, 0x80070057
test ebx, ebx
jne 0x1037bb7
mov eax, dword [section..data]
cmp eax, section..data
je 0x1037c88
test byte [eax + 0x1c], 1
je 0x1037c88
push 0x100713c
push 0xc
jmp 0x1037bde
cmp dword [ebp + 0xc], 0
jne 0x1037bee
mov eax, dword [section..data]
cmp eax, section..data
je 0x1037c88
test byte [eax + 0x1c], 1
je 0x1037c88
push 0x100713c
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x1037c88
push esi
push 0x1001648
mov esi, 0x104
push esi
push ebx
call fcn.0100cb9c
mov edi, eax
test edi, edi
jge 0x1037c22
mov eax, dword [section..data]
cmp eax, section..data
je 0x1037c87
test byte [eax + 0x1c], 1
je 0x1037c87
push edi
push 0x100713c
push 0xe
jmp 0x1037c4c
push dword [ebp + 0xc]
push esi
push ebx
call fcn.0100cb9c
mov edi, eax
test edi, edi
jge 0x1037c59
mov eax, dword [section..data]
cmp eax, section..data
je 0x1037c87
test byte [eax + 0x1c], 1
je 0x1037c87
push edi
push 0x100713c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x1037c87
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1037c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1037c85
test eax, eax
jle 0x1037c81
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1037c87
xor edi, edi
pop esi
mov eax, edi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1038064
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
xor esi, esi
push 0x2c
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [ebp - 0x38], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 1
push esi
push esi
push esi
push 0x10075d8
push 0x1007580
push 0x80000002
call fcn.01011741
push esi
mov dword [ebp - 8], eax
push 0x30
lea eax, [ebp - 0x38]
push eax
push 3
mov edi, edx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, 0xc0000000
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x10380e5
mov ecx, dword [section..data]
cmp ecx, section..data
je 0x10380f9
test byte [ecx + 0x1c], 1
je 0x10380f9
push eax
push 0x100756c
push 0xa
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01008600
jmp 0x10380f9
mov eax, dword [ebp - 0x2c]
cmp eax, edi
ja 0x10380f9
jb 0x10380f6
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 8]
ja 0x10380f9
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x10382a2
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], eax
cmp eax, 5
jae 0x10383a2
cmp eax, 1
jb 0x10383a2
cmp dword [ebp + 8], 0x80000001
je 0x10382fe
cmp dword [ebp + 8], 0x80000002
je 0x10382fe
mov eax, dword [section..data]
cmp eax, section..data
je 0x10383c6
test byte [eax + 0x1c], 1
je 0x10383c6
push 0x100756c
push 0x2a
jmp 0x10383bb
push esi
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0x20106
push edi
push edi
push edi
push 0x1007628
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x1038343
push eax
call fcn.0100968c
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x103838f
test byte [eax + 0x1c], 1
je 0x103838f
push esi
push 0x100756c
push 0x2b
jmp 0x1038380
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push 0x10074f8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegSetValueExW]
cmp eax, edi
je 0x103838d
push eax
call fcn.0100968c
mov esi, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x103838f
test byte [eax + 0x1c], 1
je 0x103838f
push esi
push 0x100756c
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
jmp 0x103838f
xor esi, esi
cmp dword [ebp - 4], edi
je 0x103839d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x10383cb
mov eax, dword [section..data]
cmp eax, section..data
je 0x10383c6
test byte [eax + 0x1c], 1
je 0x10383c6
push 0x100756c
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov eax, 0x80070057
pop edi
leave
ret 8
Function at 0x10383f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_RegGetValueW]
and dword [ebp - 8], 0
push edi
push 4
pop ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
push 0x10074f8
mov edi, 0x1007628
push edi
push 0x80000001
mov dword [ebp - 4], ebx
call esi
cmp eax, 2
je 0x1038431
xor eax, eax
jmp 0x1038488
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x10
push 0x10075fc
push edi
push 0x80000002
mov dword [ebp - 4], ebx
call esi
mov esi, eax
test esi, esi
je 0x1038480
mov eax, dword [section..data]
cmp eax, section..data
je 0x1038478
test byte [eax + 0x1c], 1
je 0x1038478
push esi
push 0x100756c
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008600
push esi
call fcn.0100968c
jmp 0x1038488
push dword [ebp - 8]
call fcn.010383d5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001585
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x101d054], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xffff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push edi
push 0x100161c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x101d074], eax
call fcn.0100167f
cmp eax, 2
je 0x1004910
push eax
call fcn.01001821
add byte [eax + 0xf], cl
test dword [ebp + 0x27], edx
add byte [eax], al
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x1001600
cmp dword [0x105d4d4], edi
jne 0x1002ab2
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [0x101d074]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1002a84
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1002a84
dec eax
je 0x1001600
mov eax, dword [0x101d074]
cmp eax, edi
jne 0x100491a
call fcn.01003197
test eax, eax
je 0x1001600
call fcn.01002fad
test eax, eax
je 0x1001600
push 0x64
push dword [0x101d054]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov ebx, eax
cmp ebx, edi
je 0x1001600
call fcn.01003db8
mov dword [0x101d074], eax
cmp eax, edi
je 0x1001600
push edi
push edi
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1002a84
call fcn.0100c84f
jmp 0x1001600
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1004938
push 9
push dword [0x101d074]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1001600
push dword [0x101d074]
mov esi, dword [sym.imp.USER32.dll_BringWindowToTop]
call esi
push dword [0x101d074]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ebx, eax
cmp ebx, dword [0x101d074]
je 0x100495f
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1001600
Function at 0x1001821
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
and dword [ebp - 0x214], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x22
je 0x100328d
cmp ax, 0x20
jbe 0x1001873
push esi
call edi
mov esi, eax
cmp word [esi], 0x20
ja 0x1001868
movzx eax, word [esi]
test ax, ax
je 0x1001888
cmp ax, 0x20
ja 0x1001888
push esi
call edi
mov esi, eax
jmp 0x1001873
mov ebx, dword [sym.imp.msvcrt.dll__wcsnicmp]
cmp word [esi], 0x20
je 0x1001f20
movzx eax, word [esi]
cmp ax, 0x2f
je 0x10018a7
cmp ax, 0x2d
jne 0x10018fb
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x100188e
cmp ax, 0x20
je 0x100188e
movzx eax, ax
cmp eax, 0x61
jle 0x1004811
sub eax, 0x65
je 0x1004846
sub eax, 7
je 0x100489c
dec eax
je 0x10032b6
sub eax, 5
je 0x100489c
dec eax
jne 0x10029ca
mov dword [ebp - 0x210], 1
jmp 0x10018a7
xor ebx, ebx
cmp dword [ebp + 8], 1
je 0x10047fe
cmp dword [ebp - 0x214], ebx
jne 0x1004864
cmp word [esi], bx
je 0x10032af
push esi
call fcn.0100269e
cmp dword [ebp + 8], 1
mov edi, eax
je 0x1004855
cmp edi, ebx
je 0x100196e
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, ebx
je 0x1001954
cmp eax, esi
jae 0x1001954
lea edi, [ebp - 0x20c]
push ebx
push edi
push dword [ebp - 0x210]
push ebx
call fcn.010023b8
push ebx
call fcn.0100269e
mov edi, eax
cmp edi, ebx
jne 0x1001937
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4
push esi
call edi
mov esi, eax
jmp 0x100188e
dec eax
dec eax
jne 0x10018a7
jmp 0x1004820
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x10032a0
cmp ax, 0x22
jne 0x100328d
cmp word [esi], 0x22
je 0x1001881
jmp 0x1001873
xor eax, eax
jmp 0x1001971
and dword [0x101d074], 0
jmp 0x10018a7
cmp dword [ebp - 0x210], ebx
je 0x100485d
cmp word [esi], bx
jne 0x1001907
jmp 0x100485d
je 0x100483c
sub eax, 0x41
je 0x100483c
sub eax, 4
jmp 0x10018c9
push 0xb
push 0x10048f8
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10018a7
push 0x10048e4
jmp 0x10048b2
mov dword [0x101d0ec], 4
mov dword [ebp - 0x214], 1
jmp 0x10018a7
cmp edi, ebx
jne 0x1001932
call fcn.0100c84f
jmp 0x10048b7
push esi
call fcn.0100269e
push ebx
mov esi, eax
call fcn.0100269e
cmp dword [ebp + 8], 1
mov edi, eax
jne 0x1004882
cmp esi, ebx
je 0x100485d
cmp edi, ebx
je 0x100485d
push ebx
call fcn.0100269e
test eax, eax
jne 0x10048b7
push edi
push esi
push dword [ebp - 0x210]
push ebx
call fcn.010110e5
jmp 0x10048b7
push 9
push 0x10048d0
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10048b7
push 0x10048c0
call fcn.0100c86b
push 2
pop eax
jmp 0x1001971
Function at 0x1002090
Capabilities:
Read file on windows

Disassembly:
cmp dword [0x101d040], 1
push 0
lea eax, [ebp - 4]
push eax
jne 0x1004a90
push 0x10000
push 0x103d100
push dword [0x105d100]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004a81
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [0x105d110]
and dword [0x105d104], 0
mov dword [0x105d10c], eax
mov eax, dword [ebp - 4]
add dword [0x105d114], eax
test ecx, ecx
je 0x1002064
mov eax, dword [0x105d114]
xor edx, edx
div ecx
cmp eax, 0x64
jbe 0x1002067
push 0x64
pop eax
cmp dword [0x105d118], eax
je 0x10020a9
push eax
mov dword [0x105d118], eax
call fcn.01001f3f
jmp 0x10020a9
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x105d104]
push esi
push edi
cmp eax, dword [0x105d10c]
je 0x1001ffe
mov eax, dword [0x105d104]
cmp eax, dword [0x105d10c]
jge 0x10020d3
mov ax, word [eax*2 + 0x103d100]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
inc dword [0x105d104]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4
xor eax, eax
jmp 0x10020cd
mov dword [0x101d068], 0x82
jmp 0x10020d3
mov edi, 0x10000
push edi
mov esi, 0x101d100
push esi
push dword [0x105d100]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004a81
push edi
push 0x103d100
push dword [ebp - 4]
push esi
push 1
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x1002037