joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4534e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b568
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4af6f0]
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 ebx, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffffff
jne 0x45351c
xor eax, eax
jmp 0x4536ac
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x45354a
mov esi, dword [ebx + 0x30]
mov edi, dword [esi]
lea eax, [edi + edx]
cmp edx, eax
jae 0x45354a
lea eax, [edi - 1]
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov byte [edx], al
jmp 0x4536ac
cmp dword [ebx + 0x50], 0
jne 0x453558
or eax, 0xffffffff
jmp 0x4536ac
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x44]
cmp dword [esi], eax
jne 0x453579
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
mov dword [esi], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebp + 8]
mov dword [eax], edx
cmp dword [ebx + 0x40], 0
jne 0x45359e
push dword [ebx + 0x50]
movsx eax, cl
push eax
call fcn.00473f08
or ecx, 0xffffffff
add esp, 8
cmp eax, ecx
cmovne ecx, dword [ebp + 8]
mov eax, ecx
jmp 0x4536ac
mov byte [ebp - 0x2c], cl
lea eax, [ebp - 0x28]
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x40]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edi, dword [esi]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebx + 0x48]
push eax
call dword [edi + 0x1c]
test eax, eax
js 0x453696
cmp eax, 1
jg 0x453676
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub esi, eax
je 0x453647
push dword [ebx + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call fcn.004742d2
add esp, 0x10
cmp esi, eax
jne 0x453696
lea eax, [ebp - 0x2c]
mov byte [ebx + 0x45], 1
cmp dword [ebp - 0x34], eax
jne 0x453671
test esi, esi
jne 0x4535d1
cmp dword [ebp - 0x18], 0x20
jae 0x453696
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044fa10
jmp 0x4535d1
mov ebx, dword [ebp + 8]
jmp 0x453699
cmp eax, 3
jne 0x453696
push dword [ebx + 0x50]
push dword [ebp - 0x2c]
call fcn.00448d60
or ecx, 0xffffffff
add esp, 8
test al, al
cmovne ecx, dword [ebp + 8]
mov ebx, ecx
jmp 0x453699
or ebx, 0xffffffff
cmp dword [ebp - 0x14], 0x10
jb 0x4536aa
push dword [ebp - 0x28]
call fcn.0046e100
add esp, 4
mov eax, ebx
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.0046ecfa
mov esp, ebp
pop ebp
ret 4
Function at 0x455000
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.Kernel32
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
test eax, eax
je 0x455041
push 0x4966f0
push eax
call edi
push str.Process32First
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push str.Process32Next
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
je 0x455053
cmp dword [esi + 0xc], 0
je 0x455053
cmp dword [esi + 0x10], 0
jne 0x45509c
cmp dword [esi + 4], 0
je 0x45509c
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x45509c
push str.ZwQuerySystemInformation
push eax
call edi
push 0x49675c
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x49676c
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x496778
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
pop edi
mov eax, esi
pop esi
ret

Function at 0x4551d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x430], eax
push 0x424
lea eax, [ebp - 0x428]
mov dword [ebp - 0x42c], edi
push edi
push eax
call fcn.0046f7e0
add esp, 0xc
push esi
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x45522f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4552a6
push ebx
mov ebx, dword [ebp + 0x14]
mov edi, edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x428], eax
je 0x455261
cmp dword [ebp + 0x18], 0
jne 0x455286
mov eax, 0x428
cmp ebx, eax
cmovb eax, ebx
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x430]
call fcn.0046f190
add esp, 0xc
mov edi, 1
mov dword [ebp - 0x42c], 0x428
test edi, edi
jne 0x4552a5
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x455250
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x455440
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 4], 0
push esi
je 0x4554e1
cmp dword [ecx + 8], 0
je 0x45546f
cmp dword [ecx + 0xc], 0
je 0x45546f
cmp dword [ecx + 0x10], 0
je 0x45546f
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004556b0
jmp 0x455493
cmp dword [ecx + 0x14], 0
je 0x4554e1
cmp dword [ecx + 0x1c], 0
je 0x4554e1
cmp dword [ecx + 0x18], 0
je 0x4554e1
cmp dword [ecx + 0x20], 0
je 0x4554e1
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.004554f0
mov esi, eax
test esi, esi
je 0x4554e1
push edi
push dword [ebp - 4]
push 0x455890
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4554c5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, eax
jmp 0x4554ca
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp edi, 1
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4564b0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x320c
call fcn.0046f160
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x120c], ax
lea eax, [ebp - 0x120a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x320c], ax
lea eax, [ebp - 0x320a]
push eax
call fcn.0046f7e0
push 0x48e734
lea eax, [ebp - 0x220c]
push 0x800
push eax
call fcn.0046fe12
push 0x48e734
push 0x41
push 0x4b5478
call fcn.0046fe12
push 0x2c
push 0x800
lea eax, [ebp - 0x220c]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0043d9c0
add esp, 0x54
test eax, eax
je 0x4565b4
push 0x2c
push 0x800
lea eax, [ebp - 0x120c]
push eax
lea eax, [ebp - 0x220c]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x4565b4
push 0x2c
push 0x800
lea eax, [ebp - 0x320c]
push eax
lea eax, [ebp - 0x120c]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0045fb60
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x220c]
push eax
push 0x4b5068
call fcn.0043af70
add esp, 8
test eax, eax
je 0x456671
lea eax, [ebp - 0x320c]
push 0x4b50c0
push eax
call fcn.0047064b
add esp, 8
test eax, eax
jne 0x456671
cmp word [ebp - 0x120c], ax
je 0x45662a
lea ecx, [ebp - 0x120c]
push ecx
push 0x4b50b8
call fcn.0046e970
add esp, 8
test eax, eax
je 0x456671
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
push esi
push 0x48f188
push 0x41
push 0x4b5478
call fcn.0046ecde
push esi
lea eax, [ebp - 0x20c]
push eax
push str.ChangeDir__s____d
call fcn.00469390
add esp, 0x1c
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x457d40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6008
call fcn.0046f160
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0xffe
push eax
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x2002]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x3004], ax
lea eax, [ebp - 0x3002]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x4004], ax
lea eax, [ebp - 0x4002]
push eax
call fcn.0046f7e0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x6004], ax
lea eax, [ebp - 0x6002]
push eax
call fcn.0046f7e0
push 0x48e734
lea eax, [ebp - 0x5004]
mov edi, 1
push 0x800
push eax
call fcn.0046fe12
add esp, 0x48
push esi
push str.ScriptDelay__s___Begin
call fcn.00469390
push 0x2c
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0x800
lea eax, [ebp - 0x2004]
push eax
push esi
call fcn.0043d9c0
add esp, 0x20
test eax, eax
je 0x457ee7
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x2004]
push eax
push str.ScriptDelay____szDelay_s_szFile_s
call fcn.00469390
push 0x2c
push 0x800
lea eax, [ebp - 0x3004]
push eax
lea eax, [ebp - 0x1004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x24
test eax, eax
je 0x457ee7
push 0x2c
push 0x800
lea eax, [ebp - 0x5004]
push eax
lea eax, [ebp - 0x3004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x457ee7
push 0x2c
push 0x800
lea eax, [ebp - 0x4004]
push eax
lea eax, [ebp - 0x5004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
test eax, eax
je 0x457ee7
push 0x2c
push 0x800
lea eax, [ebp - 0x6004]
push eax
lea eax, [ebp - 0x4004]
push 0x800
push eax
push eax
call fcn.0043d9c0
add esp, 0x18
lea eax, [ebp - 0x2004]
push 0x800
push eax
call fcn.0045fb60
lea eax, [ebp - 0x1004]
push 0x800
push eax
call fcn.0045fb60
lea eax, [ebp - 0x5004]
push eax
push 0x4b5068
call fcn.0043af70
add esp, 0x18
test eax, eax
je 0x457fd3
lea eax, [ebp - 0x6004]
push 0x4b50c0
push eax
call fcn.0047064b
add esp, 8
test eax, eax
jne 0x457fd3
cmp word [ebp - 0x4004], ax
je 0x457f62
lea eax, [ebp - 0x4004]
push eax
push 0x4b50b8
call fcn.0046e970
add esp, 8
test eax, eax
je 0x457fd3
lea eax, [ebp - 0x2004]
push ebx
push eax
call fcn.004707b9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
mov dword [ebp - 0x6008], eax
call esi
mov ebx, eax
call esi
sub eax, ebx
cmp eax, dword [ebp - 0x6008]
jae 0x457fc0
mov edi, edi
test edi, edi
je 0x457fc0
cmp word [ebp - 0x1004], 0
je 0x457fac
lea eax, [ebp - 0x1004]
push eax
call fcn.004550d0
mov edi, eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, dword [ebp - 0x6008]
jb 0x457f90
call esi
sub eax, ebx
push eax
push str.Delay____Time_d_ms
call fcn.004696f0
add esp, 8
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x45c1f0
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push 0x206
push eax
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x220], ebx
push eax
call fcn.0046f7e0
add esp, 0xc
test ebx, ebx
jne 0x45c245
pop esi
lea eax, [ebx + 0xd]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x45c3f2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x218], ebx
test ebx, ebx
je 0x45c3ec
push str.SETUPAQ.CAB
push 0x4ceb88
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
mov esi, 0x100000
cmp edi, 0x6400000
jbe 0x45c2c5
mov eax, 0x51eb851f
mul edi
mov esi, edx
shr esi, 5
push esi
push edi
push str.ExtractDATARes____LgData:__d_oct_MaxDataRead:__d_oct
call fcn.00469390
add esp, 0xc
mov ecx, 0x4af010
push 0
push edi
push 0x28
push 0
call fcn.00429060
cmp edi, esi
jbe 0x45c40c
mov ebx, esi
mov dword [ebp - 0x21c], 0
lea esp, [esp]
cmp dword [0x4b552c], 0
jne 0x45c37b
push 0
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x214]
push ebx
push edi
push str.ExtractDATARes____dwLgRemain:__d_dwNbOfBytesToWrite:__d_Bytes_Write:__d_oct
call fcn.00469390
add esp, 0x10
cmp edi, esi
jbe 0x45c37b
mov eax, dword [ebp - 0x214]
sub edi, esi
mov ecx, dword [ebp - 0x218]
cmp edi, esi
mov ebx, edi
cmova ebx, esi
push 0
lea ecx, [ecx + eax*2]
mov dword [ebp - 0x218], ecx
mov ecx, dword [ebp - 0x21c]
add ecx, eax
mov dword [ebp - 0x21c], ecx
push ecx
mov ecx, 0x4af010
call fcn.004293d0
test edi, edi
jne 0x45c300
mov edi, dword [ebp + 0xc]
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
mov ecx, 0x4af010
call fcn.00429280
push 0
push edi
push 0x64
push 0x28
mov ecx, 0x4af010
call fcn.00429060
push 0x4b70fc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c3c3
push 0x4b70fc
call fcn.0043b250
add esp, 4
push dword [0x4b7f58]
lea eax, [ebp - 0x20c]
push 0x4b70fc
push eax
call fcn.00468200
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x220]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x214]
push eax
push edi
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x45c37e
Function at 0x45c430
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
mov dword [ebp - 0x828], edi
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.0046f7e0
imul ebx, esi, 0x306c
add esp, 0x24
mov esi, dword [0x4c900c]
add esi, ebx
cmp word [esi], 0
je 0x45c6b0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f7e0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
push esi
call fcn.0043cdb0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push eax
push 0x4ce980
push 0x4cf1a0
call esi
push str..001
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
push edi
call fcn.00439f60
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call fcn.0043d560
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 4
test eax, eax
je 0x45c57f
push 0
lea eax, [ebp - 0x414]
push 0x4ce980
push eax
call fcn.00468200
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str._CT.001
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046e904
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
push dword [ebp - 0x828]
call fcn.00439f60
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call fcn.0043d560
add esp, 4
test eax, eax
je 0x45c60f
push 0x4cef98
call fcn.0043b250
push 0
lea eax, [ebp - 0x414]
push 0x4cef98
push eax
call fcn.00468200
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call edi
push 0x4cf3a8
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0046fe12
mov eax, dword [0x4c900c]
add eax, 0x62e
add eax, ebx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fe12
mov edi, dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
push 0x4cf3a8
call esi
push 0x4cf3a8
call fcn.0043d560
add esp, 4
test eax, eax
jne 0x45c6b0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fe12
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
push eax
push 0x4ce980
push 0x4cf3a8
call esi
push 0x4cf3a8
call fcn.0043d560
push 0x4cf3a8
push eax
push str._ExtractLangFiles____License:__d_LicenseFile:__s
mov dword [0x4b6868], eax
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret
Function at 0x4668c0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
push dword [ebp + 0x20]
mov edi, dword [ebp + 0xc]
push ebx
push esi
push dword [ebp + 0x10]
push edi
push str.ExecuteFile__s___s___s___d__Wait1____d__ShowWindow____Begin
call fcn.00469390
add esp, 0x18
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4668fa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3c
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0046f7e0
mov ecx, dword [ebp + 0x14]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
cmp word [esi], ax
mov dword [ebp - 0x44], 0x540
cmove esi, eax
mov dword [ebp - 0x38], edi
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x46694c
mov eax, dword [ebp - 0x30]
cmp word [ecx], 0
cmovne eax, ecx
mov dword [ebp - 0x30], eax
push ecx
push str.ExecuteFile____Directory:__s
call fcn.00469390
add esp, 8
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0x28]
mov esi, eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x466975
mov dword [ecx], edx
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x466a0e
test ebx, ebx
je 0x466a0e
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push edx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call ebx
push esi
push str.ExecuteFile____WaitForSingleObject:__X
mov dword [ebp - 8], eax
call fcn.00469390
add esp, 8
test esi, esi
je 0x4669e7
cmp esi, 0xffffffff
je 0x4669e7
cmp esi, 0x80
je 0x4669e7
cmp dword [0x4b552c], 0
jne 0x4669e7
push 0x3e8
push dword [ebp - 0x10]
call edi
push 0
push dword [ebp + 8]
mov esi, eax
call fcn.0043fa80
add esp, 8
test esi, esi
jne 0x4669b4
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call ebx
sub eax, dword [ebp - 8]
push eax
push esi
push str.ExecuteFile____WaitForSingleObject:__X_Time:__d_ms
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0xc
mov esi, dword [ebp - 0xc]
cmp dword [0x4b552c], 0
mov eax, 0x4c7
cmovne ecx, eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], ecx
test eax, eax
je 0x466a29
mov dword [eax], ecx
push ecx
push esi
push str.ExecuteFile____End__d____d_
call fcn.00469390
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, 1
push edi
mov dword [ebp - 0x248], eax
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.0046f7e0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push edi
push 0x48f188
push 0x20
push eax
call fcn.0046ecde
add esp, 0x1c
cmp dword [ebp + 0x18], 0
je 0x4672b6
cmp dword [0x4b89c0], 0
je 0x4672b6
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x242]
push eax
call fcn.0046f7e0
push dword [ebp + 0x18]
lea eax, [ebp - 0x244]
push 0x48f188
push 0x100
push eax
call fcn.0046ecde
add esp, 0x1c
lea eax, [ebp - 0x44]
push 0x4cd328
push dword [ebp + 0x14]
push esi
push 0
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x4672d2
push dword [ebp + 0x14]
push esi
push edi
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jg 0x4672d2
xor eax, eax
xor ebx, ebx
mov word [esi], ax
push esi
push edi
push str.LoadStringEx__d____s
call fcn.00469390
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0046ecfa
mov esp, ebp
pop ebp
ret

Function at 0x467300
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, eax
add esi, dword [ebp + 8]
call edi
cmp eax, esi
jae 0x467350
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x46733e
lea eax, [ebp - 0x1c]
push eax
call ebx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
cmp eax, esi
jb 0x467322
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret