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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov eax, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x8058]
mov esi, ecx
push edi
cmp dword [eax + 4], 1
jne 0x42993c
mov ebp, dword [ebx]
mov eax, dword [esi + 0x26f8]
xor edi, edi
cmp eax, edi
je 0x429a1b
mov ecx, esi
call fcn.004293d0
mov edi, dword [ebx + 0x803c]
push 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
add ecx, eax
mov eax, dword [edi + 0xc]
adc eax, edx
mov edx, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 4]
sar edx, 0x1f
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x429997
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x429a72
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x429a72
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x429a72
mov ecx, dword [edi + 0x18]
add ecx, eax
mov dword [edi + 0x18], ecx
mov ebp, dword [edi + 0x1c]
mov ecx, 0
adc ebp, ecx
mov dword [edi + 0x1c], ebp
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x5d0c0]
push eax
add edi, eax
push ebx
mov dword [esi + 0x5d0c0], edi
mov edx, dword [esi + 0x5d0c4]
adc edx, ecx
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.00429a80
mov ecx, esi
call fcn.004294b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x429a72
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x429a72
mov ebp, dword [esi + 0x5d0c0]
push eax
add ebp, eax
push ebx
mov dword [esi + 0x5d0c0], ebp
mov edx, dword [esi + 0x5d0c4]
adc edx, edi
mov ecx, esi
mov dword [esi + 0x5d0c4], edx
call fcn.00429a80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x42b330
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42b33e
xor eax, eax
pop esi
ret
push edi
lea eax, [esi + 0x5d4e4]
push str.MetalinkFile
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x42b37d
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2694], eax
lea ecx, [esi + 4]
call fcn.0042ac50
test eax, eax
pop edi
jne 0x42b38c
pop esi
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
mov dword [esi + 0x2464], eax
je 0x42b3bf
push esi
push 0
push 0x42b3d0
mov dword [esi + 0x5d0b0], 8
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov eax, 1
pop esi
ret
Function at 0x42cb20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push str.GuardConfig.ini
rep stosd dword es:[edi], eax
mov ecx, 0x56bcc8
stosw word es:[edi], ax
call fcn.0040c170
push eax
push str._sdata_s
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0042dce0
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x214]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
add esp, 0x208
ret

Function at 0x42cb90
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
push edi
mov ecx, 0x56bcc8
je 0x42cbc1
call fcn.0040c170
push eax
push str._sdata_tcdump_secrash.dmp
push 0x104
push 0x57671c
call fcn.0042dce0
add esp, 0x10
jmp 0x42cd13
call fcn.0040c170
push eax
push str._sdata_tcdump_
push 0x104
push 0x57671c
call fcn.0042dce0
push 0x57671c
call fcn.0043f620
mov eax, dword [0x56bd0c]
add esp, 0x14
test eax, eax
je 0x42cc8a
lea eax, [esp + 0xc]
test eax, eax
je 0x42cc39
mov ecx, 0x104
mov eax, 0x57671c
xor esi, esi
cmp word [eax], 0
je 0x42cc17
add eax, 2
dec ecx
jne 0x42cc09
jmp 0x42cc1b
test ecx, ecx
jne 0x42cc20
mov esi, 0x80070057
test esi, esi
jl 0x42cc2d
mov edx, 0x104
sub edx, ecx
jmp 0x42cc2f
xor edx, edx
test esi, esi
jl 0x42cd13
jmp 0x42cc3d
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x57671c]
sub ecx, edx
je 0x42cd0b
mov edi, str.MajorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42cc7d
mov dx, word [edi + eax]
test dx, dx
je 0x42cc7d
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42cc5f
jmp 0x42cd0b
test ecx, ecx
jne 0x42cd0e
jmp 0x42cd0b
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x42ccca
mov ecx, 0x104
mov eax, 0x57671c
xor esi, esi
cmp word [eax], 0
je 0x42ccac
add eax, 2
dec ecx
jne 0x42cc9e
jmp 0x42ccb0
test ecx, ecx
jne 0x42ccb5
mov esi, 0x80070057
test esi, esi
jl 0x42ccc2
mov edx, 0x104
sub edx, ecx
jmp 0x42ccc4
xor edx, edx
test esi, esi
jl 0x42cd13
jmp 0x42ccce
mov edx, dword [esp + 0xc]
mov ecx, 0x104
lea eax, [edx*2 + 0x57671c]
sub ecx, edx
je 0x42cd0b
mov edi, str.MinorError.dmp
lea esi, [ecx + edx + 0x7ffffefb]
sub edi, eax
test esi, esi
je 0x42cd07
mov dx, word [edi + eax]
test dx, dx
je 0x42cd07
mov word [eax], dx
add eax, 2
dec ecx
dec esi
test ecx, ecx
jne 0x42ccec
jmp 0x42cd0b
test ecx, ecx
jne 0x42cd0e
sub eax, 2
mov word [eax], 0
push 0x57671c
call fcn.0043f620
add esp, 4
push 0x57671c
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret
Function at 0x42d990
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
mov dword [esp + 0x10], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea esi, [eax + 1]
lea edi, [esi + esi]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
add esp, 8
test edx, edx
je 0x42da46
mov ecx, edi
push ebp
mov ebp, ecx
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
test esi, esi
rep stosb byte es:[edi], al
je 0x42da15
cmp esi, 0x7fffffff
ja 0x42da15
mov ebp, SysReAllocString
mov edi, ebx
sub ebp, esi
mov eax, edx
sub edi, edx
lea ecx, [esi + ebp]
test ecx, ecx
je 0x42da09
mov cx, word [edi + eax]
test cx, cx
je 0x42da09
mov word [eax], cx
add eax, 2
dec esi
jne 0x42d9ee
jmp 0x42da0d
test esi, esi
jne 0x42da10
sub eax, 2
mov word [eax], 0
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 0x42da50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
pop ebp
test esi, esi
je 0x42da46
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42fa90
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 0x5384a4
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 0x42fb03
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 0x538c6c
lea eax, [esp + 0x18]
push 0x103
push eax
call ebx
mov cx, word [0x56bc90]
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 0x56bf34
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.0043f620
lea ecx, [esp + 0x434]
push 1
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0043fe80
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.0043fd00
add esp, 8
push esi
call edi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x820
ret 4
Function at 0x439300
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, 1
call fcn.00438ad0
test eax, eax
je 0x439383
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 0x439379
lea eax, [esp + 0xc]
push str.IEInternalDownload
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x439383
xor eax, eax
pop esi
add esp, 0x210
ret
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x43ed60
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 0x43ee68
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 0x43ee68
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 0x43edda
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 0x43edfa
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 0x43ee48
mov eax, dword [esi + 0x220]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jne 0x43ee48
mov dword [esp + 0x10], 1
jmp 0x43ee61
mov eax, dword [esi + 0x21c]
cmp eax, ebp
je 0x43ee61
push eax
call fcn.0051c54a
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 0x43f130
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
test eax, eax
push edi
je 0x43f17e
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f17e
mov ebx, dword [esp + 0x14]
test ebx, ebx
jbe 0x43f17e
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 0x43f178
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 0x43f190
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebp
test eax, eax
push edi
je 0x43f1e5
mov edi, dword [esp + 0x10]
test edi, edi
je 0x43f1e5
mov ebp, dword [esp + 0x14]
test ebp, ebp
jbe 0x43f1e5
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 0x43f1de
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 0x43f5f0
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 0x43f616
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x43f618
mov eax, esi
pop esi
ret
Function at 0x443930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51db16
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.004fe1f0
xor edi, edi
lea ecx, [esi + 0xef0]
mov dword [esp + 0x18], edi
call fcn.00445820
push edi
lea ecx, [esi + 0x2480]
mov byte [esp + 0x1c], 1
call fcn.004e6dd0
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], 0x52472c
mov dword [esi + 4], 0x524718
mov dword [esi + 0x28], 0x524714
mov dword [esi + 0x30], 0x524704
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51db16
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.004fe1f0
xor edi, edi
lea ecx, [esi + 0xef0]
mov dword [esp + 0x18], edi
call fcn.00445820
push edi
lea ecx, [esi + 0x2480]
mov byte [esp + 0x1c], 1
call fcn.004e6dd0
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], 0x52472c
mov dword [esi + 4], 0x524718
mov dword [esi + 0x28], 0x524714
mov dword [esi + 0x30], 0x524704
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51db36
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], 0x52472c
mov dword [edi + 4], 0x524718
mov dword [edi + 0x28], 0x524714
mov dword [edi + 0x30], 0x524704
mov ebx, dword [edi + 0x24d4]
mov esi, dword [edi + 0x24d0]
cmp esi, ebx
mov dword [esp + 0x18], 1
je 0x443a88
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esi]
mov edx, dword [0x537120]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x443a80
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x443a80
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.0051c54a
add esp, 4
add esi, 4
cmp esi, ebx
jne 0x443a59
pop ebp
mov eax, dword [edi + 0x24d0]
push eax
call fcn.0051c54a
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.004e6e20
lea ecx, [edi + 0xef0]
mov byte [esp + 0x18], bl
call fcn.00445970
mov ecx, edi
mov dword [esp + 0x18], 0xffffffff
call fcn.004fe520
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x445820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51dbe8
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.0050a6a0
lea edi, [esi + 0x24]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004f7d30
push ebx
push ebx
push ebx
lea eax, [esi + 0x30]
push ebx
push eax
mov dword [esi], 0x5247b8
mov dword [edi], 0x5247b4
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 0x44650e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51dc2b
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 [0x5782bc], ebx
jne 0x446562
mov dword [0x5782bc], edi
mov dword [edi], ebx
mov edx, dword [0x5782bc]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x5782b8]
inc ecx
mov dword [0x5782b8], ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x446586
push ebp
call fcn.0051c54a
add esp, 4
mov edi, dword [0x5782bc]
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], 0x5247cc
call fcn.004a7f20
mov ecx, eax
call fcn.004a8300
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 0x447680
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, 0x56bcc8
stosw word es:[edi], ax
call fcn.0040c2a0
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.0043f300
push 0
push esi
call fcn.0043f210
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x4476e2
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.0043f300
add esp, 0xc
mov ecx, 0x56bcc8
push 0
push str.history.dat
call fcn.0040c2a0
mov esi, eax
push 0
push esi
call fcn.0043f210
add esp, 8
test eax, eax
jne 0x447723
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x44dac0
Capabilities:
Set file attributes

Disassembly:
push esi
push edi
mov edi, ecx
push 0
push str.secache.ini
mov ecx, 0x56bcc8
lea esi, [edi + 0x2c]
call fcn.0040c2a0
push eax
push 0x5384a4
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 1
add edi, 0x28
push esi
push edi
call fcn.00495a30
add esp, 0x1c
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
ret
Function at 0x44e290
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x2c]
push edi
call ebx
lea eax, [esi + 0x28]
push 0
push eax
call fcn.00495c20
add esp, 8
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call ebx
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x44e2dc
push 1
push str.HasLastPage
push str.Main
call fcn.0040e8c0
add esp, 0xc
ret

Function at 0x44fdb0
Capabilities:
Parse url

Disassembly:
mov eax, 0x1494
call fcn.0051c5a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14a4]
test esi, esi
push edi
je 0x44ff19
cmp word [esi], 0
je 0x44ff19
mov eax, dword [esp + 0x14ac]
test eax, eax
je 0x44ff19
mov dx, word [0x56bc90]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], dx
mov word [esp + 0x4c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x254]
push edx
mov dword [esp + 0x18], eax
mov eax, 0x104
lea ecx, [esp + 0x50]
push 0
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
call ebx
mov ebp, dword [sym.imp.WININET.dll_InternetCrackUrlW]
add esp, 4
push eax
push esi
call ebp
test eax, eax
jne 0x44fec8
mov ecx, 0x411
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], ax
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.http:___s_
lea eax, [esp + 0x464]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x45c]
push ecx
push 0
push edx
call ebx
add esp, 4
push eax
lea eax, [esp + 0x468]
push eax
call ebp
test eax, eax
je 0x44ff19
mov edx, dword [esp + 0x14b0]
mov esi, dword [esp + 0x14ac]
xor eax, eax
mov edi, esi
lea ecx, [edx + edx]
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x254]
push ecx
push eax
push str._s:___s_favicon.ico
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1494
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1494
ret
Function at 0x450600
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
mov eax, 4
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push esi
push SysReAllocStringLen
mov dword [esp + 0x30], 0
call edi
mov ebp, eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45067c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
push 0x556658
push esi
push SysReAllocStringLen
mov dword [esp + 0x3c], 0
call edi
test eax, eax
jne 0x45067c
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
test ebp, ebp
jne 0x45068c
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp eax, ecx
je 0x4506aa
lea edx, [esp + 0x28]
push 4
push edx
push 4
push ebx
push esi
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret