joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c34914
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.01c3dad4
mov ebx, eax
test esi, esi
je 0x1c3494d
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1c3493a
movzx eax, word [eax]
jmp 0x1c34941
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
je 0x1c3494d
test bl, bl
jne 0x1c34953
jmp 0x1c349b0
xor esi, esi
test bl, bl
jne 0x1c349a1
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1c34962
movzx eax, word [eax]
jmp 0x1c34967
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx eax, ax
push eax
push 8
call dword [edx + 0xc]
test al, al
je 0x1c34992
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x1c3498b
add eax, 2
mov dword [ecx + 0xc], eax
jmp 0x1c34920
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x1c34920
mov ecx, edi
call fcn.01c3dad4
mov ebx, eax
test esi, esi
jne 0x1c349b9
jmp 0x1c349aa
mov ecx, edi
call fcn.01c3dad4
mov ebx, eax
test bl, bl
jne 0x1c349d8
jmp 0x1c349de
mov ecx, edi
call fcn.01c3dad4
mov ebx, eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x1c349c6
movzx eax, word [eax]
jmp 0x1c349cd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp ax, 0xffff
sete al
xor bl, al
jne 0x1c349de
mov eax, dword [ebp + 0x10]
or byte [eax], 2
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x1c35df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov dword [esi + 0x88], ebp
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x90]
mov dword [eax - 4], esp
xor edx, edx
dec edx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x1c3e470
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
lea ecx, [esi + 0x20]
mov dword [ecx + 0x60], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ecx + 0x50], xmm0
movdqa xmmword [ecx + 0x40], xmm0
movdqa xmmword [ecx + 0x30], xmm0
movdqa xmmword [ecx + 0x20], xmm0
movdqa xmmword [ecx + 0x10], xmm0
movdqa xmmword [ecx], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0xc], fcn.01c23c00
mov dword [esi + 0x14], edx
mov dword [eax + 8], 1
lea eax, [esi + 4]
mov dword [eax], edx
push eax
call fcn.01c284f8
mov dword [esi + 0x98], 2
lea ecx, [esi + 4]
push 0x1cf01d8
call fcn.01c39e18
mov dword [esi + 0x10], eax
mov al, byte [ebp + 0x14]
lea ecx, [esi + 0x84]
lea edx, [esi + 3]
mov byte [edx], 0
lea edi, [esi + 0x14]
lea ebx, [esi + 8]
movzx eax, al
push ecx
push edi
push ebx
push dword [esi + 0x10]
push edx
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + 4]
lea ecx, [esi + 4]
push ecx
push eax
push dword [esi + 0x1c]
lea eax, [ebp + 0xc]
push eax
call fcn.01c35320
add esp, 0x2c
test al, al
je 0x1c35f50
mov ecx, dword [ebp + 0x20]
cmp byte [ecx + 0xb], 0
js 0x1c35eea
xor eax, eax
mov byte [ecx], al
mov byte [ecx + 0xb], al
jmp 0x1c35ef6
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [esi + 3], 0
je 0x1c35f12
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x2d
call dword [eax + 0x1c]
movsx eax, al
mov ecx, dword [ebp + 0x20]
push eax
call fcn.01c3ee78
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0x30
call dword [eax + 0x1c]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0x14]
lea ebx, [edi - 1]
cmp edx, ebx
jae 0x1c35f3c
lea ecx, [edx + 1]
cmp ebx, ecx
cmova ecx, ebx
cmp byte [edx], al
jne 0x1c35f3c
inc edx
cmp ecx, edx
jne 0x1c35f31
mov edx, ecx
mov dword [esi + 0x98], 2
mov ecx, dword [ebp + 0x20]
push edi
push edx
call fcn.01c3db10
lea eax, [ebp + 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.01c24410
mov edi, dword [ebp + 8]
test al, al
je 0x1c35f69
mov eax, dword [ebp + 0x1c]
or byte [eax], 2
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [esi + 4]
xor eax, eax
dec eax
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1c35f82
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
je 0x1c35fa4
mov dword [esi + 0x98], 0
push eax
call dword [esi + 0xc]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x1c
Function at 0x1c41151
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x38], eax
mov ebx, 0x57
test ecx, ecx
je 0x1c411de
mov edi, edx
test edx, edx
je 0x1c411de
mov esi, ecx
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movups xmmword [eax + 0xc], xmm0
movaps xmmword [eax], xmm0
push 0x1c
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1c411d6
test byte [esp + 0x24], 0xf0
lea ebx, [esp + 0xc]
mov dword [ebx], 0
mov eax, 4
mov ecx, 0x40
cmove ecx, eax
push ebx
push ecx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1c411d6
mov eax, dword [edi]
mov dword [esi], eax
push ebx
push dword [esp + 0x10]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebx, ebx
jmp 0x1c411de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c41bbd
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c41be6
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c41c0d
mov eax, 0x300
mov ecx, ebx
and ecx, eax
cmp ecx, eax
je 0x1c41c0d
cmp edi, 2
mov eax, 0x1cf0ab2
mov ecx, 0x1cf0cb2
cmove ecx, eax
cmp word [ecx], 0
je 0x1c41c20
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.01c8ff11
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c41c0d
cmp byte [0x1cf0ab0], 0
setne al
bt ebx, 8
jb 0x1c41c0d
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c41c0d
cmp edi, 2
mov eax, 0x1cbc814
mov edx, 0x1cbc828
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ebx, byte [eax + 0xb]
test bl, bl
js 0x1c41c7f
mov ecx, ebx
mov esi, eax
mov eax, ebx
jmp 0x1c41c84
mov esi, dword [eax]
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
mov ebx, dword [edx + 4]
mov edi, eax
sub edi, ebx
jb 0x1c41cd2
push ebx
push dword [edx]
push esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
call fcn.01ca4482
mov edx, dword [esp + 0x24]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1c41ce2
add edx, 0x14
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x1c41ca5
jmp 0x1c41d4c
movzx ecx, word [esi + ebx*2]
cmp cx, 0x5c
je 0x1c41cf1
test cx, cx
jne 0x1c41cd2
lea eax, [esi + ebx*2]
mov ebx, dword [edx + 8]
cmp ebx, 1
je 0x1c41d11
cmp ebx, 2
mov esi, ebx
jne 0x1c41d1f
mov dword [esp + 8], str.WOW6432Node
mov dword [esp + 4], eax
jmp 0x1c41d1f
mov dword [esp + 8], str.WOW6432Node_
mov dword [esp + 4], esi
mov esi, ebx
mov dword [esp + 0xc], esi
cmp cx, 0x5c
jne 0x1c41d38
lea esi, [eax + 2]
dec edi
cmp word [eax + 2], 0x5c
mov eax, esi
je 0x1c41d29
jmp 0x1c41d3a
mov esi, eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
xor ecx, ecx
mov edx, eax
mov eax, edi
jmp 0x1c41cda
cmp dword [esp + 0xc], 0
je 0x1c41c0d
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x1c41d64
mov eax, ecx
jmp 0x1c41d66
mov eax, dword [ecx]
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
push dword [esp + 8]
push edx
call fcn.01c3fa52
jmp 0x1c41c0d
Function at 0x1c42bf6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [ebp - 0x28]
mov ecx, esi
push str.type
call fcn.01c3bada
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.01c3bada
push esi
push edi
push ebx
call fcn.01c42c96
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c42c53
push dword [ebp - 0x34]
call fcn.01c8fed0
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x1c42c64
push dword [ebp - 0x28]
call fcn.01c8fed0
add esp, 4
lea esi, [ebp - 0x1c]
mov ecx, esi
call fcn.01c42de4
mov dword [0x1cf10bc], eax
cmp byte [esi + 0xb], 0
jns 0x1c42c84
push dword [ebp - 0x1c]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8ff11
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c42fe6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edi, dword [ebp + 8]
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x18], eax
xor esi, esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1c4303e
mov ebx, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], esi
mov dword [esp + 0x10], esi
cmp eax, 0x7ffffff0
jae 0x1c43126
cmp ebx, 5
jae 0x1c43058
lea edi, [esp + 8]
mov byte [edi + 0xb], bl
mov dword [esp + 4], edi
mov eax, edi
jmp 0x1c43086
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8ff11
mov eax, edi
jmp 0x1c4311e
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x1c4312f
lea eax, [esi + esi]
push eax
call fcn.01c8fea0
add esp, 4
lea edi, [esp + 8]
mov dword [edi], eax
or esi, 0x80000000
mov dword [edi + 8], esi
mov dword [edi + 4], ebx
mov dword [esp + 4], edi
mov ecx, ebx
add ecx, ebx
push ecx
push 0
push eax
mov esi, eax
call fcn.01c93b00
add esp, 0xc
mov word [esi + ebx*2], 0
mov esi, dword [esp + 4]
cmp byte [esi + 0xb], 0
jns 0x1c430ac
mov edi, dword [esp + 8]
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
movzx ecx, byte [esi + 0xb]
test eax, eax
mov ebx, dword [ebp + 8]
je 0x1c430f7
mov edx, ecx
test cl, cl
jns 0x1c430cc
mov edx, dword [esp + 0xc]
cmp eax, edx
jae 0x1c430f7
xor esi, esi
lea edi, [esp + 8]
mov ecx, edi
push esi
push eax
call fcn.01c3f330
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
movsd xmm0, qword [edi]
movsd qword [ebx], xmm0
mov dword [edi + 4], esi
mov dword [edi], esi
mov dword [edi + 8], esi
jmp 0x1c43111
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
test cl, cl
jns 0x1c43111
push dword [esp + 8]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 8]
call fcn.01c3e7c4
call fcn.01ca281e
Function at 0x1c434a7
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov ebx, dword [ebp + 8]
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x20], eax
cmp byte [ebx + 0xb], 0
mov esi, ebx
jns 0x1c434cb
mov esi, dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1c434f5
test al, 0x10
jne 0x1c43539
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_conflicts_with_an_existing_file.___n
call fcn.01c4363e
add esp, 0xc
xor ebx, ebx
jmp 0x1c43629
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0xb]
mov ecx, ebx
test al, al
jns 0x1c43512
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
test eax, eax
je 0x1c4358e
lea edx, [ecx + eax*2]
add edx, 0xfffffffe
add eax, eax
neg eax
movzx edi, word [edx]
cmp di, 0x5c
je 0x1c43553
cmp di, 0x2f
je 0x1c43553
add edx, 0xfffffffe
add eax, 2
jne 0x1c43520
jmp 0x1c4358e
push esi
push str.RecursiveDirectoryCreate
push str._hs___ls_directory_exists___n
call fcn.01c4363e
add esp, 0xc
mov bl, 1
jmp 0x1c43629
sub edx, ecx
cmp edx, 0xfffffffe
je 0x1c4358e
sar edx, 1
lea eax, [ebx + 0xc]
lea edi, [esp + 4]
mov ecx, edi
push eax
push edx
push 0
push ebx
call fcn.01c3f1c0
movsd xmm0, qword [edi]
lea eax, [esp + 0x10]
movsd qword [eax], xmm0
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
push eax
call fcn.01c434a7
add esp, 4
test al, al
je 0x1c43607
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x1c43616
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1c435f6
mov dword [esp], eax
lea edi, [esp + 4]
mov ecx, edi
push esi
call fcn.01c3bada
cmp byte [edi + 0xb], 0
jns 0x1c435c3
mov edi, dword [esp + 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
cmp byte [esp + 0xf], 0
jns 0x1c435ef
push dword [esp + 4]
mov edi, eax
call fcn.01c8fed0
mov eax, edi
add esp, 4
test al, al
mov eax, dword [esp]
jne 0x1c43616
push eax
push esi
push str.Failed_to_create_directory__ls__last_error_is__d_n
call fcn.01c4363e
add esp, 0xc
jmp 0x1c43614
push str.Failed_to_create_one_of_the_parent_directories
call fcn.01c4363e
add esp, 4
xor ebx, ebx
cmp byte [esp + 0x1b], 0
jns 0x1c43629
push dword [esp + 0x10]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c4363e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 8]
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp + 0xc]
mov dword [ebp - 0x14], edi
call fcn.01c23bf1
mov ebx, 0x1cf10c0
push edi
push 0
push esi
push 0x400
push ebx
push dword [eax + 4]
push dword [eax]
call fcn.01c94c3e
add esp, 0x1c
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8ff11
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c43cbc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x216]
push 0x206
push 0xff
push esi
call fcn.01c93b00
add esp, 0xc
mov word [esi - 2], 0
mov edi, 0xfffffff4
lea ebx, [ebp - 0x218]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov eax, dword [edi + str.PROGRAMW6432]
mov word [ebp - 0x218], 0
push 0x104
push ebx
push eax
call esi
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x1c43d36
push dword [ebp + 8]
push eax
push ebx
call fcn.01c43c50
add esp, 0xc
test al, al
jne 0x1c43d3f
add edi, 4
jne 0x1c43d02
xor ebx, ebx
jmp 0x1c43d41
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c44338
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cf18c0]
test eax, eax
jne 0x1c4441c
mov edi, 0xc
push edi
call fcn.01c8fea0
add esp, 4
mov esi, eax
xor ebx, ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1cf18c0], eax
push edi
call fcn.01c8fea0
add esp, 4
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [0x1cf18c4], eax
call fcn.01c42a8c
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x28]
push str.user_data_dir
call fcn.01c3bada
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x34]
push eax
call fcn.01c3bada
lea ebx, [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.01c42c96
add esp, 0xc
push edi
push esi
push dword [ebp - 0x38]
push ebx
call fcn.01c43f38
add esp, 0x10
mov byte [ebp - 0x38], al
cmp byte [ebx + 0xb], 0
jns 0x1c443ef
push dword [ebp - 0x1c]
call fcn.01c8fed0
add esp, 4
cmp byte [ebp - 0x29], 0
jns 0x1c44400
push dword [ebp - 0x34]
call fcn.01c8fed0
add esp, 4
cmp byte [ebp - 0x1d], 0
jns 0x1c44411
push dword [ebp - 0x28]
call fcn.01c8fed0
add esp, 4
cmp byte [ebp - 0x38], 0
je 0x1c4443d
mov eax, dword [0x1cf18c0]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
call fcn.01c3f28c
mov bl, 1
test esi, esi
je 0x1c4443f
mov ecx, esi
push dword [0x1cf18c4]
call fcn.01c3f28c
jmp 0x1c4443f
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c44e40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ecx], 0
test ebx, ebx
je 0x1c44e92
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
add eax, 1
cmp eax, 2
jb 0x1c44e7c
call fcn.01c4fdc0
push dword [esi]
call fcn.01c4fdd0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1c44e8b
mov dword [esi], ebx
call fcn.01c4fdc0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, ebx
je 0x1c44ea9
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
int3
Function at 0x1c4aa86
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.LOCALAPPDATA
push esi
call fcn.01c42fe6
add esp, 8
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c4aac0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1c4aaf3
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov edi, dword [ebp - 0x14]
mov dword [esi + 8], edi
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
movzx eax, byte [esi + 0xb]
test al, al
js 0x1c4ab4a
mov ecx, esi
jmp 0x1c4ab4f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4ab90
mov edi, eax
inc edi
mov ecx, esi
push 0
push edi
call fcn.01c3f330
cmp byte [ebp - 0x11], 0
jns 0x1c4ab1b
mov esi, dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x1c4abb5
movzx ecx, byte [ebp - 0x11]
test cl, cl
jns 0x1c4ab36
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jae 0x1c4abb5
lea ecx, [ebp - 0x1c]
push 0
push eax
call fcn.01c3f330
jmp 0x1c4aac4
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 0xc]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1c4ab63
mov ecx, esi
push 0x5c
call fcn.01c3f8c8
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1c4ab70
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov ecx, esi
push eax
push edi
call fcn.01c3f5f8
mov ecx, esi
push 0x5c
call fcn.01c3f8c8
mov ecx, esi
push str.User_Data
call fcn.01c3f7b8
mov bl, 1
cmp byte [ebp - 0x11], 0
jns 0x1c4aba1
push dword [ebp - 0x1c]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8ff11
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x1c4ab90
Function at 0x1c4c712
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x38], eax
cmp dword [0x1cf1988], 0
jne 0x1c4c8e3
push 0x64
call fcn.01c8fea0
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c4abf2
mov dword [0x1cf1988], esi
mov ecx, esi
call fcn.01c4acf2
test al, al
je 0x1c4c8e3
xor eax, eax
dec eax
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [esp + 0x20]
mov ecx, esi
push str.type
call fcn.01c3bada
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edi, [esp + 0x10]
mov ecx, edi
push eax
call fcn.01c3bada
push esi
push edi
push ebx
call fcn.01c42c96
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c4c7ac
push dword [esp + 0x10]
call fcn.01c8fed0
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c4c7bf
push dword [esp + 0x20]
call fcn.01c8fed0
add esp, 4
push 0x1cbdc3c
call fcn.01ca7914
add esp, 4
movzx ecx, byte [esp + 0x37]
test cl, cl
jns 0x1c4c7d9
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x1c4c7f8
lea ecx, [esp + 0x2c]
push eax
push 0x1cbdc3c
push 0xffffffffffffffff
push 0
call fcn.01c3fe3a
test eax, eax
je 0x1c4c8d0
push dword [0x1cf1988]
call fcn.01c26e70
add esp, 4
mov ecx, dword [0x1cf1988]
movzx eax, byte [ecx + 0x63]
test al, al
jns 0x1c4c817
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1c4c85c
push ebx
push esi
call fcn.01c42e7f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c4c832
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push ecx
call fcn.01c468f8
add esp, 8
cmp byte [esp + 0x2b], 0
jns 0x1c4c8d0
push dword [esp + 0x20]
call fcn.01c8fed0
add esp, 4
jmp 0x1c4c8d0
mov ecx, esi
call fcn.01c531b0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push ebx
mov ebx, eax
push eax
call fcn.01c42e7f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c4c88e
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push edi
push ebx
push ecx
call fcn.01c46b46
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x1c4c8b4
push dword [esp + 4]
call fcn.01c8fed0
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x1c4c8c7
push dword [esp + 0x10]
call fcn.01c8fed0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.01c532d0
cmp byte [esp + 0x37], 0
jns 0x1c4c8e3
push dword [esp + 0x2c]
call fcn.01c8fed0
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8ff11
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c4d6fa
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1c4d7dc
mov ebx, ecx
mov eax, dword [ecx + 4]
mov edx, dword [eax + 0x3c]
cmp dword [eax + edx + 0x74], 0
je 0x1c4d7dc
cmp word [eax + edx + 0x14], 0x68
jb 0x1c4d7dc
mov esi, dword [ebx]
mov ecx, ebx
push dword [eax + edx + 0x78]
call dword [esi + 4]
test eax, eax
je 0x1c4d7dc
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, 0xffff
ja 0x1c4d754
mov word [edi], ax
jmp 0x1c4d809
mov eax, dword [ebx]
mov ecx, ebx
push dword [esi + 0x20]
call dword [eax + 4]
mov edx, eax
mov eax, dword [esi + 0x18]
lea ecx, [eax*4]
test ecx, ecx
je 0x1c4d7dc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], ebx
lea edi, [edx + eax*4]
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
mov ebx, edx
mov eax, edi
sub eax, ebx
mov ecx, eax
sar ecx, 2
shr eax, 0x1f
add eax, ecx
and eax, 0xfffffffe
lea esi, [ebx + eax*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [esi]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
test cl, cl
je 0x1c4d7b9
mov edx, dword [ebp - 0x1c]
cmp cl, byte [eax]
jne 0x1c4d7bb
inc eax
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1c4d7ad
xor ecx, ecx
movzx ecx, cl
movzx eax, byte [eax]
mov edx, ecx
sub edx, eax
test edx, edx
lea edx, [esi + 4]
cmovg ebx, edx
cmovle edi, esi
cmp ecx, eax
je 0x1c4d7e8
xor eax, eax
cmp ebx, edi
jne 0x1c4d783
jmp 0x1c4d7de
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edi, dword [ebp - 0x18]
push dword [edi + 0x24]
call dword [eax + 4]
sub esi, dword [ebp - 0x14]
sar esi, 1
movzx eax, word [eax + esi]
add ax, word [edi + 0x10]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
mov al, 1
jmp 0x1c4d7de