joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010b0
Capabilities:
Check os version

Disassembly:
sub esp, 0xbc
mov eax, dword [0x40f10c]
xor eax, esp
mov dword [esp + 0xb8], eax
push edi
lea eax, [esp + 0x28]
push eax
mov edi, ecx
mov dword [esp + 0x2c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4010f4
pop edi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00402073
add esp, 0xbc
ret
cmp dword [esp + 0x38], 2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [edi], ecx
mov dword [ebx], edx
mov dword [esi], 1
jne 0x401168
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x401168
push str.GetNativeSystemInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401161
lea ecx, [esp + 4]
push ecx
call eax
movzx eax, word [esp + 4]
test eax, eax
je 0x40115b
cmp eax, 6
je 0x401153
xor edx, edx
cmp eax, 9
setne dl
dec edx
and edx, 2
mov dword [esi], edx
jmp 0x401161
mov dword [esi], 3
jmp 0x401161
mov dword [esi], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0xbc]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00402073
add esp, 0xbc
ret

Function at 0x401230
Capabilities:
Delete file

Disassembly:
sub esp, 0x108
mov eax, dword [0x40f10c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, edx
push edi
push 0x410088
lea eax, [esp + 0x14]
push str._s_s
push eax
mov esi, ecx
call fcn.00402198
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4012bb
cmp dword [esp + 0x114], eax
je 0x4012a2
mov edx, dword [0x410080]
push 0x816
push edx
lea ecx, [esp + 0x10]
call fcn.00401030
push edi
mov edi, dword [esp + 0xc]
call fcn.00401190
push edi
call fcn.0040210a
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00402073
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00402073
add esp, 0x108
ret
Function at 0x401830
Capabilities:
Check os version
Get geographical location

Disassembly:
sub esp, 0x124
mov eax, dword [0x40f10c]
xor eax, esp
mov dword [esp + 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
lea ecx, [esp]
cmp al, 4
jae 0x401899
mov eax, dword [0x410080]
push 0x80b
push eax
call fcn.00401030
mov ecx, dword [eax]
push 0
push ecx
push str.MainTop_Port_do_not_support_Windows_3.X_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp]
push edx
call fcn.0040210a
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00402073
add esp, 0x124
ret 0x10
push ebx
push ebp
shr eax, 0x1f
push esi
not eax
and eax, 1
push edi
lea esi, [esp + 0x14]
lea ebx, [esp + 0x18]
mov ebp, eax
call fcn.004010b0
test eax, eax
je 0x4018cd
cmp dword [esp + 0x10], 6
jb 0x4018cd
cmp dword [esp + 0x14], 2
jne 0x4018cd
mov ebx, 1
jmp 0x4018cf
xor ebx, ebx
push 0x104
lea eax, [esp + 0x30]
push eax
push str.ExePath
call fcn.00401770
test eax, eax
je 0x401910
lea ecx, [esp + 0x2c]
push 0x5c
push ecx
call fcn.00401fc0
add esp, 8
test eax, eax
je 0x401910
mov byte [eax + 1], 0
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401905
sub eax, edx
jmp 0x401912
xor eax, eax
push 0x10
lea edx, [esp + 0x20]
push edx
push 3
push 0x800
lea esi, [esp + eax + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x1c]
push eax
push str.MONUI._s
push esi
call fcn.00402198
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
call edi
mov dword [0x410080], eax
test eax, eax
jne 0x40197a
mov edx, dword [str.monui.enu]
mov eax, dword [0x40c344]
mov cx, word [0x40c348]
mov dword [esi], edx
lea edx, [esp + 0x2c]
mov dword [esi + 4], eax
push edx
mov word [esi + 8], cx
call edi
mov dword [0x410080], eax
test ebx, ebx
je 0x401985
mov eax, str.RIPMON64.DLL
jmp 0x401993
mov eax, str.RIPMONNT.DLL
test ebp, ebp
jne 0x401993
mov eax, str.RIPMON9X.DLL
push ebp
push str.UNRIPMON.EXE
push str.MainTop_RIP_Port
push eax
push 0
call fcn.004013b0
mov esi, eax
mov eax, dword [0x410080]
add esp, 0x14
test eax, eax
je 0x4019bb
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x130]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402073
add esp, 0x124
ret 0x10

Function at 0x401ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ecx + 0x1c]
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret 0x14

Function at 0x402073
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f10c]
jne 0x40207d
repz ret
jmp fcn.00403870
Function at 0x407a41
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403336
and dword [ebp - 4], 0
cmp dword [0x411aec], 0
mov ebx, eax
jne 0x407af2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407ba3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40d280
push edi
call esi
test eax, eax
je 0x407ba3
push eax
call fcn.004032c4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411aec], eax
call esi
push eax
call fcn.004032c4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411af0], eax
call esi
push eax
call fcn.004032c4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x411af4], eax
call esi
push eax
call fcn.004032c4
pop ecx
mov dword [0x411afc], eax
test eax, eax
je 0x407af2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004032c4
pop ecx
mov dword [0x411af8], eax
mov eax, dword [0x411af8]
cmp eax, ebx
je 0x407b4a
cmp dword [0x411afc], ebx
je 0x407b4a
push eax
call fcn.0040333f
push dword [0x411afc]
mov esi, eax
call fcn.0040333f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407b4a
test edi, edi
je 0x407b4a
call esi
test eax, eax
je 0x407b41
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407b41
test byte [ebp - 0xc], 1
jne 0x407b4a
or dword [ebp + 0x10], 0x200000
jmp 0x407b83
mov eax, dword [0x411af0]
cmp eax, ebx
je 0x407b83
push eax
call fcn.0040333f
pop ecx
test eax, eax
je 0x407b83
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407b83
mov eax, dword [0x411af4]
cmp eax, ebx
je 0x407b83
push eax
call fcn.0040333f
pop ecx
test eax, eax
je 0x407b83
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411aec]
call fcn.0040333f
pop ecx
test eax, eax
je 0x407ba3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407ba5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d860
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4893a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4d6394]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.0040c280
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40d8b6
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.0040c1a0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.0040c280
cmp dword [esp + 0x24], 8
jb 0x40d8ff
mov edx, dword [esp + 0x10]
push edx
call fcn.00472191
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x478b10
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00477a51
and dword [ebp - 4], 0
cmp dword [0x4da36c], 0
mov ebx, eax
jne 0x478bc1
push 0x4ae2a4
call dword [0x4a4104]
mov edi, eax
test edi, edi
je 0x478c72
mov esi, dword [0x4a40e0]
push 0x4ae298
push edi
call esi
test eax, eax
je 0x478c72
push eax
call fcn.004779df
mov dword [esp], 0x4ae288
push edi
mov dword [0x4da36c], eax
call esi
push eax
call fcn.004779df
mov dword [esp], 0x4ae274
push edi
mov dword [0x4da370], eax
call esi
push eax
call fcn.004779df
mov dword [esp], 0x4ae258
push edi
mov dword [0x4da374], eax
call esi
push eax
call fcn.004779df
pop ecx
mov dword [0x4da37c], eax
test eax, eax
je 0x478bc1
push 0x4ae240
push edi
call esi
push eax
call fcn.004779df
pop ecx
mov dword [0x4da378], eax
mov eax, dword [0x4da378]
cmp eax, ebx
je 0x478c19
cmp dword [0x4da37c], ebx
je 0x478c19
push eax
call fcn.00477a5a
push dword [0x4da37c]
mov esi, eax
call fcn.00477a5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x478c19
test edi, edi
je 0x478c19
call esi
test eax, eax
je 0x478c10
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
js 0x478be0
add byte [edi - 0x56], al
cmp eax, 0x654a74a2
leave
mov eax, dword [0x158c73ce]
lodsd eax, dword [esi]
and al, 0xbc
sti
xor ah, bh
rep lodsd eax, dword [esi]
xchg edx, eax
test dword [ebp + 0x2d], edx
call 0xc6e12ced
jne 0x478c81
cmp dword [esi - 0x76], 0x78
sbb ah, byte [edi + 0x6e]
sar dword [eax + 0x6af10891], cl
fld dword [edx + 0x4129e184]
scasb al, byte es:[edi]
add al, 0x3a
js 0x478c9f
mov bh, 0xfa
stosd dword es:[edi], eax
inc eax
adc dword [eax + edx*4], ebp
xchg ecx, eax
push edx
lds ecx, [ecx]
adc al, 0x25
stosd dword es:[edi], eax
cwde
push cs
add byte [eax], ah
add eax, dword [edx + 0x52031e78]
pop edi
inc eax
and byte [eax + 0x20], al
sub cl, byte [ebx + 0x66]
dec ebp
cdq
iretd
adc ch, ah
mov byte [ecx], ah
lodsb al, byte [esi]
and dword [ebp + 0xb], ecx
xor dword [esi], esi
sahf
cli
test al, 0x14
jmp 0x885390d4
loopne 0x478cf2
mov dl, 0xeb
arpl word [ebx + 0x11], sp
sub al, 0xdb
adc ebp, dword [ecx]
je 0x478c7e
invalid
and byte [eax], al
mov esi, 0x2ee04b
ror dword [eax + ecx*4 + 0x43890000], 4
mov ah, byte [0x77994426]
out 0x6a, eax
mov ch, 0x8f
mov dl, 0xff
inc bp
add al, 0x2f
invalid
Function at 0x415124
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
jmp 0x4151e3
cmp dword [esi + 0x10], 0x1000
jne 0x4151cf
test byte [esi + 0x15], 1
jne 0x4151cf
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x415180
cmp ebp, 2
je 0x415180
cmp ebp, 0x10
je 0x415180
cmp ebp, 0x20
jne 0x41519c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x41519c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4151ad
mov eax, dword [esi]
add eax, ebx
call fcn.0041511c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4151a0
cmp byte [esp + 4], 0
je 0x4151cf
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x4151ef
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x415155
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x444971
Capabilities:
Check for software breakpoints

Disassembly:
push eax
call 0x444977
pop ebx
sub ebx, 0x1a2
mov ecx, 0x137d5
sub ebx, ecx
mov esi, ebx
sub ebx, 0x30000
mov edi, ebx
sub ebx, 0x1000
push edi
push ecx
push esi
call fcn.00444826
add esp, 0xc
mov ebp, dword [ebx + 0xc0]
lea ebp, [ebx + ebp]
dec ebp
mov cl, byte [ebp]
cmp cl, 0xcc
je 0x4449a9
sub ebp, 9
mov edx, ebx
sub edx, dword [ebx + 0x74]
add dword [ebp], edx
add ebp, 6
add dword [ebp], edx
lea edx, [eax - 4]
sub edx, dword [edx]
mov esi, ebx
add esi, dword [edx + 0x10c]
mov edi, dword [edx + 0x104]
mov ecx, 0x1cc86
call fcn.00444947
mov esi, dword [edx + 0x80]
push edx
add esi, ebx
mov eax, dword [esi + 0xc]
or eax, eax
je 0x444a33
add eax, ebx
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebp, eax
mov ecx, dword [esi]
add ecx, ebx
mov edi, dword [esi + 0x10]
add edi, ebx
mov eax, dword [ecx]
or eax, eax
je 0x444a2e
pushal
test eax, 0x80000000
je 0x444a18
and eax, 0x7fffffff
jmp 0x444a1c
lea eax, [ebx + eax + 2]
push eax
push ebp
call sub.kernel32.dll_GetProcAddress
mov dword [edi], eax
popal
add edi, 4
add ecx, 4
jmp 0x444a03
add esi, 0x14
jmp 0x4449e9
pop edx
mov ebp, ebx
sub ebp, dword [edx + 0x34]
mov esi, dword [edx + 0xa0]
add esi, ebx
cmp esi, ebx
je 0x444a7d
push edx
mov eax, dword [esi + 4]
or eax, eax
je 0x444a7c
mov ecx, dword [esi]
add ecx, ebx
add esi, 8
sub eax, 8
shr eax, 1
mov edx, esi
lea edi, [eax + esi]
lea esi, [eax + edi]
xor eax, eax
add al, byte [edx]
adc ah, byte [edi]
test ah, 0x30
je 0x444a74
push eax
and ah, 0xf
add dword [ecx + eax], ebp
pop eax
inc edx
inc edi
cmp edi, esi
jb 0x444a63
jmp 0x444a46
pop edx
pop eax
cmp eax, 0xd0dec0de
je 0x444a8a
add ebx, dword [edx + 0x28]
jmp ebx
ret 0xc
Function at 0x1001137
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
xor ebx, ebx
mov esi, 0x10010f0
push eax
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 0x1001110
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push ebx
push edi
push ebx
mov eax, 0x80000000
push ebx
push eax
push eax
push eax
push eax
push ebx
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
xor edi, edi
push 1
push ebx
push ebx
lea eax, [ebp - 0x4c]
push ebx
push eax
call esi
test eax, eax
je 0x10011c7
cmp dword [ebp - 0x48], 0x12
je 0x1001262
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x10011a2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jl 0x10011a2
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x10011fc
cmp byte [ebp + eax - 0x1a4], 0x5c
je 0x10011fc
dec eax
jne 0x10011ef
lea edx, [ebp + eax - 0x1a3]
mov edi, 0x10010e0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x11
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop ecx
lea edi, [ebp - 0xa0]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xa0], 0x44
push eax
lea eax, [ebp - 0xa0]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1a4]
push ebx
push eax
mov dword [ebp - 0x74], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x1001270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001100
push 0x1001470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x1002034], 0xffffffff
mov dword [0x1002038], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x1002030]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x100202c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x100203c], ecx
call fcn.01001460
mov eax, dword [0x1002010]
test eax, eax
jne 0x1001301
push 0x1001450
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.01001430
push 0x100200c
push 0x1002008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x1002028]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x1002024]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x1002004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x100140f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x1001375
cmp al, 0x22
jne 0x1001367
cmp byte [esi], 0x22
jne 0x100137e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x100138e
cmp al, 0x20
ja 0x100138e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x100137e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x10013af
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x10013b4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x10013f4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x100137e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x100140f
Function at 0x100d591
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x100dca0
call fcn.0100d794
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x100f638
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x100d348
cmp eax, esi
jne 0x100d33b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x100d34b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100d322
xor esi, esi
inc esi
mov eax, dword [0x100f634]
cmp eax, esi
jne 0x100d35e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100d38d
mov eax, dword [0x100f634]
test eax, eax
jne 0x100d387
mov dword [0x100f634], esi
push 0x1001310
push 0x1001304
call fcn.0100d287
pop ecx
pop ecx
test eax, eax
je 0x100d38d
jmp 0x100d4b5
mov dword [0x100f2f8], esi
mov eax, dword [0x100f634]
cmp eax, esi
jne 0x100d3b1
push 0x1001300
push 0x10012f4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100f634], 2
test ebx, ebx
jne 0x100d3bd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100f63c], 0
je 0x100d3e1
push 0x100f63c
call fcn.0100d709
pop ecx
test eax, eax
je 0x100d3e1
push 0
push 2
push 0
call dword [0x100f63c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x100d43d
test al, al
je 0x100d3fb
cmp dword [ebp - 0x1c], 0
jne 0x100d43d
mov al, byte [esi]
test al, al
je 0x100d40b
cmp al, 0x20
ja 0x100d40b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100d3fb
test byte [ebp - 0x3c], 1
je 0x100d417
movzx eax, word [ebp - 0x38]
jmp 0x100d41a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100f2f4], eax
cmp dword [0x100f2e8], 0
jne 0x100d491
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x100d44c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x100d45f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x100d3e8
cmp dword [0x100f2f8], 0
jne 0x100d4a0
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100f2f4]
jmp 0x100d4c1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100d7d9
ret
call fcn.0100d8e1
jmp 0x100d2e8
Function at 0x463993
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20030
call fcn.00432370
push ebx
push esi
lea eax, [esp + 0x10038]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.0046498d
lea eax, [esp + 0x3c]
mov edx, 0x7fff
push eax
mov ecx, esi
call fcn.0046498d
pop ecx
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x463a21
cmp byte [ebp + 8], al
je 0x463a1a
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call fcn.00423f7c
pop ecx
pop ecx
test eax, eax
je 0x463a13
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x463acd
xor al, al
jmp 0x463acd
lea ecx, [esp + 0x10038]
call fcn.00464d50
test al, al
je 0x463a1a
lea ecx, [esp + 0x38]
call fcn.00464d50
test al, al
je 0x463ad3
cmp byte [ebp + 8], 0
je 0x463a1a
lea eax, [esp + 0x10038]
push 0x4b86c8
push eax
call fcn.004237bd
lea eax, [esp + 0x10040]
push eax
call fcn.0042362c
xor ecx, ecx
mov word [esp + eax*2 + 0x10046], cx
lea eax, [esp + 0x44]
push eax
call fcn.0042362c
xor ecx, ecx
mov dword [esp + 0x1c], 2
add esp, 0x10
mov word [esp + eax*2 + 0x3a], cx
lea eax, [esp + 0x10038]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov eax, 0x614
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.00407da1
lea ecx, [esp + 0x28]
call fcn.00463d4c
mov bl, al
lea ecx, [esp + 0x28]
neg bl
sbb bl, bl
call fcn.004058c3
inc bl
jne 0x463a1a
lea ecx, [esp + 0x38]
call fcn.00464d50
test al, al
jmp 0x463a46