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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ecbf8
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push edi
mov edi, dword [esp + 0x3c]
xor ebx, ebx
cmp edi, ebx
je 0x473c34
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
call fcn.00410270
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jne 0x473820
push 0x80004003
call fcn.004ddb30
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push esi
push edx
push eax
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x47383e
push 0x526660
push esi
push eax
call fcn.004ddb3e
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1c], esi
jle 0x473c00
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp dword [esp + 0x14], ebx
jne 0x473867
push 0x80004003
call fcn.004ddb30
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.004505c0
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3c], 1
cmp eax, ebx
jne 0x47388d
push 0x80004003
call fcn.004ddb30
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004101d0
mov ecx, dword [eax]
mov byte [esp + 0x3c], 2
cmp ecx, ebx
je 0x4738ad
call fcn.00410c30
jmp 0x4738af
xor eax, eax
push eax
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 4
call fcn.00410b10
cmp dword [esp + 0x10], ebx
jne 0x4738d7
push 0x80004003
call fcn.004ddb30
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
call fcn.00410360
mov ecx, dword [eax]
mov byte [esp + 0x3c], 5
cmp ecx, ebx
je 0x4738f7
call fcn.00410c30
jmp 0x4738f9
xor eax, eax
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 7
call fcn.00410b10
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ebx
je 0x473bbc
lea ecx, [esp + 0x48]
lea edx, [esp + 0x44]
push ecx
push edi
push edx
call fcn.00474010
add esp, 0xc
test eax, eax
jne 0x473bbc
mov eax, dword [str.BACKGROUNDIMAGE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x47396b
mov eax, dword [edi + 4]
lea edx, [edi + 0x54]
or al, 4
push edx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00474460
add esp, 8
jmp 0x473bbc
mov ecx, dword [str.MINWIDTH]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473992
lea eax, [esp + 0x48]
lea ecx, [edi + 0x4c]
push eax
call fcn.004dcf56
jmp 0x473bbc
mov ecx, dword [str.MINHEIGHT]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x4739b9
lea eax, [esp + 0x48]
lea ecx, [edi + 0x50]
push eax
call fcn.004dcf56
jmp 0x473bbc
mov ecx, dword [str.RESIZABLE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473a21
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov esi, eax
je 0x473a0b
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x473a00
mov ecx, dword [edi + 4]
mov eax, 1
neg eax
sbb eax, eax
and eax, 0x10
or ecx, eax
mov dword [edi + 4], ecx
jmp 0x473bbc
push str.FALSE
push esi
call ebp
add esp, 8
mov ecx, dword [edi + 4]
xor eax, eax
neg eax
sbb eax, eax
and eax, 0x10
or ecx, eax
mov dword [edi + 4], ecx
jmp 0x473bbc
mov eax, dword [str.ONLOAD]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473a47
lea edx, [esp + 0x48]
lea ecx, [edi + 0x68]
push edx
call fcn.004dcf56
jmp 0x473bbc
mov eax, dword [str.ONSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473a6d
lea edx, [esp + 0x48]
lea ecx, [edi + 0x60]
push edx
call fcn.004dcf56
jmp 0x473bbc
mov eax, dword [str.ONCLOSE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473a93
lea edx, [esp + 0x48]
lea ecx, [edi + 0x64]
push edx
call fcn.004dcf56
jmp 0x473bbc
mov eax, dword [str.HASCAPTION]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473ab3
mov dword [edi + 0x74], 1
jmp 0x473bbc
mov edx, dword [str.HASBORDER]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x473ad4
mov dword [edi + 0x78], 1
jmp 0x473bbc
mov ecx, dword [str.ONMOVIEBOXSHOW]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473afb
lea eax, [esp + 0x48]
lea ecx, [edi + 0x70]
push eax
call fcn.004dcf56
jmp 0x473bbc
mov ecx, dword [str.SCRIPTFILE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473b77
lea eax, [esp + 0x48]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::CString_1
push 0x3b
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 8
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004745e0
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [edi + 0x5c]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_CString::CString
jmp 0x473bbc
mov ecx, dword [str.TITLEBAR]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473bbc
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov esi, eax
je 0x473bb4
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
je 0x473c2d
push str.FALSE
push esi
call ebp
add esp, 8
mov eax, dword [edi + 4]
and al, 0xfe
mov dword [edi + 4], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x473bea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
mov dword [esp + 0x20], esi
jl 0x473857
pop ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
pop esi
je 0x473c17
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov eax, dword [edi + 4]
or al, 1
jmp 0x473bb9
mov ecx, dword [esp + 0x2c]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret