Function at 0x40f510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4202c2
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x432578]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
push str.CRmaLicense::GetTransportFormat___starting
push 0x21b
push str.._rmalicense.cpp
push 0
call edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x40]
mov byte [esp + 0xa8], 1
call fcn.004106d0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x2e0]
call fcn.0041ad50
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x40fe24
cmp eax, 3
jle 0x40fd10
cmp eax, 4
jne 0x40fe24
mov esi, dword [esp + 0xac]
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2121]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov bl, 5
mov byte [esp + 0xa4], bl
call fcn.0041ad60
mov ecx, eax
mov eax, 0x77777777
imul ecx
sub edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ebp, dword [sym.imp.MFC80U.DLL_Ordinal_2311]
movzx edx, ax
mov eax, dword [edi + 0x14]
push eax
lea ecx, [esp + 0x18]
push str.VR_d
push ecx
mov dword [esp + 0x28], edx
call ebp
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x40f652
push eax
lea eax, [esp + 0x18]
push str.MT_d
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov edx, dword [edi + 8]
push edx
lea eax, [esp + 0x18]
push str.NT_d
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ebp, [edi + 0x28]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f6e4
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea edx, [esp + 0x94]
push edx
call fcn.0041a960
push eax
lea eax, [esp + 0x88]
push str.PN
push eax
mov byte [esp + 0xb8], 6
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x90]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ebp, [edi + 0x2c]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f759
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.0041a960
push eax
lea edx, [esp + 0xa4]
push str.PV
push edx
mov byte [esp + 0xb8], 8
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x98]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ebp, [edi + 0x30]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f7c2
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x58]
push str.LT
push ecx
mov byte [esp + 0xb8], 0xa
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0xb
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x4c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ebp, [edi + 0x1c]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f831
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea edx, [esp + 0x98]
push edx
call fcn.0041a960
push eax
lea eax, [esp + 0x60]
push str.IP
push eax
mov byte [esp + 0xb8], 0xc
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0xd
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x54]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x94]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ebp, [edi + 0x20]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f89a
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.0041a960
push eax
lea edx, [esp + 0x68]
push str.CN
push edx
mov byte [esp + 0xb8], 0xe
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0xf
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ebp, [edi + 0x24]
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f909
mov ecx, ebp
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x70]
push str.UN
push ecx
mov byte [esp + 0xb8], 0x10
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x11
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x64]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40f973
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea edx, [esp + 0x48]
push edx
call fcn.0041a960
push eax
lea eax, [esp + 0x78]
push str.KY
push eax
mov byte [esp + 0xb8], 0x12
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x13
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x6c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [edi + 0x344]
test eax, eax
mov ebp, dword [sym.imp.MFC80U.DLL_Ordinal_2311]
jle 0x40f9a0
push eax
lea ecx, [esp + 0x18]
push str.IN_d
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_3927]
test al, al
jne 0x40fa0a
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x54]
push str.AC
push ecx
mov byte [esp + 0xb8], 0x14
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x15
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
fldz
lea edx, [esp + 0x34]
push edx
fstp qword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.0040e350
test al, al
je 0x40faef
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.0041b300
add esp, 4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov byte [esp + 0xb4], 0x16
mov dword [eax + 8], edx
call fcn.0040f1c0
add esp, 0x10
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x64]
push str.ED
push ecx
mov byte [esp + 0xb8], 0x17
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x18
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x58]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x60]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
fldz
lea edx, [esp + 0x34]
push edx
fstp qword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.0040e390
test al, al
je 0x40fbd4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xa8], 0x19
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.0041b300
mov edx, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call fcn.0040f1c0
add esp, 0x10
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x74]
push str.AE
push ecx
mov byte [esp + 0xb8], 0x1a
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x1b
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x68]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x70]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
fldz
lea edx, [esp + 0x34]
push edx
fstp qword [esp + 0x38]
mov ecx, edi
mov dword [esp + 0x40], 0
call fcn.0040e3d0
test al, al
je 0x40fcc2
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0xa8], 0x1c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.0041b300
mov edx, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
call fcn.0040f1c0
add esp, 0x10
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0041a960
push eax
lea ecx, [esp + 0x84]
push str.AI
push ecx
mov byte [esp + 0xb8], 0x1d
call fcn.0040d4e0
add esp, 0x14
push eax
mov ecx, esi
mov byte [esp + 0xa8], 0x1e
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push str.LC_d
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
mov edx, dword [esp + 0x88]
push edx
lea eax, [esp + 0x18]
push str.TZ_d
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x14]
jmp 0x40fe16
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0xa8], 2
call fcn.0040f2b0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0xa8], 3
call fcn.0040f300
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x2d0]
mov byte [esp + 0xa8], 4
call fcn.00411330
test al, al
jne 0x40fdab
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor al, al
jmp 0x40fe54
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [edi + 0x20]
push eax
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x30]
push edx
mov edx, dword [edi + 0x2c]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [edi + 0x18]
push eax
mov eax, dword [edi + 0x14]
push ecx
mov ecx, dword [esp + 0xdc]
push edx
push eax
push str.VR_dMT_dNT_dPN_sPV_sLT_sIP_sCN_sUN_sKY_sMI_sAC_sED_sAE_s
push ecx
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x40
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
push str.CRmaLicense::GetTransportFormat___succeeded
push 0x2a0
push str.._rmalicense.cpp
push 0
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov al, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4