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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ef5c8
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 0x473ed4
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0xc]
push eax
call fcn.00410530
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jne 0x473ac0
push 0x80004003
call fcn.004e1090
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 0x473ade
push 0x5296a8
push esi
push eax
call fcn.004e109e
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x1c], esi
jle 0x473ea0
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp dword [esp + 0x14], ebx
jne 0x473b07
push 0x80004003
call fcn.004e1090
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00450830
mov eax, dword [esp + 0x10]
mov byte [esp + 0x3c], 1
cmp eax, ebx
jne 0x473b2d
push 0x80004003
call fcn.004e1090
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00410490
mov ecx, dword [eax]
mov byte [esp + 0x3c], 2
cmp ecx, ebx
je 0x473b4d
call fcn.00410f30
jmp 0x473b4f
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.00410e10
cmp dword [esp + 0x10], ebx
jne 0x473b77
push 0x80004003
call fcn.004e1090
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
call fcn.00410620
mov ecx, dword [eax]
mov byte [esp + 0x3c], 5
cmp ecx, ebx
je 0x473b97
call fcn.00410f30
jmp 0x473b99
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.00410e10
mov eax, dword [esp + 0x44]
cmp dword [eax - 8], ebx
je 0x473e5c
lea ecx, [esp + 0x48]
lea edx, [esp + 0x44]
push ecx
push edi
push edx
call fcn.004742b0
add esp, 0xc
test eax, eax
jne 0x473e5c
mov eax, dword [str.BACKGROUNDIMAGE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473c0b
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.00474700
add esp, 8
jmp 0x473e5c
mov ecx, dword [str.MINWIDTH]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473c32
lea eax, [esp + 0x48]
lea ecx, [edi + 0x4c]
push eax
call fcn.004e0496
jmp 0x473e5c
mov ecx, dword [str.MINHEIGHT]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473c59
lea eax, [esp + 0x48]
lea ecx, [edi + 0x50]
push eax
call fcn.004e0496
jmp 0x473e5c
mov ecx, dword [str.RESIZABLE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473cc1
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov esi, eax
je 0x473cab
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
jne 0x473ca0
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 0x473e5c
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 0x473e5c
mov eax, dword [str.ONLOAD]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473ce7
lea edx, [esp + 0x48]
lea ecx, [edi + 0x68]
push edx
call fcn.004e0496
jmp 0x473e5c
mov eax, dword [str.ONSIZE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473d0d
lea edx, [esp + 0x48]
lea ecx, [edi + 0x60]
push edx
call fcn.004e0496
jmp 0x473e5c
mov eax, dword [str.ONCLOSE]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473d33
lea edx, [esp + 0x48]
lea ecx, [edi + 0x64]
push edx
call fcn.004e0496
jmp 0x473e5c
mov eax, dword [str.HASCAPTION]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x473d53
mov dword [edi + 0x74], 1
jmp 0x473e5c
mov edx, dword [str.HASBORDER]
mov eax, dword [esp + 0x44]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x473d74
mov dword [edi + 0x78], 1
jmp 0x473e5c
mov ecx, dword [str.ONMOVIEBOXSHOW]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473d9b
lea eax, [esp + 0x48]
lea ecx, [edi + 0x70]
push eax
call fcn.004e0496
jmp 0x473e5c
mov ecx, dword [str.SCRIPTFILE]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473e17
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.00474880
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 0x473e5c
mov ecx, dword [str.TITLEBAR]
mov edx, dword [esp + 0x44]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x473e5c
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov esi, eax
je 0x473e54
push str.TRUE
push eax
call ebp
add esp, 8
test eax, eax
je 0x473ecd
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 0x473e8a
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 0x473af7
pop ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
pop esi
je 0x473eb7
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 0x473e59
mov ecx, dword [esp + 0x2c]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret