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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e211
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x1004c333
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x1004c333
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
push dword [ebp + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
call dword [0x1006ce70]
push edi
push 0xa
lea ecx, [esp + 0x24]
mov dword [esp + 0x88], edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov esi, eax
cmp esi, edi
jl 0x1004bea6
lea edi, [ebx + 0x104]
push esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x80], 1
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc esi
push esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0
push 0xa
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov esi, eax
test esi, esi
jge 0x1004be26
lea ecx, [ebx + 0x104]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x80], 4
mov eax, dword [ebx + 0x10c]
and dword [esp + 0x28], 0
test eax, eax
jle 0x1004c15a
lea edi, [ebx + 0x118]
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 0x104]
call fcn.1000a6c9
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x1004c136
push dword [ebp + 8]
lea eax, [esp + 0x18]
lea esi, [esp + 0x58]
call fcn.1001e7aa
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jle 0x1004c136
or esi, 0xffffffff
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x14]
test esi, esi
jge 0x1004bf50
push dword [ebx + 0x100]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
jmp 0x1004bfa0
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push dword [ebx + 0x100]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::FindOneOf]
test eax, eax
jl 0x1004c1a2
lea eax, [eax + esi + 1]
mov dword [esp + 0x20], eax
test eax, eax
jl 0x1004c1a2
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push dword [ebp + 8]
lea esi, [esp + 0x60]
call fcn.1001e7aa
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
lea ecx, [esp + 0x34]
setg byte [esp + 0x13]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [esp + 0x13], 0
je 0x1004c191
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x14]
test eax, eax
jl 0x1004c08f
lea esi, [eax + 1]
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 8
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
or dword [esp + 0x24], 0xffffffff
jmp 0x1004c11e
mov esi, dword [esp + 0x20]
inc esi
push esi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 0xa
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 0xb
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
push dword [ebp + 8]
lea eax, [esp + 0x18]
lea esi, [esp + 0x68]
call fcn.1001e7aa
mov ecx, dword [esp + 0x2c]
cmp dword [eax], ecx
jg 0x1004c199
lea ecx, [esp + 0x14]
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
cmp eax, dword [ebx + 0x10c]
jl 0x1004beef
cmp dword [ebp + 0x14], 0
mov eax, dword [ebx + 0x120]
mov dword [esp + 0x2c], eax
jne 0x1004c2e6
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0xfc]
lea edi, [esp + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, dword [esp + 0x68]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x70], eax
xor edi, edi
jmp 0x1004c2dd
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x24]
jmp 0x1004bf3a
lea ecx, [esp + 0x14]
test esi, esi
jl 0x1004c13a
inc esi
push esi
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov eax, dword [edi + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, edi
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
push esi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x1004c146
lea ecx, [esp + 0x18]
jmp 0x1004c13a
cmp edi, dword [ebx + 0x120]
jge 0x1004c2e6
lea ecx, [ebx + 0x118]
mov eax, edi
call fcn.1000a6c9
push eax
lea ecx, [esp + 0x2c]
call dword [0x1006ce0c]
cmp dword [ebp + 0x18], 0
mov byte [esp + 0x80], 0xc
je 0x1004c296
and dword [esp + 0x50], 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.CBitmap.0
call fcn.1000b5cb
jmp 0x1004c2b3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
push 0x820
lea ecx, [esp + 0x68]
push ecx
push dword [eax - 0xc]
mov ecx, dword [ebp + 8]
push eax
call dword [edx + 0x70]
push dword [ebx + 0xfc]
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x28]
inc edi
mov byte [esp + 0x80], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0xc]
jle 0x1004c24c
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x104]
call sub.mfc90u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push 0
lea ecx, [ebx + 0x118]
call sub.mfc90u.dll_CStringArray::SetSize
mov ebx, dword [ebx + 0x78]
cmp dword [esp + 0x2c], ebx
jge 0x1004c311
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
jmp 0x1004c335
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14