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

Disassembly:
push 0xffffffffffffffff
push 0x5e96a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x38]
xor edi, edi
push edi
lea eax, [esi + 0x60]
push eax
push 0x69ab48
push ebx
call fcn.00541170
push edi
lea ecx, [esi + 0x64]
push ecx
push str.IconId
push ebx
call fcn.00541170
push edi
lea edx, [esi + 0x74]
push edx
push str.ShowOptionButton
push ebx
call fcn.005411a0
push 0x6b70dc
lea eax, [esi + 0x28]
push eax
push str.Caption
push ebx
call fcn.00541200
add esp, 0x40
push edi
lea ecx, [esi + 0x24]
push ecx
push str.ControlsGrouping
push ebx
call fcn.005411a0
push edi
lea edx, [esi + 0x20]
push edx
push str.ControlsCentering
push ebx
call fcn.005411a0
push 1
lea eax, [esi + 0x78]
push eax
push str.Visible
push ebx
call fcn.005411a0
add esp, 0x30
cmp dword [ebx + 0x28], edi
jne 0x5b236b
mov edx, dword [ebx]
mov eax, dword [edx + 0x70]
push str.Controls
mov ecx, ebx
call eax
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov edx, dword [esi + 0x4c]
xor eax, eax
mov dword [esp + 0x30], edi
test edx, edx
jle 0x5b2297
test eax, eax
jl 0x5b2286
cmp eax, edx
jge 0x5b2286
mov ecx, dword [esi + 0x48]
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
jmp 0x5b2288
xor ecx, ecx
cmp dword [ecx + 0xac], 0
jne 0x5b2292
inc edi
inc eax
cmp eax, edx
jl 0x5b2274
mov edx, dword [ebp]
mov eax, dword [edx + 0x94]
push str.Control
mov ecx, ebp
call eax
mov ebx, eax
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push 0
push edi
mov ecx, ebx
mov byte [esp + 0x38], 1
call eax
xor edi, edi
cmp dword [esi + 0x4c], edi
mov dword [esp + 0x18], eax
jle 0x5b2344
test edi, edi
jl 0x5b22de
cmp edi, dword [esi + 0x4c]
jge 0x5b22de
mov ecx, dword [esi + 0x48]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
jmp 0x5b22e0
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [eax + 0xac], 0
jne 0x5b233e
mov edx, dword [ebx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x30], 2
call fcn.0052bfe0
mov edx, dword [ebp]
mov edx, dword [edx + 0x64]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
call edx
test eax, eax
je 0x5b232e
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0xac]
push ebp
call edx
mov ecx, ebp
mov byte [esp + 0x30], 1
call sub.mfc90u.dll_CCmdTarget::InternalRelease
mov ebp, dword [esp + 0x1c]
inc edi
cmp edi, dword [esi + 0x4c]
jl 0x5b22cb
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
mov byte [esp + 0x34], 0
call edx
mov ecx, ebp
mov dword [esp + 0x30], 0xffffffff
call sub.mfc90u.dll_CCmdTarget::InternalRelease
mov ebx, dword [esp + 0x38]
jmp 0x5b24b2
mov ecx, dword [ebx + 0x24]
mov dword [esi + 0x30], ecx
call fcn.005b0990
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
push str.Controls
mov ecx, ebx
call edx
mov edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [edi]
mov edx, dword [eax + 0x94]
push str.Control
mov ecx, edi
mov dword [esp + 0x34], 3
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
mov eax, dword [ebp]
mov edx, dword [eax + 4]
push 0
push 0
mov ecx, ebp
mov byte [esp + 0x38], 4
call edx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.005a6a80
cmp dword [esp + 0x14], 0
je 0x5b2493
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call edx
mov edi, eax
mov dword [esp + 0x20], edi
mov byte [esp + 0x30], 5
mov dword [esp + 0x38], 0
call fcn.0052bfe0
mov edx, dword [edi]
mov edx, dword [edx + 0x64]
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call edx
test eax, eax
je 0x5b242a
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xac]
push edi
call edx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5b253e
mov dword [eax + 0x158], esi
mov eax, dword [esp + 0x38]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx + 0x80]
mov edx, dword [esi + 0x5c]
mov ecx, dword [edx + 0xfc]
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.005257a0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x4c]
lea ecx, [esi + 0x44]
push edx
push eax
call fcn.00557a50
mov ecx, edi
mov byte [esp + 0x30], 4
call sub.mfc90u.dll_CCmdTarget::InternalRelease
cmp dword [esp + 0x14], 0
jne 0x5b23e1
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
mov byte [esp + 0x34], 3
call edx
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
call sub.mfc90u.dll_CCmdTarget::InternalRelease
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
push str.ControlGroupOption
mov ecx, ebx
call edx
mov ebp, eax
mov dword [esp + 0x24], ebp
mov ecx, dword [esi + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0xac]
push ebp
mov dword [esp + 0x34], 6
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x70]
push 0x6a9af8
mov ecx, ebx
call edx
mov edi, eax
mov dword [esp + 0x20], edi
mov esi, dword [esi + 0x6c]
mov eax, dword [esi]
mov edx, dword [eax + 0xac]
push edi
mov ecx, esi
mov byte [esp + 0x34], 7
call edx
mov byte [esp + 0x30], 6
test edi, edi
je 0x5b2515
mov ecx, edi
call sub.mfc90u.dll_CCmdTarget::InternalRelease
mov dword [esp + 0x30], 0xffffffff
test ebp, ebp
je 0x5b2528
mov ecx, ebp
call sub.mfc90u.dll_CCmdTarget::InternalRelease
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
push 0
push 6
call sub.mfc90u.dll_AfxThrowArchiveException
int3