Function at 0x41b980
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43c3df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [0x47f070]
fld qword [0x43fe70]
xor eax, esp
fstp qword [esp + 0x9c]
fld qword [0x43fe70]
push ebx
push ebp
fstp qword [esp + 0x7c]
mov ebp, dword [esp + 0x140]
push esi
mov esi, dword [esp + 0x148]
push edi
mov edi, ecx
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x158]
lea edx, [esp + 0xb0]
push edx
mov ecx, esi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x38], eax
call dword [sym.imp.IWLib.dll_public:_unsigned_int___thiscall_MGGraphicObject::GetVoiLevelWidth_double___double__]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call dword [sym.imp.IWLib.dll_public:_class_darwin::shared_ptr_class_CDicomData__class_darwin::ObjectManager_class_CDicomData_____thiscall_MGGraphicObject::GetDicomData_void_]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 4]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x60
push 8
lea edx, [esp + 0x5c]
xor ebx, ebx
push edx
mov dword [esp + 0x154], ebx
call fcn.004384c0
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], 0x4420ec
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [esp + 0x58], 0x4420c4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov byte [esp + 0x148], 2
call fcn.0041b820
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x150]
push 1
push edx
push eax
push 0x44093e
mov ecx, ebp
call dword [sym.imp.IWLib.dll_public:_void___thiscall_DicomImageWnd::AddDisplayString_char_const___unsigned_long_int__struct_tagLOGFONTA_const___int_]
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x48], esi
jle 0x41bf7e
mov ebp, dword [sym.imp.MSVCR71.dll_strtol]
xor edi, edi
mov dword [esp + 0x2c], edi
lea ebx, [ebx]
cmp edi, ebx
jl 0x41c062
cmp esi, eax
jge 0x41c062
mov ecx, dword [esp + 0x5c]
lea eax, [edi + ecx]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041a350
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 5
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
cmp eax, 8
je 0x41bb45
lea ecx, [esp + 0x10]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call dword [0x43f434]
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 2
call dword [0x43f434]
lea ecx, [esp + 0x24]
call dword [0x43f434]
lea ecx, [esp + 0x20]
call dword [0x43f434]
lea ecx, [esp + 0x1c]
call dword [0x43f434]
jmp 0x41bf66
push 4
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov esi, eax
push 4
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push 0x4422a4
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x14c], 7
call fcn.004120e0
push esi
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0x158], 8
call fcn.0041a3e0
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 9
call dword [0x43f43c]
lea ecx, [esp + 0x80]
call dword [0x43f434]
lea ecx, [esp + 0x7c]
call dword [0x43f434]
lea ecx, [esp + 0xa0]
call dword [0x43f434]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x140], 5
call dword [0x43f434]
push str.00281050
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x41bc5f
fld qword [0x43fe70]
fld qword [esp + 0x84]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x41bc4e
fld qword [esp + 0xac]
sub esp, 0x10
fstp qword [esp + 8]
lea eax, [esp + 0x20]
fld qword [esp + 0x94]
fstp qword [esp]
push str._.0f__.0f
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x18
jmp 0x41bca0
push 0x44093e
lea ecx, [esp + 0x14]
call dword [0x43f528]
jmp 0x41bca0
mov ecx, dword [esp + 0x70]
mov esi, dword [ecx + 4]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.00438640
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0xa
call dword [0x43f43c]
lea ecx, [esp + 0x94]
call dword [0x43f434]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00413d70
mov ecx, eax
call fcn.00412ed0
lea ecx, [esp + 0xb4]
call fcn.00439270
push 4
lea ecx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov esi, eax
push 4
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 0xd
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
mov edi, eax
push 0x10
push ebx
mov ecx, esi
mov byte [esp + 0x148], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
add esp, 0xc
push eax
push 0x10
push ebx
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebp
add esp, 0xc
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00439690
add esp, 0xc
lea ecx, [esp + 0xa4]
call dword [0x43f434]
lea ecx, [esp + 0x74]
mov byte [esp + 0x140], 0xc
call dword [0x43f434]
mov eax, dword [esp + 0xfc]
cmp eax, 5
jne 0x41be05
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00438d70
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0xf
call dword [0x43f43c]
lea ecx, [esp + 0x9c]
jmp 0x41be4a
cmp eax, 0x16
jne 0x41be58
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea edx, [esp + 0x94]
push edx
call fcn.00438e50
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x10
call dword [0x43f43c]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x140], 0xc
call dword [0x43f434]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.0041a3e0
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x158], 0x11
call fcn.0041a3e0
add esp, 0x18
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x154]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x14c], 0x12
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [esp + 0x9c]
push eax
call dword [sym.imp.IWLib.dll_public:_void___thiscall_DicomImageWnd::AddDisplayString_char_const___unsigned_long_int__struct_tagLOGFONTA_const___int_]
lea ecx, [esp + 0x98]
call dword [0x43f434]
lea ecx, [esp + 0x78]
call dword [0x43f434]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x140], 0xb
call fcn.004392c0
lea ecx, [esp + 0x44]
call dword [0x43f434]
lea ecx, [esp + 0x40]
call dword [0x43f434]
lea ecx, [esp + 0x3c]
call dword [0x43f434]
lea ecx, [esp + 0x38]
call dword [0x43f434]
lea ecx, [esp + 0x34]
call dword [0x43f434]
lea ecx, [esp + 0x10]
call dword [0x43f434]
lea ecx, [esp + 0x14]
call dword [0x43f434]
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], 2
call dword [0x43f434]
lea ecx, [esp + 0x24]
call dword [0x43f434]
lea ecx, [esp + 0x20]
call dword [0x43f434]
lea ecx, [esp + 0x1c]
call dword [0x43f434]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
inc esi
add edi, 0x14
cmp esi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], edi
jl 0x41bab0
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x50], 0x4420ec
mov dword [esp + 0x58], 0x4420c4
je 0x41bfe4
xor edi, edi
cmp eax, ebx
jle 0x41bfd7
xor ebp, ebp
lea esp, [esp]
mov edx, dword [esp + 0x5c]
lea esi, [edx + ebp]
lea ecx, [esi + 0x10]
call dword [0x43f434]
lea ecx, [esi + 0xc]
call dword [0x43f434]
lea ecx, [esi + 8]
call dword [0x43f434]
lea ecx, [esi + 4]
call dword [0x43f434]
mov eax, dword [esp + 0x60]
inc edi
add ebp, 0x14
cmp edi, eax
jl 0x41bfa0
mov eax, dword [esp + 0x5c]
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
lea ecx, [esp + 0x54]
call dword [0x43f434]
lea ecx, [esp + 0x4c]
call dword [0x43f434]
mov esi, dword [esp + 0x70]
lea edi, [esi + 0xc]
push edi
mov dword [esp + 0x144], 0xffffffff
mov dword [esp + 0x70], 0x441a88
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 8]
xor bl, bl
dec eax
mov dword [esi + 8], eax
jne 0x41c026
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x41c039
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x128]
pop ebx
xor ecx, esp
call fcn.0043a16b
add esp, 0x134
ret 0x10
call fcn.00439dbc
int3