joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4640c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x18
mov eax, dword [0x5f3edc]
push esi
push edi
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4640f6
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x46410e
mov esi, dword [esp + 0x24]
xor eax, eax
mov edx, esi
mov dword [edx], eax
mov ecx, eax
mov dword [edx + 4], ecx
mov word [edx + 8], ax
jmp 0x4641a2
push esi
push edi
push 0
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x46413f
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0x597664
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x46415b
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov esi, dword [esp + 0x28]
xor eax, eax
mov edx, esi
mov dword [edx], eax
mov ecx, eax
mov dword [edx + 4], ecx
mov word [edx + 8], ax
jmp 0x46419f
mov eax, dword [esp + 8]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push edx
movzx edx, word [eax + 0x12]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00463f90
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, esi
mov dword [eax], ecx
mov cx, word [esp + 0x1c]
mov dword [eax + 4], edx
mov word [eax + 8], cx
add esp, 4
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x18
ret
Function at 0x465b20
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x268
mov eax, dword [0x5f3edc]
mov dword [esp + 0x264], eax
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dl, byte [esp + 0x26c]
xor ecx, ecx
test dl, dl
sete cl
lea edx, [esp + 0x104]
lea eax, [esp]
or ecx, 0x4010
push ecx
push 0x160
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x264]
call fcn.00558076
add esp, 0x268
ret

Function at 0x465b90
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x268
mov eax, dword [0x5f3edc]
mov dword [esp + 0x264], eax
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dl, byte [esp + 0x26c]
xor ecx, ecx
test dl, dl
sete cl
lea edx, [esp + 0x104]
lea eax, [esp]
or ecx, 0x4010
push ecx
push 0x160
push edx
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [esp + 0x264]
mov eax, dword [esp + 0x108]
call fcn.00558076
add esp, 0x268
ret

Function at 0x465c70
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x168
mov eax, dword [0x5f3edc]
mov ecx, dword [esp + 0x170]
push esi
push 0x400
mov dword [esp + 0x16c], eax
push 0x160
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x118]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov ecx, dword [esp + 0x168]
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x168
ret

Function at 0x465ce0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x164
mov eax, dword [0x5f3edc]
mov ecx, dword [esp + 0x168]
push 0x800
mov dword [esp + 0x164], eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x160]
shr eax, 0x1d
and al, 1
call fcn.00558076
add esp, 0x164
ret
Function at 0x466000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x583449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
mov dword [esp + 8], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x594334]
mov al, byte [esp + 0x24]
push 1
lea ecx, [esp + 0xb]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
mov byte [esp + 0xf], al
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 8]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x466550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58347b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x466601
push edi
push 0x597664
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov edi, eax
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
mov dword [esp + 0x24], 0
call fcn.00466550
push edi
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x2c], 1
call fcn.0040cd70
add esi, 0x30
push esi
mov esi, dword [esp + 0x38]
push eax
push esi
mov byte [esp + 0x38], 2
call fcn.0040cd70
add esp, 0x18
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
add esi, 0x30
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x466630
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x168
mov eax, dword [0x5f3edc]
push esi
mov esi, ecx
mov dword [esp + 0x168], eax
cmp dword [esi + 0x14], 0xffffffff
jne 0x4666d2
lea eax, [esp + 4]
push eax
call fcn.00465d40
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
je 0x46667e
mov ecx, dword [esi + 0x10]
shr ecx, 4
test cl, 1
je 0x46667e
push 0
call fcn.00465b90
add esp, 4
jmp 0x4666c5
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x4666c8
mov eax, dword [esi + 0x10]
shr eax, 4
and al, 1
neg al
push 0x4011
push 0x160
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
sbb eax, eax
and eax, 0xffffff90
add eax, 0x80
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x168]
pop esi
call fcn.00558076
add esp, 0x168
ret

Function at 0x4666f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5834c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x5f3edc]
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x18]
mov ecx, esi
mov dword [esp + 0x118], eax
mov dword [esp + 8], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
je 0x466810
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00465d40
lea ecx, [esp + 0xc]
mov dword [esp + 0x124], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
je 0x4667c0
mov ecx, dword [edi + 0x10]
shr ecx, 4
test cl, 1
je 0x4667c0
push 0x104
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x12c], 1
call fcn.00465c70
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x128], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
jmp 0x4667f5
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x4667fb
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00465c70
add esp, 8
push eax
mov ecx, esi
mov byte [esp + 0x128], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xc]
mov dword [esp + 0x124], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push esi
mov esi, dword [esp + 0x130]
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov ecx, dword [esp + 0x11c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114]
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x120
ret 4
Function at 0x4669d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x583555
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, ecx
push edi
xor ebx, ebx
push ebp
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], esi
mov dword [esi], 0x5a22e0
mov dword [esi + 8], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov eax, dword [esp + 0x2c]
push 0x596834
lea ecx, [esi + 0x18]
mov dword [esp + 0x24], ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], ecx
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esi + 0x24], edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
mov dword [esi + 0x34], 0x5a22cc
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
push ebp
mov bl, 3
push eax
mov byte [esp + 0x28], bl
mov dword [esi + 0x2c], edx
call fcn.00465da0
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x24], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::IsEmpty]
test al, al
jne 0x466b65
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator]
cmp al, 0x3a
jne 0x466b65
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov ebx, eax
push 0x598374
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov ebp, eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x24], 6
call fcn.004666f0
push ebp
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x2c], 7
call fcn.0040cd70
push ebx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x38], 8
call fcn.0040cd70
add esp, 0x18
push eax
mov ecx, edi
mov byte [esp + 0x24], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0x14
Function at 0x466b96
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x58358f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5a22e0
mov eax, dword [esi + 0x3c]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], 3
jle 0x466bf3
test edi, edi
jl 0x466c36
cmp edi, dword [esi + 0x3c]
jge 0x466c36
mov eax, dword [esi + 0x38]
cmp dword [eax + edi*4], 0
je 0x466beb
cmp edi, dword [esi + 0x3c]
jge 0x466c36
mov ecx, dword [esi + 0x38]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x466bdc
mov edx, dword [ecx]
push 1
call dword [edx]
cmp edi, dword [esi + 0x3c]
jge 0x466c36
mov eax, dword [esi + 0x38]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x3c]
inc edi
cmp edi, eax
jl 0x466bb5
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [esi + 0x34], 0x5a22cc
je 0x466c0a
push eax
call sub.MFC71.DLL_operator_delete
add esp, 4
lea ecx, [esi + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
jmp sub.MFC71.DLL_AfxThrowInvalidArgException
Function at 0x47b750
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584f0c
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x72c]
test eax, eax
push edi
jne 0x47b7f0
push 0x1f1
push str..NeroRecorder.cpp
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.No_file_handle
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
or edi, 0xffffffff
mov ecx, 0x5fda18
mov dword [esp + 0x28], edi
call fcn.004bec20
mov ecx, eax
call fcn.004d8c90
push 0xc
mov dword [esi + 0x24], 2
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x1c], 1
je 0x47b7d7
push 0x73
mov ecx, eax
call fcn.0049bd50
jmp 0x47b7d9
xor eax, eax
mov dword [esp + 0x28], eax
push 0x5d1fa4
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x24], edi
call sub.MSVCR71.dll__CxxThrowException
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47b8f3
push eax
push eax
lea eax, [esp + 0x30]
push eax
mov ebx, 2
push 0x400
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push str.Failed_to_write_file_n_s
push edx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x211
push str..NeroRecorder.cpp
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x38], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
mov ecx, 0x5fda18
mov byte [esp + 0x28], bl
call fcn.004bec20
mov ecx, eax
call fcn.004d8c90
push 0x8c
push 1
mov ecx, esi
call fcn.0047dce0
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1c], 4
je 0x47b8da
push 0x73
mov ecx, eax
call fcn.0049bd50
jmp 0x47b8dc
xor eax, eax
mov dword [esp + 0x2c], eax
push 0x5d1fa4
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x24], bl
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esp + 0x2c]
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x47b901
mov dword [eax], ecx
cmp ecx, edi
je 0x47b97e
push str.Failed_to_safe_file
push 0x220
push str..NeroRecorder.cpp
mov ecx, 0x5fda18
mov dword [esi + 0x24], 2
call fcn.004bec20
push eax
call fcn.004d8e30
add esp, 0x10
push 0x8c
push 1
mov ecx, esi
call fcn.0047dce0
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x1c], 5
je 0x47b961
push 0x73
mov ecx, eax
call fcn.0049bd50
jmp 0x47b963
xor eax, eax
push 0x5d1fa4
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x2c], eax
call sub.MSVCR71.dll__CxxThrowException
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 0xc
Function at 0x49efd0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x88
mov eax, dword [0x5f3edc]
push ebx
push ebp
push esi
mov dword [esp + 0x90], eax
mov esi, edx
push edi
lea eax, [esp + 0x16]
mov edx, 8
movzx di, byte [ecx]
add eax, 0x10
sub edi, 0x80
mov word [eax - 0x12], di
movzx di, byte [ecx + 1]
sub edi, 0x80
mov word [eax - 0x10], di
movzx di, byte [ecx + 2]
sub edi, 0x80
mov word [eax - 0xe], di
movzx di, byte [ecx + 3]
sub edi, 0x80
mov word [eax - 0xc], di
movzx di, byte [ecx + 4]
sub edi, 0x80
mov word [eax - 0xa], di
movzx di, byte [ecx + 5]
sub edi, 0x80
mov word [eax - 8], di
movzx di, byte [ecx + 6]
sub edi, 0x80
mov word [eax - 6], di
movzx di, byte [ecx + 7]
add ecx, esi
sub edi, 0x80
dec edx
mov word [eax - 4], di
jne 0x49eff1
lea eax, [esp + 0x14]
push eax
call fcn.004a7660
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
movzx eax, byte [edi + 3]
mov ecx, dword [ecx + 0x18]
add esp, 4
test cl, cl
mov dword [esp + 0x10], eax
jns 0x49f0a7
movzx edx, byte [eax + 0x5aa888]
mov dword [esp + 0x10], edx
jmp 0x49f0c0
mov edx, dword [esp + 0xa4]
test dword [edx + 0x94], 0x80000
je 0x49f0c0
shl eax, 1
mov dword [esp + 0x10], eax
movsx edx, word [esp + 0x14]
and ecx, 3
mov esi, 8
sar esi, cl
mov eax, esi
sar eax, 1
test edx, edx
jl 0x49f0de
add eax, edx
cdq
idiv esi
jmp 0x49f0e5
sub eax, edx
cdq
idiv esi
neg eax
cmp eax, 0x7ff
jle 0x49f0f3
mov eax, 0x7ff
jmp 0x49f0ff
cmp eax, 0xfffff800
jge 0x49f0ff
mov eax, 0xfffff800
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
lea esi, [edx + ecx*4]
mov byte [esi], 0
mov byte [esi + 1], 0
mov word [esi + 2], ax
add esi, 4
xor ebx, ebx
xor ebp, ebp
mov edi, 1
nop
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x18]
shr ecx, 9
and ecx, 1
shl ecx, 6
movzx eax, byte [ecx + edi + 0x5aa7d0]
mov ecx, dword [esp + 0xa4]
movzx ecx, byte [ecx + eax + 0x14]
imul ecx, dword [esp + 0x10]
movsx edx, word [esp + eax*2 + 0x14]
lea eax, [ecx + ecx*2]
sar eax, 3
test edx, edx
jl 0x49f165
shl edx, 4
add eax, edx
cdq
idiv ecx
jmp 0x49f16f
shl edx, 4
sub eax, edx
cdq
idiv ecx
neg eax
cmp eax, 0x7ff
jle 0x49f17d
mov eax, 0x7ff
jmp 0x49f18f
cmp eax, 0xfffff800
jge 0x49f18b
mov eax, 0xfffff800
jmp 0x49f18f
test eax, eax
je 0x49f1d3
mov edx, dword [esp + 0xa0]
mov byte [esi + 1], bl
mov word [esi + 2], ax
mov ecx, dword [edx + 0x18]
mov edx, dword [esp + 0xa4]
shr ecx, 8
and ecx, 1
push ecx
mov ecx, dword [edx + 0x94]
shr ecx, 0x13
and ecx, 1
push ecx
push eax
push ebx
call fcn.004a61e0
movzx edx, al
add esp, 0x10
mov byte [esi], al
xor ebx, ebx
add ebp, edx
add esi, 4
jmp 0x49f1d4
inc ebx
inc edi
cmp edi, 0x40
jl 0x49f120
mov eax, dword [esp + 0xa0]
mov dword [esi], 0
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x9c]
mov edi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x14]
shr ecx, 8
sub esi, edi
and ecx, 1
mov edx, 2
shl edx, cl
mov ecx, dword [esp + 0x94]
add esi, 4
sar esi, 2
pop edi
add edx, ebp
add ebx, edx
mov dword [eax + 0x18], esi
pop esi
pop ebp
mov dword [eax + 0x14], ebx
pop ebx
call fcn.00558076
add esp, 0x88
ret
Function at 0x4a6e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
mov esi, dword [esp + 0x68]
mov edx, dword [esi + 0x15c]
mov ebp, ebx
shl ebp, 5
movzx eax, byte [ebp + edx + 3]
add ebp, edx
mov dword [esp + 0xc], eax
xor eax, eax
xor edx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
mov eax, ebx
cdq
idiv dword [esi + 0x14c]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
add eax, 0x101
push eax
push edi
call fcn.004a1300
mov eax, dword [esp + 0x18]
push 5
push eax
push edi
call fcn.004a1210
push 1
push 0
push edi
call fcn.004a1210
mov eax, ebx
cdq
idiv dword [esi + 0x14c]
add esp, 0x20
mov eax, edx
inc eax
call fcn.004a6340
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ecx
mov eax, dword [esi + 0x18]
shr eax, 2
and eax, 3
dec eax
je 0x4a6ee9
dec eax
je 0x4a6edf
dec eax
jne 0x4a6ef5
mov byte [ebp + 1], 2
jmp 0x4a6ef5
mov byte [ebp + 5], 1
mov byte [ebp + 4], 1
jmp 0x4a6ef1
mov byte [ebp + 5], 0
mov byte [ebp + 4], 0
mov byte [ebp + 1], 1
lea edx, [esp + 0x44]
mov dword [ebp + 0xc], edx
mov byte [ebp], 8
movzx ecx, byte [ebp + 3]
cmp ecx, dword [esp + 0x10]
je 0x4a6f1a
or al, 0x10
mov byte [ebp], al
mov dword [esp + 0x10], ecx
mov ecx, edx
and ecx, 0xc
cmp cl, 0xc
jne 0x4a6f71
test dl, 0x20
jne 0x4a6f81
movzx edx, byte [ebp + 1]
push 2
push edx
push edi
call fcn.004a1210
add esp, 0xc
mov eax, dword [esi + 0x18]
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x4a6fa8
test al, 0x20
jne 0x4a6fa8
movzx edx, byte [ebp + 2]
push 1
push edx
push edi
call fcn.004a1210
add esp, 0xc
mov eax, dword [esp + 0x10]
push 5
push eax
push edi
call fcn.004a1210
add esp, 0xc
xor edx, edx
cmp al, 2
setne dl
xor ebx, ebx
cmp al, 1
mov edi, edx
mov esi, edi
jmp 0x4a6fe8
test byte [ebp], 8
je 0x4a7027