joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b45fa
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, 0x6b38dc
push ebx
push 0
push str.CrashFeedbacked
mov esi, str.Global
push esi
mov byte [ebp - 0x19], 0
call edi
cmp eax, 1
jne 0x4b4635
xor al, al
jmp 0x4b4686
push ebx
push 0
push str.CrashCounts
push esi
call edi
lea ecx, [eax + 1]
cmp ecx, 8
jl 0x4b464f
push 7
mov byte [ebp - 0x19], 1
pop ecx
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
push 0x651590
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push 0xa
push eax
call fcn.004b4d9b
add esp, 0x10
push ebx
lea eax, [ebp - 0x18]
push eax
push str.CrashCounts
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b495b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.00402394
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x220]
push eax
call ebx
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str...User_Data
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b4a00
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
call edi
lea eax, [ebp - 0x220]
push eax
call ebx
push str.User_Data
lea eax, [ebp - 0x220]
push eax
call esi
push str.tcdump
lea eax, [ebp - 0x220]
push eax
call esi
lea eax, [ebp - 0x220]
push eax
lea esi, [ebp - 0x258]
call fcn.0040bead
mov eax, esi
push eax
lea eax, [ebp - 0x23c]
call fcn.0040c8fa
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.0040bab7
cmp dword [ebp - 0x22c], edi
je 0x4b4adc
push str.StandaloneCrashInfo
lea esi, [ebp - 0x258]
call fcn.0040bead
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call fcn.0041072b
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0042353e
push ebx
lea esi, [ebp - 0x274]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x258]
call fcn.0040bab7
xor eax, eax
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push 0x651590
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push 0xa
push eax
call fcn.004b4d9b
mov eax, dword [ebp - 0x23c]
add esp, 0x10
cmp dword [ebp - 0x228], 8
jae 0x4b4ac7
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x18]
push eax
push str.CrashFeedbacked
push str.Global
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebx
xor edi, edi
lea esi, [ebp - 0x23c]
call fcn.0040bab7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret

Function at 0x4b4cd4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4ce2
push ebx
sub eax, edx
push esi
sar eax, 1
push edi
mov esi, eax
xor ecx, ecx
push 2
lea edi, [esi + 1]
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004013b3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x4b4d5e
lea eax, [esi + esi + 2]
push eax
push 0
push ebx
call fcn.00402394
push dword [ebp + 8]
push edi
push ebx
call fcn.00467cd1
add esp, 0x18
lea eax, [ebp - 4]
push eax
xor esi, esi
push esi
push ebx
push 0x4b4af9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x4b4d5e
push 0x3e8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b5b56
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x10], ebx
je 0x4b5ca4
cmp byte [0x6a2bca], bl
je 0x4b5ca4
mov edi, 0x104
push edi
lea eax, [esp + 0x94]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x90]
push 0x5c
push eax
call fcn.005d5f9f
pop ecx
pop ecx
cmp eax, ebx
je 0x4b5bbc
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [esp + 0x94]
push edi
push eax
call fcn.00414242
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x4b5be0
mov eax, dword [esi]
mov dword [esp + 0x10], eax
jmp 0x4b5be4
mov dword [esp + 0x10], esi
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x74]
call fcn.00410588
cmp dword [esp + 0x84], ebx
je 0x4b5c97
push 0x44
pop esi
push esi
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00402394
mov eax, dword [esp + 0x80]
add esp, 0xc
cmp dword [esp + 0x88], 8
mov dword [esp + 0x28], esi
jae 0x4b5c30
lea eax, [esp + 0x74]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4b5c73
push 0xffffffffffffffff
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x18]
call esi
jmp 0x4b5c97
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x4b5c85
lea eax, [esp + 0x74]
push 0x40010
push str.Fatal_error
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
xor edi, edi
lea esi, [esp + 0x78]
call fcn.0040bab7
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
Function at 0x4b5cf8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [esi + 8]
push edi
push eax
mov dword [ebp - 0x448], eax
call fcn.004b5876
pop ecx
lea edi, [esi + 0xc]
push edi
lea ecx, [ebp - 0x424]
call fcn.004a272e
mov eax, dword [0x6a2bd4]
xor ebx, ebx
cmp eax, ebx
je 0x4b5d63
lea ecx, [ebp - 0x424]
push ecx
push dword [esi + 0xa0]
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi]
call eax
add esp, 0x14
test al, al
je 0x4b5d63
push ebx
push 1
jmp 0x4b5ed2
cmp dword [esi], 2
jl 0x4b5da3
cmp dword [ebp - 0x410], 0x10
mov eax, dword [ebp - 0x424]
jae 0x4b5d7d
lea eax, [ebp - 0x424]
push eax
push 0x653528
call fcn.00406515
add eax, 0x40
push eax
call fcn.005e32e6
add esp, 0xc
call fcn.00406515
add eax, 0x40
push eax
call fcn.005e1078
pop ecx
call fcn.004b5961
lea eax, [ebp - 0x441]
push eax
call fcn.004b590f
call fcn.004b5a6e
test al, al
je 0x4b5dfd
push 2
push ebx
push ebx
push dword [0x6a2bc4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x410], 0x10
mov eax, dword [ebp - 0x424]
jae 0x4b5de2
lea eax, [ebp - 0x424]
push ebx
lea ecx, [ebp - 0x44c]
push ecx
push dword [ebp - 0x414]
push eax
push dword [0x6a2bc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.004b593e
mov eax, dword [esi]
xor ebx, ebx
inc ebx
cmp eax, 4
jne 0x4b5e88
mov eax, 0x400
mov ecx, eax
cmp dword [ebp - 0x414], eax
jae 0x4b5e21
mov ecx, dword [ebp - 0x414]
cmp dword [ebp - 0x410], 0x10
mov eax, dword [ebp - 0x424]
jae 0x4b5e36
lea eax, [ebp - 0x424]
push ecx
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.00404787
lea eax, [ebp - 0x408]
add esp, 0xc
push eax
call fcn.004b8252
pop ecx
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b5e63
call fcn.004b87c7
cmp dword [0x6a2bcc], 0
je 0x4b5e5e
push edi
lea ecx, [ebp - 0x440]
call fcn.004a272e
lea eax, [ebp - 0x440]
push eax
call dword [0x6a2bcc]
pop ecx
jmp 0x4b5ec1
cmp eax, 3
jne 0x4b5ecf
cmp dword [0x6a2bd0], 0
push edi
lea ecx, [ebp - 0x440]
je 0x4b5eb1
call fcn.004a272e
lea eax, [ebp - 0x440]
push eax
call dword [0x6a2bd0]
jmp 0x4b5e85
call fcn.004a272e
lea ecx, [ebp - 0x440]
call fcn.004b5b56
push 0
push ebx
lea ecx, [ebp - 0x440]
call fcn.0040d0a1
push 0
push ebx
lea ecx, [ebp - 0x424]
call fcn.0040d0a1
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x448]
call fcn.004a2324
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b640c
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], 0x104
push edi
mov dword [esp + 0x2c], ebx
jb 0x4b6441
xor al, al
jmp 0x4b6536
cmp byte [ebp + 8], bl
jne 0x4b6499
lea eax, [esp + 0x30]
call fcn.004b87a9
push esi
mov edi, eax
call fcn.004b66ec
pop ecx
test al, al
je 0x4b647b
cmp byte [esp + 0x38], bl
je 0x4b647b
cmp dword [esi + 0x14], 8
jb 0x4b646a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
jmp 0x4b6536
cmp dword [esi + 0x14], 8
jb 0x4b6485
mov eax, dword [esi]
jmp 0x4b6487
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4b6499
mov al, 1
jmp 0x4b6536
xor eax, eax
push 0x208
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push ebx
push eax
call fcn.00402394
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4b64bb
mov esi, dword [esi]
lea ecx, [esp + 0x58]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
add esi, 2
cmp ax, bx
jne 0x4b64c1
xor eax, eax
push 6
mov dword [esp + 0x10], ebx
pop ecx
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, 0x414
mov dword [esp + 0x10], 3
mov word [esp + 0x1c], ax
cmp byte [ebp + 8], bl
jne 0x4b650a
mov eax, 0x1494
mov word [esp + 0x1c], ax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [esp + 0x1e], ebx
jne 0x4b643a
cmp eax, ebx
je 0x4b6533
cmp eax, 2
je 0x4b6533
cmp eax, 0x402
je 0x4b6533
xor eax, eax
jmp 0x4b6536
xor eax, eax
inc eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret

Function at 0x4b654b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4b65eb
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x250]
call fcn.0040bead
mov eax, esi
push eax
lea eax, [ebp - 0x26c]
call fcn.0040c8fa
push eax
lea eax, [ebp - 0x234]
call fcn.0040c8fa
lea edi, [ebp - 0x234]
call fcn.00410921
mov eax, edi
push eax
push ebx
call fcn.0042353e
push 1
xor edi, edi
lea esi, [ebp - 0x234]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x26c]
call fcn.0040bab7
push 1
lea esi, [ebp - 0x250]
call fcn.0040bab7
mov al, 1
jmp 0x4b65ed
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b65fc
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
and dword [esp], 0
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
jb 0x4b6627
mov ebx, dword [esi]
jmp 0x4b6629
mov ebx, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b665b
test al, 0x10
je 0x4b664d
mov al, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4b6657
mov dword [edi], 0xfffffff7
xor al, al
jmp 0x4b663b
push esi
lea eax, [esp + 0x14]
call fcn.004234a8
mov ecx, esi
lea eax, [esp + 0x10]
call fcn.0043ecac
test al, al
je 0x4b668d
test edi, edi
je 0x4b667e
mov dword [edi], 0xfffffffc
push 1
xor edi, edi
lea esi, [esp + 0x14]
call fcn.0040bab7
jmp 0x4b6657
lea eax, [esp + 0x10]
push edi
push eax
call fcn.004b65fc
pop ecx
pop ecx
test al, al
jne 0x4b66b1
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x14]
call fcn.0040bab7
mov al, bl
jmp 0x4b663b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b66d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x4b66dd
mov eax, esi
call fcn.0041056a
test al, al
je 0x4b66dd
mov bl, 1
jmp 0x4b66a0
test edi, edi
je 0x4b669e
mov eax, ebx
call fcn.004be907
mov dword [edi], eax
jmp 0x4b669e
Function at 0x4b6833
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
mov esi, ecx
push eax
mov dword [ebp - 0x2d8], esi
call fcn.00402394
add esp, 0xc
push str.chrome.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b68c3
push 0x103
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call fcn.0040bead
mov eax, esi
jmp 0x4b6a9f
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
lea esi, [ebp - 0x248]
call fcn.0040bead
mov eax, esi
push eax
lea eax, [ebp - 0x264]
call fcn.0040c8fa
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
call fcn.0040bab7
lea eax, [ebp - 0x264]
call fcn.00412ffd
and dword [ebp - 0x21c], 0
mov edi, eax
xor eax, eax
mov dword [ebp - 0x2dc], edi
mov dword [ebp - 0x218], 7
mov word [ebp - 0x22c], ax
test edi, edi
je 0x4b6a6d
push str.360base.dll
lea esi, [ebp - 0x248]
call fcn.0040bead
lea eax, [ebp - 0x2d4]
push eax
mov eax, dword [edi]
lea ecx, [ebp - 0x280]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov esi, eax
lea eax, [ebp - 0x2b8]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x29c]
call fcn.004234a8
push eax
mov ecx, esi
call fcn.0041072b
push eax
lea ecx, [ebp - 0x248]
call fcn.0041072b
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x22c]
call fcn.0040c369
push ebx
xor edi, edi
lea esi, [ebp - 0x2d4]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x2b8]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x29c]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x280]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x248]
call fcn.0040bab7
cmp dword [ebp - 0x218], 8
mov eax, dword [ebp - 0x22c]
jae 0x4b69ee
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b6a62
push str.360base.dll
lea esi, [ebp - 0x248]
call fcn.0040bead
lea eax, [ebp - 0x280]
push eax
push ecx
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x29c]
call fcn.004234a8
pop ecx
push eax
mov ecx, esi
call fcn.0041072b
push 0xffffffffffffffff
push 0
push eax
lea eax, [ebp - 0x22c]
call fcn.0040c369
push ebx
xor edi, edi
lea esi, [ebp - 0x280]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x29c]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x248]
call fcn.0040bab7
mov ecx, dword [ebp - 0x2dc]
mov eax, dword [ecx]
push ebx
call dword [eax]
mov esi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x22c]
push eax
call fcn.0040ba36
push ebx
xor edi, edi
lea esi, [ebp - 0x22c]
call fcn.0040bab7
push ebx
lea esi, [ebp - 0x264]
call fcn.0040bab7
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b6c4b
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], eax
cmp eax, edi
je 0x4b6e60
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b6c77
sub eax, edx
sar eax, 1
je 0x4b6e60
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push edi
push eax
call fcn.00402394
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
xor ebx, ebx
lea eax, [ebp - 0x41a]
push edi
inc ebx
push eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x430], 0x208
call fcn.00402394
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x4b6d53
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x428]
push eax
push 0x62b7c0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x4b6d53
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b6d5c
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x4b6d98
push 0xa
push edi
push dword [ebp - 0x42c]
lea eax, [ebp - 0x214]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, ebx
jmp 0x4b6e62
lea eax, [ebp - 0x420]
push eax
push 0x64fbf0
push 0x15
push edi
push 0x64fbe0
mov dword [ebp - 0x420], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b6e60
mov eax, dword [ebp - 0x420]
cmp eax, edi
je 0x4b6d91
lea edx, [ebp - 0x424]
push edx
mov dword [ebp - 0x424], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
cmp dword [ebp - 0x424], edi
je 0x4b6e01
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
push dword [ebp - 0x424]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x42c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 8
mov esi, eax
xor eax, eax
mov word [ebp - 0x444], ax
pop eax
lea edx, [ebp - 0x444]
push edx
push edx
push edx
push edx
mov word [ebp - 0x454], ax
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x454]
push edx
mov dword [ebp - 0x44c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4b6d91
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b6e71
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00402394
xor eax, eax
push esi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x208
call fcn.00402394
add esp, 0x18
push edi
push 0x26
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4b6f50
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x41c]
push eax
push 0x62b7c0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x4b6f50
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b6f59
sub eax, edx
sar eax, 1
cmp eax, edi
jbe 0x4b6f71
xor eax, eax
inc eax
jmp 0x4b6fa9
lea eax, [ebp - 0x418]
push eax
push 0x64fbf0
push 0x15
push edi
push 0x64fbe0
mov dword [ebp - 0x418], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b6fa7
mov eax, dword [ebp - 0x418]
cmp eax, edi
je 0x4b6fa7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4b6f6c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00403fc1
leave
ret

Function at 0x4b7880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
call fcn.004b2194
test al, al
je 0x4b78ac
xor al, al
jmp 0x4b78f3
mov ecx, esi
call fcn.004b6790
mov edi, eax
test edi, edi
je 0x4b78a8
mov esi, 0x10000
jmp 0x4b78d3
test ebx, ebx
je 0x4b78d3
push eax
lea eax, [ebp - 0x1000c]
push eax
mov eax, ebx
call fcn.004a3760
push edi
push esi
lea eax, [ebp - 0x1000c]
push 1
push eax
call fcn.005e3f6b
add esp, 0x10
test eax, eax
jne 0x4b78c0
push edi
call fcn.005e1899
pop ecx
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret
Function at 0x4b7949
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4b7969
xor eax, eax
jmp 0x4b7991
mov ecx, dword [esi + 0x24]
push edi
xor edi, edi
cmp dword [ecx], edi
je 0x4b79a1
mov eax, dword [esi + 0x34]
mov ecx, dword [ecx]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x4b79a1
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00403fc1
leave
ret 4
cmp dword [esi + 0x54], edi
je 0x4b79c1
mov ecx, esi
call fcn.004b8090
cmp dword [esi + 0x44], edi
jne 0x4b79c6
push dword [esi + 0x54]
push ebx
call fcn.004b77f5
pop ecx
pop ecx
test al, al
jne 0x4b798e
or eax, 0xffffffff
jmp 0x4b7990
push edi
push 8
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x24], bl
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], edi
mov byte [ebp - 0x20], 0
call fcn.004b1a63
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x4b7a76
lea eax, [ebp - 0x20]
mov edx, eax
add eax, dword [ebp - 0x10]
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x28]
push ebx
push eax
push edx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x23]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x14]
test eax, eax
js 0x4b7a94
cmp eax, 1
jg 0x4b7a7e
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x4b7a2a
lea eax, [ebp - 0x20]
mov edi, dword [ebp - 0x28]
sub edi, eax
je 0x4b7a50
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x4b7a3d
lea eax, [ebp - 0x20]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.005e40df
add esp, 0x10
cmp edi, eax
jne 0x4b7a94
lea eax, [ebp - 0x24]
mov byte [esi + 0x49], 1
cmp dword [ebp - 0x2c], eax
jne 0x4b7aaa
test edi, edi
jne 0x4b79e2
cmp dword [ebp - 0x10], 0x20
jae 0x4b7a94
push edi
push 8
lea ecx, [ebp - 0x20]
call fcn.0040ce47
jmp 0x4b79e2
mov edx, dword [ebp - 0x20]
jmp 0x4b79f4
cmp eax, 3
jne 0x4b7a94
push dword [esi + 0x54]
push dword [ebp - 0x24]
call fcn.004b77f5
pop ecx
pop ecx
test al, al
jne 0x4b7aaa
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.0040d0a1
mov eax, esi
jmp 0x4b7990
mov esi, dword [ebp + 8]
jmp 0x4b7a97