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

Disassembly:
mov eax, 0x10b0
call fcn.0050c9c0
xor eax, eax
push ebx
mov dword [esp + 0x18], eax
push esi
push eax
push eax
lea ecx, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
test esi, esi
je 0x429296
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], bx
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x10c4]
push eax
push edx
lea eax, [esp + 0x80]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x48]
add esp, 0x14
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea edx, [esp + 0xc]
lea eax, [esp + 0x30]
mov dword [esp + 0x14], ecx
push edx
push eax
push ecx
push ecx
push ecx
push 1
push ecx
mov dword [esp + 0x34], ecx
push ecx
lea ecx, [esp + 0x94]
push ecx
push ebx
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x84], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42928e
mov edx, dword [esp + 0xc]
push 0xea60
lea eax, [esp + 0x2c]
push ebx
push eax
push 2
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x42927b
cmp eax, 1
jne 0x429280
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x429280
mov ebx, 1
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
push esi
call edi
test ebx, ebx
pop edi
jne 0x4292da
cmp word [0x559fa4], 0
jne 0x4292b8
mov eax, dword [0x5dc940]
push 0x104
push 0x559fa4
push 0x32
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push 0x559fa4
push 0xc38d
call fcn.00496ed0
mov ecx, dword [0x5c6c58]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, ebx
pop esi
pop ebx
add esp, 0x10b0
ret
Function at 0x429860
Capabilities:
Copy file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov word [esp + 8], 0
push 0x559d9c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
add esp, 4
cmp eax, 0x103
jbe 0x42989c
mov eax, 0x103
jmp 0x4298a6
push 0x559d9c
call esi
add esp, 4
push eax
lea eax, [esp + 0xc]
push 0x559d9c
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x4298d2
mov word [eax], 0
cmp word [0x559fa4], 0
jne 0x4298f5
mov edx, dword [0x5dc940]
push 0x104
push 0x559fa4
push 0x32
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [0x5c6c58]
mov edx, dword [0x5dc944]
push 0
push 0
push 0x802
lea eax, [esp + 0xc]
push 0x52ad74
push eax
push str.Dump_Files_.dmp_
push 0x559fa4
push ecx
push edx
call fcn.0043c290
add esp, 0x24
test eax, eax
je 0x42993e
lea eax, [esp]
push 0
push eax
push 0x5c6a50
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x208
ret

Function at 0x429950
Capabilities:
Delete file

Disassembly:
mov ecx, 0x562548
call fcn.004228c0
mov eax, dword [0x5c6c5c]
test eax, eax
je 0x42997b
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x5c6c5c], 0
cmp dword [0x5bf5f4], 7
jne 0x42999f
push 0xc358
call fcn.00496ed0
add esp, 4
push eax
mov eax, dword [0x5c6c58]
push 0x421
push eax
jmp 0x4299b9
push 0xc359
call fcn.00496ed0
mov ecx, dword [0x5c6c58]
add esp, 4
push eax
push 0x421
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
push edi
push 0x5bf618
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x5c6c58]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 2
push edx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov eax, dword [0x5c6c58]
push 1
push 4
push eax
call esi
push eax
call edi
mov ecx, 0x562548
call fcn.00422590
pop edi
pop esi
ret
Function at 0x429a50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x55db28]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x429bb6
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x52adb8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x429b9e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x429b83
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x52adb4]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x429c28
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
Function at 0x42a320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 4]
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.00429c40
add esp, 8
cmp eax, ebx
mov dword [0x5c6c5c], eax
je 0x42a4f7
mov dx, word [0x559900]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], dx
mov word [ebp - 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
lea edx, [ebp - 0x20c]
rep stosd dword es:[edi], eax
push edx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x20c]
push 0x527a58
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x562548
call fcn.00422590
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.http:__doctor.se.360.cn_index.php_doadderrorlog
mov ecx, 0x412
xor eax, eax
mov edi, 0x5bfa28
push 0x528430
push 0x824
push 0x5bfa28
rep stosd dword es:[edi], eax
call esi
add esp, 0x10
lea edx, [ebp - 0x414]
mov ecx, 0x82
xor eax, eax
push edx
mov edi, 0x5bf618
push 0x528430
push 0x104
rep stosd dword es:[edi], eax
push 0x5bf618
call esi
mov ax, word [0x559900]
mov ecx, 0x81
mov word [ebp - 0x61c], ax
xor eax, eax
lea edi, [ebp - 0x61a]
add esp, 0x10
rep stosd dword es:[edi], eax
mov ecx, str.___________________________7d9114302a0cb6
mov dword [0x564bec], 0x2710
test ecx, ecx
mov dword [0x564be4], 0x42a510
mov dword [0x564be0], ebx
stosw word es:[edi], ax
je 0x42a489
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0050c9c0
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push str.___________________________7d9114302a0cb6
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push str.multipart_form_data__boundary_s
lea edx, [ebp - 0x61c]
push 0x103
push edx
call esi
mov eax, dword [0x5c6c5c]
mov ecx, dword [ebp - 4]
add esp, 0x10
lea edx, [ebp - 0x61c]
mov dword [0x5649c4], eax
mov dword [0x5649c8], ecx
push edx
mov ecx, 0x82
xor eax, eax
mov edi, 0x5649cc
push 0x528430
push 0x104
rep stosd dword es:[edi], eax
push 0x5649cc
call esi
add esp, 0x10
mov ecx, 0x562548
call fcn.004224c0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42a4f7
mov ecx, 0x562548
call fcn.004228c0
lea esp, [ebp - 0x628]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ca10
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x820
push ebx
push esi
push edi
mov esi, dword [esp + 0x830]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
stosw word es:[edi], ax
push 0x528430
lea eax, [esp + 0x21c]
push 0x103
push eax
call ebx
lea ecx, [esp + 0x224]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x18
test eax, eax
je 0x42ca83
add eax, 2
lea edx, [esp + 0x214]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x626]
mov word [esp + 0x624], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x624]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x214]
lea edx, [esp + 0x624]
push ecx
push edx
push 0x528910
lea eax, [esp + 0x18]
push 0x103
push eax
call ebx
mov cx, word [0x559900]
xor eax, eax
mov word [esp + 0x430], cx
mov ecx, 0x81
lea edi, [esp + 0x432]
add esp, 0x14
rep stosd dword es:[edi], eax
push str.Skin
push 0x559b94
push str._s_s_
lea edx, [esp + 0x428]
push 0x103
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x430]
push eax
call fcn.0043bec0
lea ecx, [esp + 0x434]
push 1
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0043c720
add esp, 0x24
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0xc]
push ecx
call edi
push 0
push esi
call fcn.0043c5a0
add esp, 8
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x820
ret 4

Function at 0x435c30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, 1
call fcn.00435420
test eax, eax
je 0x435cb3
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push str.DownProgID
push str.Software360360se3
push SysReAllocStringLen
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x10], 0
pop edi
je 0x435ca9
lea eax, [esp + 0xc]
push str.IEInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x435cb3
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x43b570
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
je 0x43b678
lea edi, [esi + 0x22c]
push 0x103
push eax
push edi
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
push ebp
push 0x80
push 4
push ebp
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43b678
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6400000
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], eax
mov dword [esp + 0x18], ebp
jbe 0x43b5ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esi + 0x21c], edi
jne 0x43b60a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 0x220]
xor eax, eax
inc ecx
push ebp
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x220]
mov edx, dword [esi + 0x21c]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43b658
mov eax, dword [esi + 0x220]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x43b658
mov dword [esp + 0x10], 1
jmp 0x43b671
mov eax, dword [esi + 0x21c]
cmp eax, ebp
je 0x43b671
push eax
call fcn.0050c98e
add esp, 4
mov dword [esi + 0x21c], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x228], ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x43b8a0
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
je 0x43b906
mov esi, dword [esp + 0x18]
test esi, esi
je 0x43b906
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80000080
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43b906
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push 0
push eax
push edi
push ebx
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x43b90e
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, edi
pop edi
pop esi
pop ebx
sete al
ret 0xc
Function at 0x43b9d0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
push edi
je 0x43ba1e
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43ba1e
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x43ba1e
push esi
xor esi, esi
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x43ba18
mov ecx, ebx
mov esi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret

Function at 0x43ba30
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push edi
je 0x43ba85
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43ba85
mov ebp, dword [esp + 0x14]
test ebp, ebp
jbe 0x43ba85
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx]
test esi, esi
je 0x43ba7e
mov ecx, ebp
push eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
pop edi
pop ebp
ret
pop edi
xor eax, eax
pop ebp
ret

Function at 0x43be90
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x43beb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x43beb8
mov eax, esi
pop esi
ret
Function at 0x440250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50dea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f30a0
xor edi, edi
lea ecx, [esi + 0xef0]
mov dword [esp + 0x18], edi
call fcn.00442140
push edi
lea ecx, [esi + 0x2480]
mov byte [esp + 0x1c], 1
call fcn.004ddb00
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x24cc], al
mov dword [esi + 0x24d0], edi
mov dword [esi + 0x24d4], edi
mov dword [esi + 0x24d8], edi
mov dword [esi + 0x247c], edi
mov dword [esi + 0x24c0], edi
mov dword [esi + 0x24bc], edi
mov dword [esi + 0x24c8], edi
mov dword [esi], 0x5146a4
mov dword [esi + 4], 0x514690
mov dword [esi + 0x28], 0x51468c
mov dword [esi + 0x30], 0x51467c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x440268
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50dea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f30a0
xor edi, edi
lea ecx, [esi + 0xef0]
mov dword [esp + 0x18], edi
call fcn.00442140
push edi
lea ecx, [esi + 0x2480]
mov byte [esp + 0x1c], 1
call fcn.004ddb00
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x24cc], al
mov dword [esi + 0x24d0], edi
mov dword [esi + 0x24d4], edi
mov dword [esi + 0x24d8], edi
mov dword [esi + 0x247c], edi
mov dword [esi + 0x24c0], edi
mov dword [esi + 0x24bc], edi
mov dword [esi + 0x24c8], edi
mov dword [esi], 0x5146a4
mov dword [esi + 4], 0x514690
mov dword [esi + 0x28], 0x51468c
mov dword [esi + 0x30], 0x51467c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x440320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50dec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov dword [edi], 0x5146a4
mov dword [edi + 4], 0x514690
mov dword [edi + 0x28], 0x51468c
mov dword [edi + 0x30], 0x51467c
mov ebx, dword [edi + 0x24d4]
mov esi, dword [edi + 0x24d0]
cmp esi, ebx
mov dword [esp + 0x18], 1
je 0x4403a8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esi]
mov edx, dword [0x527100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4403a0
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x4403a0
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.0050c98e
add esp, 4
add esi, 4
cmp esi, ebx
jne 0x440379
pop ebp
mov eax, dword [edi + 0x24d0]
push eax
call fcn.0050c98e
xor ebx, ebx
add esp, 4
lea ecx, [edi + 0x2480]
mov dword [edi + 0x24d0], ebx
mov dword [edi + 0x24d4], ebx
mov dword [edi + 0x24d8], ebx
call fcn.004ddb50
lea ecx, [edi + 0xef0]
mov byte [esp + 0x18], bl
call fcn.00442290
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.004f33d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x442140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50df78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ff160
lea edi, [esi + 0x24]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004ed020
push ebx
push ebx
push ebx
lea eax, [esi + 0x30]
push ebx
push eax
mov dword [esi], 0x51472c
mov dword [edi], 0x514728
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffff
mov dword [esi + 0x44], 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x40], eax
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x48]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x250]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
lea ecx, [esi + 0x14ac]
push str.BG_EDIT
push ecx
mov dword [esi + 0x458], 0x717171
mov dword [esi + 0x2c], ebx
call edi
lea edx, [esi + 0x14ec]
push str.LeftPad
push edx
call edi
lea eax, [esi + 0x152c]
push str.RightPad
push eax
call edi
add esp, 0x18
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x45c]
mov dword [esi + 0x1578], ebx
mov dword [esi + 0x156c], ebx
mov dword [esi + 0x1570], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x1584], ebx
mov dword [esi + 0x157c], 8
mov dword [esi + 0x1580], 5
mov dword [esi + 0x14a8], ebx
mov dword [esi + 0x1588], 0x12
mov dword [esi + 0x1574], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x442e2e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50dfbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 0x20]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov cl, byte [esp + 0x30]
xor ebx, ebx
push 0x1c
mov dword [esp + 0x18], esi
mov byte [esi + 0x14], al
mov byte [esi + 0x15], cl
mov byte [esi + 0x1c], bl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x18], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x5c8a04], ebx
jne 0x442e82
mov dword [0x5c8a04], edi
mov dword [edi], ebx
mov edx, dword [0x5c8a04]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x5c8a00]
inc ecx
mov dword [0x5c8a00], ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x442ea6
push ebp
call fcn.0050c98e
add esp, 4
mov edi, dword [0x5c8a04]
push 0x1c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax + 4], edi
mov dword [eax + 0x18], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x18]
add esp, 4
mov dword [eax + 8], eax
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push edi
mov dword [esi], 0x514740
call fcn.004a27f0
mov ecx, eax
call fcn.004a2ba0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x443fa0
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push 0
push str.user.dat
mov ecx, 0x559928
stosw word es:[edi], ax
call fcn.0040a550
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.0043bba0
push 0
push esi
call fcn.0043bab0
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x444002
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.0043bba0
add esp, 0xc
mov ecx, 0x559928
push 0
push str.history.dat
call fcn.0040a550
mov esi, eax
push 0
push esi
call fcn.0043bab0
add esp, 8
test eax, eax
jne 0x444043
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x44a290
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
push 0
push str.secache.ini
mov ecx, 0x559928
lea esi, [edi + 0x2c]
call fcn.0040a550
push eax
push 0x528430
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 1
add edi, 0x28
push esi
push edi
call fcn.00491690
add esp, 0x1c
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
ret