joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b9d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0041f230
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x45ba67
lea eax, [ebp - 0x14]
push eax
call fcn.0045a250
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45ba3d
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6d8]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0x14

Function at 0x45ed40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4899fb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4af3d4]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], 0
cmp dword [edi + 4], 0
jne 0x45edeb
lea eax, [ebp - 0xa4]
push eax
call fcn.0045e890
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.00412e10
push eax
mov ecx, edi
call fcn.00410780
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0041ff50
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.004129a0
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040fc20
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0040f140
test bl, bl
je 0x45ee28
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.0046756e
mov esp, ebp
pop ebp
ret 4
Function at 0x45ee80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041d030
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x45ef11
lea eax, [ebp - 0x14]
push eax
call fcn.0045e890
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45eee7
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x45f020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.0041f230
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x45f0b7
lea eax, [ebp - 0x14]
push eax
call fcn.0045e890
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x45f08d
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.00450b90
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046756e
mov esp, ebp
pop ebp
ret 0x14
Function at 0x460f50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x460f70
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x460fa2
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x460f9f
inc esi
cmp esi, edx
jb 0x460f90
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4610cc
cmp ecx, 3
jbe 0x460fe2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x461020
cmp cl, 0xff
je 0x461020
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x460f84
dec ecx
shl eax, cl
and eax, 7
je 0x460fba
movzx ecx, byte [eax + 0x493a1c]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x493a14], 0
mov cl, byte [edx + 4]
je 0x46100a
test cl, cl
je 0x46100a
cmp cl, 0xff
jne 0x460fba
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x460f84
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x46104e
lea edx, [edi + ebx]
add edx, esi
jmp 0x461054
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x461092
movzx edi, byte [eax + 0x493a1c]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x46107e
cmp cl, 0xff
jne 0x461092
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x461041
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x460f84
pop edi
pop esi
cmp ecx, 3
jbe 0x4610e1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebp
push ebx
push edi
call fcn.00404620
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x401110
push esi
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004092d0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.004092d0
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x41be70
cmp word [esi], 0
je 0x4010a7
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x214]
push 0x104
push eax
call fcn.004057c3
push esi
lea ecx, [esp + 0x220]
push 0x104
push ecx
call fcn.00405832
add esp, 0x18
add esi, 0x118
cmp esi, 0x41c3e8
jl 0x401074
mov esi, 0x41be70
lea ebx, [ebx]
cmp word [esi], 0
je 0x4010d3
push 1
push ebx
push edi
push esi
call fcn.00405280
add esp, 0x10
add esi, 0x118
cmp esi, 0x41c3e8
jl 0x4010c0
push 0x41cc40
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.00405832
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
jne 0x40110e
mov ebp, 2
mov eax, ebp
mov ecx, dword [esp + 0x414]
pop ebp
xor ecx, esp
call fcn.004057b4
add esp, 0x414
ret
Function at 0x4013f0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x41bda0
push 0x67
push esi
call edi
push 0x64
push 0x41bcd8
push 0x6d
push esi
call edi
mov eax, esi
call fcn.004015b0
push 0
push esi
push 0
push 0
push 0
push closesocket
push 0
push closesocket
push 0xcf0000
push 0x41bda0
push 0x41bcd8
push 0
mov dword [0x41be68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401482
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004057b4
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x41b070
call fcn.004029e0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x7d0
call esi
call fcn.00401f90
test eax, eax
je 0x4014bb
call fcn.004034f0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401a50
test eax, eax
je 0x40146a
test byte [0x41c3ec], 7
je 0x4014d2
call fcn.00401130
mov eax, dword [0x41c6c8]
test eax, eax
jbe 0x4014ff
cmp word [0x41c6cc], 0
jbe 0x4014ff
push 0x41b07c
push eax
call fcn.004042a0
mov ax, word [0x41c6cc]
add esp, 8
mov word [0x41b08c], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, edx
xor edx, edx
shr eax, 6
mov ecx, 0x3e8
div ecx
push edx
push 0x41823c
mov edx, 0x41cc40
call fcn.00401c30
call fcn.00404350
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.004092d0
add esp, 0x14
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41cc40
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.00405832
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4015a1
push 0x1f4
call esi
push 1
push 0
push 0x418254
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
xor ebx, ebx
mov word [esp + 0x220], ax
call fcn.004092d0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.004092d0
add esp, 0x18
push 0x104
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push 0x418258
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
xor edx, edx
push 0x41829c
push ecx
mov word [esp + 0x228], dx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017a6
mov ebx, 1
push 0x4182a8
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4182f0
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017d1
or ebx, 2
push 0x418300
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x41834c
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017fc
or ebx, 4
push 0x418358
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4183ac
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x40182a
or ebx, 0x100
push 0x4183b8
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x41840c
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x401858
or ebx, 0x200
push 0x418418
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x418478
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x401886
or ebx, 0x400
mov ecx, dword [esp + 0x41c]
pop edi
mov eax, ebx
pop esi
pop ebx
xor ecx, esp
or eax, 0x2000000
call fcn.004057b4
add esp, 0x414
ret
Function at 0x401a50
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x3a8
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a2]
push ecx
mov word [esp + 0x1a4], ax
call fcn.004092d0
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x41c840
call fcn.00401c50
test eax, eax
jne 0x401b69
jmp 0x401ab0
movzx ecx, word [eax + 0x418484]
mov word [eax + 0x41c9e8], cx
add eax, 2
test cx, cx
jne 0x401ab0
push 0x418490
push 0x40
push 0x41c844
call fcn.004057c3
add esp, 0xc
push 0x4184ac
push 0x10
push 0x41c8c6
call fcn.004057c3
add esp, 0xc
push 0x4184b8
push 0x40
push 0x41c8e6
call fcn.004057c3
mov eax, 0x51
mov ecx, 0x2b70
add esp, 0xc
mov word [0x41c8c4], ax
mov word [0x41c966], cx
xor eax, eax
jmp 0x401b20
movzx ecx, word [eax + 0x4184d4]
mov word [eax + 0x41c9c8], cx
add eax, 2
test cx, cx
jne 0x401b20
mov eax, 0x41c9c8
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401b40
mov edx, dword [0x4184e4]
mov cx, word [0x4184e8]
mov dword [eax], edx
mov word [eax + 4], cx
mov dword [0x41ca08], 5
call fcn.00403ab0
lea edx, [esp + 0x198]
push edx
call fcn.004039a0
add esp, 4
xor eax, eax
movzx ecx, word [esp + eax + 0x198]
mov word [eax + 0x41c800], cx
add eax, 2
test cx, cx
jne 0x401b80
push 0x41c800
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401bcc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.004057b4
add esp, 0x3a8
ret
push 0x41c800
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401bb4
push 0x4184ec
call fcn.00403bd0
add esp, 4
mov dword [0x41c6c8], eax
call fcn.004018b0
push 0
push 0
push 0
push 0x404150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x3a4]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004057b4
add esp, 0x3a8
ret
Function at 0x401cf0
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x401e03
cmp esi, ebx
je 0x401e03
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401d20
sub eax, edx
sar eax, 1
je 0x401e03
push 0x206
lea ecx, [esp + 0xe]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x14], ax
call fcn.004092d0
add esp, 0xc
cmp dword [esp + 0x218], ebx
jne 0x401d8a
cmp dword [0x41b070], 3
jne 0x401d8a
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x417f48
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.00405832
add esp, 0xc
jmp 0x401d9a
lea edx, [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00405832
push 0x417f4c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call fcn.00405b15
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, ebx
je 0x401e03
push eax
push 1
push 0x200
push edi
call fcn.00405e08
mov eax, dword [esp + 0x14]
push eax
call fcn.00405e9c
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004057b4
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004057b4
add esp, 0x210
ret

Function at 0x401ec0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0xe]
xor eax, eax
push edi
push ecx
mov word [esp + 0x14], ax
call fcn.004092d0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x401f72
lea edx, [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x417f6c
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00405832
push 0x417f88
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00405b15
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x401f57
push eax
push 1
push 0x200
push esi
call fcn.0040607a
mov eax, dword [esp + 0x14]
push eax
call fcn.00405e9c
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004057b4
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
xor ecx, esp
call fcn.004057b4
add esp, 0x210
ret
Function at 0x402820
Capabilities:
Delete file

Disassembly:
sub esp, 0x414
mov eax, dword [0x41a04c]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x212]
push ecx
mov word [esp + 0x214], ax
call fcn.004092d0
add esp, 0xc
push 0x200
xor esi, esi
lea edx, [esp + 0xc]
push esi
push edx
call fcn.004092d0
add esp, 0xc
lea ebx, [esp + 8]
call fcn.00401e20
test eax, eax
je 0x402966
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x4180b0]
mov word [eax + 0x41c4f8], cx
add eax, 2
test cx, cx
jne 0x402880
xor eax, eax
jmp 0x4028a0
movzx ecx, word [esp + eax + 0x8e]
mov word [eax + 0x41c3f0], cx
add eax, 2
test cx, cx
jne 0x4028a0
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0xc]
mov word [eax + 0x41c470], cx
add eax, 2
test cx, cx
jne 0x4028c0
cmp dword [0x41b070], 3
mov ax, word [esp + 0x8c]
mov cx, word [esp + 0x12e]
mov word [0x41c4f0], ax
mov word [0x41c578], cx
mov dword [0x41c57c], 5
je 0x402910
lea edx, [esp + 0x208]
push edx
push 1
jmp 0x40291a
lea eax, [esp + 0x208]
push eax
push 0
call fcn.00403300
add esp, 8
push 0x4180cc
lea ecx, [esp + 0x20c]
push 0x104
push ecx
call fcn.00405832
add esp, 0xc
lea edx, [esp + 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004057b4
add esp, 0x414
ret
mov ecx, dword [esp + 0x414]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004057b4
add esp, 0x414
ret

Function at 0x4029e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x41a04c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x134], cx
push 0x11c
push 0
lea edx, [ebp - 0x130]
push edx
call fcn.004092d0
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402aa2
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 4], edx
mov ax, word [ebp - 0x1c]
mov word [ebp - 0x134], ax
cmp dword [ebp - 8], 5
jne 0x402a7c
cmp dword [ebp - 4], 2
jae 0x402a73
cmp dword [ebp - 4], 1
jne 0x402a7c
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
cmp dword [ebp - 8], 6
jne 0x402aa2
cmp dword [ebp - 4], 0
jne 0x402a93
mov edx, dword [ebp + 8]
mov dword [edx], 4
jmp 0x402aa2
cmp dword [ebp - 4], 1
jne 0x402aa2
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004057b4
mov esp, ebp
pop ebp
ret
Function at 0x402ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x41a04c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004092d0
add esp, 0xc
cmp dword [0x41b070], 3
jne 0x402b18
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x417af4
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.00405832
add esp, 0xc
jmp 0x402b2a
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push 0x417dcc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004057b4
mov esp, ebp
pop ebp
ret

Function at 0x402df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x41a04c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0xffffffff
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004092d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [ebp - 0x210]
sub eax, 0x41
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call fcn.00403050
add esp, 8
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00403170
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x402e9a
xor eax, eax
jmp 0x402ead
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call fcn.00402c30
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004057b4
mov esp, ebp
pop ebp
ret

Function at 0x402fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x402ff3
jmp 0x403044
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x200
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040d500
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret