joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012bf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
lea ecx, [ebp - 0x2c]
call fcn.100033f5
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
cmp dword [ebp + 0xc], 1
jne 0x10001331
push dword [ebp + 8]
mov ecx, 0x1000a538
call fcn.10001222
call dword [sym.imp.acui17.dll_void___cdecl_InitAcUiDLL_void_]
mov esi, 0x1000a530
push 0x1000757c
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_911]
push 0x10007578
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_911]
push str..net
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_911]
push str._wjcad_bullet.cd
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_911]
jmp 0x100014a0
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x1000149f
push edi
push 1
push str.HKEY_CURRENT_USERSOFTWAREAutodeskAutoCADR17.0
lea ecx, [ebp - 0x2c]
call fcn.10003863
push 1
mov edi, str.CString
push edi
mov esi, str.CurVer
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003adb
push 1
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.100034e9
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push str.HKEY_LOCAL_MACHINESOFTWAREAutodeskAutoCADR17.0_
push eax
call fcn.10001179
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003863
push 1
push edi
mov esi, str.AcadLocation
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10003adb
mov ecx, 0x1000a538
call fcn.10001281
push 1
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.100034e9
test eax, eax
pop edi
je 0x1000149a
cmp byte [0x1000a528], bl
je 0x1000149a
push str._support_setint.exe
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
lea ecx, [ebp - 0x44]
call sub.MFC80.DLL_Ordinal_386
push ebx
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x44]
call sub.MFC80.DLL_Ordinal_2280
test eax, eax
je 0x10001492
push 0x1000a574
lea eax, [ebp + 0xc]
push str.__fresh
push eax
call fcn.10001179
add esp, 0xc
push eax
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_907]
lea ecx, [ebp + 0xc]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x98]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x100
lea ecx, [ebp - 4]
mov dword [ebp - 0x98], esi
call dword [sym.imp.MFC80.DLL_Ordinal_2468]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x98]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_5403]
lea ecx, [ebp - 0x44]
call sub.MFC80.DLL_Ordinal_631
call fcn.10001151
pop ebx
lea ecx, [ebp - 4]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [ebp - 0x2c]
call fcn.1000370b
xor eax, eax
inc eax
pop esi
leave
ret 0xc
Function at 0x10002850
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x10006182
call fcn.100052ef
mov esi, ecx
mov dword [ebp - 0x20], esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [esi + 4]
mov dword [ebp - 4], ebx
call fcn.1000253b
test eax, eax
lea ecx, [ebp + 8]
jne 0x10002896
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
jmp 0x10002966
push 0x20019
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.10002634
test eax, eax
jne 0x100028ba
lea ecx, [ebp + 8]
jmp 0x10002889
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x100028b5
mov eax, dword [ebp + 0x18]
cmp dword [ebp - 0x18], eax
jne 0x100028b5
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MFC80.DLL_Ordinal_265
mov edi, eax
cmp edi, ebx
pop ecx
je 0x100028b5
mov eax, dword [ebp - 0x10]
inc eax
push eax
push ebx
push edi
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call esi
mov esi, eax
cmp esi, ebx
jne 0x10002943
cmp dword [ebp + 0x18], 1
jne 0x1000292b
mov ecx, dword [ebp + 0x10]
push edi
call dword [sym.imp.MFC80.DLL_Ordinal_784]
jmp 0x10002943
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jb 0x10002936
mov eax, dword [ebp + 0x14]
push eax
push edi
push dword [ebp + 0x10]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push edi
call sub.MFC80.DLL_Ordinal_266
pop ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.10002729
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
cmp esi, ebx
sete al
call fcn.10005358
ret 0x14

Function at 0x100041f6
Capabilities:
Resume thread

Disassembly:
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x9c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [edi]
push dword [esp + 0xc]
lea ecx, [esi + 0x90]
mov dword [esi + 0x8c], eax
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esi + 0x94]
call dword [sym.imp.MFC80.DLL_Ordinal_2131]
mov ecx, dword [esi + 0x20]
xor edi, edi
push edi
push 4
push edi
lea eax, [esi + 0x88]
push edi
push eax
push 0x10003f5c
mov dword [eax], ecx
call sub.MFC80.DLL_Ordinal_1024
cmp eax, edi
lea ecx, [esi + 0x84]
mov dword [ecx], eax
je 0x10004263
mov dword [eax + 0x28], edi
mov eax, dword [ecx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
ret 4
Function at 0x100052e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000a330]
jne 0x100052ea
repz ret
jmp fcn.100058f0
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x409368
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4093ba
test eax, edx
je 0x4093bd
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40937d
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4093a3
add ecx, 4
js 0x409393
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4093a0
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4093c9
test edx, edx
jne 0x409370
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x427290
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x427296
ret

Function at 0x49b9ec
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
or byte [eax], al
add byte [eax], al
pushfd
add al, 0
add byte [0x284729f4], bl
add byte [eax], al
add byte [ebx + 0x37], al
xor esi, dword [eax]
xor dh, byte [esi]
inc ebp
xor esi, dword [edx]
xor eax, 0x31324546
cmp dword [ecx], esi
inc edx
xor eax, 0x42344335
xor eax, 0x36354133
inc edx
xor dword [ebx], esi
inc esp
inc ebx
inc ecx
inc esi
xor eax, dword [esi + esi + 0x32]
xor eax, 0xffffffa8
outsb dx, byte [esi]
imul esp, dword [eax], 0
adc al, 0xf5
lodsb al, byte [esi]
mov ch, 0x6d
loopne 0x49ba07
add dword [eax], eax
add byte [eax], al
add byte [eax], dl
add al, 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5ee36e5e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5502769d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401090
Capabilities:
Connect pipe

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
mov esi, dword [ecx]
push edi
mov edi, edx
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 4]
xor ebp, ebp
cmp dword [0x823e0c], 0x1396
mov dword [esp + 0x14], 0xc6ef3720
mov dword [esp + 0x30], 0x9e3779b9
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
jne 0x4010dc
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x1c], 0x20
jmp 0x4010f0
cmp dword [0x823e0c], 0x55e
jne 0x401104
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov edx, dword [esp + 0x14]
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x20]
mov ecx, esi
shr ecx, 5
add edx, esi
xor eax, edx
add ecx, edi
cmp dword [0x823e0c], 0x772
mov dword [0x823ddc], 0xdf3a1ab4
mov dword [0x823de8], ebp
mov dword [0x823dec], ebp
mov dword [esp + 0x10], eax
jne 0x401156
mov dword [0x823de0], 0xdba0ee06
mov dword [0x823de4], 0xffffffff
xor ecx, eax
sub ebx, ecx
call fcn.00401050
mov edx, ebx
mov ecx, eax
shl edx, cl
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
cmp dword [0x823e0c], 0x44a
jne 0x4011aa
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
add eax, ebx
cmp dword [0x823e0c], 0x572
jne 0x4011d0
mov dword [0x823dc0], 0xa0948356
mov dword [0x823dc4], 0xffffffff
xor dword [esp + 0x10], eax
mov edx, ebx
shr edx, 5
add edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
shr dword [esp + 0x18], 1
sub dword [esp + 0x14], eax
dec dword [esp + 0x1c]
jne 0x4010f0
mov eax, dword [esp + 0x34]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], ebx
pop ebx
add esp, 0x28
ret
Function at 0x405fbf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425b40]
jne 0x405fc9
repz ret
jmp fcn.00407a8c

Function at 0x40cc27
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425b40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407529
and dword [ebp - 0x14], 0
cmp dword [0x824c1c], 0
mov dword [ebp - 0x18], eax
jne 0x40ccda
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40cd82
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40cd82
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x824c1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x824c20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x824c24], eax
call edi
push eax
call esi
mov dword [0x824c2c], eax
test eax, eax
je 0x40ccda
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x824c28], eax
mov eax, dword [0x824c28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40cd33
cmp dword [0x824c2c], ecx
je 0x40cd33
push eax
call esi
push dword [0x824c2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40cd33
test ebx, ebx
je 0x40cd33
call edi
test eax, eax
je 0x40cd2a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40cd2a
test byte [ebp - 8], 1
jne 0x40cd33
or dword [ebp + 0x10], 0x200000
jmp 0x40cd66
mov eax, dword [0x824c20]
cmp eax, dword [ebp - 0x18]
je 0x40cd66
push eax
call esi
test eax, eax
je 0x40cd66
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cd66
mov eax, dword [0x824c24]
cmp eax, dword [ebp - 0x18]
je 0x40cd66
push eax
call esi
test eax, eax
je 0x40cd66
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x824c1c]
call esi
test eax, eax
je 0x40cd82
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40cd84
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405fbf
leave
ret
Function at 0x40141e
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x128]
and esi, 1
push eax
and edi, 0x300
mov eax, edi
or eax, 9
push eax
push dword [esp + 0x12c]
push dword [esp + 0x12c]
call fcn.00406abc
test eax, eax
jne 0x401530
xor ebp, ebp
test byte [esp + 0x128], 2
je 0x401493
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x40150c
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
call ebp
test eax, eax
jne 0x4014e1
test esi, esi
jne 0x40150c
push dword [esp + 0x128]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0040141e
test eax, eax
jne 0x4014e1
push 0x105
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x4014b2
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.0040730e
test eax, eax
jne 0x40151d
push dword [esp + 0x124]
push dword [esp + 0x124]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x401530
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x401530
push 0
push edi
push dword [esp + 0x12c]
push dword [esp + 0x12c]
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret 0xc
Function at 0x403a1f
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x403a3e
mov eax, dword [0x416154]
test eax, eax
je 0x403a36
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x416154], 0
ret
cmp dword [0x416154], 0
je 0x403a4f
push 0
call fcn.00406a29
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x454d00]
jbe 0x403a82
push 0
push 0x403e56
push 0
push 0x6f
push dword [0x450cf4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x416154], eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40661a
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x406634
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4

Function at 0x40663a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x409c68
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov word [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x409c58
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4066a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4066b2
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
je 0x4066ac
xor eax, eax
jmp 0x4066b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret 4
Function at 0x4069bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
ja 0x4069f6
test eax, eax
je 0x4069f6
lea eax, [ebp + eax - 0x120]
cmp byte [eax - 1], 0x5c
je 0x4069fc
mov ecx, 0x4096c8
jmp 0x406a01
lea eax, [ebp - 0x120]
mov ecx, 0x4096c9
push dword [ebp + 8]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406a57
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x406a7a
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406aea
pop ecx
pop ecx
inc dword [0x454dd0]
ret 8

Function at 0x406aea
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x400
mov dword [0x44a5a0], 0x4c554e
mov ebp, 0x44a5a0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
je 0x406b36
push 1
push 0
push esi
call fcn.00407343
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call edi
test eax, eax
je 0x406c16
cmp eax, ebx
jg 0x406c16
push ebx
mov esi, 0x44a1a0
push esi
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x406c16
cmp eax, ebx
jg 0x406c16
push esi
push ebp
push str._s_s_r_n
push 0x449da0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x454d18]
add esp, 0x10
mov ebp, eax
push dword [ecx + 0x128]
push esi
call fcn.004066b6
push 4
push 0xc0000000
push esi
call fcn.00407343
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406c16
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp + 0xa]
add ecx, esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x406c0f
push esi
push edi
push ebx
call fcn.00407370
test eax, eax
je 0x406c0f
push str._Rename__r_n
push edi
call fcn.0040754f
test eax, eax
jne 0x406c1b
push str._Rename__r_n
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ecx, esi
push ebp
push 0x449da0
lea eax, [ecx + edi]
push eax
call fcn.0040706b
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + ebp]
push eax
push edi
push ebx
call fcn.0040742f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x409f24
add eax, 0xa
push eax
call fcn.0040754f
mov ecx, eax
test ecx, ecx
je 0x406be0
lea edx, [edi + esi]
jmp 0x406c3a
mov al, byte [edx]
mov byte [edx + ebp], al
dec edx
cmp edx, ecx
ja 0x406c34
sub ecx, edi
inc ecx
jmp 0x406be2
Function at 0x406e7d
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.004075b6
mov edi, eax
cmp edi, 0xffffffff
je 0x406eb3
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x406eba
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x406ec2
test byte [ebp + 0xc], 4
jne 0x406eb3
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406e9f
xor eax, eax
inc eax
jmp 0x406eb5

Function at 0x406f2b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov ebx, 0x447da0
push ebx
call fcn.00407533
push ebx
call fcn.004075de
mov esi, eax
test esi, esi
je 0x406f9d
push esi
call fcn.00407755
test byte [0x454d14], 0x80
je 0x406f61
mov al, byte [esi]
test al, al
je 0x406f9d
cmp al, 0x5c
je 0x406f9d
sub esi, ebx
jmp 0x406f79
call fcn.00406ec7
test eax, eax
je 0x406f73
test byte [eax], 0x10
je 0x406f9d
push ebx
call fcn.0040772a
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
cmp eax, esi
jg 0x406f65
call fcn.00406e50
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x406f9f
xor eax, eax
pop esi
pop ebx
ret 4

Function at 0x40708d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x445d58], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x445d58
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4070cc
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4