joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4017fd
Capabilities:
Get common file path

Disassembly:
jmp 0x411864
push esi
mov esi, 0x104
push edi
mov edi, dword [esp + 0xc]
push esi
push 0
push edi
call fcn.0043e8a0
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.360seFeedBack
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
pop edi
pop esi
ret

Function at 0x401834
Capabilities:
Check if file exists

Disassembly:
jmp 0x41f312
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00401564
pop ecx
test eax, eax
pop ecx
jne 0x41f365
mov esi, dword [esp + 8]
test esi, esi
je 0x41f365
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f365
push esi
call fcn.0043d270
test eax, eax
pop ecx
je 0x41f365
push esi
call fcn.004015f0
test eax, eax
pop ecx
jne 0x41f365
push 1
call fcn.0043cec0
push eax
push esi
call fcn.0043d150
add esp, 0xc
xor eax, eax
pop esi
ret
push 1
pop eax
pop esi
ret

Function at 0x40186b
Capabilities:
Create process on windows

Disassembly:
jmp 0x40f619
mov eax, 0x4652f4
call fcn.0043da24
sub esp, 0x54
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
xor esi, esi
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
or dword [ebp - 0x34], 1
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x10]
mov dword [ebp - 0x60], 0x44
mov word [ebp - 0x30], ax
mov eax, dword [0x475eb0]
mov dword [ebp + 0x10], eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.00401d48
add esp, 0x10
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x208
call fcn.0040220c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp + 0x10]
mov edi, eax
call fcn.00401221
cmp edi, esi
je 0x40f6c0
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4018de
Capabilities:
Hide graphical window

Disassembly:
jmp 0x41d16f
cmp dword [esp + 8], 0
push edi
mov edi, ecx
je 0x41d1ca
push ebx
push esi
mov esi, 0x48f
push 0x9c84
push esi
call fcn.00401c17
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push dword [edi + 4]
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [edi + 4]
call ebx
mov ecx, dword [esp + 0x10]
push 1
mov edx, dword [ecx + 4]
mov esi, dword [ecx]
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
sub edi, edx
sub ecx, esi
push edi
push ecx
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebx
jmp 0x41d1e1
push 0x48f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret 8
Function at 0x401979
Capabilities:
Hide graphical window

Disassembly:
jmp 0x413c30
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x4019b5
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x428452
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x28]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x4019dd
Capabilities:
Hide graphical window

Disassembly:
jmp 0x413c0a
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00401721
push 7
call fcn.0040204a
pop ecx
pop esi
ret

Function at 0x401a28
Capabilities:
Check os version
Get common file path

Disassembly:
jmp 0x410565
mov eax, 0x4653a4
call fcn.0043da24
sub esp, 0x330
push esi
push edi
mov esi, 0x11c
xor edi, edi
push esi
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.0043e8a0
add esp, 0xc
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4105c0
cmp dword [ebp - 0x130], 6
jne 0x4105c0
cmp dword [ebp - 0x12c], 2
jne 0x4105c0
push 1
pop eax
jmp 0x410651
push edi
lea eax, [ebp - 0x33c]
push 0x25
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x475eb0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push 0x476cb8
push eax
call fcn.00401d48
mov esi, 0x476c94
add esp, 0xc
mov eax, esi
test eax, eax
je 0x410606
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00402969
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call fcn.004020ef
add esp, 0xc
test eax, eax
je 0x410643
mov eax, dword [ebp - 0x14]
shr eax, 0x10
cmp ax, 6
jne 0x410643
cmp word [ebp - 0x14], 2
jne 0x410643
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x401a64
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x41e120
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x20]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret
Function at 0x401b9a
Capabilities:
Check if file exists

Disassembly:
jmp 0x41791d
mov eax, 0x465a9f
call fcn.0043da24
sub esp, 0x20
push ebx
and dword [ebp - 0x2c], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
jl 0x41794e
mov dword [ebp - 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x417960
mov ecx, dword [0x475eb0]
push eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
call fcn.004016fe
push 1
lea eax, [esi + 0x20]
pop ebx
push 0x4763cc
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
call fcn.004016e5
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp + 0xc]
push dword [ebp - 0x18]
push eax
call fcn.004016e5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.004021e9
cmp dword [edi], ebx
jne 0x4179ca
mov eax, dword [ebp + 0xc]
push str..zip
lea ecx, [ebp + 0xc]
mov eax, dword [eax - 8]
push eax
call fcn.0040220c
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp + 0xc]
call fcn.00401221
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0xc]
jl 0x4179e2
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4179f3
mov eax, dword [0x475eb0]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.004016fe
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
push dword [eax - 8]
call fcn.0040220c
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00401221
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401267
push dword [ebp + 0xc]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 6
call edi
test eax, eax
je 0x417aba
mov eax, dword [0x475eb0]
mov dword [ebp - 0x18], eax
push dword [esi + 0x24]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push 0x4772d4
push eax
call fcn.00401d48
add esp, 0xc
lea eax, [ebp - 0x18]
inc dword [esi + 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401172
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00401172
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.004016c2
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call fcn.004021e9
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004021e9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004021e9
push dword [ebp + 0xc]
jmp 0x417a35
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004023ce
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004021e9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004021e9
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004021e9
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x401dd4
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x40d117
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401ded
Capabilities:
Get graphical window text

Disassembly:
jmp 0x41ca2f
mov eax, 0x466227
call fcn.0043da24
push ecx
push ecx
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, 0x20002
push edi
mov ebx, ecx
push esi
call fcn.0043da43
mov edi, eax
push esi
push 0
push edi
call fcn.0043e8a0
add esp, 0x10
push 0x10000
push edi
push dword [ebx + 0x26c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
lea ecx, [ebp - 0x10]
call fcn.00401267
push 1
pop esi
push edi
mov dword [ebp - 4], esi
call fcn.0043259a
pop ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push eax
call fcn.004023ce
mov dword [ebp - 0x14], esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x401e92
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x4262b9
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret

Function at 0x401e97
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40cfb0
cmp dword [esp + 4], 0x64
push esi
mov esi, ecx
jne 0x40cfe5
and dword [esi + 0x50], 0
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 0x64
push dword [esi + 4]
call edi
push 0x65
push dword [esi + 4]
call edi
push 0
push 0x14
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
jmp 0x40d04a
cmp dword [esp + 8], 0x65
jne 0x40d04a
cmp dword [esi + 0x50], 0
je 0x40d012
add dword [esi + 0x4c], 0xa
mov ecx, dword [esi + 0x4c]
mov eax, 0xff
cmp ecx, eax
jl 0x40d036
push 0x65
mov dword [esi + 0x4c], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x40d036
add dword [esi + 0x4c], 0xfffffff6
cmp dword [esi + 0x4c], 0
jg 0x40d036
and dword [esi + 0x4c], 0
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esi + 0x4c]
push 3
push eax
push 0xff00ff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
pop esi
ret 4

Function at 0x401f5f
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x414243
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret
Function at 0x401f82
Capabilities:
Check if file exists

Disassembly:
jmp 0x4064ae
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00401564
pop ecx
test eax, eax
pop ecx
jne 0x4064f6
mov esi, dword [esp + 8]
test esi, esi
je 0x4064f2
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4064f6
push esi
call fcn.004015f0
test eax, eax
pop ecx
jne 0x4064f6
push 1
call fcn.0043cec0
push eax
push esi
call fcn.0043d150
add esp, 0xc
xor eax, eax
pop esi
ret
push 1
pop eax
pop esi
ret
Function at 0x402126
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x406acb
mov eax, 0x46494c
call fcn.0043da24
sub esp, 0xa1c
mov ax, word [0x47ed6c]
push ebx
push esi
mov esi, ecx
push edi
mov word [ebp - 0x228], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x226]
push 1
rep stosd dword es:[edi], eax
xor edx, edx
pop ebx
cmp dword [ebp + 0xc], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x104
stosw word es:[edi], ax
jne 0x406b20
mov eax, dword [esi]
cmp dword [eax - 8], edx
jne 0x406cc1
cmp dword [esi + 0xc], edx
mov edi, 0x4763d0
je 0x406b5b
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x228]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
push ecx
push dword [esi + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x228]
push eax
call fcn.0043e55c
test eax, eax
pop ecx
jne 0x406b6a
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0043e9ce
pop ecx
pop ecx
lea eax, [ebp - 0x228]
test eax, eax
je 0x406b81
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x228]
push ecx
push eax
mov ecx, esi
call fcn.0040294b
mov eax, dword [0x475eb0]
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00401e9c
test eax, eax
je 0x406bad
mov eax, dword [ebp - 0x10]
mov word [eax], 0x5c
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push ebx
push eax
mov ecx, esi
call fcn.004016a9
push dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 1
push eax
call fcn.0043e96f
pop ecx
test eax, eax
pop ecx
je 0x406c28
mov eax, dword [0x475eb0]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.00401e9c
test eax, eax
je 0x406bef
mov eax, dword [ebp + 0xc]
mov word [eax], 0x2f
lea eax, [ebp - 0x18]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004016a9
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0043e96f
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 0x18]
inc bl
call fcn.004021e9
lea ecx, [ebp + 0xc]
call fcn.004021e9
test bl, bl
je 0x406c2a
mov bl, 1
lea ecx, [ebp - 0x14]
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
test bl, bl
je 0x406c52
mov eax, dword [esi]
push 1
mov ecx, esi
mov eax, dword [eax - 8]
dec eax
push eax
call fcn.0040237e
lea eax, [ebp - 0xa28]
push 0x400
xor ebx, ebx
push eax
push ebx
call fcn.00401fc8
add esp, 0xc
cmp dword [esi + 8], ebx
jle 0x406c81
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc ebx
cmp ebx, dword [esi + 8]
jl 0x406c6e
push dword [esi]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xa28]
push eax
push 0
call fcn.004026d0
pop ecx
test eax, eax
pop ecx
jne 0x406cc1
mov eax, edi
test eax, eax
je 0x406cb8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.0040294b
mov ecx, dword [ebp + 8]
push esi
call fcn.004023ce
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4021bc
Capabilities:
Get graphical window text

Disassembly:
jmp 0x415c9c
mov eax, 0x4658b8
call fcn.0043da24
sub esp, 0x210
push ebx
mov ebx, dword [0x47ed30]
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x44]
mov dword [ebp - 0x1c], ebx
push edi
call fcn.004023ce
and dword [ebp - 4], 0
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x415d6a
mov eax, dword [edi]
cmp dword [eax - 8], 0
jne 0x415d3a
and word [ebp - 0x21c], 0
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x21a]
push 0x100
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
test eax, eax
je 0x415d2a
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0040294b
and dword [ebp - 0x18], 0
push 0x494
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x29cd
push eax
call fcn.00402621
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x415d6a
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x10], 0
push 0x487
push dword [esi + 4]
call ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x29cd
push eax
call fcn.00402621
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x415da6
mov ecx, dword [eax]
push 6
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x10]
mov esi, dword [esi + 0x40]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40221b
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40d086
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
pop eax
ret 0x10

Function at 0x402220
Capabilities:
Check if file exists

Disassembly:
jmp 0x4097b6
mov eax, 0x464d14
call fcn.0043da24
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4097e3
add esi, 4
mov ecx, edi
push esi
push 1
call fcn.0040218a
jmp 0x409848
push esi
mov ecx, edi
call fcn.0040284c
test eax, eax
jne 0x4097fa
push esi
lea ecx, [edi + 0x2c]
call fcn.00401d11
jmp 0x409848
push 0x9c70
lea ecx, [ebp - 0x10]
call fcn.00401267
and dword [ebp - 4], 0
mov esi, dword [eax]
push 0x9c9d
lea ecx, [ebp + 8]
call fcn.00401267
mov eax, dword [eax]
push 0
push 0
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004015dc
and byte [ebp - 4], 0
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x402284
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x404c04
mov eax, 0x46481b
call fcn.0043da24
sub esp, 0xdc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [ebp - 0x10]
push str.DT_FD_9B78D5A1_ADCF_4042_90D5_6CEA9006AC37
push eax
call fcn.004010a5
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0040249b
add esp, 0xc
test eax, eax
je 0x404c47
xor esi, esi
jmp 0x404d1e
lea ecx, [ebp - 0x48]
call fcn.004020e0
lea eax, [ebp - 0x48]
mov esi, 0x47eca0
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401127
push edi
call fcn.0040214e
pop ecx
lea ecx, [ebp - 0xe8]
call fcn.00402757
push 0
push 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.004010b9
test eax, eax
jne 0x404ca9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0040140b
mov byte [ebp - 4], 3
xor esi, esi
jmp 0x404d0a
mov edi, 0x47ec68
mov ecx, edi
call fcn.004028d8
test eax, eax
je 0x404cd5
mov ecx, edi
call fcn.0040240f
push 0xffffffffffffffff
push 1
push 0x3400
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp + 0xc]
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x48]
call fcn.00401456
mov ecx, esi
mov edi, eax
call fcn.00401627
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call fcn.0040140b
mov byte [ebp - 4], 4
mov esi, edi
lea ecx, [ebp - 0x38]
call fcn.0040181b
and byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0040132f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4022d9
Capabilities:
Copy file

Disassembly:
jmp 0x41787f
mov eax, 0x465a33
call fcn.0043da24
push ecx
and dword [ebp - 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0xc]
push esi
mov ebx, ecx
push eax
call fcn.00401b9a
mov eax, dword [esi]
push 1
pop edi
test eax, eax
mov dword [ebp - 4], edi
jne 0x4178bc
mov esi, dword [esi + 0xc]
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x4178cf
cmp eax, edi
jne 0x4178cf
lea eax, [ebp + 0xc]
add esi, 0xc
push eax
push esi
mov ecx, ebx
call fcn.0040244b
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004023ce
mov dword [ebp - 0x10], edi
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x402397
Capabilities:
Check if file exists

Disassembly:
jmp 0x42b168
mov eax, 0x466db8
call fcn.0043da24
sub esp, 0x38
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], edi
cmp dword [edi], ebx
je 0x42b28e
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x42b28e
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b28e
push 0x24
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0043e8a0
add esp, 0xc
mov dword [ebp - 0x10], ebx
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401267
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x42b1dc
mov dword [ebp - 0x14], ebx
jmp 0x42b211
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0043e940
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x14]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00401f19
test eax, eax
je 0x42b257
push 9
push 8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
push dword [ebp - 0x14]
push dword [edi]
call fcn.004527c0
add esp, 0x28
cmp eax, ebx
jne 0x42b257
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [edi]
call fcn.00452800
add esp, 0xc
cmp eax, ebx
je 0x42b26a
cmp dword [ebp - 0x10], ebx
je 0x42b27e
push dword [ebp - 0x10]
call fcn.0043e405
pop ecx
mov dword [ebp - 0x10], ebx
jmp 0x42b27e
cmp dword [ebp - 0x10], ebx
je 0x42b27b
push dword [ebp - 0x10]
call fcn.0043e405
pop ecx
mov dword [ebp - 0x10], ebx
push 1
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004021e9
mov eax, ebx
jmp 0x42b290
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402400
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x4250f1
push esi
mov esi, ecx
mov eax, esi
push esi
neg eax
lea ecx, [esi - 0x3c]
push 0x40
sbb eax, eax
push 0xd
and eax, ecx
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
ret