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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x455aa8
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x70bc]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x41e575
push ebp
push edi
mov ecx, 0x46a8a8
call fcn.004369c0
mov esi, eax
mov eax, dword [ebx + 0x70c8]
test eax, eax
je 0x41db2e
cmp eax, 2
jge 0x41db45
mov eax, dword [0x46a994]
test eax, eax
jne 0x41db45
mov eax, dword [ebx + 0x7238]
test eax, eax
jne 0x41dfe1
mov ecx, dword [ebx + 0x725c]
inc ecx
mov eax, ecx
mov dword [ebx + 0x725c], ecx
cmp eax, 9
jl 0x41db63
mov dword [ebx + 0x725c], 0
mov ecx, ebx
call fcn.0041f3f0
mov ecx, ebx
call fcn.0041e890
mov ecx, ebx
call fcn.004240b0
mov ecx, ebx
call fcn.00425200
mov ecx, ebx
call fcn.00424190
mov ecx, ebx
call fcn.0041f5a0
mov ecx, ebx
call fcn.0041da30
lea edi, [ebx + 0x70d0]
lea ecx, [ebx + 0x678c]
push edi
call fcn.0044b2e0
mov ecx, ebx
call fcn.00420b80
mov ecx, ebx
call fcn.00421670
mov ecx, ebx
call fcn.00422070
mov ecx, ebx
call fcn.0041fe50
mov ecx, ebx
call fcn.00423d60
mov eax, dword [ebx + 0x7238]
test eax, eax
je 0x41dca1
mov edx, dword [ebx + 0x70bc]
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, 0x46af64
lea eax, [ebx + 0x6de4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ecx - 0x10]
mov ecx, dword [ecx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
lea ebp, [ecx + 0xa5]
lea edx, [eax + 0x78]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], edx
add edx, ebp
cmp edx, dword [ebx + 0x7230]
jg 0x41dc7c
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [ebx + 0x7234]
cmp edx, ebp
jg 0x41dc7c
xor edx, edx
cmp eax, edx
jl 0x41dc7c
cmp ecx, edx
jl 0x41dc7c
cmp dword [esp + 0x18], edx
jl 0x41dc7c
cmp dword [esp + 0x1c], edx
jl 0x41dc7c
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push edi
call dword [sym.imp.2DEngineDll.dll_public:_bool___thiscall_IXHandler::_mimage::load_class_IXHandler::_mimage___struct_tagRECT_const___int_const___int_const__]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add ecx, 4
add edx, 0x90
cmp ecx, 0x46af74
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jl 0x41dbfc
mov ecx, 0x47b920
call fcn.004116e0
mov ecx, ebx
call fcn.00422070
push 1
mov ecx, ebx
call fcn.004258e0
push edi
lea ecx, [ebx + 0x6774]
call fcn.00401720
push edi
lea ecx, [ebx + 0x7160]
call fcn.00447340
push edi
lea ecx, [ebx + 0x388c]
call fcn.0040ae20
mov ecx, ebx
call fcn.0041fa60
mov ecx, ebx
call fcn.0041d360
test esi, esi
je 0x41dfc4
mov eax, dword [0x46a9c4]
mov ecx, ebx
test eax, eax
je 0x41de57
call fcn.00424070
test eax, eax
lea ebp, [esi + 0x74ec]
je 0x41ddb0
mov eax, dword [0x46af64]
mov ecx, dword [0x46af54]
add eax, 0xffffffa4
add ecx, 0x20
push eax
push ecx
mov ecx, ebp
call fcn.0040e580
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
add edx, 0xffffffbe
add eax, 0xffffff8c
push edx
lea ecx, [esi + 0x9828]
push eax
call fcn.0040e580
mov edx, dword [0x46af6c]
mov eax, dword [0x46af5c]
add edx, 0xffffffeb
add eax, 0xffffff8c
push edx
lea ecx, [esi + 0xbb64]
push eax
call fcn.0040e580
mov edx, dword [0x46af70]
mov eax, dword [0x46af60]
add edx, 0xffffffbd
add eax, 0x4f
push edx
lea ecx, [esi + 0xdea0]
push eax
call fcn.0040e580
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 1
jmp 0x41de42
mov ecx, dword [0x46af64]
mov edx, dword [0x46af54]
add ecx, 0x21
add edx, 0xffffff8e
push ecx
push edx
mov ecx, ebp
call fcn.0040e580
mov eax, dword [0x46af68]
mov edx, dword [0x46af58]
add eax, 0xffffffd8
add edx, 0xffffff94
push eax
lea ecx, [esi + 0x9828]
push edx
call fcn.0040e580
mov edx, dword [0x46af5c]
mov eax, dword [0x46af6c]
add edx, 0x5e
push eax
lea ecx, [esi + 0xbb64]
push edx
call fcn.0040e580
mov eax, dword [0x46af70]
mov edx, dword [0x46af60]
add eax, 0xffffffda
add edx, 0x55
push eax
lea ecx, [esi + 0xdea0]
push edx
call fcn.0040e580
push 0
push 1
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0xbb64]
call fcn.0040db40
push 0
push 0
jmp 0x41dfa8
call fcn.00424070
test eax, eax
lea ebp, [esi + 0x74ec]
je 0x41df03
mov eax, dword [0x46af64]
mov ecx, dword [0x46af54]
add eax, 0xffffffc8
add ecx, 0x56
push eax
push ecx
mov ecx, ebp
call fcn.0040e580
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
add edx, 0xffffff9e
add eax, 0x51
push edx
lea ecx, [esi + 0x9828]
push eax
call fcn.0040e580
mov edx, dword [0x46af6c]
mov eax, dword [0x46af5c]
add edx, 0x12
add eax, 0xffffff89
push edx
lea ecx, [esi + 0xbb64]
push eax
call fcn.0040e580
mov edx, dword [0x46af70]
mov eax, dword [0x46af60]
add edx, 0xffffff9d
add eax, 0xffffff95
push edx
lea ecx, [esi + 0xdea0]
push eax
call fcn.0040e580
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 1
jmp 0x41df98
mov ecx, dword [0x46af64]
mov edx, dword [0x46af54]
add ecx, 0xffffffd5
add edx, 0x4a
push ecx
push edx
mov ecx, ebp
call fcn.0040e580
mov eax, dword [0x46af68]
mov edx, dword [0x46af58]
add eax, 0xffffffc5
add edx, 0x55
push eax
lea ecx, [esi + 0x9828]
push edx
call fcn.0040e580
mov eax, dword [0x46af6c]
mov edx, dword [0x46af5c]
add eax, 6
add edx, 0x60
push eax
lea ecx, [esi + 0xbb64]
push edx
call fcn.0040e580
mov eax, dword [0x46af70]
mov edx, dword [0x46af60]
add eax, 0xffffffc9
add edx, 0xffffff96
push eax
lea ecx, [esi + 0xdea0]
push edx
call fcn.0040e580
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0xbb64]
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0xdea0]
call fcn.0040db40
push 0
push 2
push edi
lea ecx, [esi + 0x101dc]
call fcn.0040db40
push edi
mov ecx, 0x46a650
call fcn.00426de0
push edi
call fcn.00432e90
add esp, 4
lea ecx, [ebx + 0x40]
push edi
call fcn.0044aa30
mov eax, dword [ebx + 0x70c8]
test eax, eax
jne 0x41e50e
mov ecx, dword [0x46a994]
mov eax, 1
cmp ecx, eax
je 0x41e50e
mov ecx, dword [ebx + 0x7238]
test ecx, ecx
je 0x41e50e
mov dword [ebx + 0x70b4], eax
lea eax, [esi + 0x142a4]
mov edi, 0x46af54
lea ebp, [ebx + 0x6de4]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push 0
cmp eax, 1
push 0
jne 0x41e050
mov eax, dword [edi + 0x10]
mov ecx, dword [edi]
lea edx, [ebp - 0x360]
push edx
push eax
push ecx
jmp 0x41e058
mov edx, dword [edi + 0x10]
mov eax, dword [edi]
push ebp
push edx
push eax
push 0
lea ecx, [ebx + 0x70d0]
call dword [sym.imp.2DEngineDll.dll_public:_void___thiscall_IXHandler::_mimage::bitblt_int__int__int__class_IXHandler::_mimage___int__enum_IXHandler::_mimage::Align_Style__bool__struct_tagRECT___struct_IXHandler::_mimage::_mimage_blt_fx_const__]
mov edx, dword [esp + 0x10]
add edi, 4
add ebp, 0x90
add edx, 4
cmp edi, 0x46af64
mov dword [esp + 0x10], edx
jl 0x41e02b
mov ecx, 0x47b920
call fcn.004116e0
push 1
mov ecx, ebx
call fcn.004258e0
test esi, esi
je 0x41e384
mov eax, dword [0x46a9c4]
mov ecx, ebx
test eax, eax
je 0x41e20b
call fcn.00424070
test eax, eax
lea ebp, [esi + 0x74ec]
je 0x41e15f
mov ecx, dword [0x46af64]
mov edx, dword [0x46af54]
add ecx, 0xffffffa4
add edx, 0x20
push ecx
push edx
mov ecx, ebp
call fcn.0040e580
mov eax, dword [0x46af68]
mov edx, dword [0x46af58]
add eax, 0xffffffbe
add edx, 0xffffff8c
push eax
lea ecx, [esi + 0x9828]
push edx
call fcn.0040e580
mov eax, dword [0x46af6c]
mov edx, dword [0x46af5c]
add eax, 0xffffffeb
add edx, 0xffffff8c
push eax
lea ecx, [esi + 0xbb64]
push edx
call fcn.0040e580
mov eax, dword [0x46af70]
mov edx, dword [0x46af60]
add eax, 0xffffffbd
add edx, 0x4f
push eax
lea ecx, [esi + 0xdea0]
push edx
call fcn.0040e580
lea edi, [ebx + 0x70d0]
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 1
jmp 0x41e1f6
mov eax, dword [0x46af64]
mov ecx, dword [0x46af54]
add eax, 0x21
add ecx, 0xffffff8e
push eax
push ecx
mov ecx, ebp
call fcn.0040e580
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
add edx, 0xffffffd8
add eax, 0xffffff94
push edx
lea ecx, [esi + 0x9828]
push eax
call fcn.0040e580
mov eax, dword [0x46af5c]
mov edx, dword [0x46af6c]
add eax, 0x5e
push edx
lea ecx, [esi + 0xbb64]
push eax
call fcn.0040e580
mov edx, dword [0x46af70]
mov eax, dword [0x46af60]
add edx, 0xffffffda
add eax, 0x55
push edx
lea ecx, [esi + 0xdea0]
push eax
call fcn.0040e580
lea edi, [ebx + 0x70d0]
push 0
push 1
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0xbb64]
call fcn.0040db40
push 0
push 0
jmp 0x41e368
call fcn.00424070
test eax, eax
lea ebp, [esi + 0x74ec]
je 0x41e2be
mov ecx, dword [0x46af64]
mov edx, dword [0x46af54]
add ecx, 0xffffffc8
add edx, 0x56
push ecx
push edx
mov ecx, ebp
call fcn.0040e580
mov eax, dword [0x46af68]
mov edx, dword [0x46af58]
add eax, 0xffffff9e
add edx, 0x51
push eax
lea ecx, [esi + 0x9828]
push edx
call fcn.0040e580
mov eax, dword [0x46af6c]
mov edx, dword [0x46af5c]
add eax, 0x12
add edx, 0xffffff89
push eax
lea ecx, [esi + 0xbb64]
push edx
call fcn.0040e580
mov eax, dword [0x46af70]
mov edx, dword [0x46af60]
add eax, 0xffffff9d
add edx, 0xffffff95
push eax
lea ecx, [esi + 0xdea0]
push edx
call fcn.0040e580
lea edi, [ebx + 0x70d0]
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 1
jmp 0x41e358
mov eax, dword [0x46af64]
mov ecx, dword [0x46af54]
add eax, 0xffffffd5
add ecx, 0x4a
push eax
push ecx
mov ecx, ebp
call fcn.0040e580
mov edx, dword [0x46af68]
mov eax, dword [0x46af58]
add edx, 0xffffffc5
add eax, 0x55
push edx
lea ecx, [esi + 0x9828]
push eax
call fcn.0040e580
mov edx, dword [0x46af6c]
mov eax, dword [0x46af5c]
add edx, 6
add eax, 0x60
push edx
lea ecx, [esi + 0xbb64]
push eax
call fcn.0040e580
mov edx, dword [0x46af70]
mov eax, dword [0x46af60]
add edx, 0xffffffc9
add eax, 0xffffff96
push edx
lea ecx, [esi + 0xdea0]
push eax
call fcn.0040e580
lea edi, [ebx + 0x70d0]
push 0
push 0
push edi
mov ecx, ebp
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0x9828]
call fcn.0040db40
push 0
push 0
push edi
lea ecx, [esi + 0xbb64]
call fcn.0040db40
push 0
push 1
push edi
lea ecx, [esi + 0xdea0]
call fcn.0040db40
push 0
push 2
push edi
lea ecx, [esi + 0x101dc]
call fcn.0040db40
lea ebp, [ebx + 0x70d0]
mov ecx, 0x46a650
push ebp
call fcn.00426de0
push ebp
call fcn.00432e90
add esp, 4
lea ecx, [ebx + 0x40]
push ebp
call fcn.0044aa30
mov ecx, ebx
call fcn.00422070
push ebp
lea ecx, [ebx + 0x388c]
call fcn.0040ae20
push ebp
lea ecx, [ebx + 0x6774]
call fcn.00401720
mov eax, dword [ebx + 0x70c4]
xor edi, edi
cmp eax, edi
jne 0x41e496
cmp dword [0x46a9c8], edi
je 0x41e496
cmp dword [0x46a9c0], edi
jne 0x41e496
push 1
push 0x23a
push 0x320
push edi
push edi
mov ecx, 0x46a8a8
mov dword [0x46a9c0], 1
call fcn.004369c0
mov ecx, eax
call sub.MFC42.DLL_CWnd::MoveWindow
push edi
mov ecx, 0x46a8a8
call fcn.004369c0
mov ecx, eax
call sub.MFC42.DLL_CWnd::CenterWindow
push 1
push 0x66
mov ecx, ebx
call fcn.004262a0
push edi
push 0x67
mov ecx, ebx
call fcn.004262a0
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x1c], 0x12
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], edi
call fcn.0044cfc0
lea edx, [esp + 0x1c]
push 3
push edx
push 0x12
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], edi
call fcn.0044d040
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], 0xffffffff
call fcn.0044d000
cmp dword [ebx + 0x7238], edi
je 0x41e50e
mov edi, 0x46af54
mov eax, dword [ebx + 0x70e4]
mov dword [esp + 0x14], 0xa5
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
test eax, eax
mov dword [esp + 0x10], 0x78
je 0x41e4c8
mov ecx, dword [eax]
jmp 0x41e4ca
xor ecx, ecx
lea edx, [esp + 0x14]
lea eax, [edi + 0x10]
push edx
lea edx, [esp + 0x14]
push edx
push eax
push edi
push eax
lea eax, [esp + 0x38]
push edi
push eax
push ecx
call dword [sym.imp.2DEngineDll.dll_public:_static_void___cdecl_IXHandler::IDisplay::BltImage_unsigned_char___unsigned_long_int_const___int_const___int_const___int_const___int_const___int_const___int_const__]
add edi, 4
add esp, 0x20
cmp edi, 0x46af64
jl 0x41e4a3
mov edx, dword [ebx + 0x70bc]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, ebx
call fcn.0041e590
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
push 0x8c
lea ecx, [ebx + 0x388c]
mov dword [0x46a994], 0
call fcn.0040bb60
pop edi
pop ebp
test esi, esi
je 0x41e575
mov eax, dword [esi + 0x14224]
mov ecx, 1
cmp eax, ecx
mov eax, dword [esp + 0x20]
jne 0x41e560
cmp eax, 0x1f
je 0x41e560
mov dword [0x46a994], ecx
mov edx, dword [esi + 0x14224]
test edx, edx
jne 0x41e575
cmp eax, 0xffffffa9
je 0x41e575
mov dword [0x46a994], ecx
mov ecx, dword [esp + 0x64]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret