joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4423f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [eax], 0
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x442407
sub esi, edx
sar esi, 1
je 0x442421
cmp word [ecx + esi*2 - 2], 0x5c
jne 0x442421
dec esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea ecx, [esi*2 + 6]
mov dword [ebp - 4], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x44249f
push edi
lea edi, [esi + esi]
push edi
push dword [ebp + 8]
push ebx
call fcn.005bac20
add esp, 0xc
mov dword [edi + ebx], 0x2e005c
xor eax, eax
mov word [ebx + esi*2 + 4], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push 0
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
cmp esi, 0xffffffff
je 0x44248f
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x44249f
cmp eax, 2
jne 0x442484
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.HttpDownloadEnd
push 1
push 0x4bc
push 0x60bf50
push str.CDuiFrameWnd::DownloadSuccess
mov edi, ecx
call fcn.004f87f0
push 0xc
mov dword [ebp - 4], 0
call fcn.005b9fd9
mov esi, eax
add esp, 0x18
test esi, esi
je 0x44299d
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x44299f
xor esi, esi
call fcn.00437640
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x442a90
push 0
push 0
mov dword [esi + 8], 1
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi + 0x6c8], 2
je 0x442a10
push str.switch
lea ecx, [edi + 0x2c]
mov dword [edi + 0x6c8], 2
call fcn.0044d826
test eax, eax
je 0x442a10
push str.UpdateWindowSate:kWindow_Installing
push 1
push 0x2c0
push 0x60bf50
push str.CDuiFrameWnd::UpdateWindowSate
call fcn.004f87f0
add esp, 0x14
mov ecx, edi
call fcn.004462a0
push dword [edi + 0x748]
mov ecx, edi
call fcn.00446c00
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442f60
Capabilities:
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [ebp - 0x30], 0
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], ebx
push eax
push 0x58
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x442fc1
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x442fae
cmp dword [esi + 0x14], 8
jb 0x442fcd
mov esi, dword [esi]
push 0
push 0x50
push esi
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x442fae
cmp dword [edi + 0x14], 8
jb 0x442fe8
mov edi, dword [edi]
push 0
push 0
push 0
push 0
push edi
push 0x65e8dc
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov ebx, eax
test ebx, ebx
je 0x442fae
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x442fae
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x443113
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x13
push ebx
mov dword [ebp - 0x20], 0
call esi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a4c05
mov ecx, dword [ebp - 0x20]
mov edi, eax
inc ecx
push ecx
push 0
push edi
call fcn.005bc550
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push edi
push 0
push 0x13
push ebx
call esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push edi
mov esi, eax
call fcn.005bbf8e
add esp, 4
cmp esi, 0x12e
jne 0x442fae
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 0
push 0x21
push ebx
call edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005a4c05
mov ecx, dword [ebp - 0x20]
mov esi, eax
inc ecx
push ecx
push 0
push esi
call fcn.005bc550
add esp, 0x10
lea eax, [ebp - 0x20]
push 0
push eax
push esi
push 0
push 0x21
push ebx
call edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.00423920
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00424e90
lea ecx, [ebp - 0x1c]
call fcn.00424ed0
push esi
call fcn.005bbf8e
add esp, 4
jmp 0x443138
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_has_occurred._n
push 1
push 0xfa
push 0x60bf50
push str.GetRedirectUrl
call fcn.004f87f0
add esp, 0x18
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebx
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x444250
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f74d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
lea ecx, [esi + 0x6e4]
push esp
call fcn.00442c60
lea eax, [ebp - 0x28]
push eax
call fcn.00431940
add esp, 0x1c
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x44436d
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x6e4]
call fcn.0042c8d0
push eax
lea ecx, [esi + 0x53c]
mov byte [ebp - 4], 1
call fcn.0044c110
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042a9d0
push 0x60caf0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0042a7d0
add esp, 0x18
cmp dword [ebp - 0x2c], 8
jb 0x4442f8
push dword [ebp - 0x40]
call fcn.005ba02a
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x44431d
push dword [ebp - 0x70]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x60cb00
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005bbe6a
mov esi, eax
add esp, 8
test esi, esi
je 0x44435c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
push ecx
call fcn.005bd18a
push esi
call fcn.005bbfff
add esp, 0x14
cmp dword [ebp - 0x44], 8
jb 0x44436d
push dword [ebp - 0x58]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x44437e
push dword [ebp - 0x28]
call fcn.005ba02a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x444b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f75d3
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x68a300]
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
push str.LoadResZipFile
push 1
push 0x3e2
push 0x60bf50
push str.CDuiFrameWnd::LoadResZipFile
call fcn.004f87f0
add esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x69
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea ecx, [ebx + 0x4b8]
push str.language_
lea eax, [ebp - 0xac]
push eax
call fcn.0044bc11
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c110
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x444c38
xor ecx, ecx
jmp 0x444c4f
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444c40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00423820
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0044baf0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push dword [ebp - 0xb0]
call fcn.00455b74
add esp, 0xc
cmp dword [ebp - 0x14], 8
jb 0x444c94
push dword [ebp - 0x28]
call fcn.005ba02a
add esp, 4
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.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x445fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0x60a86c
lea ecx, [edi + 0x644]
call fcn.0044c110
push eax
call fcn.005bbe6a
mov esi, eax
add esp, 8
test esi, esi
je 0x44604e
push esi
push 0xa
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
xorps xmm0, xmm0
mov byte [ebp - 7], 0
push 1
push eax
movq qword [ebp - 0xf], xmm0
call fcn.005bcf85
push esi
call fcn.005bbfff
lea eax, [ebp - 0x10]
push eax
call fcn.005bcd6a
mov esi, dword [edi + 0x748]
mov edx, 0x64
sub edx, esi
add esp, 0x18
imul edx, eax
mov ecx, edi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, esi
push eax
call fcn.00446c00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x446650
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0x60a86c
lea ecx, [esi + 0x644]
call fcn.0044c110
push eax
call fcn.005bbe6a
add esp, 8
test eax, eax
je 0x44668c
push eax
call fcn.005bbfff
add esp, 4
lea ecx, [esi + 0x644]
call fcn.0044c110
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi + 0x2c]
call fcn.00421590
push 0
push dword [esi + 0x74c]
push 0xc
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret

Function at 0x447d50
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7b60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x34], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x10]
mov dword [ebp - 0x38], 0
push esi
mov word [ebp - 0x48], ax
call fcn.00423cd0
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x18]
mov dword [ebp - 0x1c], 7
push eax
mov dword [ebp - 0x20], 0
call fcn.00423cd0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.005a5b4e
lea ecx, [ebp - 0x48]
call fcn.00441900
cmp dword [ebp - 0x1c], 8
jb 0x447dfd
push dword [ebp - 0x30]
call fcn.005ba02a
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x447e22
push dword [ebp - 0x48]
call fcn.005ba02a
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x44aae0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7f91
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x68a300]
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 esi, dword [ebp + 8]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], 1
jb 0x44ab42
mov eax, dword [edi]
jmp 0x44ab44
mov eax, edi
lea ecx, [ebp - 0x30]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x44abf5
push eax
lea ecx, [ebp - 0x50]
call fcn.0044a6f0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 1
jb 0x44ab71
mov edi, dword [edi]
mov ebx, dword [ebp - 0x50]
push ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44abe8
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x65e8f0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44abe8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push str.StringFileInfo040904b0FileDescription
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44abe8
push dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00423820
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00424e90
lea ecx, [ebp - 0x28]
call fcn.00424ed0
test ebx, ebx
je 0x44abf5
push ebx
call fcn.005ba02a
add esp, 4
mov eax, esi
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.005ba7b4
mov esp, ebp
pop ebp
ret
Function at 0x4516cb
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x451706
mov ecx, dword [ebx + 0x84]
cmp eax, ecx
je 0x451706
cmp esi, dword [ebx + 0xe8]
je 0x451706
cmp byte [ebx + 0xe0], 0
jne 0x451706
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
cmp esi, eax
je 0x4517e1
push edi
test eax, eax
je 0x451767
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0xe8]
call fcn.00451381
mov dword [ebx + 0xe8], edi
test esi, esi
je 0x4517e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x4517e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x4517e0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4517e0
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0xe8], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0xe8]
call fcn.00451381
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x455871
Capabilities:
Write file on windows

Disassembly:
push 0x460
mov eax, 0x5f88c7
call fcn.005bdef1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x468]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push eax
call fcn.00423920
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x428], 0
mov ebx, 0x65e8f0
push ebx
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
call fcn.005be166
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.00423820
and dword [ebp - 0x440], 0
xor eax, eax
mov ebx, 0x60a760
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.005be166
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x450]
call fcn.00423820
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00455c73
add esp, 0xc
lea ecx, [ebp - 0x450]
xor ebx, ebx
push ebx
push 1
call fcn.00424f30
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424f30
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005be17f
lea eax, [ebp - 0x218]
push eax
call fcn.005be166
add esp, 0x10
test eax, eax
je 0x4559f1
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x455980
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x454], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x468]
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x60d880
push eax
call fcn.00433410
add esp, 0x10
lea eax, [ebp - 0x420]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, eax
lea eax, [ebp - 0x46c]
push eax
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x468]
call fcn.00424f30
call fcn.005bdea0
ret
Function at 0x455a05
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x45c
mov eax, 0x5f8910
call fcn.005bdef1
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov esi, dword [ebp + 0xc]
push eax
call fcn.00423920
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x440], 0
mov edi, 0x65e8f0
push 7
pop ebx
push edi
mov dword [ebp - 0x43c], ebx
mov word [ebp - 0x450], ax
call fcn.005be166
pop ecx
push eax
push edi
lea ecx, [ebp - 0x450]
call fcn.00423820
mov dword [ebp - 0x454], ebx
xor eax, eax
mov edi, 0x60a760
mov byte [ebp - 4], 1
xor ebx, ebx
mov word [ebp - 0x468], ax
push edi
mov dword [ebp - 0x458], ebx
call fcn.005be166
pop ecx
push eax
push edi
lea ecx, [ebp - 0x468]
call fcn.00423820
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.00455c73
add esp, 0xc
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00424f30
push ebx
push 1
lea ecx, [ebp - 0x450]
call fcn.00424f30
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.005be17f
lea eax, [ebp - 0x218]
push eax
call fcn.005be166
add esp, 0x10
test eax, eax
je 0x455b60
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x21a], cx
je 0x455b07
mov word [ebp + eax*2 - 0x218], cx
xor eax, eax
cmp dword [ebp - 0x424], 8
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x60d880
push eax
call fcn.00433410
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x455b60
push ebx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push 1
lea ecx, [ebp - 0x438]
call fcn.00424f30
call fcn.005bdea0
ret
Function at 0x455b74
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push ebx
xor edi, edi
mov dword [ebp - 0x238], eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x455bb7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 3
push dword [ebp - 0x238]
push esi
call fcn.00460c42
mov esi, eax
lea eax, [ebp - 0x234]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x238], esi
call fcn.00460ae1
mov eax, dword [ebp - 0x234]
add esp, 0x18
mov dword [ebp - 0x23c], eax
test eax, eax
jle 0x455c59
lea eax, [ebp - 0x234]
push eax
push edi
push esi
call fcn.00460ae1
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x455c17
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.00455a05
pop ecx
pop ecx
jmp 0x455c50
push dword [ebp - 8]
call fcn.005a4c05
push 3
push dword [ebp - 8]
mov esi, eax
push esi
push edi
push dword [ebp - 0x238]
call fcn.00460ff7
push dword [ebp - 0x28]
lea eax, [ebp - 0x230]
push dword [ebp - 8]
push esi
push ebx
push eax
call fcn.00455871
mov esi, dword [ebp - 0x238]
add esp, 0x2c
inc edi
cmp edi, dword [ebp - 0x23c]
jl 0x455bef
push esi
call fcn.004603fc
pop ecx
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret

Function at 0x456d1f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x68a300]
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.0045317a
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x456d9b
lea eax, [ebp - 0x14]
push eax
call fcn.0045630c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x456d77
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x456d9b
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x456dac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x456e36
cmp dword [esi + 0x10], 0
je 0x456e36
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.005bea30
mov ebx, esp
test ebx, ebx
je 0x456e36
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.0044bb7a
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00451381
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0044e1a2
test al, al
je 0x456e36
mov ecx, dword [esi + 0x10]
call fcn.00453094
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457483
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x68a300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0045470b
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x457507
lea eax, [ebp - 0x14]
push eax
call fcn.0045630c
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x4574e3
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x457507
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.004215c0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ba7b4
mov esp, ebp
pop ebp
ret 0x14