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

Disassembly:
sub esp, 0x68
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x2ac], ebx
je 0x436aaf
cmp dword [edi + 0x6c], ebx
je 0x436aaf
mov esi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call esi
mov edx, dword [eax]
push 0x7530
push 1
push 0x50385c
push 0x508c80
mov ecx, eax
call dword [edx + 0x10]
cmp eax, ebx
je 0x436aaf
push ebp
mov edx, dword [eax]
push ebx
push ebx
push dword [edi + 0x78]
mov ecx, eax
push dword [edi + 0x74]
push ebx
call dword [edx + 8]
lea eax, [edi + 0x234]
lea ebp, [edi + 0xcc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xa
mov ebx, 0x2741
push dword [edi + 0x78]
mov ecx, dword [ebp - 0x50]
push dword [edi + 0x74]
call fcn.004641ff
push dword [edi + 0x78]
mov ecx, dword [ebp - 0x28]
push dword [edi + 0x74]
call fcn.004641ff
push dword [edi + 0x78]
mov ecx, dword [ebp]
push dword [edi + 0x74]
call fcn.004641ff
push dword [edi + 0x78]
mov ecx, dword [ebp + 0x50]
push dword [edi + 0x74]
call fcn.004641ff
push 0x508900
push dword [esp + 0x14]
call fcn.00428667
pop ecx
test al, al
pop ecx
jne 0x436513
push 0x50ae54
push dword [esp + 0x14]
call fcn.00428667
pop ecx
test al, al
pop ecx
jne 0x436513
push dword [edi + 0x78]
mov ecx, dword [ebp + 0xc8]
push dword [edi + 0x74]
call fcn.004491ba
lea eax, [esp + 0x58]
push eax
mov eax, dword [ebp - 0x28]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
call esi
mov dword [esp + 0x18], eax
call esi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push 0x15
push 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x5c]
push eax
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x24]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x58], edx
push 0xff8080ff
lea edx, [ecx + 2]
push edx
mov edx, dword [esp + 0x74]
add eax, edx
inc ecx
push eax
push ecx
push edx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x28
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x43653b
cmp dword [eax + 0x20], 0
je 0x43653b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43653b
push dword [edi + 0x78]
mov ecx, dword [ebp + 0x78]
push dword [edi + 0x74]
call fcn.004491ba
mov eax, dword [ebp + 0xa0]
test eax, eax
je 0x436569
cmp dword [eax + 0x20], 0
je 0x436569
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436569
push dword [edi + 0x78]
mov ecx, dword [ebp + 0xa0]
push dword [edi + 0x74]
call fcn.004491ba
add dword [esp + 0x10], 0xc
add ebp, 4
dec dword [esp + 0x14]
jne 0x436404
push dword [edi + 0x78]
lea ecx, [edi + 0x6354]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x62a0]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x61ec]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x6138]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x6084]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x5fd0]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0xddc]
push dword [edi + 0x74]
call fcn.0044d578
push dword [edi + 0x78]
lea ecx, [edi + 0x4240]
push dword [edi + 0x74]
call fcn.004641ff
push dword [edi + 0x78]
lea ecx, [edi + 0x9c4]
push dword [edi + 0x74]
call fcn.004641ff
cmp dword [edi + 0x60], 4
jne 0x436676
mov ebp, 0x50ade8
mov ecx, ebp
call fcn.00490051
test eax, eax
je 0x43664c
push dword [edi + 0x78]
lea ecx, [edi + 0xb0c]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0xbc0]
push dword [edi + 0x74]
call fcn.004491ba
mov ecx, ebp
call fcn.0049023e
test eax, eax
je 0x436698
push dword [edi + 0x78]
lea ecx, [edi + 0xc74]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0xd28]
push dword [edi + 0x74]
jmp 0x436693
push dword [edi + 0x78]
lea ecx, [edi + 0x5f1c]
push dword [edi + 0x74]
call fcn.004491ba
push dword [edi + 0x78]
lea ecx, [edi + 0x5e68]
push dword [edi + 0x74]
call fcn.004491ba
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [edi + 0x1bc]
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x14], eax
lea eax, [edi + 0x16c]
mov dword [esp + 0x10], eax
mov ebp, 0x2b1c
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0x28]
test eax, eax
je 0x436817
cmp dword [eax + 0x20], 0
je 0x436817
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436817
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0x28]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436817
call esi
mov dword [esp + 0x20], eax
call esi
mov dword [esp + 0x1c], eax
call esi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
push 0x15
push 0
mov eax, dword [ecx]
call dword [eax + 0x5c]
push eax
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x24]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x30]
push eax
push ebp
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov dword [esp + 0x30], eax
push dword [edi + 0x20]
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x28]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push connect
lea ecx, [ecx + eax + 0x25]
add eax, 0x20
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [edx + ecx + 0x20]
add ecx, 0x1c
push edx
push eax
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x14
call esi
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
push eax
push 0xff000000
push 0
push 0
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x34]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x34]
push eax
push ebp
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
mov eax, dword [esp + 0x48]
add eax, 0x20
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x1e
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
add esp, 0x28
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x436968
cmp dword [eax + 0x20], 0
je 0x436968
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436968
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436968
call esi
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x20], eax
call esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
push 0x15
push 0
mov eax, dword [ecx]
call dword [eax + 0x5c]
push eax
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x28]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x28]
push eax
push ebp
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov dword [esp + 0x38], eax
push dword [edi + 0x20]
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x28]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push connect
lea ecx, [ecx + eax + 0x25]
add eax, 0x20
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [edx + ecx + 0x20]
add ecx, 0x1c
push edx
push eax
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x14
call esi
mov dword [esp + 0x24], eax
call esi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
push eax
push 0xff000000
push 0
push 0
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x34]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x34]
push eax
push ebp
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
mov eax, dword [esp + 0x48]
add eax, 0x20
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x1e
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
add esp, 0x28
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x436a9a
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0x50]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x2c]
lea eax, [esp + 0x6c]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x436a9a
call esi
mov dword [esp + 0x24], eax
call esi
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push 0x15
push 0
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x5c]
push eax
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x28]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov dword [esp + 0x40], eax
push dword [edi + 0x20]
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x28]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push connect
lea ecx, [ecx + eax + 0x25]
add eax, 0x20
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [edx + ecx + 0x20]
add ecx, 0x1c
push edx
push eax
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x14
call esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
push eax
push 0xff000000
push 0
push 0
call fcn.00448a54
mov ecx, eax
call fcn.00407289
mov ecx, dword [esp + 0x34]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push dword [esp + 0x38]
add eax, 0x20
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x4c]
add eax, 0x1e
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
add esp, 0x28
add dword [esp + 0x10], 4
add dword [esp + 0x14], 0xc
dec dword [esp + 0x18]
jne 0x4366c4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret