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

Disassembly:
push 0xffffffffffffffff
push 0x44260c
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor ebx, ebx
mov eax, 1
mov dword [esp + 0x30], ebx
test byte [0x456dbc], al
jne 0x4175e0
or dword [0x456dbc], eax
xor eax, eax
push 0x4439e0
mov dword [0x456db8], 7
mov dword [0x456db4], ebx
mov word [0x456da4], ax
call fcn.004295d3
add esp, 4
cmp dword [0x456db4], ebx
je 0x417600
xor ecx, ecx
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], cx
push ebx
jmp 0x41779d
push ebx
push 0x1a
lea edx, [esp + 0x58]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417616
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x54]
mov esi, 0x456da0
call fcn.00405170
mov edi, esi
lea eax, [esp + 0x14]
call fcn.00417300
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x26c], ebx
call fcn.00405080
mov edi, 8
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x417673
mov eax, dword [esp + 0x18]
push eax
call fcn.00427f1c
add esp, 4
push 0x456da0
mov ebx, str.cqby_
lea esi, [esp + 0x18]
call fcn.00412da0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, 0x456da0
mov dword [esp + 0x26c], 1
call fcn.00405080
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x4176c0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00427f1c
add esp, 4
push 0x456da0
mov ebx, str.cqby
lea esi, [esp + 0x18]
call fcn.00412da0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, 0x456da0
mov dword [esp + 0x26c], 2
call fcn.00405080
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x2c], edi
jb 0x41770d
mov edx, dword [esp + 0x18]
push edx
call fcn.00427f1c
add esp, 4
push 0x456da0
mov ebx, 0x4485b4
lea esi, [esp + 0x38]
call fcn.00412da0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, 0x456da0
mov dword [esp + 0x26c], 3
call fcn.00405080
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x4c], edi
jb 0x41775a
mov eax, dword [esp + 0x38]
push eax
call fcn.00427f1c
add esp, 4
xor ecx, ecx
cmp dword [0x456db8], edi
mov edi, dword [0x456da4]
mov esi, 7
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 0
mov word [esp + 0x38], cx
jae 0x417785
mov edi, 0x456da4
call fcn.004177e0
xor edx, edx
push 0xffffffffffffffff
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], 0
mov word [ebp + 4], dx
push edx
mov eax, 0x456da0
mov ecx, ebp
call fcn.00405080
mov eax, ebp
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00427f27
add esp, 0x254
ret
Function at 0x4177e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x441838
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
cmp edi, ebx
je 0x41789d
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x417840
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.00405170
mov dword [esp + 0x54], ebx
push 0x4485b4
mov ebx, 1
xor eax, eax
mov edx, esi
call fcn.00404e40
mov esi, eax
cmp esi, 0xffffffff
jne 0x4178a4
push edi
call ebp
test eax, eax
jne 0x417930
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x417930
lea esi, [esp + 0x2c]
call fcn.00413550
xor al, al
jmp 0x41795d
lea ecx, [esp + 0x2c]
lea ebp, [esi + 1]
push ecx
mov ecx, ebp
xor edx, edx
lea esi, [esp + 0x14]
call fcn.0040e020
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x4178cc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4178f6
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x4178e5
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41797b
push 0x4485b4
mov ebx, 1
mov eax, ebp
lea edx, [esp + 0x30]
call fcn.00404e40
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x417921
mov edx, dword [esp + 0x14]
push edx
call fcn.00427f1c
add esp, 4
cmp esi, 0xffffffff
jne 0x4178a4
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
test eax, eax
jne 0x417947
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x417894
cmp dword [esp + 0x44], 8
jb 0x41795b
mov eax, dword [esp + 0x30]
push eax
call fcn.00427f1c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00427f27
add esp, 0x48
ret
cmp dword [esp + 0x28], esi
jb 0x41798e
mov eax, dword [esp + 0x14]
push eax
call fcn.00427f1c
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x4179b8
mov edx, dword [esp + 0x30]
push edx
call fcn.00427f1c
add esp, 4
xor al, al
jmp 0x41795d
Function at 0x417a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov esi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.004179c0
mov dword [esp + 0x38], 0
push edi
mov ebx, str.LastUpgrade.ini
lea esi, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.00412da0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00405080
cmp dword [esp + 0x2c], 8
jb 0x417ac9
mov eax, dword [esp + 0x18]
push eax
call fcn.00427f1c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x417ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x442e51
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov esi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.004179c0
mov dword [esp + 0x38], 0
push edi
mov ebx, str.xyLanderUpgrade.exe
lea esi, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.00412da0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00405080
cmp dword [esp + 0x2c], 8
jb 0x417b69
mov eax, dword [esp + 0x18]
push eax
call fcn.00427f1c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x417bf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4425ab
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ebx, 3
mov dword [esp + 0x244], ebx
cmp dword [esp + 0x2b4], ebp
jne 0x417c86
lea esi, [esp + 0x14]
call fcn.00417b80
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x24c], 4
call fcn.00405080
mov byte [esp + 0x244], bl
mov ebx, 8
cmp dword [esp + 0x2c], ebx
jb 0x417c8b
mov eax, dword [esp + 0x18]
push eax
call fcn.00427f1c
add esp, 4
jmp 0x417c8b
mov ebx, 8
push 0x206
lea edx, [esp + 0x36]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x3c], cx
call fcn.0042c020
mov esi, dword [esp + 0x2b0]
add esp, 0xc
cmp dword [esp + 0x2b8], ebx
jae 0x417cbc
lea esi, [esp + 0x2a4]
mov edx, dword [esp + 0x288]
cmp dword [esp + 0x29c], ebx
jae 0x417cd3
lea edx, [esp + 0x288]
mov ecx, dword [esp + 0x26c]
cmp dword [esp + 0x280], ebx
jae 0x417cea
lea ecx, [esp + 0x26c]
mov eax, dword [esp + 0x250]
cmp dword [esp + 0x264], ebx
jae 0x417d01
lea eax, [esp + 0x250]
push esi
push 0x104
lea esi, [esp + 0x38]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 7
xor eax, eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], ebp
mov word [edi + 4], ax
mov eax, esi
lea edx, [eax + 2]
jmp 0x417d30
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x417d30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
mov esi, edi
call fcn.00405170
mov esi, 8
cmp dword [esp + 0x264], esi
jb 0x417d69
mov ecx, dword [esp + 0x250]
push ecx
call fcn.00427f1c
add esp, 4
xor edx, edx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x260], ebp
mov word [esp + 0x250], dx
cmp dword [esp + 0x280], esi
jb 0x417d9a
mov eax, dword [esp + 0x26c]
push eax
call fcn.00427f1c
add esp, 4
xor ecx, ecx
mov dword [esp + 0x280], ebx
mov dword [esp + 0x27c], ebp
mov word [esp + 0x26c], cx
cmp dword [esp + 0x29c], esi
jb 0x417dcb
mov edx, dword [esp + 0x288]
push edx
call fcn.00427f1c
add esp, 4
xor eax, eax
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x298], ebp
mov word [esp + 0x288], ax
cmp dword [esp + 0x2b8], esi
jb 0x417dfc
mov ecx, dword [esp + 0x2a4]
push ecx
call fcn.00427f1c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00427f27
add esp, 0x238
ret
Function at 0x417fa0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x442510
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 2
cmp dword [esp + 0x88], 0
mov edi, 8
jne 0x41800a
lea esi, [esp + 0xc]
call fcn.00417b80
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x38], 3
call fcn.00405080
cmp dword [esp + 0x24], edi
jb 0x41800a
mov eax, dword [esp + 0x10]
push eax
call fcn.00427f1c
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x41801b
lea edx, [esp + 0x78]
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], edi
jae 0x418029
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x418037
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp dword [esp + 0x50], edi
jb 0x41805a
mov eax, dword [esp + 0x3c]
push eax
call fcn.00427f1c
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp dword [esp + 0x6c], edi
jb 0x418084
mov edx, dword [esp + 0x58]
push edx
call fcn.00427f1c
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x8c], edi
jb 0x4180b1
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00427f1c
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x418390
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440e00
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], 0x1000
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 1]
mov eax, dword [ebp - 0x14]
push eax
call fcn.004269d3
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edi, eax
mov dword [edi], ecx
test ebx, ebx
jne 0x4183fc
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
test ebx, ebx
je 0x418418
mov eax, dword [edi + 4]
push eax
jmp 0x418412
lea ecx, [ebp - 0x14]
push ecx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x418418
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp esi, 1
jne 0x418455
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x41845c
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
test esi, esi
je 0x41845c
lea edx, [ebp - 0x14]
push edx
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
mov esi, eax
test esi, esi
je 0x41845c
mov eax, dword [edi + 4]
push eax
jmp 0x418433
mov dword [ebp - 0x18], 1
push edi
call fcn.00427fb3
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x4183cd
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418490
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
mov eax, 1
mov dword [esp + 8], esi
test byte [0x456d9c], al
jne 0x4184d5
or dword [0x456d9c], eax
xor eax, eax
push 0x443a20
mov dword [0x456d98], 7
mov dword [0x456d94], esi
mov word [0x456d84], ax
call fcn.004295d3
add esp, 4
cmp dword [0x456d94], esi
je 0x418502
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push 0xffffffffffffffff
mov word [ebp + 4], cx
push esi
mov eax, 0x456d80
mov ecx, ebp
call fcn.00405080
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
push ebx
push edi
push esi
mov eax, 0x104
mov edi, 0x456d80
call fcn.00418d30
cmp dword [0x456d98], 8
mov eax, dword [0x456d84]
jae 0x418527
mov eax, 0x456d84
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [0x456d94]
mov ebx, eax
cmp ebx, ecx
ja 0x418550
or eax, 0xffffffff
mov esi, 0x456d80
call fcn.004053d0
xor esi, esi
jmp 0x41855f
mov eax, ebx
push esi
sub eax, ecx
mov edi, 0x456d80
call fcn.00418d30
push 0xffffffffffffffff
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
push esi
mov eax, 0x456d80
mov ecx, ebp
mov word [ebp + 4], dx
call fcn.00405080
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x418690
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4417f9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov edi, ecx
xor eax, eax
mov dword [esp + 0x14], eax
lea esi, [edi + 4]
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x1c], 0x30
mov byte [esp + 0x1d], 0x31
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0x33
mov byte [esp + 0x20], 0x34
mov byte [esp + 0x21], 0x35
mov byte [esp + 0x22], 0x36
mov byte [esp + 0x23], 0x37
mov byte [esp + 0x24], 0x38
mov byte [esp + 0x25], 0x39
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x62
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x66
mov word [esi], cx
mov dword [esp + 0x38], eax
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x14], 1
cmp ebx, 0x20
ja 0x41876e
cmp dword [edi + 0x18], 0x20
je 0x41876e
push 1
push 0x20
mov eax, edi
call fcn.00405460
test al, al
je 0x41876e
cmp dword [edi + 0x18], 8
mov dword [edi + 0x14], ebx
jb 0x418768
mov esi, dword [esi]
xor edx, edx
mov word [esi + ebx*2], dx
xor ebx, ebx
movzx esi, byte [ebx + ebp]
mov eax, esi
cdq
and edx, 0xf
add eax, edx
sar eax, 4
and esi, 0x8000000f
jns 0x41878c
dec esi
or esi, 0xfffffff0
inc esi
movsx ax, byte [esp + eax + 0x1c]
movzx ecx, ax
push ecx
mov eax, 1
call fcn.00418d30
movsx dx, byte [esp + esi + 0x1c]
movzx eax, dx
push eax
mov eax, 1
call fcn.00418d30
inc ebx
cmp ebx, 0x10
jb 0x418770
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00427f27
add esp, 0x28
ret
Function at 0x41adb0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x440e9b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00426c01
push 4
mov dword [esp + 0x20], 0
call fcn.00428380
mov edi, eax
add esp, 4
test edi, edi
je 0x41ae2e
call fcn.00426f6b
mov dword [edi], eax
call fcn.00426d99
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00426bc2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x41ae23
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00426bea
jmp 0x41ae30
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x420513
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push esi
mov esi, ecx
cmp dword [esi + 0x70], 0
jne 0x420525
xor al, al
pop esi
add esp, 0x20
ret 4
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edx, dword [esi + 0x70]
lea ecx, [esp + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
push 0x41
add eax, dword [esp + 0x24]
push 0
cdq
sub eax, edx
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x70]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, 1
pop esi
add esp, 0x20
ret 4
Function at 0x421840
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x24]
mov dword [esi + 0xc], 1
test eax, eax
je 0x421855
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], 1
test eax, eax
je 0x421893
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x421882
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
ret
Function at 0x421ed0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x442b68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [edi + 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x4220a6
mov edi, edi
mov eax, dword [edi + 0x20]
call fcn.00422700
mov esi, eax
cmp esi, ebx
je 0x422071
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x421f3a
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
push ebx
push ebx
push 1
push ecx
push edx
call eax
add esp, 0x14
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x1c], ax
push ebx
mov eax, esi
lea ecx, [esp + 0x1c]
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.00405080
mov dword [esp + 0x3c], ebx
cmp dword [edi + 0xc], ebx
jne 0x421fd2
cmp ebp, dword [esi + 0x40]
jg 0x421fab
push esi
mov ecx, edi
call fcn.004218a0
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x421fab
mov eax, dword [edi + 0xc]
inc ebp
cmp eax, ebx
jne 0x421fab
cmp ebp, dword [esi + 0x40]
jg 0x421fa6
lea esp, [esp]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xc], 0
jne 0x421fa4
inc ebx
cmp ebx, 0xa
jl 0x421f90
xor ebx, ebx
cmp dword [edi + 0xc], ebx
je 0x421f6a
cmp dword [edi + 0xc], ebx
jne 0x421fd2
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x421fcc
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x4c]
push esi
push ecx
mov ecx, dword [esi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebx
je 0x421ff1
cmp dword [esi + 0x30], ebx
je 0x421ff1
cmp dword [esi + 0x58], ebx
je 0x421ff1
cmp dword [esi + 0x34], 8
jb 0x421fe7
mov eax, dword [esi + 0x20]
jmp 0x421fea
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x422004
push eax
call fcn.00427fb3
add esp, 4
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x34], 8
jb 0x422016
mov eax, dword [esi + 0x20]
push eax
call fcn.00427f1c
add esp, 4
mov ebp, 7
xor edx, edx
mov dword [esi + 0x34], ebp
mov dword [esi + 0x30], ebx
mov word [esi + 0x20], dx
cmp dword [esi + 0x18], 8
jb 0x422039
mov eax, dword [esi + 4]
push eax
call fcn.00427f1c
add esp, 4
xor eax, eax
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push esi
mov word [esi + 4], ax
call fcn.00427f1c
add esp, 4
cmp dword [edi + 0xc], ebx
jne 0x422092
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esp + 0x2c], 8
jb 0x422087
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00427f1c
add esp, 4
jmp 0x422087
mov edx, dword [edi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x4220a6
cmp dword [edi + 0xc], ebx
je 0x421f10
jmp 0x4220a6
cmp dword [esp + 0x2c], 8
jb 0x4220a6
mov eax, dword [esp + 0x18]
push eax
call fcn.00427f1c
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427f27
add esp, 0x30
ret
Function at 0x4220d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4416d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4521a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4521a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0x14], edi
xor ecx, ecx
mov word [esp + 0x1c], cx
mov ecx, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
lea esi, [ecx + 2]
jmp 0x422130
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x422130
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x1c]
call fcn.00405170
mov dword [esp + 0x40], edi
mov edx, esi
push edx
mov edi, 1
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x2f
call fcn.004197d0
mov esi, ebp
cmp eax, 0xffffffff
jne 0x42218e
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
push eax
mov eax, 0x4470e4
call fcn.00405170
jmp 0x42219e
lea edx, [eax + 1]
lea eax, [esp + 0x18]
push eax
or ecx, 0xffffffff
call fcn.0040e020
cmp dword [esp + 0x30], 8
jb 0x4221b2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00427f1c
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00427f27
add esp, 0x30
ret 8